amazonka-ecs 1.6.1 → 2.0
raw patch · 326 files changed
+48930/−12144 lines, 326 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.ECS: AUSFailed :: AgentUpdateStatus
- Network.AWS.ECS: AUSPending :: AgentUpdateStatus
- Network.AWS.ECS: AUSStaged :: AgentUpdateStatus
- Network.AWS.ECS: AUSStaging :: AgentUpdateStatus
- Network.AWS.ECS: AUSUpdated :: AgentUpdateStatus
- Network.AWS.ECS: AUSUpdating :: AgentUpdateStatus
- Network.AWS.ECS: AWSlogs :: LogDriver
- Network.AWS.ECS: AWSvpc :: NetworkMode
- Network.AWS.ECS: Active :: ContainerInstanceStatus
- Network.AWS.ECS: Asc :: SortOrder
- Network.AWS.ECS: Binpack :: PlacementStrategyType
- Network.AWS.ECS: Bridge :: NetworkMode
- Network.AWS.ECS: CEC2 :: Compatibility
- Network.AWS.ECS: CFargate :: Compatibility
- Network.AWS.ECS: CPU :: UlimitName
- Network.AWS.ECS: Connected :: Connectivity
- Network.AWS.ECS: ContainerInstance :: TargetType
- Network.AWS.ECS: Core :: UlimitName
- Network.AWS.ECS: Data :: UlimitName
- Network.AWS.ECS: Desc :: SortOrder
- Network.AWS.ECS: Disabled :: AssignPublicIP
- Network.AWS.ECS: Disconnected :: Connectivity
- Network.AWS.ECS: Draining :: ContainerInstanceStatus
- Network.AWS.ECS: EC2 :: LaunchType
- Network.AWS.ECS: Enabled :: AssignPublicIP
- Network.AWS.ECS: Fargate :: LaunchType
- Network.AWS.ECS: Fluentd :: LogDriver
- Network.AWS.ECS: Fsize :: UlimitName
- Network.AWS.ECS: Gelf :: LogDriver
- Network.AWS.ECS: Healthy :: HealthStatus
- Network.AWS.ECS: Host :: NetworkMode
- Network.AWS.ECS: JSONFile :: LogDriver
- Network.AWS.ECS: Journald :: LogDriver
- Network.AWS.ECS: Locks :: UlimitName
- Network.AWS.ECS: MemberOf :: TaskDefinitionPlacementConstraintType
- Network.AWS.ECS: Memlock :: UlimitName
- Network.AWS.ECS: Mknod :: DeviceCgroupPermission
- Network.AWS.ECS: Msgqueue :: UlimitName
- Network.AWS.ECS: Nice :: UlimitName
- Network.AWS.ECS: Nofile :: UlimitName
- Network.AWS.ECS: None :: NetworkMode
- Network.AWS.ECS: Nproc :: UlimitName
- Network.AWS.ECS: PCTDistinctInstance :: PlacementConstraintType
- Network.AWS.ECS: PCTMemberOf :: PlacementConstraintType
- Network.AWS.ECS: Pending :: DesiredStatus
- Network.AWS.ECS: Random :: PlacementStrategyType
- Network.AWS.ECS: Read :: DeviceCgroupPermission
- Network.AWS.ECS: Rss :: UlimitName
- Network.AWS.ECS: Rtprio :: UlimitName
- Network.AWS.ECS: Rttime :: UlimitName
- Network.AWS.ECS: Running :: DesiredStatus
- Network.AWS.ECS: Sigpending :: UlimitName
- Network.AWS.ECS: Splunk :: LogDriver
- Network.AWS.ECS: Spread :: PlacementStrategyType
- Network.AWS.ECS: Stack :: UlimitName
- Network.AWS.ECS: Statistics :: ClusterField
- Network.AWS.ECS: Stopped :: DesiredStatus
- Network.AWS.ECS: Syslog :: LogDriver
- Network.AWS.ECS: TCP :: TransportProtocol
- Network.AWS.ECS: TDFSActive :: TaskDefinitionFamilyStatus
- Network.AWS.ECS: TDFSAll :: TaskDefinitionFamilyStatus
- Network.AWS.ECS: TDFSInactive :: TaskDefinitionFamilyStatus
- Network.AWS.ECS: TDSActive :: TaskDefinitionStatus
- Network.AWS.ECS: TDSInactive :: TaskDefinitionStatus
- Network.AWS.ECS: Udp :: TransportProtocol
- Network.AWS.ECS: Unhealthy :: HealthStatus
- Network.AWS.ECS: Unknown :: HealthStatus
- Network.AWS.ECS: Write :: DeviceCgroupPermission
- Network.AWS.ECS: _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _AttributeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _BlockedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _ClientException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _ClusterContainsContainerInstancesException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _ClusterContainsServicesException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _ClusterContainsTasksException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _ClusterNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _MissingVersionException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _NoUpdateAvailableException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _PlatformTaskDefinitionIncompatibilityException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _PlatformUnknownException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _ServerException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _ServiceNotActiveException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _ServiceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _TargetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _UnsupportedFeatureException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: _UpdateInProgressException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS: aDetails :: Lens' Attachment [KeyValuePair]
- Network.AWS.ECS: aId :: Lens' Attachment (Maybe Text)
- Network.AWS.ECS: aName :: Lens' Attribute Text
- Network.AWS.ECS: aStatus :: Lens' Attachment (Maybe Text)
- Network.AWS.ECS: aTargetId :: Lens' Attribute (Maybe Text)
- Network.AWS.ECS: aTargetType :: Lens' Attribute (Maybe TargetType)
- Network.AWS.ECS: aType :: Lens' Attachment (Maybe Text)
- Network.AWS.ECS: aValue :: Lens' Attribute (Maybe Text)
- Network.AWS.ECS: ascAttachmentARN :: Lens' AttachmentStateChange Text
- Network.AWS.ECS: ascStatus :: Lens' AttachmentStateChange Text
- Network.AWS.ECS: attachment :: Attachment
- Network.AWS.ECS: attachmentStateChange :: Text -> Text -> AttachmentStateChange
- Network.AWS.ECS: attribute :: Text -> Attribute
- Network.AWS.ECS: avcAssignPublicIP :: Lens' AWSVPCConfiguration (Maybe AssignPublicIP)
- Network.AWS.ECS: avcSecurityGroups :: Lens' AWSVPCConfiguration [Text]
- Network.AWS.ECS: avcSubnets :: Lens' AWSVPCConfiguration [Text]
- Network.AWS.ECS: awsVPCConfiguration :: AWSVPCConfiguration
- Network.AWS.ECS: cActiveServicesCount :: Lens' Cluster (Maybe Int)
- Network.AWS.ECS: cClusterARN :: Lens' Cluster (Maybe Text)
- Network.AWS.ECS: cClusterName :: Lens' Cluster (Maybe Text)
- Network.AWS.ECS: cContainerARN :: Lens' Container (Maybe Text)
- Network.AWS.ECS: cExitCode :: Lens' Container (Maybe Int)
- Network.AWS.ECS: cHealthStatus :: Lens' Container (Maybe HealthStatus)
- Network.AWS.ECS: cLastStatus :: Lens' Container (Maybe Text)
- Network.AWS.ECS: cName :: Lens' Container (Maybe Text)
- Network.AWS.ECS: cNetworkBindings :: Lens' Container [NetworkBinding]
- Network.AWS.ECS: cNetworkInterfaces :: Lens' Container [NetworkInterface]
- Network.AWS.ECS: cPendingTasksCount :: Lens' Cluster (Maybe Int)
- Network.AWS.ECS: cReason :: Lens' Container (Maybe Text)
- Network.AWS.ECS: cRegisteredContainerInstancesCount :: Lens' Cluster (Maybe Int)
- Network.AWS.ECS: cRunningTasksCount :: Lens' Cluster (Maybe Int)
- Network.AWS.ECS: cStatistics :: Lens' Cluster [KeyValuePair]
- Network.AWS.ECS: cStatus :: Lens' Cluster (Maybe Text)
- Network.AWS.ECS: cTaskARN :: Lens' Container (Maybe Text)
- Network.AWS.ECS: cdCommand :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS: cdCpu :: Lens' ContainerDefinition (Maybe Int)
- Network.AWS.ECS: cdDisableNetworking :: Lens' ContainerDefinition (Maybe Bool)
- Network.AWS.ECS: cdDnsSearchDomains :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS: cdDnsServers :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS: cdDockerLabels :: Lens' ContainerDefinition (HashMap Text Text)
- Network.AWS.ECS: cdDockerSecurityOptions :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS: cdEntryPoint :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS: cdEnvironment :: Lens' ContainerDefinition [KeyValuePair]
- Network.AWS.ECS: cdEssential :: Lens' ContainerDefinition (Maybe Bool)
- Network.AWS.ECS: cdExtraHosts :: Lens' ContainerDefinition [HostEntry]
- Network.AWS.ECS: cdHealthCheck :: Lens' ContainerDefinition (Maybe HealthCheck)
- Network.AWS.ECS: cdHostname :: Lens' ContainerDefinition (Maybe Text)
- Network.AWS.ECS: cdImage :: Lens' ContainerDefinition (Maybe Text)
- Network.AWS.ECS: cdLinks :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS: cdLinuxParameters :: Lens' ContainerDefinition (Maybe LinuxParameters)
- Network.AWS.ECS: cdLogConfiguration :: Lens' ContainerDefinition (Maybe LogConfiguration)
- Network.AWS.ECS: cdMemory :: Lens' ContainerDefinition (Maybe Int)
- Network.AWS.ECS: cdMemoryReservation :: Lens' ContainerDefinition (Maybe Int)
- Network.AWS.ECS: cdMountPoints :: Lens' ContainerDefinition [MountPoint]
- Network.AWS.ECS: cdName :: Lens' ContainerDefinition (Maybe Text)
- Network.AWS.ECS: cdPortMappings :: Lens' ContainerDefinition [PortMapping]
- Network.AWS.ECS: cdPrivileged :: Lens' ContainerDefinition (Maybe Bool)
- Network.AWS.ECS: cdReadonlyRootFilesystem :: Lens' ContainerDefinition (Maybe Bool)
- Network.AWS.ECS: cdUlimits :: Lens' ContainerDefinition [Ulimit]
- Network.AWS.ECS: cdUser :: Lens' ContainerDefinition (Maybe Text)
- Network.AWS.ECS: cdVolumesFrom :: Lens' ContainerDefinition [VolumeFrom]
- Network.AWS.ECS: cdWorkingDirectory :: Lens' ContainerDefinition (Maybe Text)
- Network.AWS.ECS: ciAgentConnected :: Lens' ContainerInstance (Maybe Bool)
- Network.AWS.ECS: ciAgentUpdateStatus :: Lens' ContainerInstance (Maybe AgentUpdateStatus)
- Network.AWS.ECS: ciAttachments :: Lens' ContainerInstance [Attachment]
- Network.AWS.ECS: ciAttributes :: Lens' ContainerInstance [Attribute]
- Network.AWS.ECS: ciContainerInstanceARN :: Lens' ContainerInstance (Maybe Text)
- Network.AWS.ECS: ciEc2InstanceId :: Lens' ContainerInstance (Maybe Text)
- Network.AWS.ECS: ciPendingTasksCount :: Lens' ContainerInstance (Maybe Int)
- Network.AWS.ECS: ciRegisteredAt :: Lens' ContainerInstance (Maybe UTCTime)
- Network.AWS.ECS: ciRegisteredResources :: Lens' ContainerInstance [Resource]
- Network.AWS.ECS: ciRemainingResources :: Lens' ContainerInstance [Resource]
- Network.AWS.ECS: ciRunningTasksCount :: Lens' ContainerInstance (Maybe Int)
- Network.AWS.ECS: ciStatus :: Lens' ContainerInstance (Maybe Text)
- Network.AWS.ECS: ciVersion :: Lens' ContainerInstance (Maybe Integer)
- Network.AWS.ECS: ciVersionInfo :: Lens' ContainerInstance (Maybe VersionInfo)
- Network.AWS.ECS: cluster :: Cluster
- Network.AWS.ECS: coCommand :: Lens' ContainerOverride [Text]
- Network.AWS.ECS: coCpu :: Lens' ContainerOverride (Maybe Int)
- Network.AWS.ECS: coEnvironment :: Lens' ContainerOverride [KeyValuePair]
- Network.AWS.ECS: coMemory :: Lens' ContainerOverride (Maybe Int)
- Network.AWS.ECS: coMemoryReservation :: Lens' ContainerOverride (Maybe Int)
- Network.AWS.ECS: coName :: Lens' ContainerOverride (Maybe Text)
- Network.AWS.ECS: container :: Container
- Network.AWS.ECS: containerDefinition :: ContainerDefinition
- Network.AWS.ECS: containerInstance :: ContainerInstance
- Network.AWS.ECS: containerOverride :: ContainerOverride
- Network.AWS.ECS: containerService :: ContainerService
- Network.AWS.ECS: containerStateChange :: ContainerStateChange
- Network.AWS.ECS: csClusterARN :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS: csCreatedAt :: Lens' ContainerService (Maybe UTCTime)
- Network.AWS.ECS: csDeploymentConfiguration :: Lens' ContainerService (Maybe DeploymentConfiguration)
- Network.AWS.ECS: csDeployments :: Lens' ContainerService [Deployment]
- Network.AWS.ECS: csDesiredCount :: Lens' ContainerService (Maybe Int)
- Network.AWS.ECS: csEvents :: Lens' ContainerService [ServiceEvent]
- Network.AWS.ECS: csHealthCheckGracePeriodSeconds :: Lens' ContainerService (Maybe Int)
- Network.AWS.ECS: csLaunchType :: Lens' ContainerService (Maybe LaunchType)
- Network.AWS.ECS: csLoadBalancers :: Lens' ContainerService [LoadBalancer]
- Network.AWS.ECS: csNetworkConfiguration :: Lens' ContainerService (Maybe NetworkConfiguration)
- Network.AWS.ECS: csPendingCount :: Lens' ContainerService (Maybe Int)
- Network.AWS.ECS: csPlacementConstraints :: Lens' ContainerService [PlacementConstraint]
- Network.AWS.ECS: csPlacementStrategy :: Lens' ContainerService [PlacementStrategy]
- Network.AWS.ECS: csPlatformVersion :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS: csRoleARN :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS: csRunningCount :: Lens' ContainerService (Maybe Int)
- Network.AWS.ECS: csServiceARN :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS: csServiceName :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS: csServiceRegistries :: Lens' ContainerService [ServiceRegistry]
- Network.AWS.ECS: csStatus :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS: csTaskDefinition :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS: cscContainerName :: Lens' ContainerStateChange (Maybe Text)
- Network.AWS.ECS: cscExitCode :: Lens' ContainerStateChange (Maybe Int)
- Network.AWS.ECS: cscNetworkBindings :: Lens' ContainerStateChange [NetworkBinding]
- Network.AWS.ECS: cscReason :: Lens' ContainerStateChange (Maybe Text)
- Network.AWS.ECS: cscStatus :: Lens' ContainerStateChange (Maybe Text)
- Network.AWS.ECS: dContainerPath :: Lens' Device (Maybe Text)
- Network.AWS.ECS: dCreatedAt :: Lens' Deployment (Maybe UTCTime)
- Network.AWS.ECS: dDesiredCount :: Lens' Deployment (Maybe Int)
- Network.AWS.ECS: dHostPath :: Lens' Device Text
- Network.AWS.ECS: dId :: Lens' Deployment (Maybe Text)
- Network.AWS.ECS: dLaunchType :: Lens' Deployment (Maybe LaunchType)
- Network.AWS.ECS: dNetworkConfiguration :: Lens' Deployment (Maybe NetworkConfiguration)
- Network.AWS.ECS: dPendingCount :: Lens' Deployment (Maybe Int)
- Network.AWS.ECS: dPermissions :: Lens' Device [DeviceCgroupPermission]
- Network.AWS.ECS: dPlatformVersion :: Lens' Deployment (Maybe Text)
- Network.AWS.ECS: dRunningCount :: Lens' Deployment (Maybe Int)
- Network.AWS.ECS: dStatus :: Lens' Deployment (Maybe Text)
- Network.AWS.ECS: dTaskDefinition :: Lens' Deployment (Maybe Text)
- Network.AWS.ECS: dUpdatedAt :: Lens' Deployment (Maybe UTCTime)
- Network.AWS.ECS: data AWSVPCConfiguration
- Network.AWS.ECS: data AgentUpdateStatus
- Network.AWS.ECS: data AssignPublicIP
- Network.AWS.ECS: data Attachment
- Network.AWS.ECS: data AttachmentStateChange
- Network.AWS.ECS: data Attribute
- Network.AWS.ECS: data Cluster
- Network.AWS.ECS: data ClusterField
- Network.AWS.ECS: data Compatibility
- Network.AWS.ECS: data Connectivity
- Network.AWS.ECS: data Container
- Network.AWS.ECS: data ContainerDefinition
- Network.AWS.ECS: data ContainerInstance
- Network.AWS.ECS: data ContainerInstanceStatus
- Network.AWS.ECS: data ContainerOverride
- Network.AWS.ECS: data ContainerService
- Network.AWS.ECS: data ContainerStateChange
- Network.AWS.ECS: data Deployment
- Network.AWS.ECS: data DeploymentConfiguration
- Network.AWS.ECS: data DesiredStatus
- Network.AWS.ECS: data Device
- Network.AWS.ECS: data DeviceCgroupPermission
- Network.AWS.ECS: data Failure
- Network.AWS.ECS: data HealthCheck
- Network.AWS.ECS: data HealthStatus
- Network.AWS.ECS: data HostEntry
- Network.AWS.ECS: data HostVolumeProperties
- Network.AWS.ECS: data KernelCapabilities
- Network.AWS.ECS: data KeyValuePair
- Network.AWS.ECS: data LaunchType
- Network.AWS.ECS: data LinuxParameters
- Network.AWS.ECS: data LoadBalancer
- Network.AWS.ECS: data LogConfiguration
- Network.AWS.ECS: data LogDriver
- Network.AWS.ECS: data MountPoint
- Network.AWS.ECS: data NetworkBinding
- Network.AWS.ECS: data NetworkConfiguration
- Network.AWS.ECS: data NetworkInterface
- Network.AWS.ECS: data NetworkMode
- Network.AWS.ECS: data PlacementConstraint
- Network.AWS.ECS: data PlacementConstraintType
- Network.AWS.ECS: data PlacementStrategy
- Network.AWS.ECS: data PlacementStrategyType
- Network.AWS.ECS: data PortMapping
- Network.AWS.ECS: data Resource
- Network.AWS.ECS: data ServiceEvent
- Network.AWS.ECS: data ServiceRegistry
- Network.AWS.ECS: data SortOrder
- Network.AWS.ECS: data TargetType
- Network.AWS.ECS: data Task
- Network.AWS.ECS: data TaskDefinition
- Network.AWS.ECS: data TaskDefinitionFamilyStatus
- Network.AWS.ECS: data TaskDefinitionPlacementConstraint
- Network.AWS.ECS: data TaskDefinitionPlacementConstraintType
- Network.AWS.ECS: data TaskDefinitionStatus
- Network.AWS.ECS: data TaskOverride
- Network.AWS.ECS: data Tmpfs
- Network.AWS.ECS: data TransportProtocol
- Network.AWS.ECS: data Ulimit
- Network.AWS.ECS: data UlimitName
- Network.AWS.ECS: data VersionInfo
- Network.AWS.ECS: data Volume
- Network.AWS.ECS: data VolumeFrom
- Network.AWS.ECS: dcMaximumPercent :: Lens' DeploymentConfiguration (Maybe Int)
- Network.AWS.ECS: dcMinimumHealthyPercent :: Lens' DeploymentConfiguration (Maybe Int)
- Network.AWS.ECS: deployment :: Deployment
- Network.AWS.ECS: deploymentConfiguration :: DeploymentConfiguration
- Network.AWS.ECS: device :: Text -> Device
- Network.AWS.ECS: ecs :: Service
- Network.AWS.ECS: fArn :: Lens' Failure (Maybe Text)
- Network.AWS.ECS: fReason :: Lens' Failure (Maybe Text)
- Network.AWS.ECS: failure :: Failure
- Network.AWS.ECS: hcCommand :: Lens' HealthCheck [Text]
- Network.AWS.ECS: hcInterval :: Lens' HealthCheck (Maybe Int)
- Network.AWS.ECS: hcRetries :: Lens' HealthCheck (Maybe Int)
- Network.AWS.ECS: hcStartPeriod :: Lens' HealthCheck (Maybe Int)
- Network.AWS.ECS: hcTimeout :: Lens' HealthCheck (Maybe Int)
- Network.AWS.ECS: heHostname :: Lens' HostEntry Text
- Network.AWS.ECS: heIpAddress :: Lens' HostEntry Text
- Network.AWS.ECS: healthCheck :: HealthCheck
- Network.AWS.ECS: hostEntry :: Text -> Text -> HostEntry
- Network.AWS.ECS: hostVolumeProperties :: HostVolumeProperties
- Network.AWS.ECS: hvpSourcePath :: Lens' HostVolumeProperties (Maybe Text)
- Network.AWS.ECS: kcAdd :: Lens' KernelCapabilities [Text]
- Network.AWS.ECS: kcDrop :: Lens' KernelCapabilities [Text]
- Network.AWS.ECS: kernelCapabilities :: KernelCapabilities
- Network.AWS.ECS: keyValuePair :: KeyValuePair
- Network.AWS.ECS: kvpName :: Lens' KeyValuePair (Maybe Text)
- Network.AWS.ECS: kvpValue :: Lens' KeyValuePair (Maybe Text)
- Network.AWS.ECS: lbContainerName :: Lens' LoadBalancer (Maybe Text)
- Network.AWS.ECS: lbContainerPort :: Lens' LoadBalancer (Maybe Int)
- Network.AWS.ECS: lbLoadBalancerName :: Lens' LoadBalancer (Maybe Text)
- Network.AWS.ECS: lbTargetGroupARN :: Lens' LoadBalancer (Maybe Text)
- Network.AWS.ECS: lcLogDriver :: Lens' LogConfiguration LogDriver
- Network.AWS.ECS: lcOptions :: Lens' LogConfiguration (HashMap Text Text)
- Network.AWS.ECS: linuxParameters :: LinuxParameters
- Network.AWS.ECS: loadBalancer :: LoadBalancer
- Network.AWS.ECS: logConfiguration :: LogDriver -> LogConfiguration
- Network.AWS.ECS: lpCapabilities :: Lens' LinuxParameters (Maybe KernelCapabilities)
- Network.AWS.ECS: lpDevices :: Lens' LinuxParameters [Device]
- Network.AWS.ECS: lpInitProcessEnabled :: Lens' LinuxParameters (Maybe Bool)
- Network.AWS.ECS: lpSharedMemorySize :: Lens' LinuxParameters (Maybe Int)
- Network.AWS.ECS: lpTmpfs :: Lens' LinuxParameters [Tmpfs]
- Network.AWS.ECS: mountPoint :: MountPoint
- Network.AWS.ECS: mpContainerPath :: Lens' MountPoint (Maybe Text)
- Network.AWS.ECS: mpReadOnly :: Lens' MountPoint (Maybe Bool)
- Network.AWS.ECS: mpSourceVolume :: Lens' MountPoint (Maybe Text)
- Network.AWS.ECS: nbBindIP :: Lens' NetworkBinding (Maybe Text)
- Network.AWS.ECS: nbContainerPort :: Lens' NetworkBinding (Maybe Int)
- Network.AWS.ECS: nbHostPort :: Lens' NetworkBinding (Maybe Int)
- Network.AWS.ECS: nbProtocol :: Lens' NetworkBinding (Maybe TransportProtocol)
- Network.AWS.ECS: ncAwsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AWSVPCConfiguration)
- Network.AWS.ECS: networkBinding :: NetworkBinding
- Network.AWS.ECS: networkConfiguration :: NetworkConfiguration
- Network.AWS.ECS: networkInterface :: NetworkInterface
- Network.AWS.ECS: niAttachmentId :: Lens' NetworkInterface (Maybe Text)
- Network.AWS.ECS: niIpv6Address :: Lens' NetworkInterface (Maybe Text)
- Network.AWS.ECS: niPrivateIPv4Address :: Lens' NetworkInterface (Maybe Text)
- Network.AWS.ECS: pcExpression :: Lens' PlacementConstraint (Maybe Text)
- Network.AWS.ECS: pcType :: Lens' PlacementConstraint (Maybe PlacementConstraintType)
- Network.AWS.ECS: placementConstraint :: PlacementConstraint
- Network.AWS.ECS: placementStrategy :: PlacementStrategy
- Network.AWS.ECS: pmContainerPort :: Lens' PortMapping (Maybe Int)
- Network.AWS.ECS: pmHostPort :: Lens' PortMapping (Maybe Int)
- Network.AWS.ECS: pmProtocol :: Lens' PortMapping (Maybe TransportProtocol)
- Network.AWS.ECS: portMapping :: PortMapping
- Network.AWS.ECS: psField :: Lens' PlacementStrategy (Maybe Text)
- Network.AWS.ECS: psType :: Lens' PlacementStrategy (Maybe PlacementStrategyType)
- Network.AWS.ECS: rDoubleValue :: Lens' Resource (Maybe Double)
- Network.AWS.ECS: rIntegerValue :: Lens' Resource (Maybe Int)
- Network.AWS.ECS: rLongValue :: Lens' Resource (Maybe Integer)
- Network.AWS.ECS: rName :: Lens' Resource (Maybe Text)
- Network.AWS.ECS: rStringSetValue :: Lens' Resource [Text]
- Network.AWS.ECS: rType :: Lens' Resource (Maybe Text)
- Network.AWS.ECS: resource :: Resource
- Network.AWS.ECS: seCreatedAt :: Lens' ServiceEvent (Maybe UTCTime)
- Network.AWS.ECS: seId :: Lens' ServiceEvent (Maybe Text)
- Network.AWS.ECS: seMessage :: Lens' ServiceEvent (Maybe Text)
- Network.AWS.ECS: serviceEvent :: ServiceEvent
- Network.AWS.ECS: serviceRegistry :: ServiceRegistry
- Network.AWS.ECS: servicesInactive :: Wait DescribeServices
- Network.AWS.ECS: srPort :: Lens' ServiceRegistry (Maybe Int)
- Network.AWS.ECS: srRegistryARN :: Lens' ServiceRegistry (Maybe Text)
- Network.AWS.ECS: tAttachments :: Lens' Task [Attachment]
- Network.AWS.ECS: tClusterARN :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tConnectivity :: Lens' Task (Maybe Connectivity)
- Network.AWS.ECS: tConnectivityAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS: tContainerInstanceARN :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tContainerPath :: Lens' Tmpfs Text
- Network.AWS.ECS: tContainers :: Lens' Task [Container]
- Network.AWS.ECS: tCpu :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tCreatedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS: tDesiredStatus :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tExecutionStoppedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS: tGroup :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tHealthStatus :: Lens' Task (Maybe HealthStatus)
- Network.AWS.ECS: tLastStatus :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tLaunchType :: Lens' Task (Maybe LaunchType)
- Network.AWS.ECS: tMemory :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tMountOptions :: Lens' Tmpfs [Text]
- Network.AWS.ECS: tOverrides :: Lens' Task (Maybe TaskOverride)
- Network.AWS.ECS: tPlatformVersion :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tPullStartedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS: tPullStoppedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS: tSize :: Lens' Tmpfs Int
- Network.AWS.ECS: tStartedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS: tStartedBy :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tStoppedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS: tStoppedReason :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tStoppingAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS: tTaskARN :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tTaskDefinitionARN :: Lens' Task (Maybe Text)
- Network.AWS.ECS: tVersion :: Lens' Task (Maybe Integer)
- Network.AWS.ECS: task :: Task
- Network.AWS.ECS: taskDefinition :: TaskDefinition
- Network.AWS.ECS: taskDefinitionPlacementConstraint :: TaskDefinitionPlacementConstraint
- Network.AWS.ECS: taskOverride :: TaskOverride
- Network.AWS.ECS: tasksRunning :: Wait DescribeTasks
- Network.AWS.ECS: tasksStopped :: Wait DescribeTasks
- Network.AWS.ECS: tdCompatibilities :: Lens' TaskDefinition [Compatibility]
- Network.AWS.ECS: tdContainerDefinitions :: Lens' TaskDefinition [ContainerDefinition]
- Network.AWS.ECS: tdCpu :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS: tdExecutionRoleARN :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS: tdFamily :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS: tdMemory :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS: tdNetworkMode :: Lens' TaskDefinition (Maybe NetworkMode)
- Network.AWS.ECS: tdPlacementConstraints :: Lens' TaskDefinition [TaskDefinitionPlacementConstraint]
- Network.AWS.ECS: tdRequiresAttributes :: Lens' TaskDefinition [Attribute]
- Network.AWS.ECS: tdRequiresCompatibilities :: Lens' TaskDefinition [Compatibility]
- Network.AWS.ECS: tdRevision :: Lens' TaskDefinition (Maybe Int)
- Network.AWS.ECS: tdStatus :: Lens' TaskDefinition (Maybe TaskDefinitionStatus)
- Network.AWS.ECS: tdTaskDefinitionARN :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS: tdTaskRoleARN :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS: tdVolumes :: Lens' TaskDefinition [Volume]
- Network.AWS.ECS: tdpcExpression :: Lens' TaskDefinitionPlacementConstraint (Maybe Text)
- Network.AWS.ECS: tdpcType :: Lens' TaskDefinitionPlacementConstraint (Maybe TaskDefinitionPlacementConstraintType)
- Network.AWS.ECS: tmpfs :: Text -> Int -> Tmpfs
- Network.AWS.ECS: toContainerOverrides :: Lens' TaskOverride [ContainerOverride]
- Network.AWS.ECS: toExecutionRoleARN :: Lens' TaskOverride (Maybe Text)
- Network.AWS.ECS: toTaskRoleARN :: Lens' TaskOverride (Maybe Text)
- Network.AWS.ECS: uHardLimit :: Lens' Ulimit Int
- Network.AWS.ECS: uName :: Lens' Ulimit UlimitName
- Network.AWS.ECS: uSoftLimit :: Lens' Ulimit Int
- Network.AWS.ECS: ulimit :: UlimitName -> Int -> Int -> Ulimit
- Network.AWS.ECS: vHost :: Lens' Volume (Maybe HostVolumeProperties)
- Network.AWS.ECS: vName :: Lens' Volume (Maybe Text)
- Network.AWS.ECS: versionInfo :: VersionInfo
- Network.AWS.ECS: vfReadOnly :: Lens' VolumeFrom (Maybe Bool)
- Network.AWS.ECS: vfSourceContainer :: Lens' VolumeFrom (Maybe Text)
- Network.AWS.ECS: viAgentHash :: Lens' VersionInfo (Maybe Text)
- Network.AWS.ECS: viAgentVersion :: Lens' VersionInfo (Maybe Text)
- Network.AWS.ECS: viDockerVersion :: Lens' VersionInfo (Maybe Text)
- Network.AWS.ECS: volume :: Volume
- Network.AWS.ECS: volumeFrom :: VolumeFrom
- Network.AWS.ECS.CreateCluster: ccClusterName :: Lens' CreateCluster (Maybe Text)
- Network.AWS.ECS.CreateCluster: ccrsCluster :: Lens' CreateClusterResponse (Maybe Cluster)
- Network.AWS.ECS.CreateCluster: ccrsResponseStatus :: Lens' CreateClusterResponse Int
- Network.AWS.ECS.CreateCluster: createCluster :: CreateCluster
- Network.AWS.ECS.CreateCluster: createClusterResponse :: Int -> CreateClusterResponse
- Network.AWS.ECS.CreateCluster: data CreateCluster
- Network.AWS.ECS.CreateCluster: data CreateClusterResponse
- Network.AWS.ECS.CreateCluster: instance Control.DeepSeq.NFData Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateCluster: instance Control.DeepSeq.NFData Network.AWS.ECS.CreateCluster.CreateClusterResponse
- Network.AWS.ECS.CreateCluster: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateCluster: instance Data.Data.Data Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateCluster: instance Data.Data.Data Network.AWS.ECS.CreateCluster.CreateClusterResponse
- Network.AWS.ECS.CreateCluster: instance Data.Hashable.Class.Hashable Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateCluster: instance GHC.Classes.Eq Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateCluster: instance GHC.Classes.Eq Network.AWS.ECS.CreateCluster.CreateClusterResponse
- Network.AWS.ECS.CreateCluster: instance GHC.Generics.Generic Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateCluster: instance GHC.Generics.Generic Network.AWS.ECS.CreateCluster.CreateClusterResponse
- Network.AWS.ECS.CreateCluster: instance GHC.Read.Read Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateCluster: instance GHC.Read.Read Network.AWS.ECS.CreateCluster.CreateClusterResponse
- Network.AWS.ECS.CreateCluster: instance GHC.Show.Show Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateCluster: instance GHC.Show.Show Network.AWS.ECS.CreateCluster.CreateClusterResponse
- Network.AWS.ECS.CreateCluster: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateCluster: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateCluster: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateCluster: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.CreateCluster.CreateCluster
- Network.AWS.ECS.CreateService: cClientToken :: Lens' CreateService (Maybe Text)
- Network.AWS.ECS.CreateService: cCluster :: Lens' CreateService (Maybe Text)
- Network.AWS.ECS.CreateService: cDeploymentConfiguration :: Lens' CreateService (Maybe DeploymentConfiguration)
- Network.AWS.ECS.CreateService: cDesiredCount :: Lens' CreateService Int
- Network.AWS.ECS.CreateService: cHealthCheckGracePeriodSeconds :: Lens' CreateService (Maybe Int)
- Network.AWS.ECS.CreateService: cLaunchType :: Lens' CreateService (Maybe LaunchType)
- Network.AWS.ECS.CreateService: cLoadBalancers :: Lens' CreateService [LoadBalancer]
- Network.AWS.ECS.CreateService: cNetworkConfiguration :: Lens' CreateService (Maybe NetworkConfiguration)
- Network.AWS.ECS.CreateService: cPlacementConstraints :: Lens' CreateService [PlacementConstraint]
- Network.AWS.ECS.CreateService: cPlacementStrategy :: Lens' CreateService [PlacementStrategy]
- Network.AWS.ECS.CreateService: cPlatformVersion :: Lens' CreateService (Maybe Text)
- Network.AWS.ECS.CreateService: cRole :: Lens' CreateService (Maybe Text)
- Network.AWS.ECS.CreateService: cServiceName :: Lens' CreateService Text
- Network.AWS.ECS.CreateService: cServiceRegistries :: Lens' CreateService [ServiceRegistry]
- Network.AWS.ECS.CreateService: cTaskDefinition :: Lens' CreateService Text
- Network.AWS.ECS.CreateService: createService :: Text -> Text -> Int -> CreateService
- Network.AWS.ECS.CreateService: createServiceResponse :: Int -> CreateServiceResponse
- Network.AWS.ECS.CreateService: csrsResponseStatus :: Lens' CreateServiceResponse Int
- Network.AWS.ECS.CreateService: csrsService :: Lens' CreateServiceResponse (Maybe ContainerService)
- Network.AWS.ECS.CreateService: data CreateService
- Network.AWS.ECS.CreateService: data CreateServiceResponse
- Network.AWS.ECS.CreateService: instance Control.DeepSeq.NFData Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.CreateService: instance Control.DeepSeq.NFData Network.AWS.ECS.CreateService.CreateServiceResponse
- Network.AWS.ECS.CreateService: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.CreateService: instance Data.Data.Data Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.CreateService: instance Data.Data.Data Network.AWS.ECS.CreateService.CreateServiceResponse
- Network.AWS.ECS.CreateService: instance Data.Hashable.Class.Hashable Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.CreateService: instance GHC.Classes.Eq Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.CreateService: instance GHC.Classes.Eq Network.AWS.ECS.CreateService.CreateServiceResponse
- Network.AWS.ECS.CreateService: instance GHC.Generics.Generic Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.CreateService: instance GHC.Generics.Generic Network.AWS.ECS.CreateService.CreateServiceResponse
- Network.AWS.ECS.CreateService: instance GHC.Read.Read Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.CreateService: instance GHC.Read.Read Network.AWS.ECS.CreateService.CreateServiceResponse
- Network.AWS.ECS.CreateService: instance GHC.Show.Show Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.CreateService: instance GHC.Show.Show Network.AWS.ECS.CreateService.CreateServiceResponse
- Network.AWS.ECS.CreateService: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.CreateService: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.CreateService: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.CreateService: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.CreateService.CreateService
- Network.AWS.ECS.DeleteAttributes: daAttributes :: Lens' DeleteAttributes [Attribute]
- Network.AWS.ECS.DeleteAttributes: daCluster :: Lens' DeleteAttributes (Maybe Text)
- Network.AWS.ECS.DeleteAttributes: darsAttributes :: Lens' DeleteAttributesResponse [Attribute]
- Network.AWS.ECS.DeleteAttributes: darsResponseStatus :: Lens' DeleteAttributesResponse Int
- Network.AWS.ECS.DeleteAttributes: data DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: data DeleteAttributesResponse
- Network.AWS.ECS.DeleteAttributes: deleteAttributes :: DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: deleteAttributesResponse :: Int -> DeleteAttributesResponse
- Network.AWS.ECS.DeleteAttributes: instance Control.DeepSeq.NFData Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: instance Control.DeepSeq.NFData Network.AWS.ECS.DeleteAttributes.DeleteAttributesResponse
- Network.AWS.ECS.DeleteAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: instance Data.Data.Data Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: instance Data.Data.Data Network.AWS.ECS.DeleteAttributes.DeleteAttributesResponse
- Network.AWS.ECS.DeleteAttributes: instance Data.Hashable.Class.Hashable Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: instance GHC.Classes.Eq Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: instance GHC.Classes.Eq Network.AWS.ECS.DeleteAttributes.DeleteAttributesResponse
- Network.AWS.ECS.DeleteAttributes: instance GHC.Generics.Generic Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: instance GHC.Generics.Generic Network.AWS.ECS.DeleteAttributes.DeleteAttributesResponse
- Network.AWS.ECS.DeleteAttributes: instance GHC.Read.Read Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: instance GHC.Read.Read Network.AWS.ECS.DeleteAttributes.DeleteAttributesResponse
- Network.AWS.ECS.DeleteAttributes: instance GHC.Show.Show Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: instance GHC.Show.Show Network.AWS.ECS.DeleteAttributes.DeleteAttributesResponse
- Network.AWS.ECS.DeleteAttributes: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteAttributes: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.DeleteAttributes.DeleteAttributes
- Network.AWS.ECS.DeleteCluster: data DeleteCluster
- Network.AWS.ECS.DeleteCluster: data DeleteClusterResponse
- Network.AWS.ECS.DeleteCluster: dcCluster :: Lens' DeleteCluster Text
- Network.AWS.ECS.DeleteCluster: deleteCluster :: Text -> DeleteCluster
- Network.AWS.ECS.DeleteCluster: deleteClusterResponse :: Int -> DeleteClusterResponse
- Network.AWS.ECS.DeleteCluster: drsCluster :: Lens' DeleteClusterResponse (Maybe Cluster)
- Network.AWS.ECS.DeleteCluster: drsResponseStatus :: Lens' DeleteClusterResponse Int
- Network.AWS.ECS.DeleteCluster: instance Control.DeepSeq.NFData Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteCluster: instance Control.DeepSeq.NFData Network.AWS.ECS.DeleteCluster.DeleteClusterResponse
- Network.AWS.ECS.DeleteCluster: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteCluster: instance Data.Data.Data Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteCluster: instance Data.Data.Data Network.AWS.ECS.DeleteCluster.DeleteClusterResponse
- Network.AWS.ECS.DeleteCluster: instance Data.Hashable.Class.Hashable Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteCluster: instance GHC.Classes.Eq Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteCluster: instance GHC.Classes.Eq Network.AWS.ECS.DeleteCluster.DeleteClusterResponse
- Network.AWS.ECS.DeleteCluster: instance GHC.Generics.Generic Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteCluster: instance GHC.Generics.Generic Network.AWS.ECS.DeleteCluster.DeleteClusterResponse
- Network.AWS.ECS.DeleteCluster: instance GHC.Read.Read Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteCluster: instance GHC.Read.Read Network.AWS.ECS.DeleteCluster.DeleteClusterResponse
- Network.AWS.ECS.DeleteCluster: instance GHC.Show.Show Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteCluster: instance GHC.Show.Show Network.AWS.ECS.DeleteCluster.DeleteClusterResponse
- Network.AWS.ECS.DeleteCluster: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteCluster: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteCluster: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteCluster: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.DeleteCluster.DeleteCluster
- Network.AWS.ECS.DeleteService: data DeleteService
- Network.AWS.ECS.DeleteService: data DeleteServiceResponse
- Network.AWS.ECS.DeleteService: deleteService :: Text -> DeleteService
- Network.AWS.ECS.DeleteService: deleteServiceResponse :: Int -> DeleteServiceResponse
- Network.AWS.ECS.DeleteService: dsCluster :: Lens' DeleteService (Maybe Text)
- Network.AWS.ECS.DeleteService: dsService :: Lens' DeleteService Text
- Network.AWS.ECS.DeleteService: dsrsResponseStatus :: Lens' DeleteServiceResponse Int
- Network.AWS.ECS.DeleteService: dsrsService :: Lens' DeleteServiceResponse (Maybe ContainerService)
- Network.AWS.ECS.DeleteService: instance Control.DeepSeq.NFData Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeleteService: instance Control.DeepSeq.NFData Network.AWS.ECS.DeleteService.DeleteServiceResponse
- Network.AWS.ECS.DeleteService: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeleteService: instance Data.Data.Data Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeleteService: instance Data.Data.Data Network.AWS.ECS.DeleteService.DeleteServiceResponse
- Network.AWS.ECS.DeleteService: instance Data.Hashable.Class.Hashable Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeleteService: instance GHC.Classes.Eq Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeleteService: instance GHC.Classes.Eq Network.AWS.ECS.DeleteService.DeleteServiceResponse
- Network.AWS.ECS.DeleteService: instance GHC.Generics.Generic Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeleteService: instance GHC.Generics.Generic Network.AWS.ECS.DeleteService.DeleteServiceResponse
- Network.AWS.ECS.DeleteService: instance GHC.Read.Read Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeleteService: instance GHC.Read.Read Network.AWS.ECS.DeleteService.DeleteServiceResponse
- Network.AWS.ECS.DeleteService: instance GHC.Show.Show Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeleteService: instance GHC.Show.Show Network.AWS.ECS.DeleteService.DeleteServiceResponse
- Network.AWS.ECS.DeleteService: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeleteService: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeleteService: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeleteService: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.DeleteService.DeleteService
- Network.AWS.ECS.DeregisterContainerInstance: data DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: data DeregisterContainerInstanceResponse
- Network.AWS.ECS.DeregisterContainerInstance: dcirsContainerInstance :: Lens' DeregisterContainerInstanceResponse (Maybe ContainerInstance)
- Network.AWS.ECS.DeregisterContainerInstance: dcirsResponseStatus :: Lens' DeregisterContainerInstanceResponse Int
- Network.AWS.ECS.DeregisterContainerInstance: derCluster :: Lens' DeregisterContainerInstance (Maybe Text)
- Network.AWS.ECS.DeregisterContainerInstance: derContainerInstance :: Lens' DeregisterContainerInstance Text
- Network.AWS.ECS.DeregisterContainerInstance: derForce :: Lens' DeregisterContainerInstance (Maybe Bool)
- Network.AWS.ECS.DeregisterContainerInstance: deregisterContainerInstance :: Text -> DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: deregisterContainerInstanceResponse :: Int -> DeregisterContainerInstanceResponse
- Network.AWS.ECS.DeregisterContainerInstance: instance Control.DeepSeq.NFData Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: instance Control.DeepSeq.NFData Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstanceResponse
- Network.AWS.ECS.DeregisterContainerInstance: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: instance Data.Data.Data Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: instance Data.Data.Data Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstanceResponse
- Network.AWS.ECS.DeregisterContainerInstance: instance Data.Hashable.Class.Hashable Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: instance GHC.Classes.Eq Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: instance GHC.Classes.Eq Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstanceResponse
- Network.AWS.ECS.DeregisterContainerInstance: instance GHC.Generics.Generic Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: instance GHC.Generics.Generic Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstanceResponse
- Network.AWS.ECS.DeregisterContainerInstance: instance GHC.Read.Read Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: instance GHC.Read.Read Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstanceResponse
- Network.AWS.ECS.DeregisterContainerInstance: instance GHC.Show.Show Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: instance GHC.Show.Show Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstanceResponse
- Network.AWS.ECS.DeregisterContainerInstance: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterContainerInstance: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.DeregisterContainerInstance.DeregisterContainerInstance
- Network.AWS.ECS.DeregisterTaskDefinition: data DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: data DeregisterTaskDefinitionResponse
- Network.AWS.ECS.DeregisterTaskDefinition: derTaskDefinition :: Lens' DeregisterTaskDefinition Text
- Network.AWS.ECS.DeregisterTaskDefinition: deregisterTaskDefinition :: Text -> DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: deregisterTaskDefinitionResponse :: Int -> DeregisterTaskDefinitionResponse
- Network.AWS.ECS.DeregisterTaskDefinition: dtdrsResponseStatus :: Lens' DeregisterTaskDefinitionResponse Int
- Network.AWS.ECS.DeregisterTaskDefinition: dtdrsTaskDefinition :: Lens' DeregisterTaskDefinitionResponse (Maybe TaskDefinition)
- Network.AWS.ECS.DeregisterTaskDefinition: instance Control.DeepSeq.NFData Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: instance Control.DeepSeq.NFData Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinitionResponse
- Network.AWS.ECS.DeregisterTaskDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: instance Data.Data.Data Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: instance Data.Data.Data Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinitionResponse
- Network.AWS.ECS.DeregisterTaskDefinition: instance Data.Hashable.Class.Hashable Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: instance GHC.Classes.Eq Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: instance GHC.Classes.Eq Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinitionResponse
- Network.AWS.ECS.DeregisterTaskDefinition: instance GHC.Generics.Generic Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: instance GHC.Generics.Generic Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinitionResponse
- Network.AWS.ECS.DeregisterTaskDefinition: instance GHC.Read.Read Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: instance GHC.Read.Read Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinitionResponse
- Network.AWS.ECS.DeregisterTaskDefinition: instance GHC.Show.Show Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: instance GHC.Show.Show Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinitionResponse
- Network.AWS.ECS.DeregisterTaskDefinition: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DeregisterTaskDefinition: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
- Network.AWS.ECS.DescribeClusters: data DescribeClusters
- Network.AWS.ECS.DescribeClusters: data DescribeClustersResponse
- Network.AWS.ECS.DescribeClusters: dcClusters :: Lens' DescribeClusters [Text]
- Network.AWS.ECS.DescribeClusters: dcInclude :: Lens' DescribeClusters [ClusterField]
- Network.AWS.ECS.DescribeClusters: dcrsClusters :: Lens' DescribeClustersResponse [Cluster]
- Network.AWS.ECS.DescribeClusters: dcrsFailures :: Lens' DescribeClustersResponse [Failure]
- Network.AWS.ECS.DescribeClusters: dcrsResponseStatus :: Lens' DescribeClustersResponse Int
- Network.AWS.ECS.DescribeClusters: describeClusters :: DescribeClusters
- Network.AWS.ECS.DescribeClusters: describeClustersResponse :: Int -> DescribeClustersResponse
- Network.AWS.ECS.DescribeClusters: instance Control.DeepSeq.NFData Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeClusters: instance Control.DeepSeq.NFData Network.AWS.ECS.DescribeClusters.DescribeClustersResponse
- Network.AWS.ECS.DescribeClusters: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeClusters: instance Data.Data.Data Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeClusters: instance Data.Data.Data Network.AWS.ECS.DescribeClusters.DescribeClustersResponse
- Network.AWS.ECS.DescribeClusters: instance Data.Hashable.Class.Hashable Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeClusters: instance GHC.Classes.Eq Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeClusters: instance GHC.Classes.Eq Network.AWS.ECS.DescribeClusters.DescribeClustersResponse
- Network.AWS.ECS.DescribeClusters: instance GHC.Generics.Generic Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeClusters: instance GHC.Generics.Generic Network.AWS.ECS.DescribeClusters.DescribeClustersResponse
- Network.AWS.ECS.DescribeClusters: instance GHC.Read.Read Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeClusters: instance GHC.Read.Read Network.AWS.ECS.DescribeClusters.DescribeClustersResponse
- Network.AWS.ECS.DescribeClusters: instance GHC.Show.Show Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeClusters: instance GHC.Show.Show Network.AWS.ECS.DescribeClusters.DescribeClustersResponse
- Network.AWS.ECS.DescribeClusters: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeClusters: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeClusters: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeClusters: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.DescribeClusters.DescribeClusters
- Network.AWS.ECS.DescribeContainerInstances: data DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: data DescribeContainerInstancesResponse
- Network.AWS.ECS.DescribeContainerInstances: dciCluster :: Lens' DescribeContainerInstances (Maybe Text)
- Network.AWS.ECS.DescribeContainerInstances: dciContainerInstances :: Lens' DescribeContainerInstances [Text]
- Network.AWS.ECS.DescribeContainerInstances: dcisrsContainerInstances :: Lens' DescribeContainerInstancesResponse [ContainerInstance]
- Network.AWS.ECS.DescribeContainerInstances: dcisrsFailures :: Lens' DescribeContainerInstancesResponse [Failure]
- Network.AWS.ECS.DescribeContainerInstances: dcisrsResponseStatus :: Lens' DescribeContainerInstancesResponse Int
- Network.AWS.ECS.DescribeContainerInstances: describeContainerInstances :: DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: describeContainerInstancesResponse :: Int -> DescribeContainerInstancesResponse
- Network.AWS.ECS.DescribeContainerInstances: instance Control.DeepSeq.NFData Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: instance Control.DeepSeq.NFData Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstancesResponse
- Network.AWS.ECS.DescribeContainerInstances: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: instance Data.Data.Data Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: instance Data.Data.Data Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstancesResponse
- Network.AWS.ECS.DescribeContainerInstances: instance Data.Hashable.Class.Hashable Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: instance GHC.Classes.Eq Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: instance GHC.Classes.Eq Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstancesResponse
- Network.AWS.ECS.DescribeContainerInstances: instance GHC.Generics.Generic Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: instance GHC.Generics.Generic Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstancesResponse
- Network.AWS.ECS.DescribeContainerInstances: instance GHC.Read.Read Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: instance GHC.Read.Read Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstancesResponse
- Network.AWS.ECS.DescribeContainerInstances: instance GHC.Show.Show Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: instance GHC.Show.Show Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstancesResponse
- Network.AWS.ECS.DescribeContainerInstances: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeContainerInstances: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.DescribeContainerInstances.DescribeContainerInstances
- Network.AWS.ECS.DescribeServices: dCluster :: Lens' DescribeServices (Maybe Text)
- Network.AWS.ECS.DescribeServices: dServices :: Lens' DescribeServices [Text]
- Network.AWS.ECS.DescribeServices: data DescribeServices
- Network.AWS.ECS.DescribeServices: data DescribeServicesResponse
- Network.AWS.ECS.DescribeServices: describeServices :: DescribeServices
- Network.AWS.ECS.DescribeServices: describeServicesResponse :: Int -> DescribeServicesResponse
- Network.AWS.ECS.DescribeServices: dssrsFailures :: Lens' DescribeServicesResponse [Failure]
- Network.AWS.ECS.DescribeServices: dssrsResponseStatus :: Lens' DescribeServicesResponse Int
- Network.AWS.ECS.DescribeServices: dssrsServices :: Lens' DescribeServicesResponse [ContainerService]
- Network.AWS.ECS.DescribeServices: instance Control.DeepSeq.NFData Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeServices: instance Control.DeepSeq.NFData Network.AWS.ECS.DescribeServices.DescribeServicesResponse
- Network.AWS.ECS.DescribeServices: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeServices: instance Data.Data.Data Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeServices: instance Data.Data.Data Network.AWS.ECS.DescribeServices.DescribeServicesResponse
- Network.AWS.ECS.DescribeServices: instance Data.Hashable.Class.Hashable Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeServices: instance GHC.Classes.Eq Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeServices: instance GHC.Classes.Eq Network.AWS.ECS.DescribeServices.DescribeServicesResponse
- Network.AWS.ECS.DescribeServices: instance GHC.Generics.Generic Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeServices: instance GHC.Generics.Generic Network.AWS.ECS.DescribeServices.DescribeServicesResponse
- Network.AWS.ECS.DescribeServices: instance GHC.Read.Read Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeServices: instance GHC.Read.Read Network.AWS.ECS.DescribeServices.DescribeServicesResponse
- Network.AWS.ECS.DescribeServices: instance GHC.Show.Show Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeServices: instance GHC.Show.Show Network.AWS.ECS.DescribeServices.DescribeServicesResponse
- Network.AWS.ECS.DescribeServices: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeServices: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeServices: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeServices: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.DescribeServices.DescribeServices
- Network.AWS.ECS.DescribeTaskDefinition: data DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: data DescribeTaskDefinitionResponse
- Network.AWS.ECS.DescribeTaskDefinition: describeTaskDefinition :: Text -> DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: describeTaskDefinitionResponse :: Int -> DescribeTaskDefinitionResponse
- Network.AWS.ECS.DescribeTaskDefinition: desrsResponseStatus :: Lens' DescribeTaskDefinitionResponse Int
- Network.AWS.ECS.DescribeTaskDefinition: desrsTaskDefinition :: Lens' DescribeTaskDefinitionResponse (Maybe TaskDefinition)
- Network.AWS.ECS.DescribeTaskDefinition: dtdTaskDefinition :: Lens' DescribeTaskDefinition Text
- Network.AWS.ECS.DescribeTaskDefinition: instance Control.DeepSeq.NFData Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: instance Control.DeepSeq.NFData Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinitionResponse
- Network.AWS.ECS.DescribeTaskDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: instance Data.Data.Data Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: instance Data.Data.Data Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinitionResponse
- Network.AWS.ECS.DescribeTaskDefinition: instance Data.Hashable.Class.Hashable Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: instance GHC.Classes.Eq Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: instance GHC.Classes.Eq Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinitionResponse
- Network.AWS.ECS.DescribeTaskDefinition: instance GHC.Generics.Generic Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: instance GHC.Generics.Generic Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinitionResponse
- Network.AWS.ECS.DescribeTaskDefinition: instance GHC.Read.Read Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: instance GHC.Read.Read Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinitionResponse
- Network.AWS.ECS.DescribeTaskDefinition: instance GHC.Show.Show Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: instance GHC.Show.Show Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinitionResponse
- Network.AWS.ECS.DescribeTaskDefinition: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTaskDefinition: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.DescribeTaskDefinition.DescribeTaskDefinition
- Network.AWS.ECS.DescribeTasks: data DescribeTasks
- Network.AWS.ECS.DescribeTasks: data DescribeTasksResponse
- Network.AWS.ECS.DescribeTasks: describeTasks :: DescribeTasks
- Network.AWS.ECS.DescribeTasks: describeTasksResponse :: Int -> DescribeTasksResponse
- Network.AWS.ECS.DescribeTasks: dtCluster :: Lens' DescribeTasks (Maybe Text)
- Network.AWS.ECS.DescribeTasks: dtTasks :: Lens' DescribeTasks [Text]
- Network.AWS.ECS.DescribeTasks: dtrsFailures :: Lens' DescribeTasksResponse [Failure]
- Network.AWS.ECS.DescribeTasks: dtrsResponseStatus :: Lens' DescribeTasksResponse Int
- Network.AWS.ECS.DescribeTasks: dtrsTasks :: Lens' DescribeTasksResponse [Task]
- Network.AWS.ECS.DescribeTasks: instance Control.DeepSeq.NFData Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DescribeTasks: instance Control.DeepSeq.NFData Network.AWS.ECS.DescribeTasks.DescribeTasksResponse
- Network.AWS.ECS.DescribeTasks: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DescribeTasks: instance Data.Data.Data Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DescribeTasks: instance Data.Data.Data Network.AWS.ECS.DescribeTasks.DescribeTasksResponse
- Network.AWS.ECS.DescribeTasks: instance Data.Hashable.Class.Hashable Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DescribeTasks: instance GHC.Classes.Eq Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DescribeTasks: instance GHC.Classes.Eq Network.AWS.ECS.DescribeTasks.DescribeTasksResponse
- Network.AWS.ECS.DescribeTasks: instance GHC.Generics.Generic Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DescribeTasks: instance GHC.Generics.Generic Network.AWS.ECS.DescribeTasks.DescribeTasksResponse
- Network.AWS.ECS.DescribeTasks: instance GHC.Read.Read Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DescribeTasks: instance GHC.Read.Read Network.AWS.ECS.DescribeTasks.DescribeTasksResponse
- Network.AWS.ECS.DescribeTasks: instance GHC.Show.Show Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DescribeTasks: instance GHC.Show.Show Network.AWS.ECS.DescribeTasks.DescribeTasksResponse
- Network.AWS.ECS.DescribeTasks: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DescribeTasks: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DescribeTasks: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DescribeTasks: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.DescribeTasks.DescribeTasks
- Network.AWS.ECS.DiscoverPollEndpoint: data DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: data DiscoverPollEndpointResponse
- Network.AWS.ECS.DiscoverPollEndpoint: discoverPollEndpoint :: DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: discoverPollEndpointResponse :: Int -> DiscoverPollEndpointResponse
- Network.AWS.ECS.DiscoverPollEndpoint: dpeCluster :: Lens' DiscoverPollEndpoint (Maybe Text)
- Network.AWS.ECS.DiscoverPollEndpoint: dpeContainerInstance :: Lens' DiscoverPollEndpoint (Maybe Text)
- Network.AWS.ECS.DiscoverPollEndpoint: dpersEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
- Network.AWS.ECS.DiscoverPollEndpoint: dpersResponseStatus :: Lens' DiscoverPollEndpointResponse Int
- Network.AWS.ECS.DiscoverPollEndpoint: dpersTelemetryEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
- Network.AWS.ECS.DiscoverPollEndpoint: instance Control.DeepSeq.NFData Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: instance Control.DeepSeq.NFData Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpointResponse
- Network.AWS.ECS.DiscoverPollEndpoint: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: instance Data.Data.Data Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: instance Data.Data.Data Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpointResponse
- Network.AWS.ECS.DiscoverPollEndpoint: instance Data.Hashable.Class.Hashable Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: instance GHC.Classes.Eq Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: instance GHC.Classes.Eq Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpointResponse
- Network.AWS.ECS.DiscoverPollEndpoint: instance GHC.Generics.Generic Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: instance GHC.Generics.Generic Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpointResponse
- Network.AWS.ECS.DiscoverPollEndpoint: instance GHC.Read.Read Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: instance GHC.Read.Read Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpointResponse
- Network.AWS.ECS.DiscoverPollEndpoint: instance GHC.Show.Show Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: instance GHC.Show.Show Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpointResponse
- Network.AWS.ECS.DiscoverPollEndpoint: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.DiscoverPollEndpoint: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
- Network.AWS.ECS.ListAttributes: data ListAttributes
- Network.AWS.ECS.ListAttributes: data ListAttributesResponse
- Network.AWS.ECS.ListAttributes: instance Control.DeepSeq.NFData Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: instance Control.DeepSeq.NFData Network.AWS.ECS.ListAttributes.ListAttributesResponse
- Network.AWS.ECS.ListAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: instance Data.Data.Data Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: instance Data.Data.Data Network.AWS.ECS.ListAttributes.ListAttributesResponse
- Network.AWS.ECS.ListAttributes: instance Data.Hashable.Class.Hashable Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: instance GHC.Classes.Eq Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: instance GHC.Classes.Eq Network.AWS.ECS.ListAttributes.ListAttributesResponse
- Network.AWS.ECS.ListAttributes: instance GHC.Generics.Generic Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: instance GHC.Generics.Generic Network.AWS.ECS.ListAttributes.ListAttributesResponse
- Network.AWS.ECS.ListAttributes: instance GHC.Read.Read Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: instance GHC.Read.Read Network.AWS.ECS.ListAttributes.ListAttributesResponse
- Network.AWS.ECS.ListAttributes: instance GHC.Show.Show Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: instance GHC.Show.Show Network.AWS.ECS.ListAttributes.ListAttributesResponse
- Network.AWS.ECS.ListAttributes: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.ListAttributes.ListAttributes
- Network.AWS.ECS.ListAttributes: laAttributeName :: Lens' ListAttributes (Maybe Text)
- Network.AWS.ECS.ListAttributes: laAttributeValue :: Lens' ListAttributes (Maybe Text)
- Network.AWS.ECS.ListAttributes: laCluster :: Lens' ListAttributes (Maybe Text)
- Network.AWS.ECS.ListAttributes: laMaxResults :: Lens' ListAttributes (Maybe Int)
- Network.AWS.ECS.ListAttributes: laNextToken :: Lens' ListAttributes (Maybe Text)
- Network.AWS.ECS.ListAttributes: laTargetType :: Lens' ListAttributes TargetType
- Network.AWS.ECS.ListAttributes: larsAttributes :: Lens' ListAttributesResponse [Attribute]
- Network.AWS.ECS.ListAttributes: larsNextToken :: Lens' ListAttributesResponse (Maybe Text)
- Network.AWS.ECS.ListAttributes: larsResponseStatus :: Lens' ListAttributesResponse Int
- Network.AWS.ECS.ListAttributes: listAttributes :: TargetType -> ListAttributes
- Network.AWS.ECS.ListAttributes: listAttributesResponse :: Int -> ListAttributesResponse
- Network.AWS.ECS.ListClusters: data ListClusters
- Network.AWS.ECS.ListClusters: data ListClustersResponse
- Network.AWS.ECS.ListClusters: instance Control.DeepSeq.NFData Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance Control.DeepSeq.NFData Network.AWS.ECS.ListClusters.ListClustersResponse
- Network.AWS.ECS.ListClusters: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance Data.Data.Data Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance Data.Data.Data Network.AWS.ECS.ListClusters.ListClustersResponse
- Network.AWS.ECS.ListClusters: instance Data.Hashable.Class.Hashable Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance GHC.Classes.Eq Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance GHC.Classes.Eq Network.AWS.ECS.ListClusters.ListClustersResponse
- Network.AWS.ECS.ListClusters: instance GHC.Generics.Generic Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance GHC.Generics.Generic Network.AWS.ECS.ListClusters.ListClustersResponse
- Network.AWS.ECS.ListClusters: instance GHC.Read.Read Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance GHC.Read.Read Network.AWS.ECS.ListClusters.ListClustersResponse
- Network.AWS.ECS.ListClusters: instance GHC.Show.Show Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance GHC.Show.Show Network.AWS.ECS.ListClusters.ListClustersResponse
- Network.AWS.ECS.ListClusters: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance Network.AWS.Pager.AWSPager Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.ListClusters.ListClusters
- Network.AWS.ECS.ListClusters: lcMaxResults :: Lens' ListClusters (Maybe Int)
- Network.AWS.ECS.ListClusters: lcNextToken :: Lens' ListClusters (Maybe Text)
- Network.AWS.ECS.ListClusters: lcrsClusterARNs :: Lens' ListClustersResponse [Text]
- Network.AWS.ECS.ListClusters: lcrsNextToken :: Lens' ListClustersResponse (Maybe Text)
- Network.AWS.ECS.ListClusters: lcrsResponseStatus :: Lens' ListClustersResponse Int
- Network.AWS.ECS.ListClusters: listClusters :: ListClusters
- Network.AWS.ECS.ListClusters: listClustersResponse :: Int -> ListClustersResponse
- Network.AWS.ECS.ListContainerInstances: data ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: data ListContainerInstancesResponse
- Network.AWS.ECS.ListContainerInstances: instance Control.DeepSeq.NFData Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance Control.DeepSeq.NFData Network.AWS.ECS.ListContainerInstances.ListContainerInstancesResponse
- Network.AWS.ECS.ListContainerInstances: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance Data.Data.Data Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance Data.Data.Data Network.AWS.ECS.ListContainerInstances.ListContainerInstancesResponse
- Network.AWS.ECS.ListContainerInstances: instance Data.Hashable.Class.Hashable Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance GHC.Classes.Eq Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance GHC.Classes.Eq Network.AWS.ECS.ListContainerInstances.ListContainerInstancesResponse
- Network.AWS.ECS.ListContainerInstances: instance GHC.Generics.Generic Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance GHC.Generics.Generic Network.AWS.ECS.ListContainerInstances.ListContainerInstancesResponse
- Network.AWS.ECS.ListContainerInstances: instance GHC.Read.Read Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance GHC.Read.Read Network.AWS.ECS.ListContainerInstances.ListContainerInstancesResponse
- Network.AWS.ECS.ListContainerInstances: instance GHC.Show.Show Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance GHC.Show.Show Network.AWS.ECS.ListContainerInstances.ListContainerInstancesResponse
- Network.AWS.ECS.ListContainerInstances: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance Network.AWS.Pager.AWSPager Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.ListContainerInstances.ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: lciCluster :: Lens' ListContainerInstances (Maybe Text)
- Network.AWS.ECS.ListContainerInstances: lciFilter :: Lens' ListContainerInstances (Maybe Text)
- Network.AWS.ECS.ListContainerInstances: lciMaxResults :: Lens' ListContainerInstances (Maybe Int)
- Network.AWS.ECS.ListContainerInstances: lciNextToken :: Lens' ListContainerInstances (Maybe Text)
- Network.AWS.ECS.ListContainerInstances: lciStatus :: Lens' ListContainerInstances (Maybe ContainerInstanceStatus)
- Network.AWS.ECS.ListContainerInstances: lcirsContainerInstanceARNs :: Lens' ListContainerInstancesResponse [Text]
- Network.AWS.ECS.ListContainerInstances: lcirsNextToken :: Lens' ListContainerInstancesResponse (Maybe Text)
- Network.AWS.ECS.ListContainerInstances: lcirsResponseStatus :: Lens' ListContainerInstancesResponse Int
- Network.AWS.ECS.ListContainerInstances: listContainerInstances :: ListContainerInstances
- Network.AWS.ECS.ListContainerInstances: listContainerInstancesResponse :: Int -> ListContainerInstancesResponse
- Network.AWS.ECS.ListServices: data ListServices
- Network.AWS.ECS.ListServices: data ListServicesResponse
- Network.AWS.ECS.ListServices: instance Control.DeepSeq.NFData Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance Control.DeepSeq.NFData Network.AWS.ECS.ListServices.ListServicesResponse
- Network.AWS.ECS.ListServices: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance Data.Data.Data Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance Data.Data.Data Network.AWS.ECS.ListServices.ListServicesResponse
- Network.AWS.ECS.ListServices: instance Data.Hashable.Class.Hashable Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance GHC.Classes.Eq Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance GHC.Classes.Eq Network.AWS.ECS.ListServices.ListServicesResponse
- Network.AWS.ECS.ListServices: instance GHC.Generics.Generic Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance GHC.Generics.Generic Network.AWS.ECS.ListServices.ListServicesResponse
- Network.AWS.ECS.ListServices: instance GHC.Read.Read Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance GHC.Read.Read Network.AWS.ECS.ListServices.ListServicesResponse
- Network.AWS.ECS.ListServices: instance GHC.Show.Show Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance GHC.Show.Show Network.AWS.ECS.ListServices.ListServicesResponse
- Network.AWS.ECS.ListServices: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance Network.AWS.Pager.AWSPager Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.ListServices.ListServices
- Network.AWS.ECS.ListServices: listServices :: ListServices
- Network.AWS.ECS.ListServices: listServicesResponse :: Int -> ListServicesResponse
- Network.AWS.ECS.ListServices: lsCluster :: Lens' ListServices (Maybe Text)
- Network.AWS.ECS.ListServices: lsLaunchType :: Lens' ListServices (Maybe LaunchType)
- Network.AWS.ECS.ListServices: lsMaxResults :: Lens' ListServices (Maybe Int)
- Network.AWS.ECS.ListServices: lsNextToken :: Lens' ListServices (Maybe Text)
- Network.AWS.ECS.ListServices: lsrsNextToken :: Lens' ListServicesResponse (Maybe Text)
- Network.AWS.ECS.ListServices: lsrsResponseStatus :: Lens' ListServicesResponse Int
- Network.AWS.ECS.ListServices: lsrsServiceARNs :: Lens' ListServicesResponse [Text]
- Network.AWS.ECS.ListTaskDefinitionFamilies: data ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: data ListTaskDefinitionFamiliesResponse
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance Control.DeepSeq.NFData Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance Control.DeepSeq.NFData Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamiliesResponse
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance Data.Data.Data Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance Data.Data.Data Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamiliesResponse
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance Data.Hashable.Class.Hashable Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance GHC.Classes.Eq Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance GHC.Classes.Eq Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamiliesResponse
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance GHC.Generics.Generic Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance GHC.Generics.Generic Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamiliesResponse
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance GHC.Read.Read Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance GHC.Read.Read Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamiliesResponse
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance GHC.Show.Show Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance GHC.Show.Show Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamiliesResponse
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance Network.AWS.Pager.AWSPager Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: listTaskDefinitionFamilies :: ListTaskDefinitionFamilies
- Network.AWS.ECS.ListTaskDefinitionFamilies: listTaskDefinitionFamiliesResponse :: Int -> ListTaskDefinitionFamiliesResponse
- Network.AWS.ECS.ListTaskDefinitionFamilies: ltdfFamilyPrefix :: Lens' ListTaskDefinitionFamilies (Maybe Text)
- Network.AWS.ECS.ListTaskDefinitionFamilies: ltdfMaxResults :: Lens' ListTaskDefinitionFamilies (Maybe Int)
- Network.AWS.ECS.ListTaskDefinitionFamilies: ltdfNextToken :: Lens' ListTaskDefinitionFamilies (Maybe Text)
- Network.AWS.ECS.ListTaskDefinitionFamilies: ltdfStatus :: Lens' ListTaskDefinitionFamilies (Maybe TaskDefinitionFamilyStatus)
- Network.AWS.ECS.ListTaskDefinitionFamilies: ltdfrsFamilies :: Lens' ListTaskDefinitionFamiliesResponse [Text]
- Network.AWS.ECS.ListTaskDefinitionFamilies: ltdfrsNextToken :: Lens' ListTaskDefinitionFamiliesResponse (Maybe Text)
- Network.AWS.ECS.ListTaskDefinitionFamilies: ltdfrsResponseStatus :: Lens' ListTaskDefinitionFamiliesResponse Int
- Network.AWS.ECS.ListTaskDefinitions: data ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: data ListTaskDefinitionsResponse
- Network.AWS.ECS.ListTaskDefinitions: instance Control.DeepSeq.NFData Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance Control.DeepSeq.NFData Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitionsResponse
- Network.AWS.ECS.ListTaskDefinitions: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance Data.Data.Data Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance Data.Data.Data Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitionsResponse
- Network.AWS.ECS.ListTaskDefinitions: instance Data.Hashable.Class.Hashable Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance GHC.Classes.Eq Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance GHC.Classes.Eq Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitionsResponse
- Network.AWS.ECS.ListTaskDefinitions: instance GHC.Generics.Generic Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance GHC.Generics.Generic Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitionsResponse
- Network.AWS.ECS.ListTaskDefinitions: instance GHC.Read.Read Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance GHC.Read.Read Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitionsResponse
- Network.AWS.ECS.ListTaskDefinitions: instance GHC.Show.Show Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance GHC.Show.Show Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitionsResponse
- Network.AWS.ECS.ListTaskDefinitions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance Network.AWS.Pager.AWSPager Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.ListTaskDefinitions.ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: listTaskDefinitions :: ListTaskDefinitions
- Network.AWS.ECS.ListTaskDefinitions: listTaskDefinitionsResponse :: Int -> ListTaskDefinitionsResponse
- Network.AWS.ECS.ListTaskDefinitions: ltdFamilyPrefix :: Lens' ListTaskDefinitions (Maybe Text)
- Network.AWS.ECS.ListTaskDefinitions: ltdMaxResults :: Lens' ListTaskDefinitions (Maybe Int)
- Network.AWS.ECS.ListTaskDefinitions: ltdNextToken :: Lens' ListTaskDefinitions (Maybe Text)
- Network.AWS.ECS.ListTaskDefinitions: ltdSort :: Lens' ListTaskDefinitions (Maybe SortOrder)
- Network.AWS.ECS.ListTaskDefinitions: ltdStatus :: Lens' ListTaskDefinitions (Maybe TaskDefinitionStatus)
- Network.AWS.ECS.ListTaskDefinitions: ltdrsNextToken :: Lens' ListTaskDefinitionsResponse (Maybe Text)
- Network.AWS.ECS.ListTaskDefinitions: ltdrsResponseStatus :: Lens' ListTaskDefinitionsResponse Int
- Network.AWS.ECS.ListTaskDefinitions: ltdrsTaskDefinitionARNs :: Lens' ListTaskDefinitionsResponse [Text]
- Network.AWS.ECS.ListTasks: data ListTasks
- Network.AWS.ECS.ListTasks: data ListTasksResponse
- Network.AWS.ECS.ListTasks: instance Control.DeepSeq.NFData Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance Control.DeepSeq.NFData Network.AWS.ECS.ListTasks.ListTasksResponse
- Network.AWS.ECS.ListTasks: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance Data.Data.Data Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance Data.Data.Data Network.AWS.ECS.ListTasks.ListTasksResponse
- Network.AWS.ECS.ListTasks: instance Data.Hashable.Class.Hashable Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance GHC.Classes.Eq Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance GHC.Classes.Eq Network.AWS.ECS.ListTasks.ListTasksResponse
- Network.AWS.ECS.ListTasks: instance GHC.Generics.Generic Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance GHC.Generics.Generic Network.AWS.ECS.ListTasks.ListTasksResponse
- Network.AWS.ECS.ListTasks: instance GHC.Read.Read Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance GHC.Read.Read Network.AWS.ECS.ListTasks.ListTasksResponse
- Network.AWS.ECS.ListTasks: instance GHC.Show.Show Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance GHC.Show.Show Network.AWS.ECS.ListTasks.ListTasksResponse
- Network.AWS.ECS.ListTasks: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance Network.AWS.Pager.AWSPager Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.ListTasks.ListTasks
- Network.AWS.ECS.ListTasks: listTasks :: ListTasks
- Network.AWS.ECS.ListTasks: listTasksResponse :: Int -> ListTasksResponse
- Network.AWS.ECS.ListTasks: ltCluster :: Lens' ListTasks (Maybe Text)
- Network.AWS.ECS.ListTasks: ltContainerInstance :: Lens' ListTasks (Maybe Text)
- Network.AWS.ECS.ListTasks: ltDesiredStatus :: Lens' ListTasks (Maybe DesiredStatus)
- Network.AWS.ECS.ListTasks: ltFamily :: Lens' ListTasks (Maybe Text)
- Network.AWS.ECS.ListTasks: ltLaunchType :: Lens' ListTasks (Maybe LaunchType)
- Network.AWS.ECS.ListTasks: ltMaxResults :: Lens' ListTasks (Maybe Int)
- Network.AWS.ECS.ListTasks: ltNextToken :: Lens' ListTasks (Maybe Text)
- Network.AWS.ECS.ListTasks: ltServiceName :: Lens' ListTasks (Maybe Text)
- Network.AWS.ECS.ListTasks: ltStartedBy :: Lens' ListTasks (Maybe Text)
- Network.AWS.ECS.ListTasks: ltrsNextToken :: Lens' ListTasksResponse (Maybe Text)
- Network.AWS.ECS.ListTasks: ltrsResponseStatus :: Lens' ListTasksResponse Int
- Network.AWS.ECS.ListTasks: ltrsTaskARNs :: Lens' ListTasksResponse [Text]
- Network.AWS.ECS.PutAttributes: data PutAttributes
- Network.AWS.ECS.PutAttributes: data PutAttributesResponse
- Network.AWS.ECS.PutAttributes: instance Control.DeepSeq.NFData Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: instance Control.DeepSeq.NFData Network.AWS.ECS.PutAttributes.PutAttributesResponse
- Network.AWS.ECS.PutAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: instance Data.Data.Data Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: instance Data.Data.Data Network.AWS.ECS.PutAttributes.PutAttributesResponse
- Network.AWS.ECS.PutAttributes: instance Data.Hashable.Class.Hashable Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: instance GHC.Classes.Eq Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: instance GHC.Classes.Eq Network.AWS.ECS.PutAttributes.PutAttributesResponse
- Network.AWS.ECS.PutAttributes: instance GHC.Generics.Generic Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: instance GHC.Generics.Generic Network.AWS.ECS.PutAttributes.PutAttributesResponse
- Network.AWS.ECS.PutAttributes: instance GHC.Read.Read Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: instance GHC.Read.Read Network.AWS.ECS.PutAttributes.PutAttributesResponse
- Network.AWS.ECS.PutAttributes: instance GHC.Show.Show Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: instance GHC.Show.Show Network.AWS.ECS.PutAttributes.PutAttributesResponse
- Network.AWS.ECS.PutAttributes: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.PutAttributes.PutAttributes
- Network.AWS.ECS.PutAttributes: paAttributes :: Lens' PutAttributes [Attribute]
- Network.AWS.ECS.PutAttributes: paCluster :: Lens' PutAttributes (Maybe Text)
- Network.AWS.ECS.PutAttributes: parsAttributes :: Lens' PutAttributesResponse [Attribute]
- Network.AWS.ECS.PutAttributes: parsResponseStatus :: Lens' PutAttributesResponse Int
- Network.AWS.ECS.PutAttributes: putAttributes :: PutAttributes
- Network.AWS.ECS.PutAttributes: putAttributesResponse :: Int -> PutAttributesResponse
- Network.AWS.ECS.RegisterContainerInstance: data RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: data RegisterContainerInstanceResponse
- Network.AWS.ECS.RegisterContainerInstance: instance Control.DeepSeq.NFData Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: instance Control.DeepSeq.NFData Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstanceResponse
- Network.AWS.ECS.RegisterContainerInstance: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: instance Data.Data.Data Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: instance Data.Data.Data Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstanceResponse
- Network.AWS.ECS.RegisterContainerInstance: instance Data.Hashable.Class.Hashable Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: instance GHC.Classes.Eq Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: instance GHC.Classes.Eq Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstanceResponse
- Network.AWS.ECS.RegisterContainerInstance: instance GHC.Generics.Generic Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: instance GHC.Generics.Generic Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstanceResponse
- Network.AWS.ECS.RegisterContainerInstance: instance GHC.Read.Read Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: instance GHC.Read.Read Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstanceResponse
- Network.AWS.ECS.RegisterContainerInstance: instance GHC.Show.Show Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: instance GHC.Show.Show Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstanceResponse
- Network.AWS.ECS.RegisterContainerInstance: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.RegisterContainerInstance.RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: rciAttributes :: Lens' RegisterContainerInstance [Attribute]
- Network.AWS.ECS.RegisterContainerInstance: rciCluster :: Lens' RegisterContainerInstance (Maybe Text)
- Network.AWS.ECS.RegisterContainerInstance: rciContainerInstanceARN :: Lens' RegisterContainerInstance (Maybe Text)
- Network.AWS.ECS.RegisterContainerInstance: rciInstanceIdentityDocument :: Lens' RegisterContainerInstance (Maybe Text)
- Network.AWS.ECS.RegisterContainerInstance: rciInstanceIdentityDocumentSignature :: Lens' RegisterContainerInstance (Maybe Text)
- Network.AWS.ECS.RegisterContainerInstance: rciTotalResources :: Lens' RegisterContainerInstance [Resource]
- Network.AWS.ECS.RegisterContainerInstance: rciVersionInfo :: Lens' RegisterContainerInstance (Maybe VersionInfo)
- Network.AWS.ECS.RegisterContainerInstance: rcirsContainerInstance :: Lens' RegisterContainerInstanceResponse (Maybe ContainerInstance)
- Network.AWS.ECS.RegisterContainerInstance: rcirsResponseStatus :: Lens' RegisterContainerInstanceResponse Int
- Network.AWS.ECS.RegisterContainerInstance: registerContainerInstance :: RegisterContainerInstance
- Network.AWS.ECS.RegisterContainerInstance: registerContainerInstanceResponse :: Int -> RegisterContainerInstanceResponse
- Network.AWS.ECS.RegisterTaskDefinition: data RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: data RegisterTaskDefinitionResponse
- Network.AWS.ECS.RegisterTaskDefinition: instance Control.DeepSeq.NFData Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: instance Control.DeepSeq.NFData Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinitionResponse
- Network.AWS.ECS.RegisterTaskDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: instance Data.Data.Data Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: instance Data.Data.Data Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinitionResponse
- Network.AWS.ECS.RegisterTaskDefinition: instance Data.Hashable.Class.Hashable Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: instance GHC.Classes.Eq Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: instance GHC.Classes.Eq Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinitionResponse
- Network.AWS.ECS.RegisterTaskDefinition: instance GHC.Generics.Generic Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: instance GHC.Generics.Generic Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinitionResponse
- Network.AWS.ECS.RegisterTaskDefinition: instance GHC.Read.Read Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: instance GHC.Read.Read Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinitionResponse
- Network.AWS.ECS.RegisterTaskDefinition: instance GHC.Show.Show Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: instance GHC.Show.Show Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinitionResponse
- Network.AWS.ECS.RegisterTaskDefinition: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.RegisterTaskDefinition.RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: registerTaskDefinition :: Text -> RegisterTaskDefinition
- Network.AWS.ECS.RegisterTaskDefinition: registerTaskDefinitionResponse :: Int -> RegisterTaskDefinitionResponse
- Network.AWS.ECS.RegisterTaskDefinition: rtdContainerDefinitions :: Lens' RegisterTaskDefinition [ContainerDefinition]
- Network.AWS.ECS.RegisterTaskDefinition: rtdCpu :: Lens' RegisterTaskDefinition (Maybe Text)
- Network.AWS.ECS.RegisterTaskDefinition: rtdExecutionRoleARN :: Lens' RegisterTaskDefinition (Maybe Text)
- Network.AWS.ECS.RegisterTaskDefinition: rtdFamily :: Lens' RegisterTaskDefinition Text
- Network.AWS.ECS.RegisterTaskDefinition: rtdMemory :: Lens' RegisterTaskDefinition (Maybe Text)
- Network.AWS.ECS.RegisterTaskDefinition: rtdNetworkMode :: Lens' RegisterTaskDefinition (Maybe NetworkMode)
- Network.AWS.ECS.RegisterTaskDefinition: rtdPlacementConstraints :: Lens' RegisterTaskDefinition [TaskDefinitionPlacementConstraint]
- Network.AWS.ECS.RegisterTaskDefinition: rtdRequiresCompatibilities :: Lens' RegisterTaskDefinition [Compatibility]
- Network.AWS.ECS.RegisterTaskDefinition: rtdTaskRoleARN :: Lens' RegisterTaskDefinition (Maybe Text)
- Network.AWS.ECS.RegisterTaskDefinition: rtdVolumes :: Lens' RegisterTaskDefinition [Volume]
- Network.AWS.ECS.RegisterTaskDefinition: rtdrsResponseStatus :: Lens' RegisterTaskDefinitionResponse Int
- Network.AWS.ECS.RegisterTaskDefinition: rtdrsTaskDefinition :: Lens' RegisterTaskDefinitionResponse (Maybe TaskDefinition)
- Network.AWS.ECS.RunTask: data RunTask
- Network.AWS.ECS.RunTask: data RunTaskResponse
- Network.AWS.ECS.RunTask: instance Control.DeepSeq.NFData Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: instance Control.DeepSeq.NFData Network.AWS.ECS.RunTask.RunTaskResponse
- Network.AWS.ECS.RunTask: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: instance Data.Data.Data Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: instance Data.Data.Data Network.AWS.ECS.RunTask.RunTaskResponse
- Network.AWS.ECS.RunTask: instance Data.Hashable.Class.Hashable Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: instance GHC.Classes.Eq Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: instance GHC.Classes.Eq Network.AWS.ECS.RunTask.RunTaskResponse
- Network.AWS.ECS.RunTask: instance GHC.Generics.Generic Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: instance GHC.Generics.Generic Network.AWS.ECS.RunTask.RunTaskResponse
- Network.AWS.ECS.RunTask: instance GHC.Read.Read Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: instance GHC.Read.Read Network.AWS.ECS.RunTask.RunTaskResponse
- Network.AWS.ECS.RunTask: instance GHC.Show.Show Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: instance GHC.Show.Show Network.AWS.ECS.RunTask.RunTaskResponse
- Network.AWS.ECS.RunTask: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.RunTask.RunTask
- Network.AWS.ECS.RunTask: rtCluster :: Lens' RunTask (Maybe Text)
- Network.AWS.ECS.RunTask: rtCount :: Lens' RunTask (Maybe Int)
- Network.AWS.ECS.RunTask: rtGroup :: Lens' RunTask (Maybe Text)
- Network.AWS.ECS.RunTask: rtLaunchType :: Lens' RunTask (Maybe LaunchType)
- Network.AWS.ECS.RunTask: rtNetworkConfiguration :: Lens' RunTask (Maybe NetworkConfiguration)
- Network.AWS.ECS.RunTask: rtOverrides :: Lens' RunTask (Maybe TaskOverride)
- Network.AWS.ECS.RunTask: rtPlacementConstraints :: Lens' RunTask [PlacementConstraint]
- Network.AWS.ECS.RunTask: rtPlacementStrategy :: Lens' RunTask [PlacementStrategy]
- Network.AWS.ECS.RunTask: rtPlatformVersion :: Lens' RunTask (Maybe Text)
- Network.AWS.ECS.RunTask: rtStartedBy :: Lens' RunTask (Maybe Text)
- Network.AWS.ECS.RunTask: rtTaskDefinition :: Lens' RunTask Text
- Network.AWS.ECS.RunTask: rtrsFailures :: Lens' RunTaskResponse [Failure]
- Network.AWS.ECS.RunTask: rtrsResponseStatus :: Lens' RunTaskResponse Int
- Network.AWS.ECS.RunTask: rtrsTasks :: Lens' RunTaskResponse [Task]
- Network.AWS.ECS.RunTask: runTask :: Text -> RunTask
- Network.AWS.ECS.RunTask: runTaskResponse :: Int -> RunTaskResponse
- Network.AWS.ECS.StartTask: data StartTask
- Network.AWS.ECS.StartTask: data StartTaskResponse
- Network.AWS.ECS.StartTask: instance Control.DeepSeq.NFData Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: instance Control.DeepSeq.NFData Network.AWS.ECS.StartTask.StartTaskResponse
- Network.AWS.ECS.StartTask: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: instance Data.Data.Data Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: instance Data.Data.Data Network.AWS.ECS.StartTask.StartTaskResponse
- Network.AWS.ECS.StartTask: instance Data.Hashable.Class.Hashable Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: instance GHC.Classes.Eq Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: instance GHC.Classes.Eq Network.AWS.ECS.StartTask.StartTaskResponse
- Network.AWS.ECS.StartTask: instance GHC.Generics.Generic Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: instance GHC.Generics.Generic Network.AWS.ECS.StartTask.StartTaskResponse
- Network.AWS.ECS.StartTask: instance GHC.Read.Read Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: instance GHC.Read.Read Network.AWS.ECS.StartTask.StartTaskResponse
- Network.AWS.ECS.StartTask: instance GHC.Show.Show Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: instance GHC.Show.Show Network.AWS.ECS.StartTask.StartTaskResponse
- Network.AWS.ECS.StartTask: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.StartTask.StartTask
- Network.AWS.ECS.StartTask: sCluster :: Lens' StartTask (Maybe Text)
- Network.AWS.ECS.StartTask: sContainerInstances :: Lens' StartTask [Text]
- Network.AWS.ECS.StartTask: sGroup :: Lens' StartTask (Maybe Text)
- Network.AWS.ECS.StartTask: sNetworkConfiguration :: Lens' StartTask (Maybe NetworkConfiguration)
- Network.AWS.ECS.StartTask: sOverrides :: Lens' StartTask (Maybe TaskOverride)
- Network.AWS.ECS.StartTask: sStartedBy :: Lens' StartTask (Maybe Text)
- Network.AWS.ECS.StartTask: sTaskDefinition :: Lens' StartTask Text
- Network.AWS.ECS.StartTask: startTask :: Text -> StartTask
- Network.AWS.ECS.StartTask: startTaskResponse :: Int -> StartTaskResponse
- Network.AWS.ECS.StartTask: strsFailures :: Lens' StartTaskResponse [Failure]
- Network.AWS.ECS.StartTask: strsResponseStatus :: Lens' StartTaskResponse Int
- Network.AWS.ECS.StartTask: strsTasks :: Lens' StartTaskResponse [Task]
- Network.AWS.ECS.StopTask: data StopTask
- Network.AWS.ECS.StopTask: data StopTaskResponse
- Network.AWS.ECS.StopTask: instance Control.DeepSeq.NFData Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: instance Control.DeepSeq.NFData Network.AWS.ECS.StopTask.StopTaskResponse
- Network.AWS.ECS.StopTask: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: instance Data.Data.Data Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: instance Data.Data.Data Network.AWS.ECS.StopTask.StopTaskResponse
- Network.AWS.ECS.StopTask: instance Data.Hashable.Class.Hashable Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: instance GHC.Classes.Eq Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: instance GHC.Classes.Eq Network.AWS.ECS.StopTask.StopTaskResponse
- Network.AWS.ECS.StopTask: instance GHC.Generics.Generic Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: instance GHC.Generics.Generic Network.AWS.ECS.StopTask.StopTaskResponse
- Network.AWS.ECS.StopTask: instance GHC.Read.Read Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: instance GHC.Read.Read Network.AWS.ECS.StopTask.StopTaskResponse
- Network.AWS.ECS.StopTask: instance GHC.Show.Show Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: instance GHC.Show.Show Network.AWS.ECS.StopTask.StopTaskResponse
- Network.AWS.ECS.StopTask: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.StopTask.StopTask
- Network.AWS.ECS.StopTask: srsResponseStatus :: Lens' StopTaskResponse Int
- Network.AWS.ECS.StopTask: srsTask :: Lens' StopTaskResponse (Maybe Task)
- Network.AWS.ECS.StopTask: stCluster :: Lens' StopTask (Maybe Text)
- Network.AWS.ECS.StopTask: stReason :: Lens' StopTask (Maybe Text)
- Network.AWS.ECS.StopTask: stTask :: Lens' StopTask Text
- Network.AWS.ECS.StopTask: stopTask :: Text -> StopTask
- Network.AWS.ECS.StopTask: stopTaskResponse :: Int -> StopTaskResponse
- Network.AWS.ECS.SubmitContainerStateChange: data SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: data SubmitContainerStateChangeResponse
- Network.AWS.ECS.SubmitContainerStateChange: instance Control.DeepSeq.NFData Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: instance Control.DeepSeq.NFData Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChangeResponse
- Network.AWS.ECS.SubmitContainerStateChange: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: instance Data.Data.Data Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: instance Data.Data.Data Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChangeResponse
- Network.AWS.ECS.SubmitContainerStateChange: instance Data.Hashable.Class.Hashable Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: instance GHC.Classes.Eq Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: instance GHC.Classes.Eq Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChangeResponse
- Network.AWS.ECS.SubmitContainerStateChange: instance GHC.Generics.Generic Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: instance GHC.Generics.Generic Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChangeResponse
- Network.AWS.ECS.SubmitContainerStateChange: instance GHC.Read.Read Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: instance GHC.Read.Read Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChangeResponse
- Network.AWS.ECS.SubmitContainerStateChange: instance GHC.Show.Show Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: instance GHC.Show.Show Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChangeResponse
- Network.AWS.ECS.SubmitContainerStateChange: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.SubmitContainerStateChange.SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: scscCluster :: Lens' SubmitContainerStateChange (Maybe Text)
- Network.AWS.ECS.SubmitContainerStateChange: scscContainerName :: Lens' SubmitContainerStateChange (Maybe Text)
- Network.AWS.ECS.SubmitContainerStateChange: scscExitCode :: Lens' SubmitContainerStateChange (Maybe Int)
- Network.AWS.ECS.SubmitContainerStateChange: scscNetworkBindings :: Lens' SubmitContainerStateChange [NetworkBinding]
- Network.AWS.ECS.SubmitContainerStateChange: scscReason :: Lens' SubmitContainerStateChange (Maybe Text)
- Network.AWS.ECS.SubmitContainerStateChange: scscStatus :: Lens' SubmitContainerStateChange (Maybe Text)
- Network.AWS.ECS.SubmitContainerStateChange: scscTask :: Lens' SubmitContainerStateChange (Maybe Text)
- Network.AWS.ECS.SubmitContainerStateChange: scscrsAcknowledgment :: Lens' SubmitContainerStateChangeResponse (Maybe Text)
- Network.AWS.ECS.SubmitContainerStateChange: scscrsResponseStatus :: Lens' SubmitContainerStateChangeResponse Int
- Network.AWS.ECS.SubmitContainerStateChange: submitContainerStateChange :: SubmitContainerStateChange
- Network.AWS.ECS.SubmitContainerStateChange: submitContainerStateChangeResponse :: Int -> SubmitContainerStateChangeResponse
- Network.AWS.ECS.SubmitTaskStateChange: data SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: data SubmitTaskStateChangeResponse
- Network.AWS.ECS.SubmitTaskStateChange: instance Control.DeepSeq.NFData Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: instance Control.DeepSeq.NFData Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChangeResponse
- Network.AWS.ECS.SubmitTaskStateChange: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: instance Data.Data.Data Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: instance Data.Data.Data Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChangeResponse
- Network.AWS.ECS.SubmitTaskStateChange: instance Data.Hashable.Class.Hashable Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: instance GHC.Classes.Eq Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: instance GHC.Classes.Eq Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChangeResponse
- Network.AWS.ECS.SubmitTaskStateChange: instance GHC.Generics.Generic Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: instance GHC.Generics.Generic Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChangeResponse
- Network.AWS.ECS.SubmitTaskStateChange: instance GHC.Read.Read Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: instance GHC.Read.Read Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChangeResponse
- Network.AWS.ECS.SubmitTaskStateChange: instance GHC.Show.Show Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: instance GHC.Show.Show Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChangeResponse
- Network.AWS.ECS.SubmitTaskStateChange: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.SubmitTaskStateChange.SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: stscAttachments :: Lens' SubmitTaskStateChange [AttachmentStateChange]
- Network.AWS.ECS.SubmitTaskStateChange: stscCluster :: Lens' SubmitTaskStateChange (Maybe Text)
- Network.AWS.ECS.SubmitTaskStateChange: stscContainers :: Lens' SubmitTaskStateChange [ContainerStateChange]
- Network.AWS.ECS.SubmitTaskStateChange: stscExecutionStoppedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)
- Network.AWS.ECS.SubmitTaskStateChange: stscPullStartedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)
- Network.AWS.ECS.SubmitTaskStateChange: stscPullStoppedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)
- Network.AWS.ECS.SubmitTaskStateChange: stscReason :: Lens' SubmitTaskStateChange (Maybe Text)
- Network.AWS.ECS.SubmitTaskStateChange: stscStatus :: Lens' SubmitTaskStateChange (Maybe Text)
- Network.AWS.ECS.SubmitTaskStateChange: stscTask :: Lens' SubmitTaskStateChange (Maybe Text)
- Network.AWS.ECS.SubmitTaskStateChange: stscrsAcknowledgment :: Lens' SubmitTaskStateChangeResponse (Maybe Text)
- Network.AWS.ECS.SubmitTaskStateChange: stscrsResponseStatus :: Lens' SubmitTaskStateChangeResponse Int
- Network.AWS.ECS.SubmitTaskStateChange: submitTaskStateChange :: SubmitTaskStateChange
- Network.AWS.ECS.SubmitTaskStateChange: submitTaskStateChangeResponse :: Int -> SubmitTaskStateChangeResponse
- Network.AWS.ECS.Types: AUSFailed :: AgentUpdateStatus
- Network.AWS.ECS.Types: AUSPending :: AgentUpdateStatus
- Network.AWS.ECS.Types: AUSStaged :: AgentUpdateStatus
- Network.AWS.ECS.Types: AUSStaging :: AgentUpdateStatus
- Network.AWS.ECS.Types: AUSUpdated :: AgentUpdateStatus
- Network.AWS.ECS.Types: AUSUpdating :: AgentUpdateStatus
- Network.AWS.ECS.Types: AWSlogs :: LogDriver
- Network.AWS.ECS.Types: AWSvpc :: NetworkMode
- Network.AWS.ECS.Types: Active :: ContainerInstanceStatus
- Network.AWS.ECS.Types: Asc :: SortOrder
- Network.AWS.ECS.Types: Binpack :: PlacementStrategyType
- Network.AWS.ECS.Types: Bridge :: NetworkMode
- Network.AWS.ECS.Types: CEC2 :: Compatibility
- Network.AWS.ECS.Types: CFargate :: Compatibility
- Network.AWS.ECS.Types: CPU :: UlimitName
- Network.AWS.ECS.Types: Connected :: Connectivity
- Network.AWS.ECS.Types: ContainerInstance :: TargetType
- Network.AWS.ECS.Types: Core :: UlimitName
- Network.AWS.ECS.Types: Data :: UlimitName
- Network.AWS.ECS.Types: Desc :: SortOrder
- Network.AWS.ECS.Types: Disabled :: AssignPublicIP
- Network.AWS.ECS.Types: Disconnected :: Connectivity
- Network.AWS.ECS.Types: Draining :: ContainerInstanceStatus
- Network.AWS.ECS.Types: EC2 :: LaunchType
- Network.AWS.ECS.Types: Enabled :: AssignPublicIP
- Network.AWS.ECS.Types: Fargate :: LaunchType
- Network.AWS.ECS.Types: Fluentd :: LogDriver
- Network.AWS.ECS.Types: Fsize :: UlimitName
- Network.AWS.ECS.Types: Gelf :: LogDriver
- Network.AWS.ECS.Types: Healthy :: HealthStatus
- Network.AWS.ECS.Types: Host :: NetworkMode
- Network.AWS.ECS.Types: JSONFile :: LogDriver
- Network.AWS.ECS.Types: Journald :: LogDriver
- Network.AWS.ECS.Types: Locks :: UlimitName
- Network.AWS.ECS.Types: MemberOf :: TaskDefinitionPlacementConstraintType
- Network.AWS.ECS.Types: Memlock :: UlimitName
- Network.AWS.ECS.Types: Mknod :: DeviceCgroupPermission
- Network.AWS.ECS.Types: Msgqueue :: UlimitName
- Network.AWS.ECS.Types: Nice :: UlimitName
- Network.AWS.ECS.Types: Nofile :: UlimitName
- Network.AWS.ECS.Types: None :: NetworkMode
- Network.AWS.ECS.Types: Nproc :: UlimitName
- Network.AWS.ECS.Types: PCTDistinctInstance :: PlacementConstraintType
- Network.AWS.ECS.Types: PCTMemberOf :: PlacementConstraintType
- Network.AWS.ECS.Types: Pending :: DesiredStatus
- Network.AWS.ECS.Types: Random :: PlacementStrategyType
- Network.AWS.ECS.Types: Read :: DeviceCgroupPermission
- Network.AWS.ECS.Types: Rss :: UlimitName
- Network.AWS.ECS.Types: Rtprio :: UlimitName
- Network.AWS.ECS.Types: Rttime :: UlimitName
- Network.AWS.ECS.Types: Running :: DesiredStatus
- Network.AWS.ECS.Types: Sigpending :: UlimitName
- Network.AWS.ECS.Types: Splunk :: LogDriver
- Network.AWS.ECS.Types: Spread :: PlacementStrategyType
- Network.AWS.ECS.Types: Stack :: UlimitName
- Network.AWS.ECS.Types: Statistics :: ClusterField
- Network.AWS.ECS.Types: Stopped :: DesiredStatus
- Network.AWS.ECS.Types: Syslog :: LogDriver
- Network.AWS.ECS.Types: TCP :: TransportProtocol
- Network.AWS.ECS.Types: TDFSActive :: TaskDefinitionFamilyStatus
- Network.AWS.ECS.Types: TDFSAll :: TaskDefinitionFamilyStatus
- Network.AWS.ECS.Types: TDFSInactive :: TaskDefinitionFamilyStatus
- Network.AWS.ECS.Types: TDSActive :: TaskDefinitionStatus
- Network.AWS.ECS.Types: TDSInactive :: TaskDefinitionStatus
- Network.AWS.ECS.Types: Udp :: TransportProtocol
- Network.AWS.ECS.Types: Unhealthy :: HealthStatus
- Network.AWS.ECS.Types: Unknown :: HealthStatus
- Network.AWS.ECS.Types: Write :: DeviceCgroupPermission
- Network.AWS.ECS.Types: _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _AttributeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _BlockedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _ClientException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _ClusterContainsContainerInstancesException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _ClusterContainsServicesException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _ClusterContainsTasksException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _ClusterNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _MissingVersionException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _NoUpdateAvailableException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _PlatformTaskDefinitionIncompatibilityException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _PlatformUnknownException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _ServerException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _ServiceNotActiveException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _ServiceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _TargetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _UnsupportedFeatureException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: _UpdateInProgressException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ECS.Types: aDetails :: Lens' Attachment [KeyValuePair]
- Network.AWS.ECS.Types: aId :: Lens' Attachment (Maybe Text)
- Network.AWS.ECS.Types: aName :: Lens' Attribute Text
- Network.AWS.ECS.Types: aStatus :: Lens' Attachment (Maybe Text)
- Network.AWS.ECS.Types: aTargetId :: Lens' Attribute (Maybe Text)
- Network.AWS.ECS.Types: aTargetType :: Lens' Attribute (Maybe TargetType)
- Network.AWS.ECS.Types: aType :: Lens' Attachment (Maybe Text)
- Network.AWS.ECS.Types: aValue :: Lens' Attribute (Maybe Text)
- Network.AWS.ECS.Types: ascAttachmentARN :: Lens' AttachmentStateChange Text
- Network.AWS.ECS.Types: ascStatus :: Lens' AttachmentStateChange Text
- Network.AWS.ECS.Types: attachment :: Attachment
- Network.AWS.ECS.Types: attachmentStateChange :: Text -> Text -> AttachmentStateChange
- Network.AWS.ECS.Types: attribute :: Text -> Attribute
- Network.AWS.ECS.Types: avcAssignPublicIP :: Lens' AWSVPCConfiguration (Maybe AssignPublicIP)
- Network.AWS.ECS.Types: avcSecurityGroups :: Lens' AWSVPCConfiguration [Text]
- Network.AWS.ECS.Types: avcSubnets :: Lens' AWSVPCConfiguration [Text]
- Network.AWS.ECS.Types: awsVPCConfiguration :: AWSVPCConfiguration
- Network.AWS.ECS.Types: cActiveServicesCount :: Lens' Cluster (Maybe Int)
- Network.AWS.ECS.Types: cClusterARN :: Lens' Cluster (Maybe Text)
- Network.AWS.ECS.Types: cClusterName :: Lens' Cluster (Maybe Text)
- Network.AWS.ECS.Types: cContainerARN :: Lens' Container (Maybe Text)
- Network.AWS.ECS.Types: cExitCode :: Lens' Container (Maybe Int)
- Network.AWS.ECS.Types: cHealthStatus :: Lens' Container (Maybe HealthStatus)
- Network.AWS.ECS.Types: cLastStatus :: Lens' Container (Maybe Text)
- Network.AWS.ECS.Types: cName :: Lens' Container (Maybe Text)
- Network.AWS.ECS.Types: cNetworkBindings :: Lens' Container [NetworkBinding]
- Network.AWS.ECS.Types: cNetworkInterfaces :: Lens' Container [NetworkInterface]
- Network.AWS.ECS.Types: cPendingTasksCount :: Lens' Cluster (Maybe Int)
- Network.AWS.ECS.Types: cReason :: Lens' Container (Maybe Text)
- Network.AWS.ECS.Types: cRegisteredContainerInstancesCount :: Lens' Cluster (Maybe Int)
- Network.AWS.ECS.Types: cRunningTasksCount :: Lens' Cluster (Maybe Int)
- Network.AWS.ECS.Types: cStatistics :: Lens' Cluster [KeyValuePair]
- Network.AWS.ECS.Types: cStatus :: Lens' Cluster (Maybe Text)
- Network.AWS.ECS.Types: cTaskARN :: Lens' Container (Maybe Text)
- Network.AWS.ECS.Types: cdCommand :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS.Types: cdCpu :: Lens' ContainerDefinition (Maybe Int)
- Network.AWS.ECS.Types: cdDisableNetworking :: Lens' ContainerDefinition (Maybe Bool)
- Network.AWS.ECS.Types: cdDnsSearchDomains :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS.Types: cdDnsServers :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS.Types: cdDockerLabels :: Lens' ContainerDefinition (HashMap Text Text)
- Network.AWS.ECS.Types: cdDockerSecurityOptions :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS.Types: cdEntryPoint :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS.Types: cdEnvironment :: Lens' ContainerDefinition [KeyValuePair]
- Network.AWS.ECS.Types: cdEssential :: Lens' ContainerDefinition (Maybe Bool)
- Network.AWS.ECS.Types: cdExtraHosts :: Lens' ContainerDefinition [HostEntry]
- Network.AWS.ECS.Types: cdHealthCheck :: Lens' ContainerDefinition (Maybe HealthCheck)
- Network.AWS.ECS.Types: cdHostname :: Lens' ContainerDefinition (Maybe Text)
- Network.AWS.ECS.Types: cdImage :: Lens' ContainerDefinition (Maybe Text)
- Network.AWS.ECS.Types: cdLinks :: Lens' ContainerDefinition [Text]
- Network.AWS.ECS.Types: cdLinuxParameters :: Lens' ContainerDefinition (Maybe LinuxParameters)
- Network.AWS.ECS.Types: cdLogConfiguration :: Lens' ContainerDefinition (Maybe LogConfiguration)
- Network.AWS.ECS.Types: cdMemory :: Lens' ContainerDefinition (Maybe Int)
- Network.AWS.ECS.Types: cdMemoryReservation :: Lens' ContainerDefinition (Maybe Int)
- Network.AWS.ECS.Types: cdMountPoints :: Lens' ContainerDefinition [MountPoint]
- Network.AWS.ECS.Types: cdName :: Lens' ContainerDefinition (Maybe Text)
- Network.AWS.ECS.Types: cdPortMappings :: Lens' ContainerDefinition [PortMapping]
- Network.AWS.ECS.Types: cdPrivileged :: Lens' ContainerDefinition (Maybe Bool)
- Network.AWS.ECS.Types: cdReadonlyRootFilesystem :: Lens' ContainerDefinition (Maybe Bool)
- Network.AWS.ECS.Types: cdUlimits :: Lens' ContainerDefinition [Ulimit]
- Network.AWS.ECS.Types: cdUser :: Lens' ContainerDefinition (Maybe Text)
- Network.AWS.ECS.Types: cdVolumesFrom :: Lens' ContainerDefinition [VolumeFrom]
- Network.AWS.ECS.Types: cdWorkingDirectory :: Lens' ContainerDefinition (Maybe Text)
- Network.AWS.ECS.Types: ciAgentConnected :: Lens' ContainerInstance (Maybe Bool)
- Network.AWS.ECS.Types: ciAgentUpdateStatus :: Lens' ContainerInstance (Maybe AgentUpdateStatus)
- Network.AWS.ECS.Types: ciAttachments :: Lens' ContainerInstance [Attachment]
- Network.AWS.ECS.Types: ciAttributes :: Lens' ContainerInstance [Attribute]
- Network.AWS.ECS.Types: ciContainerInstanceARN :: Lens' ContainerInstance (Maybe Text)
- Network.AWS.ECS.Types: ciEc2InstanceId :: Lens' ContainerInstance (Maybe Text)
- Network.AWS.ECS.Types: ciPendingTasksCount :: Lens' ContainerInstance (Maybe Int)
- Network.AWS.ECS.Types: ciRegisteredAt :: Lens' ContainerInstance (Maybe UTCTime)
- Network.AWS.ECS.Types: ciRegisteredResources :: Lens' ContainerInstance [Resource]
- Network.AWS.ECS.Types: ciRemainingResources :: Lens' ContainerInstance [Resource]
- Network.AWS.ECS.Types: ciRunningTasksCount :: Lens' ContainerInstance (Maybe Int)
- Network.AWS.ECS.Types: ciStatus :: Lens' ContainerInstance (Maybe Text)
- Network.AWS.ECS.Types: ciVersion :: Lens' ContainerInstance (Maybe Integer)
- Network.AWS.ECS.Types: ciVersionInfo :: Lens' ContainerInstance (Maybe VersionInfo)
- Network.AWS.ECS.Types: cluster :: Cluster
- Network.AWS.ECS.Types: coCommand :: Lens' ContainerOverride [Text]
- Network.AWS.ECS.Types: coCpu :: Lens' ContainerOverride (Maybe Int)
- Network.AWS.ECS.Types: coEnvironment :: Lens' ContainerOverride [KeyValuePair]
- Network.AWS.ECS.Types: coMemory :: Lens' ContainerOverride (Maybe Int)
- Network.AWS.ECS.Types: coMemoryReservation :: Lens' ContainerOverride (Maybe Int)
- Network.AWS.ECS.Types: coName :: Lens' ContainerOverride (Maybe Text)
- Network.AWS.ECS.Types: container :: Container
- Network.AWS.ECS.Types: containerDefinition :: ContainerDefinition
- Network.AWS.ECS.Types: containerInstance :: ContainerInstance
- Network.AWS.ECS.Types: containerOverride :: ContainerOverride
- Network.AWS.ECS.Types: containerService :: ContainerService
- Network.AWS.ECS.Types: containerStateChange :: ContainerStateChange
- Network.AWS.ECS.Types: csClusterARN :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS.Types: csCreatedAt :: Lens' ContainerService (Maybe UTCTime)
- Network.AWS.ECS.Types: csDeploymentConfiguration :: Lens' ContainerService (Maybe DeploymentConfiguration)
- Network.AWS.ECS.Types: csDeployments :: Lens' ContainerService [Deployment]
- Network.AWS.ECS.Types: csDesiredCount :: Lens' ContainerService (Maybe Int)
- Network.AWS.ECS.Types: csEvents :: Lens' ContainerService [ServiceEvent]
- Network.AWS.ECS.Types: csHealthCheckGracePeriodSeconds :: Lens' ContainerService (Maybe Int)
- Network.AWS.ECS.Types: csLaunchType :: Lens' ContainerService (Maybe LaunchType)
- Network.AWS.ECS.Types: csLoadBalancers :: Lens' ContainerService [LoadBalancer]
- Network.AWS.ECS.Types: csNetworkConfiguration :: Lens' ContainerService (Maybe NetworkConfiguration)
- Network.AWS.ECS.Types: csPendingCount :: Lens' ContainerService (Maybe Int)
- Network.AWS.ECS.Types: csPlacementConstraints :: Lens' ContainerService [PlacementConstraint]
- Network.AWS.ECS.Types: csPlacementStrategy :: Lens' ContainerService [PlacementStrategy]
- Network.AWS.ECS.Types: csPlatformVersion :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS.Types: csRoleARN :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS.Types: csRunningCount :: Lens' ContainerService (Maybe Int)
- Network.AWS.ECS.Types: csServiceARN :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS.Types: csServiceName :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS.Types: csServiceRegistries :: Lens' ContainerService [ServiceRegistry]
- Network.AWS.ECS.Types: csStatus :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS.Types: csTaskDefinition :: Lens' ContainerService (Maybe Text)
- Network.AWS.ECS.Types: cscContainerName :: Lens' ContainerStateChange (Maybe Text)
- Network.AWS.ECS.Types: cscExitCode :: Lens' ContainerStateChange (Maybe Int)
- Network.AWS.ECS.Types: cscNetworkBindings :: Lens' ContainerStateChange [NetworkBinding]
- Network.AWS.ECS.Types: cscReason :: Lens' ContainerStateChange (Maybe Text)
- Network.AWS.ECS.Types: cscStatus :: Lens' ContainerStateChange (Maybe Text)
- Network.AWS.ECS.Types: dContainerPath :: Lens' Device (Maybe Text)
- Network.AWS.ECS.Types: dCreatedAt :: Lens' Deployment (Maybe UTCTime)
- Network.AWS.ECS.Types: dDesiredCount :: Lens' Deployment (Maybe Int)
- Network.AWS.ECS.Types: dHostPath :: Lens' Device Text
- Network.AWS.ECS.Types: dId :: Lens' Deployment (Maybe Text)
- Network.AWS.ECS.Types: dLaunchType :: Lens' Deployment (Maybe LaunchType)
- Network.AWS.ECS.Types: dNetworkConfiguration :: Lens' Deployment (Maybe NetworkConfiguration)
- Network.AWS.ECS.Types: dPendingCount :: Lens' Deployment (Maybe Int)
- Network.AWS.ECS.Types: dPermissions :: Lens' Device [DeviceCgroupPermission]
- Network.AWS.ECS.Types: dPlatformVersion :: Lens' Deployment (Maybe Text)
- Network.AWS.ECS.Types: dRunningCount :: Lens' Deployment (Maybe Int)
- Network.AWS.ECS.Types: dStatus :: Lens' Deployment (Maybe Text)
- Network.AWS.ECS.Types: dTaskDefinition :: Lens' Deployment (Maybe Text)
- Network.AWS.ECS.Types: dUpdatedAt :: Lens' Deployment (Maybe UTCTime)
- Network.AWS.ECS.Types: data AWSVPCConfiguration
- Network.AWS.ECS.Types: data AgentUpdateStatus
- Network.AWS.ECS.Types: data AssignPublicIP
- Network.AWS.ECS.Types: data Attachment
- Network.AWS.ECS.Types: data AttachmentStateChange
- Network.AWS.ECS.Types: data Attribute
- Network.AWS.ECS.Types: data Cluster
- Network.AWS.ECS.Types: data ClusterField
- Network.AWS.ECS.Types: data Compatibility
- Network.AWS.ECS.Types: data Connectivity
- Network.AWS.ECS.Types: data Container
- Network.AWS.ECS.Types: data ContainerDefinition
- Network.AWS.ECS.Types: data ContainerInstance
- Network.AWS.ECS.Types: data ContainerInstanceStatus
- Network.AWS.ECS.Types: data ContainerOverride
- Network.AWS.ECS.Types: data ContainerService
- Network.AWS.ECS.Types: data ContainerStateChange
- Network.AWS.ECS.Types: data Deployment
- Network.AWS.ECS.Types: data DeploymentConfiguration
- Network.AWS.ECS.Types: data DesiredStatus
- Network.AWS.ECS.Types: data Device
- Network.AWS.ECS.Types: data DeviceCgroupPermission
- Network.AWS.ECS.Types: data Failure
- Network.AWS.ECS.Types: data HealthCheck
- Network.AWS.ECS.Types: data HealthStatus
- Network.AWS.ECS.Types: data HostEntry
- Network.AWS.ECS.Types: data HostVolumeProperties
- Network.AWS.ECS.Types: data KernelCapabilities
- Network.AWS.ECS.Types: data KeyValuePair
- Network.AWS.ECS.Types: data LaunchType
- Network.AWS.ECS.Types: data LinuxParameters
- Network.AWS.ECS.Types: data LoadBalancer
- Network.AWS.ECS.Types: data LogConfiguration
- Network.AWS.ECS.Types: data LogDriver
- Network.AWS.ECS.Types: data MountPoint
- Network.AWS.ECS.Types: data NetworkBinding
- Network.AWS.ECS.Types: data NetworkConfiguration
- Network.AWS.ECS.Types: data NetworkInterface
- Network.AWS.ECS.Types: data NetworkMode
- Network.AWS.ECS.Types: data PlacementConstraint
- Network.AWS.ECS.Types: data PlacementConstraintType
- Network.AWS.ECS.Types: data PlacementStrategy
- Network.AWS.ECS.Types: data PlacementStrategyType
- Network.AWS.ECS.Types: data PortMapping
- Network.AWS.ECS.Types: data Resource
- Network.AWS.ECS.Types: data ServiceEvent
- Network.AWS.ECS.Types: data ServiceRegistry
- Network.AWS.ECS.Types: data SortOrder
- Network.AWS.ECS.Types: data TargetType
- Network.AWS.ECS.Types: data Task
- Network.AWS.ECS.Types: data TaskDefinition
- Network.AWS.ECS.Types: data TaskDefinitionFamilyStatus
- Network.AWS.ECS.Types: data TaskDefinitionPlacementConstraint
- Network.AWS.ECS.Types: data TaskDefinitionPlacementConstraintType
- Network.AWS.ECS.Types: data TaskDefinitionStatus
- Network.AWS.ECS.Types: data TaskOverride
- Network.AWS.ECS.Types: data Tmpfs
- Network.AWS.ECS.Types: data TransportProtocol
- Network.AWS.ECS.Types: data Ulimit
- Network.AWS.ECS.Types: data UlimitName
- Network.AWS.ECS.Types: data VersionInfo
- Network.AWS.ECS.Types: data Volume
- Network.AWS.ECS.Types: data VolumeFrom
- Network.AWS.ECS.Types: dcMaximumPercent :: Lens' DeploymentConfiguration (Maybe Int)
- Network.AWS.ECS.Types: dcMinimumHealthyPercent :: Lens' DeploymentConfiguration (Maybe Int)
- Network.AWS.ECS.Types: deployment :: Deployment
- Network.AWS.ECS.Types: deploymentConfiguration :: DeploymentConfiguration
- Network.AWS.ECS.Types: device :: Text -> Device
- Network.AWS.ECS.Types: ecs :: Service
- Network.AWS.ECS.Types: fArn :: Lens' Failure (Maybe Text)
- Network.AWS.ECS.Types: fReason :: Lens' Failure (Maybe Text)
- Network.AWS.ECS.Types: failure :: Failure
- Network.AWS.ECS.Types: hcCommand :: Lens' HealthCheck [Text]
- Network.AWS.ECS.Types: hcInterval :: Lens' HealthCheck (Maybe Int)
- Network.AWS.ECS.Types: hcRetries :: Lens' HealthCheck (Maybe Int)
- Network.AWS.ECS.Types: hcStartPeriod :: Lens' HealthCheck (Maybe Int)
- Network.AWS.ECS.Types: hcTimeout :: Lens' HealthCheck (Maybe Int)
- Network.AWS.ECS.Types: heHostname :: Lens' HostEntry Text
- Network.AWS.ECS.Types: heIpAddress :: Lens' HostEntry Text
- Network.AWS.ECS.Types: healthCheck :: HealthCheck
- Network.AWS.ECS.Types: hostEntry :: Text -> Text -> HostEntry
- Network.AWS.ECS.Types: hostVolumeProperties :: HostVolumeProperties
- Network.AWS.ECS.Types: hvpSourcePath :: Lens' HostVolumeProperties (Maybe Text)
- Network.AWS.ECS.Types: kcAdd :: Lens' KernelCapabilities [Text]
- Network.AWS.ECS.Types: kcDrop :: Lens' KernelCapabilities [Text]
- Network.AWS.ECS.Types: kernelCapabilities :: KernelCapabilities
- Network.AWS.ECS.Types: keyValuePair :: KeyValuePair
- Network.AWS.ECS.Types: kvpName :: Lens' KeyValuePair (Maybe Text)
- Network.AWS.ECS.Types: kvpValue :: Lens' KeyValuePair (Maybe Text)
- Network.AWS.ECS.Types: lbContainerName :: Lens' LoadBalancer (Maybe Text)
- Network.AWS.ECS.Types: lbContainerPort :: Lens' LoadBalancer (Maybe Int)
- Network.AWS.ECS.Types: lbLoadBalancerName :: Lens' LoadBalancer (Maybe Text)
- Network.AWS.ECS.Types: lbTargetGroupARN :: Lens' LoadBalancer (Maybe Text)
- Network.AWS.ECS.Types: lcLogDriver :: Lens' LogConfiguration LogDriver
- Network.AWS.ECS.Types: lcOptions :: Lens' LogConfiguration (HashMap Text Text)
- Network.AWS.ECS.Types: linuxParameters :: LinuxParameters
- Network.AWS.ECS.Types: loadBalancer :: LoadBalancer
- Network.AWS.ECS.Types: logConfiguration :: LogDriver -> LogConfiguration
- Network.AWS.ECS.Types: lpCapabilities :: Lens' LinuxParameters (Maybe KernelCapabilities)
- Network.AWS.ECS.Types: lpDevices :: Lens' LinuxParameters [Device]
- Network.AWS.ECS.Types: lpInitProcessEnabled :: Lens' LinuxParameters (Maybe Bool)
- Network.AWS.ECS.Types: lpSharedMemorySize :: Lens' LinuxParameters (Maybe Int)
- Network.AWS.ECS.Types: lpTmpfs :: Lens' LinuxParameters [Tmpfs]
- Network.AWS.ECS.Types: mountPoint :: MountPoint
- Network.AWS.ECS.Types: mpContainerPath :: Lens' MountPoint (Maybe Text)
- Network.AWS.ECS.Types: mpReadOnly :: Lens' MountPoint (Maybe Bool)
- Network.AWS.ECS.Types: mpSourceVolume :: Lens' MountPoint (Maybe Text)
- Network.AWS.ECS.Types: nbBindIP :: Lens' NetworkBinding (Maybe Text)
- Network.AWS.ECS.Types: nbContainerPort :: Lens' NetworkBinding (Maybe Int)
- Network.AWS.ECS.Types: nbHostPort :: Lens' NetworkBinding (Maybe Int)
- Network.AWS.ECS.Types: nbProtocol :: Lens' NetworkBinding (Maybe TransportProtocol)
- Network.AWS.ECS.Types: ncAwsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AWSVPCConfiguration)
- Network.AWS.ECS.Types: networkBinding :: NetworkBinding
- Network.AWS.ECS.Types: networkConfiguration :: NetworkConfiguration
- Network.AWS.ECS.Types: networkInterface :: NetworkInterface
- Network.AWS.ECS.Types: niAttachmentId :: Lens' NetworkInterface (Maybe Text)
- Network.AWS.ECS.Types: niIpv6Address :: Lens' NetworkInterface (Maybe Text)
- Network.AWS.ECS.Types: niPrivateIPv4Address :: Lens' NetworkInterface (Maybe Text)
- Network.AWS.ECS.Types: pcExpression :: Lens' PlacementConstraint (Maybe Text)
- Network.AWS.ECS.Types: pcType :: Lens' PlacementConstraint (Maybe PlacementConstraintType)
- Network.AWS.ECS.Types: placementConstraint :: PlacementConstraint
- Network.AWS.ECS.Types: placementStrategy :: PlacementStrategy
- Network.AWS.ECS.Types: pmContainerPort :: Lens' PortMapping (Maybe Int)
- Network.AWS.ECS.Types: pmHostPort :: Lens' PortMapping (Maybe Int)
- Network.AWS.ECS.Types: pmProtocol :: Lens' PortMapping (Maybe TransportProtocol)
- Network.AWS.ECS.Types: portMapping :: PortMapping
- Network.AWS.ECS.Types: psField :: Lens' PlacementStrategy (Maybe Text)
- Network.AWS.ECS.Types: psType :: Lens' PlacementStrategy (Maybe PlacementStrategyType)
- Network.AWS.ECS.Types: rDoubleValue :: Lens' Resource (Maybe Double)
- Network.AWS.ECS.Types: rIntegerValue :: Lens' Resource (Maybe Int)
- Network.AWS.ECS.Types: rLongValue :: Lens' Resource (Maybe Integer)
- Network.AWS.ECS.Types: rName :: Lens' Resource (Maybe Text)
- Network.AWS.ECS.Types: rStringSetValue :: Lens' Resource [Text]
- Network.AWS.ECS.Types: rType :: Lens' Resource (Maybe Text)
- Network.AWS.ECS.Types: resource :: Resource
- Network.AWS.ECS.Types: seCreatedAt :: Lens' ServiceEvent (Maybe UTCTime)
- Network.AWS.ECS.Types: seId :: Lens' ServiceEvent (Maybe Text)
- Network.AWS.ECS.Types: seMessage :: Lens' ServiceEvent (Maybe Text)
- Network.AWS.ECS.Types: serviceEvent :: ServiceEvent
- Network.AWS.ECS.Types: serviceRegistry :: ServiceRegistry
- Network.AWS.ECS.Types: srPort :: Lens' ServiceRegistry (Maybe Int)
- Network.AWS.ECS.Types: srRegistryARN :: Lens' ServiceRegistry (Maybe Text)
- Network.AWS.ECS.Types: tAttachments :: Lens' Task [Attachment]
- Network.AWS.ECS.Types: tClusterARN :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tConnectivity :: Lens' Task (Maybe Connectivity)
- Network.AWS.ECS.Types: tConnectivityAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS.Types: tContainerInstanceARN :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tContainerPath :: Lens' Tmpfs Text
- Network.AWS.ECS.Types: tContainers :: Lens' Task [Container]
- Network.AWS.ECS.Types: tCpu :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tCreatedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS.Types: tDesiredStatus :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tExecutionStoppedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS.Types: tGroup :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tHealthStatus :: Lens' Task (Maybe HealthStatus)
- Network.AWS.ECS.Types: tLastStatus :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tLaunchType :: Lens' Task (Maybe LaunchType)
- Network.AWS.ECS.Types: tMemory :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tMountOptions :: Lens' Tmpfs [Text]
- Network.AWS.ECS.Types: tOverrides :: Lens' Task (Maybe TaskOverride)
- Network.AWS.ECS.Types: tPlatformVersion :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tPullStartedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS.Types: tPullStoppedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS.Types: tSize :: Lens' Tmpfs Int
- Network.AWS.ECS.Types: tStartedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS.Types: tStartedBy :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tStoppedAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS.Types: tStoppedReason :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tStoppingAt :: Lens' Task (Maybe UTCTime)
- Network.AWS.ECS.Types: tTaskARN :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tTaskDefinitionARN :: Lens' Task (Maybe Text)
- Network.AWS.ECS.Types: tVersion :: Lens' Task (Maybe Integer)
- Network.AWS.ECS.Types: task :: Task
- Network.AWS.ECS.Types: taskDefinition :: TaskDefinition
- Network.AWS.ECS.Types: taskDefinitionPlacementConstraint :: TaskDefinitionPlacementConstraint
- Network.AWS.ECS.Types: taskOverride :: TaskOverride
- Network.AWS.ECS.Types: tdCompatibilities :: Lens' TaskDefinition [Compatibility]
- Network.AWS.ECS.Types: tdContainerDefinitions :: Lens' TaskDefinition [ContainerDefinition]
- Network.AWS.ECS.Types: tdCpu :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS.Types: tdExecutionRoleARN :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS.Types: tdFamily :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS.Types: tdMemory :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS.Types: tdNetworkMode :: Lens' TaskDefinition (Maybe NetworkMode)
- Network.AWS.ECS.Types: tdPlacementConstraints :: Lens' TaskDefinition [TaskDefinitionPlacementConstraint]
- Network.AWS.ECS.Types: tdRequiresAttributes :: Lens' TaskDefinition [Attribute]
- Network.AWS.ECS.Types: tdRequiresCompatibilities :: Lens' TaskDefinition [Compatibility]
- Network.AWS.ECS.Types: tdRevision :: Lens' TaskDefinition (Maybe Int)
- Network.AWS.ECS.Types: tdStatus :: Lens' TaskDefinition (Maybe TaskDefinitionStatus)
- Network.AWS.ECS.Types: tdTaskDefinitionARN :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS.Types: tdTaskRoleARN :: Lens' TaskDefinition (Maybe Text)
- Network.AWS.ECS.Types: tdVolumes :: Lens' TaskDefinition [Volume]
- Network.AWS.ECS.Types: tdpcExpression :: Lens' TaskDefinitionPlacementConstraint (Maybe Text)
- Network.AWS.ECS.Types: tdpcType :: Lens' TaskDefinitionPlacementConstraint (Maybe TaskDefinitionPlacementConstraintType)
- Network.AWS.ECS.Types: tmpfs :: Text -> Int -> Tmpfs
- Network.AWS.ECS.Types: toContainerOverrides :: Lens' TaskOverride [ContainerOverride]
- Network.AWS.ECS.Types: toExecutionRoleARN :: Lens' TaskOverride (Maybe Text)
- Network.AWS.ECS.Types: toTaskRoleARN :: Lens' TaskOverride (Maybe Text)
- Network.AWS.ECS.Types: uHardLimit :: Lens' Ulimit Int
- Network.AWS.ECS.Types: uName :: Lens' Ulimit UlimitName
- Network.AWS.ECS.Types: uSoftLimit :: Lens' Ulimit Int
- Network.AWS.ECS.Types: ulimit :: UlimitName -> Int -> Int -> Ulimit
- Network.AWS.ECS.Types: vHost :: Lens' Volume (Maybe HostVolumeProperties)
- Network.AWS.ECS.Types: vName :: Lens' Volume (Maybe Text)
- Network.AWS.ECS.Types: versionInfo :: VersionInfo
- Network.AWS.ECS.Types: vfReadOnly :: Lens' VolumeFrom (Maybe Bool)
- Network.AWS.ECS.Types: vfSourceContainer :: Lens' VolumeFrom (Maybe Text)
- Network.AWS.ECS.Types: viAgentHash :: Lens' VersionInfo (Maybe Text)
- Network.AWS.ECS.Types: viAgentVersion :: Lens' VersionInfo (Maybe Text)
- Network.AWS.ECS.Types: viDockerVersion :: Lens' VersionInfo (Maybe Text)
- Network.AWS.ECS.Types: volume :: Volume
- Network.AWS.ECS.Types: volumeFrom :: VolumeFrom
- Network.AWS.ECS.UpdateContainerAgent: data UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: data UpdateContainerAgentResponse
- Network.AWS.ECS.UpdateContainerAgent: instance Control.DeepSeq.NFData Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: instance Control.DeepSeq.NFData Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgentResponse
- Network.AWS.ECS.UpdateContainerAgent: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: instance Data.Data.Data Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: instance Data.Data.Data Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgentResponse
- Network.AWS.ECS.UpdateContainerAgent: instance Data.Hashable.Class.Hashable Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: instance GHC.Classes.Eq Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: instance GHC.Classes.Eq Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgentResponse
- Network.AWS.ECS.UpdateContainerAgent: instance GHC.Generics.Generic Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: instance GHC.Generics.Generic Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgentResponse
- Network.AWS.ECS.UpdateContainerAgent: instance GHC.Read.Read Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: instance GHC.Read.Read Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgentResponse
- Network.AWS.ECS.UpdateContainerAgent: instance GHC.Show.Show Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: instance GHC.Show.Show Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgentResponse
- Network.AWS.ECS.UpdateContainerAgent: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.UpdateContainerAgent.UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: ucaCluster :: Lens' UpdateContainerAgent (Maybe Text)
- Network.AWS.ECS.UpdateContainerAgent: ucaContainerInstance :: Lens' UpdateContainerAgent Text
- Network.AWS.ECS.UpdateContainerAgent: ucarsContainerInstance :: Lens' UpdateContainerAgentResponse (Maybe ContainerInstance)
- Network.AWS.ECS.UpdateContainerAgent: ucarsResponseStatus :: Lens' UpdateContainerAgentResponse Int
- Network.AWS.ECS.UpdateContainerAgent: updateContainerAgent :: Text -> UpdateContainerAgent
- Network.AWS.ECS.UpdateContainerAgent: updateContainerAgentResponse :: Int -> UpdateContainerAgentResponse
- Network.AWS.ECS.UpdateContainerInstancesState: data UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: data UpdateContainerInstancesStateResponse
- Network.AWS.ECS.UpdateContainerInstancesState: instance Control.DeepSeq.NFData Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: instance Control.DeepSeq.NFData Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesStateResponse
- Network.AWS.ECS.UpdateContainerInstancesState: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: instance Data.Data.Data Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: instance Data.Data.Data Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesStateResponse
- Network.AWS.ECS.UpdateContainerInstancesState: instance Data.Hashable.Class.Hashable Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: instance GHC.Classes.Eq Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: instance GHC.Classes.Eq Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesStateResponse
- Network.AWS.ECS.UpdateContainerInstancesState: instance GHC.Generics.Generic Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: instance GHC.Generics.Generic Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesStateResponse
- Network.AWS.ECS.UpdateContainerInstancesState: instance GHC.Read.Read Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: instance GHC.Read.Read Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesStateResponse
- Network.AWS.ECS.UpdateContainerInstancesState: instance GHC.Show.Show Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: instance GHC.Show.Show Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesStateResponse
- Network.AWS.ECS.UpdateContainerInstancesState: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: ucisCluster :: Lens' UpdateContainerInstancesState (Maybe Text)
- Network.AWS.ECS.UpdateContainerInstancesState: ucisContainerInstances :: Lens' UpdateContainerInstancesState [Text]
- Network.AWS.ECS.UpdateContainerInstancesState: ucisStatus :: Lens' UpdateContainerInstancesState ContainerInstanceStatus
- Network.AWS.ECS.UpdateContainerInstancesState: ucisrsContainerInstances :: Lens' UpdateContainerInstancesStateResponse [ContainerInstance]
- Network.AWS.ECS.UpdateContainerInstancesState: ucisrsFailures :: Lens' UpdateContainerInstancesStateResponse [Failure]
- Network.AWS.ECS.UpdateContainerInstancesState: ucisrsResponseStatus :: Lens' UpdateContainerInstancesStateResponse Int
- Network.AWS.ECS.UpdateContainerInstancesState: updateContainerInstancesState :: ContainerInstanceStatus -> UpdateContainerInstancesState
- Network.AWS.ECS.UpdateContainerInstancesState: updateContainerInstancesStateResponse :: Int -> UpdateContainerInstancesStateResponse
- Network.AWS.ECS.UpdateService: data UpdateService
- Network.AWS.ECS.UpdateService: data UpdateServiceResponse
- Network.AWS.ECS.UpdateService: instance Control.DeepSeq.NFData Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: instance Control.DeepSeq.NFData Network.AWS.ECS.UpdateService.UpdateServiceResponse
- Network.AWS.ECS.UpdateService: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: instance Data.Data.Data Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: instance Data.Data.Data Network.AWS.ECS.UpdateService.UpdateServiceResponse
- Network.AWS.ECS.UpdateService: instance Data.Hashable.Class.Hashable Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: instance GHC.Classes.Eq Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: instance GHC.Classes.Eq Network.AWS.ECS.UpdateService.UpdateServiceResponse
- Network.AWS.ECS.UpdateService: instance GHC.Generics.Generic Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: instance GHC.Generics.Generic Network.AWS.ECS.UpdateService.UpdateServiceResponse
- Network.AWS.ECS.UpdateService: instance GHC.Read.Read Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: instance GHC.Read.Read Network.AWS.ECS.UpdateService.UpdateServiceResponse
- Network.AWS.ECS.UpdateService: instance GHC.Show.Show Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: instance GHC.Show.Show Network.AWS.ECS.UpdateService.UpdateServiceResponse
- Network.AWS.ECS.UpdateService: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: instance Network.AWS.Data.Path.ToPath Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: instance Network.AWS.Data.Query.ToQuery Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: instance Network.AWS.Types.AWSRequest Network.AWS.ECS.UpdateService.UpdateService
- Network.AWS.ECS.UpdateService: updateService :: Text -> UpdateService
- Network.AWS.ECS.UpdateService: updateServiceResponse :: Int -> UpdateServiceResponse
- Network.AWS.ECS.UpdateService: usCluster :: Lens' UpdateService (Maybe Text)
- Network.AWS.ECS.UpdateService: usDeploymentConfiguration :: Lens' UpdateService (Maybe DeploymentConfiguration)
- Network.AWS.ECS.UpdateService: usDesiredCount :: Lens' UpdateService (Maybe Int)
- Network.AWS.ECS.UpdateService: usForceNewDeployment :: Lens' UpdateService (Maybe Bool)
- Network.AWS.ECS.UpdateService: usHealthCheckGracePeriodSeconds :: Lens' UpdateService (Maybe Int)
- Network.AWS.ECS.UpdateService: usNetworkConfiguration :: Lens' UpdateService (Maybe NetworkConfiguration)
- Network.AWS.ECS.UpdateService: usPlatformVersion :: Lens' UpdateService (Maybe Text)
- Network.AWS.ECS.UpdateService: usService :: Lens' UpdateService Text
- Network.AWS.ECS.UpdateService: usTaskDefinition :: Lens' UpdateService (Maybe Text)
- Network.AWS.ECS.UpdateService: usrsResponseStatus :: Lens' UpdateServiceResponse Int
- Network.AWS.ECS.UpdateService: usrsService :: Lens' UpdateServiceResponse (Maybe ContainerService)
- Network.AWS.ECS.Waiters: servicesInactive :: Wait DescribeServices
- Network.AWS.ECS.Waiters: tasksRunning :: Wait DescribeTasks
- Network.AWS.ECS.Waiters: tasksStopped :: Wait DescribeTasks
+ Amazonka.ECS: AgentUpdateStatus' :: Text -> AgentUpdateStatus
+ Amazonka.ECS: ApplicationProtocol' :: Text -> ApplicationProtocol
+ Amazonka.ECS: AssignPublicIp' :: Text -> AssignPublicIp
+ Amazonka.ECS: Attachment' :: Maybe [KeyValuePair] -> Maybe Text -> Maybe Text -> Maybe Text -> Attachment
+ Amazonka.ECS: AttachmentStateChange' :: Text -> Text -> AttachmentStateChange
+ Amazonka.ECS: Attribute' :: Maybe Text -> Maybe TargetType -> Maybe Text -> Text -> Attribute
+ Amazonka.ECS: AutoScalingGroupProvider' :: Maybe ManagedScaling -> Maybe ManagedTerminationProtection -> Text -> AutoScalingGroupProvider
+ Amazonka.ECS: AutoScalingGroupProviderUpdate' :: Maybe ManagedScaling -> Maybe ManagedTerminationProtection -> AutoScalingGroupProviderUpdate
+ Amazonka.ECS: AwsVpcConfiguration' :: Maybe AssignPublicIp -> Maybe [Text] -> [Text] -> AwsVpcConfiguration
+ Amazonka.ECS: CPUArchitecture' :: Text -> CPUArchitecture
+ Amazonka.ECS: CapacityProvider' :: Maybe AutoScalingGroupProvider -> Maybe Text -> Maybe Text -> Maybe CapacityProviderStatus -> Maybe [Tag] -> Maybe CapacityProviderUpdateStatus -> Maybe Text -> CapacityProvider
+ Amazonka.ECS: CapacityProviderField' :: Text -> CapacityProviderField
+ Amazonka.ECS: CapacityProviderStatus' :: Text -> CapacityProviderStatus
+ Amazonka.ECS: CapacityProviderStrategyItem' :: Maybe Natural -> Maybe Natural -> Text -> CapacityProviderStrategyItem
+ Amazonka.ECS: CapacityProviderUpdateStatus' :: Text -> CapacityProviderUpdateStatus
+ Amazonka.ECS: Cluster' :: Maybe Int -> Maybe [Attachment] -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe ClusterConfiguration -> Maybe [CapacityProviderStrategyItem] -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe ClusterServiceConnectDefaults -> Maybe [ClusterSetting] -> Maybe [KeyValuePair] -> Maybe Text -> Maybe [Tag] -> Cluster
+ Amazonka.ECS: ClusterConfiguration' :: Maybe ExecuteCommandConfiguration -> ClusterConfiguration
+ Amazonka.ECS: ClusterField' :: Text -> ClusterField
+ Amazonka.ECS: ClusterServiceConnectDefaults' :: Maybe Text -> ClusterServiceConnectDefaults
+ Amazonka.ECS: ClusterServiceConnectDefaultsRequest' :: Text -> ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS: ClusterSetting' :: Maybe ClusterSettingName -> Maybe Text -> ClusterSetting
+ Amazonka.ECS: ClusterSettingName' :: Text -> ClusterSettingName
+ Amazonka.ECS: Compatibility' :: Text -> Compatibility
+ Amazonka.ECS: Connectivity' :: Text -> Connectivity
+ Amazonka.ECS: Container' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe HealthStatus -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [ManagedAgent] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [NetworkBinding] -> Maybe [NetworkInterface] -> Maybe Text -> Maybe Text -> Maybe Text -> Container
+ Amazonka.ECS: ContainerCondition' :: Text -> ContainerCondition
+ Amazonka.ECS: ContainerDefinition' :: Maybe [Text] -> Maybe Int -> Maybe [ContainerDependency] -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe [KeyValuePair] -> Maybe [EnvironmentFile] -> Maybe Bool -> Maybe [HostEntry] -> Maybe FirelensConfiguration -> Maybe HealthCheck -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe [Text] -> Maybe LinuxParameters -> Maybe LogConfiguration -> Maybe Int -> Maybe Int -> Maybe [MountPoint] -> Maybe Text -> Maybe [PortMapping] -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe RepositoryCredentials -> Maybe [ResourceRequirement] -> Maybe [Secret] -> Maybe Int -> Maybe Int -> Maybe [SystemControl] -> Maybe [Ulimit] -> Maybe Text -> Maybe [VolumeFrom] -> Maybe Text -> ContainerDefinition
+ Amazonka.ECS: ContainerDependency' :: Text -> ContainerCondition -> ContainerDependency
+ Amazonka.ECS: ContainerInstance' :: Maybe Bool -> Maybe AgentUpdateStatus -> Maybe [Attachment] -> Maybe [Attribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ContainerInstanceHealthStatus -> Maybe Int -> Maybe POSIX -> Maybe [Resource] -> Maybe [Resource] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Maybe Integer -> Maybe VersionInfo -> ContainerInstance
+ Amazonka.ECS: ContainerInstanceField' :: Text -> ContainerInstanceField
+ Amazonka.ECS: ContainerInstanceHealthStatus' :: Maybe [InstanceHealthCheckResult] -> Maybe InstanceHealthCheckState -> ContainerInstanceHealthStatus
+ Amazonka.ECS: ContainerInstanceStatus' :: Text -> ContainerInstanceStatus
+ Amazonka.ECS: ContainerOverride' :: Maybe [Text] -> Maybe Int -> Maybe [KeyValuePair] -> Maybe [EnvironmentFile] -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe [ResourceRequirement] -> ContainerOverride
+ Amazonka.ECS: ContainerService' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe DeploymentConfiguration -> Maybe DeploymentController -> Maybe [Deployment] -> Maybe Int -> Maybe Bool -> Maybe Bool -> Maybe [ServiceEvent] -> Maybe Int -> Maybe LaunchType -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe Int -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe Text -> Maybe PropagateTags -> Maybe Text -> Maybe Int -> Maybe SchedulingStrategy -> Maybe Text -> Maybe Text -> Maybe [ServiceRegistry] -> Maybe Text -> Maybe [Tag] -> Maybe Text -> Maybe [TaskSet] -> ContainerService
+ Amazonka.ECS: ContainerStateChange' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [NetworkBinding] -> Maybe Text -> Maybe Text -> Maybe Text -> ContainerStateChange
+ Amazonka.ECS: CreateCapacityProvider' :: Maybe [Tag] -> Text -> AutoScalingGroupProvider -> CreateCapacityProvider
+ Amazonka.ECS: CreateCapacityProviderResponse' :: Maybe CapacityProvider -> Int -> CreateCapacityProviderResponse
+ Amazonka.ECS: CreateCluster' :: Maybe [Text] -> Maybe Text -> Maybe ClusterConfiguration -> Maybe [CapacityProviderStrategyItem] -> Maybe ClusterServiceConnectDefaultsRequest -> Maybe [ClusterSetting] -> Maybe [Tag] -> CreateCluster
+ Amazonka.ECS: CreateClusterResponse' :: Maybe Cluster -> Int -> CreateClusterResponse
+ Amazonka.ECS: CreateService' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe Text -> Maybe DeploymentConfiguration -> Maybe DeploymentController -> Maybe Int -> Maybe Bool -> Maybe Bool -> Maybe Int -> Maybe LaunchType -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe PropagateTags -> Maybe Text -> Maybe SchedulingStrategy -> Maybe ServiceConnectConfiguration -> Maybe [ServiceRegistry] -> Maybe [Tag] -> Maybe Text -> Text -> CreateService
+ Amazonka.ECS: CreateServiceResponse' :: Maybe ContainerService -> Int -> CreateServiceResponse
+ Amazonka.ECS: CreateTaskSet' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe Text -> Maybe LaunchType -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe Text -> Maybe Scale -> Maybe [ServiceRegistry] -> Maybe [Tag] -> Text -> Text -> Text -> CreateTaskSet
+ Amazonka.ECS: CreateTaskSetResponse' :: Maybe TaskSet -> Int -> CreateTaskSetResponse
+ Amazonka.ECS: DeleteAccountSetting' :: Maybe Text -> SettingName -> DeleteAccountSetting
+ Amazonka.ECS: DeleteAccountSettingResponse' :: Maybe Setting -> Int -> DeleteAccountSettingResponse
+ Amazonka.ECS: DeleteAttributes' :: Maybe Text -> [Attribute] -> DeleteAttributes
+ Amazonka.ECS: DeleteAttributesResponse' :: Maybe [Attribute] -> Int -> DeleteAttributesResponse
+ Amazonka.ECS: DeleteCapacityProvider' :: Text -> DeleteCapacityProvider
+ Amazonka.ECS: DeleteCapacityProviderResponse' :: Maybe CapacityProvider -> Int -> DeleteCapacityProviderResponse
+ Amazonka.ECS: DeleteCluster' :: Text -> DeleteCluster
+ Amazonka.ECS: DeleteClusterResponse' :: Maybe Cluster -> Int -> DeleteClusterResponse
+ Amazonka.ECS: DeleteService' :: Maybe Text -> Maybe Bool -> Text -> DeleteService
+ Amazonka.ECS: DeleteServiceResponse' :: Maybe ContainerService -> Int -> DeleteServiceResponse
+ Amazonka.ECS: DeleteTaskSet' :: Maybe Bool -> Text -> Text -> Text -> DeleteTaskSet
+ Amazonka.ECS: DeleteTaskSetResponse' :: Maybe TaskSet -> Int -> DeleteTaskSetResponse
+ Amazonka.ECS: Deployment' :: Maybe [CapacityProviderStrategyItem] -> Maybe POSIX -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe LaunchType -> Maybe NetworkConfiguration -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe DeploymentRolloutState -> Maybe Text -> Maybe Int -> Maybe ServiceConnectConfiguration -> Maybe [ServiceConnectServiceResource] -> Maybe Text -> Maybe Text -> Maybe POSIX -> Deployment
+ Amazonka.ECS: DeploymentAlarms' :: [Text] -> Bool -> Bool -> DeploymentAlarms
+ Amazonka.ECS: DeploymentCircuitBreaker' :: Bool -> Bool -> DeploymentCircuitBreaker
+ Amazonka.ECS: DeploymentConfiguration' :: Maybe DeploymentAlarms -> Maybe DeploymentCircuitBreaker -> Maybe Int -> Maybe Int -> DeploymentConfiguration
+ Amazonka.ECS: DeploymentController' :: DeploymentControllerType -> DeploymentController
+ Amazonka.ECS: DeploymentControllerType' :: Text -> DeploymentControllerType
+ Amazonka.ECS: DeploymentRolloutState' :: Text -> DeploymentRolloutState
+ Amazonka.ECS: DeregisterContainerInstance' :: Maybe Text -> Maybe Bool -> Text -> DeregisterContainerInstance
+ Amazonka.ECS: DeregisterContainerInstanceResponse' :: Maybe ContainerInstance -> Int -> DeregisterContainerInstanceResponse
+ Amazonka.ECS: DeregisterTaskDefinition' :: Text -> DeregisterTaskDefinition
+ Amazonka.ECS: DeregisterTaskDefinitionResponse' :: Maybe TaskDefinition -> Int -> DeregisterTaskDefinitionResponse
+ Amazonka.ECS: DescribeCapacityProviders' :: Maybe [Text] -> Maybe [CapacityProviderField] -> Maybe Int -> Maybe Text -> DescribeCapacityProviders
+ Amazonka.ECS: DescribeCapacityProvidersResponse' :: Maybe [CapacityProvider] -> Maybe [Failure] -> Maybe Text -> Int -> DescribeCapacityProvidersResponse
+ Amazonka.ECS: DescribeClusters' :: Maybe [Text] -> Maybe [ClusterField] -> DescribeClusters
+ Amazonka.ECS: DescribeClustersResponse' :: Maybe [Cluster] -> Maybe [Failure] -> Int -> DescribeClustersResponse
+ Amazonka.ECS: DescribeContainerInstances' :: Maybe Text -> Maybe [ContainerInstanceField] -> [Text] -> DescribeContainerInstances
+ Amazonka.ECS: DescribeContainerInstancesResponse' :: Maybe [ContainerInstance] -> Maybe [Failure] -> Int -> DescribeContainerInstancesResponse
+ Amazonka.ECS: DescribeServices' :: Maybe Text -> Maybe [ServiceField] -> [Text] -> DescribeServices
+ Amazonka.ECS: DescribeServicesResponse' :: Maybe [Failure] -> Maybe [ContainerService] -> Int -> DescribeServicesResponse
+ Amazonka.ECS: DescribeTaskDefinition' :: Maybe [TaskDefinitionField] -> Text -> DescribeTaskDefinition
+ Amazonka.ECS: DescribeTaskDefinitionResponse' :: Maybe [Tag] -> Maybe TaskDefinition -> Int -> DescribeTaskDefinitionResponse
+ Amazonka.ECS: DescribeTaskSets' :: Maybe [TaskSetField] -> Maybe [Text] -> Text -> Text -> DescribeTaskSets
+ Amazonka.ECS: DescribeTaskSetsResponse' :: Maybe [Failure] -> Maybe [TaskSet] -> Int -> DescribeTaskSetsResponse
+ Amazonka.ECS: DescribeTasks' :: Maybe Text -> Maybe [TaskField] -> [Text] -> DescribeTasks
+ Amazonka.ECS: DescribeTasksResponse' :: Maybe [Failure] -> Maybe [Task] -> Int -> DescribeTasksResponse
+ Amazonka.ECS: DesiredStatus' :: Text -> DesiredStatus
+ Amazonka.ECS: Device' :: Maybe Text -> Maybe [DeviceCgroupPermission] -> Text -> Device
+ Amazonka.ECS: DeviceCgroupPermission' :: Text -> DeviceCgroupPermission
+ Amazonka.ECS: DiscoverPollEndpoint' :: Maybe Text -> Maybe Text -> DiscoverPollEndpoint
+ Amazonka.ECS: DiscoverPollEndpointResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> DiscoverPollEndpointResponse
+ Amazonka.ECS: DockerVolumeConfiguration' :: Maybe Bool -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> Maybe Scope -> DockerVolumeConfiguration
+ Amazonka.ECS: EFSAuthorizationConfig' :: Maybe Text -> Maybe EFSAuthorizationConfigIAM -> EFSAuthorizationConfig
+ Amazonka.ECS: EFSAuthorizationConfigIAM' :: Text -> EFSAuthorizationConfigIAM
+ Amazonka.ECS: EFSTransitEncryption' :: Text -> EFSTransitEncryption
+ Amazonka.ECS: EFSVolumeConfiguration' :: Maybe EFSAuthorizationConfig -> Maybe Text -> Maybe EFSTransitEncryption -> Maybe Int -> Text -> EFSVolumeConfiguration
+ Amazonka.ECS: EnvironmentFile' :: Text -> EnvironmentFileType -> EnvironmentFile
+ Amazonka.ECS: EnvironmentFileType' :: Text -> EnvironmentFileType
+ Amazonka.ECS: EphemeralStorage' :: Int -> EphemeralStorage
+ Amazonka.ECS: ExecuteCommand' :: Maybe Text -> Maybe Text -> Text -> Bool -> Text -> ExecuteCommand
+ Amazonka.ECS: ExecuteCommandConfiguration' :: Maybe Text -> Maybe ExecuteCommandLogConfiguration -> Maybe ExecuteCommandLogging -> ExecuteCommandConfiguration
+ Amazonka.ECS: ExecuteCommandLogConfiguration' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> ExecuteCommandLogConfiguration
+ Amazonka.ECS: ExecuteCommandLogging' :: Text -> ExecuteCommandLogging
+ Amazonka.ECS: ExecuteCommandResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Session -> Maybe Text -> Int -> ExecuteCommandResponse
+ Amazonka.ECS: FSxWindowsFileServerAuthorizationConfig' :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS: FSxWindowsFileServerVolumeConfiguration' :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig -> FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS: Failure' :: Maybe Text -> Maybe Text -> Maybe Text -> Failure
+ Amazonka.ECS: FirelensConfiguration' :: Maybe (HashMap Text Text) -> FirelensConfigurationType -> FirelensConfiguration
+ Amazonka.ECS: FirelensConfigurationType' :: Text -> FirelensConfigurationType
+ Amazonka.ECS: GetTaskProtection' :: Maybe [Text] -> Text -> GetTaskProtection
+ Amazonka.ECS: GetTaskProtectionResponse' :: Maybe [Failure] -> Maybe [ProtectedTask] -> Int -> GetTaskProtectionResponse
+ Amazonka.ECS: HealthCheck' :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> [Text] -> HealthCheck
+ Amazonka.ECS: HealthStatus' :: Text -> HealthStatus
+ Amazonka.ECS: HostEntry' :: Text -> Text -> HostEntry
+ Amazonka.ECS: HostVolumeProperties' :: Maybe Text -> HostVolumeProperties
+ Amazonka.ECS: InferenceAccelerator' :: Text -> Text -> InferenceAccelerator
+ Amazonka.ECS: InferenceAcceleratorOverride' :: Maybe Text -> Maybe Text -> InferenceAcceleratorOverride
+ Amazonka.ECS: InstanceHealthCheckResult' :: Maybe POSIX -> Maybe POSIX -> Maybe InstanceHealthCheckState -> Maybe InstanceHealthCheckType -> InstanceHealthCheckResult
+ Amazonka.ECS: InstanceHealthCheckState' :: Text -> InstanceHealthCheckState
+ Amazonka.ECS: InstanceHealthCheckType' :: Text -> InstanceHealthCheckType
+ Amazonka.ECS: IpcMode' :: Text -> IpcMode
+ Amazonka.ECS: KernelCapabilities' :: Maybe [Text] -> Maybe [Text] -> KernelCapabilities
+ Amazonka.ECS: KeyValuePair' :: Maybe Text -> Maybe Text -> KeyValuePair
+ Amazonka.ECS: LaunchType' :: Text -> LaunchType
+ Amazonka.ECS: LinuxParameters' :: Maybe KernelCapabilities -> Maybe [Device] -> Maybe Bool -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe [Tmpfs] -> LinuxParameters
+ Amazonka.ECS: ListAccountSettings' :: Maybe Bool -> Maybe Int -> Maybe SettingName -> Maybe Text -> Maybe Text -> Maybe Text -> ListAccountSettings
+ Amazonka.ECS: ListAccountSettingsResponse' :: Maybe Text -> Maybe [Setting] -> Int -> ListAccountSettingsResponse
+ Amazonka.ECS: ListAttributes' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> TargetType -> ListAttributes
+ Amazonka.ECS: ListAttributesResponse' :: Maybe [Attribute] -> Maybe Text -> Int -> ListAttributesResponse
+ Amazonka.ECS: ListClusters' :: Maybe Int -> Maybe Text -> ListClusters
+ Amazonka.ECS: ListClustersResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListClustersResponse
+ Amazonka.ECS: ListContainerInstances' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe ContainerInstanceStatus -> ListContainerInstances
+ Amazonka.ECS: ListContainerInstancesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListContainerInstancesResponse
+ Amazonka.ECS: ListServices' :: Maybe Text -> Maybe LaunchType -> Maybe Int -> Maybe Text -> Maybe SchedulingStrategy -> ListServices
+ Amazonka.ECS: ListServicesByNamespace' :: Maybe Int -> Maybe Text -> Text -> ListServicesByNamespace
+ Amazonka.ECS: ListServicesByNamespaceResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListServicesByNamespaceResponse
+ Amazonka.ECS: ListServicesResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListServicesResponse
+ Amazonka.ECS: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.ECS: ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.ECS: ListTaskDefinitionFamilies' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe TaskDefinitionFamilyStatus -> ListTaskDefinitionFamilies
+ Amazonka.ECS: ListTaskDefinitionFamiliesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListTaskDefinitionFamiliesResponse
+ Amazonka.ECS: ListTaskDefinitions' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe SortOrder -> Maybe TaskDefinitionStatus -> ListTaskDefinitions
+ Amazonka.ECS: ListTaskDefinitionsResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListTaskDefinitionsResponse
+ Amazonka.ECS: ListTasks' :: Maybe Text -> Maybe Text -> Maybe DesiredStatus -> Maybe Text -> Maybe LaunchType -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> ListTasks
+ Amazonka.ECS: ListTasksResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListTasksResponse
+ Amazonka.ECS: LoadBalancer' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> LoadBalancer
+ Amazonka.ECS: LogConfiguration' :: Maybe (HashMap Text Text) -> Maybe [Secret] -> LogDriver -> LogConfiguration
+ Amazonka.ECS: LogDriver' :: Text -> LogDriver
+ Amazonka.ECS: ManagedAgent' :: Maybe POSIX -> Maybe Text -> Maybe ManagedAgentName -> Maybe Text -> ManagedAgent
+ Amazonka.ECS: ManagedAgentName' :: Text -> ManagedAgentName
+ Amazonka.ECS: ManagedAgentStateChange' :: Maybe Text -> Text -> ManagedAgentName -> Text -> ManagedAgentStateChange
+ Amazonka.ECS: ManagedScaling' :: Maybe Natural -> Maybe Natural -> Maybe Natural -> Maybe ManagedScalingStatus -> Maybe Natural -> ManagedScaling
+ Amazonka.ECS: ManagedScalingStatus' :: Text -> ManagedScalingStatus
+ Amazonka.ECS: ManagedTerminationProtection' :: Text -> ManagedTerminationProtection
+ Amazonka.ECS: MountPoint' :: Maybe Text -> Maybe Bool -> Maybe Text -> MountPoint
+ Amazonka.ECS: NetworkBinding' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe TransportProtocol -> NetworkBinding
+ Amazonka.ECS: NetworkConfiguration' :: Maybe AwsVpcConfiguration -> NetworkConfiguration
+ Amazonka.ECS: NetworkInterface' :: Maybe Text -> Maybe Text -> Maybe Text -> NetworkInterface
+ Amazonka.ECS: NetworkMode' :: Text -> NetworkMode
+ Amazonka.ECS: OSFamily' :: Text -> OSFamily
+ Amazonka.ECS: PidMode' :: Text -> PidMode
+ Amazonka.ECS: PlacementConstraint' :: Maybe Text -> Maybe PlacementConstraintType -> PlacementConstraint
+ Amazonka.ECS: PlacementConstraintType' :: Text -> PlacementConstraintType
+ Amazonka.ECS: PlacementStrategy' :: Maybe Text -> Maybe PlacementStrategyType -> PlacementStrategy
+ Amazonka.ECS: PlacementStrategyType' :: Text -> PlacementStrategyType
+ Amazonka.ECS: PlatformDevice' :: Text -> PlatformDeviceType -> PlatformDevice
+ Amazonka.ECS: PlatformDeviceType' :: Text -> PlatformDeviceType
+ Amazonka.ECS: PortMapping' :: Maybe ApplicationProtocol -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe TransportProtocol -> PortMapping
+ Amazonka.ECS: PropagateTags' :: Text -> PropagateTags
+ Amazonka.ECS: ProtectedTask' :: Maybe POSIX -> Maybe Bool -> Maybe Text -> ProtectedTask
+ Amazonka.ECS: ProxyConfiguration' :: Maybe [KeyValuePair] -> Maybe ProxyConfigurationType -> Text -> ProxyConfiguration
+ Amazonka.ECS: ProxyConfigurationType' :: Text -> ProxyConfigurationType
+ Amazonka.ECS: PutAccountSetting' :: Maybe Text -> SettingName -> Text -> PutAccountSetting
+ Amazonka.ECS: PutAccountSettingDefault' :: SettingName -> Text -> PutAccountSettingDefault
+ Amazonka.ECS: PutAccountSettingDefaultResponse' :: Maybe Setting -> Int -> PutAccountSettingDefaultResponse
+ Amazonka.ECS: PutAccountSettingResponse' :: Maybe Setting -> Int -> PutAccountSettingResponse
+ Amazonka.ECS: PutAttributes' :: Maybe Text -> [Attribute] -> PutAttributes
+ Amazonka.ECS: PutAttributesResponse' :: Maybe [Attribute] -> Int -> PutAttributesResponse
+ Amazonka.ECS: PutClusterCapacityProviders' :: Text -> [Text] -> [CapacityProviderStrategyItem] -> PutClusterCapacityProviders
+ Amazonka.ECS: PutClusterCapacityProvidersResponse' :: Maybe Cluster -> Int -> PutClusterCapacityProvidersResponse
+ Amazonka.ECS: RegisterContainerInstance' :: Maybe [Attribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [PlatformDevice] -> Maybe [Tag] -> Maybe [Resource] -> Maybe VersionInfo -> RegisterContainerInstance
+ Amazonka.ECS: RegisterContainerInstanceResponse' :: Maybe ContainerInstance -> Int -> RegisterContainerInstanceResponse
+ Amazonka.ECS: RegisterTaskDefinition' :: Maybe Text -> Maybe EphemeralStorage -> Maybe Text -> Maybe [InferenceAccelerator] -> Maybe IpcMode -> Maybe Text -> Maybe NetworkMode -> Maybe PidMode -> Maybe [TaskDefinitionPlacementConstraint] -> Maybe ProxyConfiguration -> Maybe [Compatibility] -> Maybe RuntimePlatform -> Maybe [Tag] -> Maybe Text -> Maybe [Volume] -> Text -> [ContainerDefinition] -> RegisterTaskDefinition
+ Amazonka.ECS: RegisterTaskDefinitionResponse' :: Maybe [Tag] -> Maybe TaskDefinition -> Int -> RegisterTaskDefinitionResponse
+ Amazonka.ECS: RepositoryCredentials' :: Text -> RepositoryCredentials
+ Amazonka.ECS: Resource' :: Maybe Double -> Maybe Int -> Maybe Integer -> Maybe Text -> Maybe [Text] -> Maybe Text -> Resource
+ Amazonka.ECS: ResourceRequirement' :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.ECS: ResourceType' :: Text -> ResourceType
+ Amazonka.ECS: RunTask' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe Int -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe LaunchType -> Maybe NetworkConfiguration -> Maybe TaskOverride -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe PropagateTags -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Text -> RunTask
+ Amazonka.ECS: RunTaskResponse' :: Maybe [Failure] -> Maybe [Task] -> Int -> RunTaskResponse
+ Amazonka.ECS: RuntimePlatform' :: Maybe CPUArchitecture -> Maybe OSFamily -> RuntimePlatform
+ Amazonka.ECS: Scale' :: Maybe ScaleUnit -> Maybe Double -> Scale
+ Amazonka.ECS: ScaleUnit' :: Text -> ScaleUnit
+ Amazonka.ECS: SchedulingStrategy' :: Text -> SchedulingStrategy
+ Amazonka.ECS: Scope' :: Text -> Scope
+ Amazonka.ECS: Secret' :: Text -> Text -> Secret
+ Amazonka.ECS: ServiceConnectClientAlias' :: Maybe Text -> Natural -> ServiceConnectClientAlias
+ Amazonka.ECS: ServiceConnectConfiguration' :: Maybe LogConfiguration -> Maybe Text -> Maybe [ServiceConnectService] -> Bool -> ServiceConnectConfiguration
+ Amazonka.ECS: ServiceConnectService' :: Maybe [ServiceConnectClientAlias] -> Maybe Text -> Maybe Natural -> Text -> ServiceConnectService
+ Amazonka.ECS: ServiceConnectServiceResource' :: Maybe Text -> Maybe Text -> ServiceConnectServiceResource
+ Amazonka.ECS: ServiceEvent' :: Maybe POSIX -> Maybe Text -> Maybe Text -> ServiceEvent
+ Amazonka.ECS: ServiceField' :: Text -> ServiceField
+ Amazonka.ECS: ServiceRegistry' :: Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> ServiceRegistry
+ Amazonka.ECS: Session' :: Maybe Text -> Maybe Text -> Maybe (Sensitive Text) -> Session
+ Amazonka.ECS: Setting' :: Maybe SettingName -> Maybe Text -> Maybe Text -> Setting
+ Amazonka.ECS: SettingName' :: Text -> SettingName
+ Amazonka.ECS: SortOrder' :: Text -> SortOrder
+ Amazonka.ECS: StabilityStatus' :: Text -> StabilityStatus
+ Amazonka.ECS: StartTask' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe NetworkConfiguration -> Maybe TaskOverride -> Maybe PropagateTags -> Maybe Text -> Maybe Text -> Maybe [Tag] -> [Text] -> Text -> StartTask
+ Amazonka.ECS: StartTaskResponse' :: Maybe [Failure] -> Maybe [Task] -> Int -> StartTaskResponse
+ Amazonka.ECS: StopTask' :: Maybe Text -> Maybe Text -> Text -> StopTask
+ Amazonka.ECS: StopTaskResponse' :: Maybe Task -> Int -> StopTaskResponse
+ Amazonka.ECS: SubmitAttachmentStateChanges' :: Maybe Text -> [AttachmentStateChange] -> SubmitAttachmentStateChanges
+ Amazonka.ECS: SubmitAttachmentStateChangesResponse' :: Maybe Text -> Int -> SubmitAttachmentStateChangesResponse
+ Amazonka.ECS: SubmitContainerStateChange' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [NetworkBinding] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SubmitContainerStateChange
+ Amazonka.ECS: SubmitContainerStateChangeResponse' :: Maybe Text -> Int -> SubmitContainerStateChangeResponse
+ Amazonka.ECS: SubmitTaskStateChange' :: Maybe [AttachmentStateChange] -> Maybe Text -> Maybe [ContainerStateChange] -> Maybe POSIX -> Maybe [ManagedAgentStateChange] -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> SubmitTaskStateChange
+ Amazonka.ECS: SubmitTaskStateChangeResponse' :: Maybe Text -> Int -> SubmitTaskStateChangeResponse
+ Amazonka.ECS: SystemControl' :: Maybe Text -> Maybe Text -> SystemControl
+ Amazonka.ECS: Tag' :: Maybe Text -> Maybe Text -> Tag
+ Amazonka.ECS: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.ECS: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.ECS: TargetType' :: Text -> TargetType
+ Amazonka.ECS: Task' :: Maybe [Attachment] -> Maybe [Attribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Connectivity -> Maybe POSIX -> Maybe Text -> Maybe [Container] -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Bool -> Maybe EphemeralStorage -> Maybe POSIX -> Maybe Text -> Maybe HealthStatus -> Maybe [InferenceAccelerator] -> Maybe Text -> Maybe LaunchType -> Maybe Text -> Maybe TaskOverride -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe TaskStopCode -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe [Tag] -> Maybe Text -> Maybe Text -> Maybe Integer -> Task
+ Amazonka.ECS: TaskDefinition' :: Maybe [Compatibility] -> Maybe [ContainerDefinition] -> Maybe Text -> Maybe POSIX -> Maybe EphemeralStorage -> Maybe Text -> Maybe Text -> Maybe [InferenceAccelerator] -> Maybe IpcMode -> Maybe Text -> Maybe NetworkMode -> Maybe PidMode -> Maybe [TaskDefinitionPlacementConstraint] -> Maybe ProxyConfiguration -> Maybe POSIX -> Maybe Text -> Maybe [Attribute] -> Maybe [Compatibility] -> Maybe Int -> Maybe RuntimePlatform -> Maybe TaskDefinitionStatus -> Maybe Text -> Maybe Text -> Maybe [Volume] -> TaskDefinition
+ Amazonka.ECS: TaskDefinitionFamilyStatus' :: Text -> TaskDefinitionFamilyStatus
+ Amazonka.ECS: TaskDefinitionField' :: Text -> TaskDefinitionField
+ Amazonka.ECS: TaskDefinitionPlacementConstraint' :: Maybe Text -> Maybe TaskDefinitionPlacementConstraintType -> TaskDefinitionPlacementConstraint
+ Amazonka.ECS: TaskDefinitionPlacementConstraintType' :: Text -> TaskDefinitionPlacementConstraintType
+ Amazonka.ECS: TaskDefinitionStatus' :: Text -> TaskDefinitionStatus
+ Amazonka.ECS: TaskField' :: Text -> TaskField
+ Amazonka.ECS: TaskOverride' :: Maybe [ContainerOverride] -> Maybe Text -> Maybe EphemeralStorage -> Maybe Text -> Maybe [InferenceAcceleratorOverride] -> Maybe Text -> Maybe Text -> TaskOverride
+ Amazonka.ECS: TaskSet' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe Int -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe LaunchType -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Scale -> Maybe Text -> Maybe [ServiceRegistry] -> Maybe StabilityStatus -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Maybe Text -> Maybe Text -> Maybe POSIX -> TaskSet
+ Amazonka.ECS: TaskSetField' :: Text -> TaskSetField
+ Amazonka.ECS: TaskStopCode' :: Text -> TaskStopCode
+ Amazonka.ECS: Tmpfs' :: Maybe [Text] -> Text -> Int -> Tmpfs
+ Amazonka.ECS: TransportProtocol' :: Text -> TransportProtocol
+ Amazonka.ECS: Ulimit' :: UlimitName -> Int -> Int -> Ulimit
+ Amazonka.ECS: UlimitName' :: Text -> UlimitName
+ Amazonka.ECS: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.ECS: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.ECS: UpdateCapacityProvider' :: Text -> AutoScalingGroupProviderUpdate -> UpdateCapacityProvider
+ Amazonka.ECS: UpdateCapacityProviderResponse' :: Maybe CapacityProvider -> Int -> UpdateCapacityProviderResponse
+ Amazonka.ECS: UpdateCluster' :: Maybe ClusterConfiguration -> Maybe ClusterServiceConnectDefaultsRequest -> Maybe [ClusterSetting] -> Text -> UpdateCluster
+ Amazonka.ECS: UpdateClusterResponse' :: Maybe Cluster -> Int -> UpdateClusterResponse
+ Amazonka.ECS: UpdateClusterSettings' :: Text -> [ClusterSetting] -> UpdateClusterSettings
+ Amazonka.ECS: UpdateClusterSettingsResponse' :: Maybe Cluster -> Int -> UpdateClusterSettingsResponse
+ Amazonka.ECS: UpdateContainerAgent' :: Maybe Text -> Text -> UpdateContainerAgent
+ Amazonka.ECS: UpdateContainerAgentResponse' :: Maybe ContainerInstance -> Int -> UpdateContainerAgentResponse
+ Amazonka.ECS: UpdateContainerInstancesState' :: Maybe Text -> [Text] -> ContainerInstanceStatus -> UpdateContainerInstancesState
+ Amazonka.ECS: UpdateContainerInstancesStateResponse' :: Maybe [ContainerInstance] -> Maybe [Failure] -> Int -> UpdateContainerInstancesStateResponse
+ Amazonka.ECS: UpdateService' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe DeploymentConfiguration -> Maybe Int -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Int -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe PropagateTags -> Maybe ServiceConnectConfiguration -> Maybe [ServiceRegistry] -> Maybe Text -> Text -> UpdateService
+ Amazonka.ECS: UpdateServicePrimaryTaskSet' :: Text -> Text -> Text -> UpdateServicePrimaryTaskSet
+ Amazonka.ECS: UpdateServicePrimaryTaskSetResponse' :: Maybe TaskSet -> Int -> UpdateServicePrimaryTaskSetResponse
+ Amazonka.ECS: UpdateServiceResponse' :: Maybe ContainerService -> Int -> UpdateServiceResponse
+ Amazonka.ECS: UpdateTaskProtection' :: Maybe Int -> Text -> [Text] -> Bool -> UpdateTaskProtection
+ Amazonka.ECS: UpdateTaskProtectionResponse' :: Maybe [Failure] -> Maybe [ProtectedTask] -> Int -> UpdateTaskProtectionResponse
+ Amazonka.ECS: UpdateTaskSet' :: Text -> Text -> Text -> Scale -> UpdateTaskSet
+ Amazonka.ECS: UpdateTaskSetResponse' :: Maybe TaskSet -> Int -> UpdateTaskSetResponse
+ Amazonka.ECS: VersionInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> VersionInfo
+ Amazonka.ECS: Volume' :: Maybe DockerVolumeConfiguration -> Maybe EFSVolumeConfiguration -> Maybe FSxWindowsFileServerVolumeConfiguration -> Maybe HostVolumeProperties -> Maybe Text -> Volume
+ Amazonka.ECS: VolumeFrom' :: Maybe Bool -> Maybe Text -> VolumeFrom
+ Amazonka.ECS: [fromAgentUpdateStatus] :: AgentUpdateStatus -> Text
+ Amazonka.ECS: [fromApplicationProtocol] :: ApplicationProtocol -> Text
+ Amazonka.ECS: [fromAssignPublicIp] :: AssignPublicIp -> Text
+ Amazonka.ECS: [fromCPUArchitecture] :: CPUArchitecture -> Text
+ Amazonka.ECS: [fromCapacityProviderField] :: CapacityProviderField -> Text
+ Amazonka.ECS: [fromCapacityProviderStatus] :: CapacityProviderStatus -> Text
+ Amazonka.ECS: [fromCapacityProviderUpdateStatus] :: CapacityProviderUpdateStatus -> Text
+ Amazonka.ECS: [fromClusterField] :: ClusterField -> Text
+ Amazonka.ECS: [fromClusterSettingName] :: ClusterSettingName -> Text
+ Amazonka.ECS: [fromCompatibility] :: Compatibility -> Text
+ Amazonka.ECS: [fromConnectivity] :: Connectivity -> Text
+ Amazonka.ECS: [fromContainerCondition] :: ContainerCondition -> Text
+ Amazonka.ECS: [fromContainerInstanceField] :: ContainerInstanceField -> Text
+ Amazonka.ECS: [fromContainerInstanceStatus] :: ContainerInstanceStatus -> Text
+ Amazonka.ECS: [fromDeploymentControllerType] :: DeploymentControllerType -> Text
+ Amazonka.ECS: [fromDeploymentRolloutState] :: DeploymentRolloutState -> Text
+ Amazonka.ECS: [fromDesiredStatus] :: DesiredStatus -> Text
+ Amazonka.ECS: [fromDeviceCgroupPermission] :: DeviceCgroupPermission -> Text
+ Amazonka.ECS: [fromEFSAuthorizationConfigIAM] :: EFSAuthorizationConfigIAM -> Text
+ Amazonka.ECS: [fromEFSTransitEncryption] :: EFSTransitEncryption -> Text
+ Amazonka.ECS: [fromEnvironmentFileType] :: EnvironmentFileType -> Text
+ Amazonka.ECS: [fromExecuteCommandLogging] :: ExecuteCommandLogging -> Text
+ Amazonka.ECS: [fromFirelensConfigurationType] :: FirelensConfigurationType -> Text
+ Amazonka.ECS: [fromHealthStatus] :: HealthStatus -> Text
+ Amazonka.ECS: [fromInstanceHealthCheckState] :: InstanceHealthCheckState -> Text
+ Amazonka.ECS: [fromInstanceHealthCheckType] :: InstanceHealthCheckType -> Text
+ Amazonka.ECS: [fromIpcMode] :: IpcMode -> Text
+ Amazonka.ECS: [fromLaunchType] :: LaunchType -> Text
+ Amazonka.ECS: [fromLogDriver] :: LogDriver -> Text
+ Amazonka.ECS: [fromManagedAgentName] :: ManagedAgentName -> Text
+ Amazonka.ECS: [fromManagedScalingStatus] :: ManagedScalingStatus -> Text
+ Amazonka.ECS: [fromManagedTerminationProtection] :: ManagedTerminationProtection -> Text
+ Amazonka.ECS: [fromNetworkMode] :: NetworkMode -> Text
+ Amazonka.ECS: [fromOSFamily] :: OSFamily -> Text
+ Amazonka.ECS: [fromPidMode] :: PidMode -> Text
+ Amazonka.ECS: [fromPlacementConstraintType] :: PlacementConstraintType -> Text
+ Amazonka.ECS: [fromPlacementStrategyType] :: PlacementStrategyType -> Text
+ Amazonka.ECS: [fromPlatformDeviceType] :: PlatformDeviceType -> Text
+ Amazonka.ECS: [fromPropagateTags] :: PropagateTags -> Text
+ Amazonka.ECS: [fromProxyConfigurationType] :: ProxyConfigurationType -> Text
+ Amazonka.ECS: [fromResourceType] :: ResourceType -> Text
+ Amazonka.ECS: [fromScaleUnit] :: ScaleUnit -> Text
+ Amazonka.ECS: [fromSchedulingStrategy] :: SchedulingStrategy -> Text
+ Amazonka.ECS: [fromScope] :: Scope -> Text
+ Amazonka.ECS: [fromServiceField] :: ServiceField -> Text
+ Amazonka.ECS: [fromSettingName] :: SettingName -> Text
+ Amazonka.ECS: [fromSortOrder] :: SortOrder -> Text
+ Amazonka.ECS: [fromStabilityStatus] :: StabilityStatus -> Text
+ Amazonka.ECS: [fromTargetType] :: TargetType -> Text
+ Amazonka.ECS: [fromTaskDefinitionFamilyStatus] :: TaskDefinitionFamilyStatus -> Text
+ Amazonka.ECS: [fromTaskDefinitionField] :: TaskDefinitionField -> Text
+ Amazonka.ECS: [fromTaskDefinitionPlacementConstraintType] :: TaskDefinitionPlacementConstraintType -> Text
+ Amazonka.ECS: [fromTaskDefinitionStatus] :: TaskDefinitionStatus -> Text
+ Amazonka.ECS: [fromTaskField] :: TaskField -> Text
+ Amazonka.ECS: [fromTaskSetField] :: TaskSetField -> Text
+ Amazonka.ECS: [fromTaskStopCode] :: TaskStopCode -> Text
+ Amazonka.ECS: [fromTransportProtocol] :: TransportProtocol -> Text
+ Amazonka.ECS: [fromUlimitName] :: UlimitName -> Text
+ Amazonka.ECS: _AccessDeniedException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _AttributeLimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _BlockedException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _ClientException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _ClusterContainsContainerInstancesException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _ClusterContainsServicesException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _ClusterContainsTasksException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _ClusterNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _InvalidParameterException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _MissingVersionException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _NamespaceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _NoUpdateAvailableException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _PlatformTaskDefinitionIncompatibilityException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _PlatformUnknownException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _ResourceInUseException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _ServerException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _ServiceNotActiveException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _ServiceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _TargetNotConnectedException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _TargetNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _TaskSetNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _UnsupportedFeatureException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: _UpdateInProgressException :: AsError a => Fold a ServiceError
+ Amazonka.ECS: data Attachment
+ Amazonka.ECS: data AttachmentStateChange
+ Amazonka.ECS: data Attribute
+ Amazonka.ECS: data AutoScalingGroupProvider
+ Amazonka.ECS: data AutoScalingGroupProviderUpdate
+ Amazonka.ECS: data AwsVpcConfiguration
+ Amazonka.ECS: data CapacityProvider
+ Amazonka.ECS: data CapacityProviderStrategyItem
+ Amazonka.ECS: data Cluster
+ Amazonka.ECS: data ClusterConfiguration
+ Amazonka.ECS: data ClusterServiceConnectDefaults
+ Amazonka.ECS: data ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS: data ClusterSetting
+ Amazonka.ECS: data Container
+ Amazonka.ECS: data ContainerDefinition
+ Amazonka.ECS: data ContainerDependency
+ Amazonka.ECS: data ContainerInstance
+ Amazonka.ECS: data ContainerInstanceHealthStatus
+ Amazonka.ECS: data ContainerOverride
+ Amazonka.ECS: data ContainerService
+ Amazonka.ECS: data ContainerStateChange
+ Amazonka.ECS: data CreateCapacityProvider
+ Amazonka.ECS: data CreateCapacityProviderResponse
+ Amazonka.ECS: data CreateCluster
+ Amazonka.ECS: data CreateClusterResponse
+ Amazonka.ECS: data CreateService
+ Amazonka.ECS: data CreateServiceResponse
+ Amazonka.ECS: data CreateTaskSet
+ Amazonka.ECS: data CreateTaskSetResponse
+ Amazonka.ECS: data DeleteAccountSetting
+ Amazonka.ECS: data DeleteAccountSettingResponse
+ Amazonka.ECS: data DeleteAttributes
+ Amazonka.ECS: data DeleteAttributesResponse
+ Amazonka.ECS: data DeleteCapacityProvider
+ Amazonka.ECS: data DeleteCapacityProviderResponse
+ Amazonka.ECS: data DeleteCluster
+ Amazonka.ECS: data DeleteClusterResponse
+ Amazonka.ECS: data DeleteService
+ Amazonka.ECS: data DeleteServiceResponse
+ Amazonka.ECS: data DeleteTaskSet
+ Amazonka.ECS: data DeleteTaskSetResponse
+ Amazonka.ECS: data Deployment
+ Amazonka.ECS: data DeploymentAlarms
+ Amazonka.ECS: data DeploymentCircuitBreaker
+ Amazonka.ECS: data DeploymentConfiguration
+ Amazonka.ECS: data DeploymentController
+ Amazonka.ECS: data DeregisterContainerInstance
+ Amazonka.ECS: data DeregisterContainerInstanceResponse
+ Amazonka.ECS: data DeregisterTaskDefinition
+ Amazonka.ECS: data DeregisterTaskDefinitionResponse
+ Amazonka.ECS: data DescribeCapacityProviders
+ Amazonka.ECS: data DescribeCapacityProvidersResponse
+ Amazonka.ECS: data DescribeClusters
+ Amazonka.ECS: data DescribeClustersResponse
+ Amazonka.ECS: data DescribeContainerInstances
+ Amazonka.ECS: data DescribeContainerInstancesResponse
+ Amazonka.ECS: data DescribeServices
+ Amazonka.ECS: data DescribeServicesResponse
+ Amazonka.ECS: data DescribeTaskDefinition
+ Amazonka.ECS: data DescribeTaskDefinitionResponse
+ Amazonka.ECS: data DescribeTaskSets
+ Amazonka.ECS: data DescribeTaskSetsResponse
+ Amazonka.ECS: data DescribeTasks
+ Amazonka.ECS: data DescribeTasksResponse
+ Amazonka.ECS: data Device
+ Amazonka.ECS: data DiscoverPollEndpoint
+ Amazonka.ECS: data DiscoverPollEndpointResponse
+ Amazonka.ECS: data DockerVolumeConfiguration
+ Amazonka.ECS: data EFSAuthorizationConfig
+ Amazonka.ECS: data EFSVolumeConfiguration
+ Amazonka.ECS: data EnvironmentFile
+ Amazonka.ECS: data EphemeralStorage
+ Amazonka.ECS: data ExecuteCommand
+ Amazonka.ECS: data ExecuteCommandConfiguration
+ Amazonka.ECS: data ExecuteCommandLogConfiguration
+ Amazonka.ECS: data ExecuteCommandResponse
+ Amazonka.ECS: data FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS: data FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS: data Failure
+ Amazonka.ECS: data FirelensConfiguration
+ Amazonka.ECS: data GetTaskProtection
+ Amazonka.ECS: data GetTaskProtectionResponse
+ Amazonka.ECS: data HealthCheck
+ Amazonka.ECS: data HostEntry
+ Amazonka.ECS: data HostVolumeProperties
+ Amazonka.ECS: data InferenceAccelerator
+ Amazonka.ECS: data InferenceAcceleratorOverride
+ Amazonka.ECS: data InstanceHealthCheckResult
+ Amazonka.ECS: data KernelCapabilities
+ Amazonka.ECS: data KeyValuePair
+ Amazonka.ECS: data LinuxParameters
+ Amazonka.ECS: data ListAccountSettings
+ Amazonka.ECS: data ListAccountSettingsResponse
+ Amazonka.ECS: data ListAttributes
+ Amazonka.ECS: data ListAttributesResponse
+ Amazonka.ECS: data ListClusters
+ Amazonka.ECS: data ListClustersResponse
+ Amazonka.ECS: data ListContainerInstances
+ Amazonka.ECS: data ListContainerInstancesResponse
+ Amazonka.ECS: data ListServices
+ Amazonka.ECS: data ListServicesByNamespace
+ Amazonka.ECS: data ListServicesByNamespaceResponse
+ Amazonka.ECS: data ListServicesResponse
+ Amazonka.ECS: data ListTagsForResource
+ Amazonka.ECS: data ListTagsForResourceResponse
+ Amazonka.ECS: data ListTaskDefinitionFamilies
+ Amazonka.ECS: data ListTaskDefinitionFamiliesResponse
+ Amazonka.ECS: data ListTaskDefinitions
+ Amazonka.ECS: data ListTaskDefinitionsResponse
+ Amazonka.ECS: data ListTasks
+ Amazonka.ECS: data ListTasksResponse
+ Amazonka.ECS: data LoadBalancer
+ Amazonka.ECS: data LogConfiguration
+ Amazonka.ECS: data ManagedAgent
+ Amazonka.ECS: data ManagedAgentStateChange
+ Amazonka.ECS: data ManagedScaling
+ Amazonka.ECS: data MountPoint
+ Amazonka.ECS: data NetworkBinding
+ Amazonka.ECS: data NetworkConfiguration
+ Amazonka.ECS: data NetworkInterface
+ Amazonka.ECS: data PlacementConstraint
+ Amazonka.ECS: data PlacementStrategy
+ Amazonka.ECS: data PlatformDevice
+ Amazonka.ECS: data PortMapping
+ Amazonka.ECS: data ProtectedTask
+ Amazonka.ECS: data ProxyConfiguration
+ Amazonka.ECS: data PutAccountSetting
+ Amazonka.ECS: data PutAccountSettingDefault
+ Amazonka.ECS: data PutAccountSettingDefaultResponse
+ Amazonka.ECS: data PutAccountSettingResponse
+ Amazonka.ECS: data PutAttributes
+ Amazonka.ECS: data PutAttributesResponse
+ Amazonka.ECS: data PutClusterCapacityProviders
+ Amazonka.ECS: data PutClusterCapacityProvidersResponse
+ Amazonka.ECS: data RegisterContainerInstance
+ Amazonka.ECS: data RegisterContainerInstanceResponse
+ Amazonka.ECS: data RegisterTaskDefinition
+ Amazonka.ECS: data RegisterTaskDefinitionResponse
+ Amazonka.ECS: data RepositoryCredentials
+ Amazonka.ECS: data Resource
+ Amazonka.ECS: data ResourceRequirement
+ Amazonka.ECS: data RunTask
+ Amazonka.ECS: data RunTaskResponse
+ Amazonka.ECS: data RuntimePlatform
+ Amazonka.ECS: data Scale
+ Amazonka.ECS: data Secret
+ Amazonka.ECS: data ServiceConnectClientAlias
+ Amazonka.ECS: data ServiceConnectConfiguration
+ Amazonka.ECS: data ServiceConnectService
+ Amazonka.ECS: data ServiceConnectServiceResource
+ Amazonka.ECS: data ServiceEvent
+ Amazonka.ECS: data ServiceRegistry
+ Amazonka.ECS: data Session
+ Amazonka.ECS: data Setting
+ Amazonka.ECS: data StartTask
+ Amazonka.ECS: data StartTaskResponse
+ Amazonka.ECS: data StopTask
+ Amazonka.ECS: data StopTaskResponse
+ Amazonka.ECS: data SubmitAttachmentStateChanges
+ Amazonka.ECS: data SubmitAttachmentStateChangesResponse
+ Amazonka.ECS: data SubmitContainerStateChange
+ Amazonka.ECS: data SubmitContainerStateChangeResponse
+ Amazonka.ECS: data SubmitTaskStateChange
+ Amazonka.ECS: data SubmitTaskStateChangeResponse
+ Amazonka.ECS: data SystemControl
+ Amazonka.ECS: data Tag
+ Amazonka.ECS: data TagResource
+ Amazonka.ECS: data TagResourceResponse
+ Amazonka.ECS: data Task
+ Amazonka.ECS: data TaskDefinition
+ Amazonka.ECS: data TaskDefinitionPlacementConstraint
+ Amazonka.ECS: data TaskOverride
+ Amazonka.ECS: data TaskSet
+ Amazonka.ECS: data Tmpfs
+ Amazonka.ECS: data Ulimit
+ Amazonka.ECS: data UntagResource
+ Amazonka.ECS: data UntagResourceResponse
+ Amazonka.ECS: data UpdateCapacityProvider
+ Amazonka.ECS: data UpdateCapacityProviderResponse
+ Amazonka.ECS: data UpdateCluster
+ Amazonka.ECS: data UpdateClusterResponse
+ Amazonka.ECS: data UpdateClusterSettings
+ Amazonka.ECS: data UpdateClusterSettingsResponse
+ Amazonka.ECS: data UpdateContainerAgent
+ Amazonka.ECS: data UpdateContainerAgentResponse
+ Amazonka.ECS: data UpdateContainerInstancesState
+ Amazonka.ECS: data UpdateContainerInstancesStateResponse
+ Amazonka.ECS: data UpdateService
+ Amazonka.ECS: data UpdateServicePrimaryTaskSet
+ Amazonka.ECS: data UpdateServicePrimaryTaskSetResponse
+ Amazonka.ECS: data UpdateServiceResponse
+ Amazonka.ECS: data UpdateTaskProtection
+ Amazonka.ECS: data UpdateTaskProtectionResponse
+ Amazonka.ECS: data UpdateTaskSet
+ Amazonka.ECS: data UpdateTaskSetResponse
+ Amazonka.ECS: data VersionInfo
+ Amazonka.ECS: data Volume
+ Amazonka.ECS: data VolumeFrom
+ Amazonka.ECS: defaultService :: Service
+ Amazonka.ECS: newAttachment :: Attachment
+ Amazonka.ECS: newAttachmentStateChange :: Text -> Text -> AttachmentStateChange
+ Amazonka.ECS: newAttribute :: Text -> Attribute
+ Amazonka.ECS: newAutoScalingGroupProvider :: Text -> AutoScalingGroupProvider
+ Amazonka.ECS: newAutoScalingGroupProviderUpdate :: AutoScalingGroupProviderUpdate
+ Amazonka.ECS: newAwsVpcConfiguration :: AwsVpcConfiguration
+ Amazonka.ECS: newCapacityProvider :: CapacityProvider
+ Amazonka.ECS: newCapacityProviderStrategyItem :: Text -> CapacityProviderStrategyItem
+ Amazonka.ECS: newCluster :: Cluster
+ Amazonka.ECS: newClusterConfiguration :: ClusterConfiguration
+ Amazonka.ECS: newClusterServiceConnectDefaults :: ClusterServiceConnectDefaults
+ Amazonka.ECS: newClusterServiceConnectDefaultsRequest :: Text -> ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS: newClusterSetting :: ClusterSetting
+ Amazonka.ECS: newContainer :: Container
+ Amazonka.ECS: newContainerDefinition :: ContainerDefinition
+ Amazonka.ECS: newContainerDependency :: Text -> ContainerCondition -> ContainerDependency
+ Amazonka.ECS: newContainerInstance :: ContainerInstance
+ Amazonka.ECS: newContainerInstanceHealthStatus :: ContainerInstanceHealthStatus
+ Amazonka.ECS: newContainerOverride :: ContainerOverride
+ Amazonka.ECS: newContainerService :: ContainerService
+ Amazonka.ECS: newContainerStateChange :: ContainerStateChange
+ Amazonka.ECS: newCreateCapacityProvider :: Text -> AutoScalingGroupProvider -> CreateCapacityProvider
+ Amazonka.ECS: newCreateCapacityProviderResponse :: Int -> CreateCapacityProviderResponse
+ Amazonka.ECS: newCreateCluster :: CreateCluster
+ Amazonka.ECS: newCreateClusterResponse :: Int -> CreateClusterResponse
+ Amazonka.ECS: newCreateService :: Text -> CreateService
+ Amazonka.ECS: newCreateServiceResponse :: Int -> CreateServiceResponse
+ Amazonka.ECS: newCreateTaskSet :: Text -> Text -> Text -> CreateTaskSet
+ Amazonka.ECS: newCreateTaskSetResponse :: Int -> CreateTaskSetResponse
+ Amazonka.ECS: newDeleteAccountSetting :: SettingName -> DeleteAccountSetting
+ Amazonka.ECS: newDeleteAccountSettingResponse :: Int -> DeleteAccountSettingResponse
+ Amazonka.ECS: newDeleteAttributes :: DeleteAttributes
+ Amazonka.ECS: newDeleteAttributesResponse :: Int -> DeleteAttributesResponse
+ Amazonka.ECS: newDeleteCapacityProvider :: Text -> DeleteCapacityProvider
+ Amazonka.ECS: newDeleteCapacityProviderResponse :: Int -> DeleteCapacityProviderResponse
+ Amazonka.ECS: newDeleteCluster :: Text -> DeleteCluster
+ Amazonka.ECS: newDeleteClusterResponse :: Int -> DeleteClusterResponse
+ Amazonka.ECS: newDeleteService :: Text -> DeleteService
+ Amazonka.ECS: newDeleteServiceResponse :: Int -> DeleteServiceResponse
+ Amazonka.ECS: newDeleteTaskSet :: Text -> Text -> Text -> DeleteTaskSet
+ Amazonka.ECS: newDeleteTaskSetResponse :: Int -> DeleteTaskSetResponse
+ Amazonka.ECS: newDeployment :: Deployment
+ Amazonka.ECS: newDeploymentAlarms :: Bool -> Bool -> DeploymentAlarms
+ Amazonka.ECS: newDeploymentCircuitBreaker :: Bool -> Bool -> DeploymentCircuitBreaker
+ Amazonka.ECS: newDeploymentConfiguration :: DeploymentConfiguration
+ Amazonka.ECS: newDeploymentController :: DeploymentControllerType -> DeploymentController
+ Amazonka.ECS: newDeregisterContainerInstance :: Text -> DeregisterContainerInstance
+ Amazonka.ECS: newDeregisterContainerInstanceResponse :: Int -> DeregisterContainerInstanceResponse
+ Amazonka.ECS: newDeregisterTaskDefinition :: Text -> DeregisterTaskDefinition
+ Amazonka.ECS: newDeregisterTaskDefinitionResponse :: Int -> DeregisterTaskDefinitionResponse
+ Amazonka.ECS: newDescribeCapacityProviders :: DescribeCapacityProviders
+ Amazonka.ECS: newDescribeCapacityProvidersResponse :: Int -> DescribeCapacityProvidersResponse
+ Amazonka.ECS: newDescribeClusters :: DescribeClusters
+ Amazonka.ECS: newDescribeClustersResponse :: Int -> DescribeClustersResponse
+ Amazonka.ECS: newDescribeContainerInstances :: DescribeContainerInstances
+ Amazonka.ECS: newDescribeContainerInstancesResponse :: Int -> DescribeContainerInstancesResponse
+ Amazonka.ECS: newDescribeServices :: DescribeServices
+ Amazonka.ECS: newDescribeServicesResponse :: Int -> DescribeServicesResponse
+ Amazonka.ECS: newDescribeTaskDefinition :: Text -> DescribeTaskDefinition
+ Amazonka.ECS: newDescribeTaskDefinitionResponse :: Int -> DescribeTaskDefinitionResponse
+ Amazonka.ECS: newDescribeTaskSets :: Text -> Text -> DescribeTaskSets
+ Amazonka.ECS: newDescribeTaskSetsResponse :: Int -> DescribeTaskSetsResponse
+ Amazonka.ECS: newDescribeTasks :: DescribeTasks
+ Amazonka.ECS: newDescribeTasksResponse :: Int -> DescribeTasksResponse
+ Amazonka.ECS: newDevice :: Text -> Device
+ Amazonka.ECS: newDiscoverPollEndpoint :: DiscoverPollEndpoint
+ Amazonka.ECS: newDiscoverPollEndpointResponse :: Int -> DiscoverPollEndpointResponse
+ Amazonka.ECS: newDockerVolumeConfiguration :: DockerVolumeConfiguration
+ Amazonka.ECS: newEFSAuthorizationConfig :: EFSAuthorizationConfig
+ Amazonka.ECS: newEFSVolumeConfiguration :: Text -> EFSVolumeConfiguration
+ Amazonka.ECS: newEnvironmentFile :: Text -> EnvironmentFileType -> EnvironmentFile
+ Amazonka.ECS: newEphemeralStorage :: Int -> EphemeralStorage
+ Amazonka.ECS: newExecuteCommand :: Text -> Bool -> Text -> ExecuteCommand
+ Amazonka.ECS: newExecuteCommandConfiguration :: ExecuteCommandConfiguration
+ Amazonka.ECS: newExecuteCommandLogConfiguration :: ExecuteCommandLogConfiguration
+ Amazonka.ECS: newExecuteCommandResponse :: Int -> ExecuteCommandResponse
+ Amazonka.ECS: newFSxWindowsFileServerAuthorizationConfig :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS: newFSxWindowsFileServerVolumeConfiguration :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig -> FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS: newFailure :: Failure
+ Amazonka.ECS: newFirelensConfiguration :: FirelensConfigurationType -> FirelensConfiguration
+ Amazonka.ECS: newGetTaskProtection :: Text -> GetTaskProtection
+ Amazonka.ECS: newGetTaskProtectionResponse :: Int -> GetTaskProtectionResponse
+ Amazonka.ECS: newHealthCheck :: HealthCheck
+ Amazonka.ECS: newHostEntry :: Text -> Text -> HostEntry
+ Amazonka.ECS: newHostVolumeProperties :: HostVolumeProperties
+ Amazonka.ECS: newInferenceAccelerator :: Text -> Text -> InferenceAccelerator
+ Amazonka.ECS: newInferenceAcceleratorOverride :: InferenceAcceleratorOverride
+ Amazonka.ECS: newInstanceHealthCheckResult :: InstanceHealthCheckResult
+ Amazonka.ECS: newKernelCapabilities :: KernelCapabilities
+ Amazonka.ECS: newKeyValuePair :: KeyValuePair
+ Amazonka.ECS: newLinuxParameters :: LinuxParameters
+ Amazonka.ECS: newListAccountSettings :: ListAccountSettings
+ Amazonka.ECS: newListAccountSettingsResponse :: Int -> ListAccountSettingsResponse
+ Amazonka.ECS: newListAttributes :: TargetType -> ListAttributes
+ Amazonka.ECS: newListAttributesResponse :: Int -> ListAttributesResponse
+ Amazonka.ECS: newListClusters :: ListClusters
+ Amazonka.ECS: newListClustersResponse :: Int -> ListClustersResponse
+ Amazonka.ECS: newListContainerInstances :: ListContainerInstances
+ Amazonka.ECS: newListContainerInstancesResponse :: Int -> ListContainerInstancesResponse
+ Amazonka.ECS: newListServices :: ListServices
+ Amazonka.ECS: newListServicesByNamespace :: Text -> ListServicesByNamespace
+ Amazonka.ECS: newListServicesByNamespaceResponse :: Int -> ListServicesByNamespaceResponse
+ Amazonka.ECS: newListServicesResponse :: Int -> ListServicesResponse
+ Amazonka.ECS: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.ECS: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.ECS: newListTaskDefinitionFamilies :: ListTaskDefinitionFamilies
+ Amazonka.ECS: newListTaskDefinitionFamiliesResponse :: Int -> ListTaskDefinitionFamiliesResponse
+ Amazonka.ECS: newListTaskDefinitions :: ListTaskDefinitions
+ Amazonka.ECS: newListTaskDefinitionsResponse :: Int -> ListTaskDefinitionsResponse
+ Amazonka.ECS: newListTasks :: ListTasks
+ Amazonka.ECS: newListTasksResponse :: Int -> ListTasksResponse
+ Amazonka.ECS: newLoadBalancer :: LoadBalancer
+ Amazonka.ECS: newLogConfiguration :: LogDriver -> LogConfiguration
+ Amazonka.ECS: newManagedAgent :: ManagedAgent
+ Amazonka.ECS: newManagedAgentStateChange :: Text -> ManagedAgentName -> Text -> ManagedAgentStateChange
+ Amazonka.ECS: newManagedScaling :: ManagedScaling
+ Amazonka.ECS: newMountPoint :: MountPoint
+ Amazonka.ECS: newNetworkBinding :: NetworkBinding
+ Amazonka.ECS: newNetworkConfiguration :: NetworkConfiguration
+ Amazonka.ECS: newNetworkInterface :: NetworkInterface
+ Amazonka.ECS: newPlacementConstraint :: PlacementConstraint
+ Amazonka.ECS: newPlacementStrategy :: PlacementStrategy
+ Amazonka.ECS: newPlatformDevice :: Text -> PlatformDeviceType -> PlatformDevice
+ Amazonka.ECS: newPortMapping :: PortMapping
+ Amazonka.ECS: newProtectedTask :: ProtectedTask
+ Amazonka.ECS: newProxyConfiguration :: Text -> ProxyConfiguration
+ Amazonka.ECS: newPutAccountSetting :: SettingName -> Text -> PutAccountSetting
+ Amazonka.ECS: newPutAccountSettingDefault :: SettingName -> Text -> PutAccountSettingDefault
+ Amazonka.ECS: newPutAccountSettingDefaultResponse :: Int -> PutAccountSettingDefaultResponse
+ Amazonka.ECS: newPutAccountSettingResponse :: Int -> PutAccountSettingResponse
+ Amazonka.ECS: newPutAttributes :: PutAttributes
+ Amazonka.ECS: newPutAttributesResponse :: Int -> PutAttributesResponse
+ Amazonka.ECS: newPutClusterCapacityProviders :: Text -> PutClusterCapacityProviders
+ Amazonka.ECS: newPutClusterCapacityProvidersResponse :: Int -> PutClusterCapacityProvidersResponse
+ Amazonka.ECS: newRegisterContainerInstance :: RegisterContainerInstance
+ Amazonka.ECS: newRegisterContainerInstanceResponse :: Int -> RegisterContainerInstanceResponse
+ Amazonka.ECS: newRegisterTaskDefinition :: Text -> RegisterTaskDefinition
+ Amazonka.ECS: newRegisterTaskDefinitionResponse :: Int -> RegisterTaskDefinitionResponse
+ Amazonka.ECS: newRepositoryCredentials :: Text -> RepositoryCredentials
+ Amazonka.ECS: newResource :: Resource
+ Amazonka.ECS: newResourceRequirement :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.ECS: newRunTask :: Text -> RunTask
+ Amazonka.ECS: newRunTaskResponse :: Int -> RunTaskResponse
+ Amazonka.ECS: newRuntimePlatform :: RuntimePlatform
+ Amazonka.ECS: newScale :: Scale
+ Amazonka.ECS: newSecret :: Text -> Text -> Secret
+ Amazonka.ECS: newServiceConnectClientAlias :: Natural -> ServiceConnectClientAlias
+ Amazonka.ECS: newServiceConnectConfiguration :: Bool -> ServiceConnectConfiguration
+ Amazonka.ECS: newServiceConnectService :: Text -> ServiceConnectService
+ Amazonka.ECS: newServiceConnectServiceResource :: ServiceConnectServiceResource
+ Amazonka.ECS: newServiceEvent :: ServiceEvent
+ Amazonka.ECS: newServiceRegistry :: ServiceRegistry
+ Amazonka.ECS: newServicesInactive :: Wait DescribeServices
+ Amazonka.ECS: newSession :: Session
+ Amazonka.ECS: newSetting :: Setting
+ Amazonka.ECS: newStartTask :: Text -> StartTask
+ Amazonka.ECS: newStartTaskResponse :: Int -> StartTaskResponse
+ Amazonka.ECS: newStopTask :: Text -> StopTask
+ Amazonka.ECS: newStopTaskResponse :: Int -> StopTaskResponse
+ Amazonka.ECS: newSubmitAttachmentStateChanges :: SubmitAttachmentStateChanges
+ Amazonka.ECS: newSubmitAttachmentStateChangesResponse :: Int -> SubmitAttachmentStateChangesResponse
+ Amazonka.ECS: newSubmitContainerStateChange :: SubmitContainerStateChange
+ Amazonka.ECS: newSubmitContainerStateChangeResponse :: Int -> SubmitContainerStateChangeResponse
+ Amazonka.ECS: newSubmitTaskStateChange :: SubmitTaskStateChange
+ Amazonka.ECS: newSubmitTaskStateChangeResponse :: Int -> SubmitTaskStateChangeResponse
+ Amazonka.ECS: newSystemControl :: SystemControl
+ Amazonka.ECS: newTag :: Tag
+ Amazonka.ECS: newTagResource :: Text -> TagResource
+ Amazonka.ECS: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.ECS: newTask :: Task
+ Amazonka.ECS: newTaskDefinition :: TaskDefinition
+ Amazonka.ECS: newTaskDefinitionPlacementConstraint :: TaskDefinitionPlacementConstraint
+ Amazonka.ECS: newTaskOverride :: TaskOverride
+ Amazonka.ECS: newTaskSet :: TaskSet
+ Amazonka.ECS: newTasksRunning :: Wait DescribeTasks
+ Amazonka.ECS: newTasksStopped :: Wait DescribeTasks
+ Amazonka.ECS: newTmpfs :: Text -> Int -> Tmpfs
+ Amazonka.ECS: newUlimit :: UlimitName -> Int -> Int -> Ulimit
+ Amazonka.ECS: newUntagResource :: Text -> UntagResource
+ Amazonka.ECS: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.ECS: newUpdateCapacityProvider :: Text -> AutoScalingGroupProviderUpdate -> UpdateCapacityProvider
+ Amazonka.ECS: newUpdateCapacityProviderResponse :: Int -> UpdateCapacityProviderResponse
+ Amazonka.ECS: newUpdateCluster :: Text -> UpdateCluster
+ Amazonka.ECS: newUpdateClusterResponse :: Int -> UpdateClusterResponse
+ Amazonka.ECS: newUpdateClusterSettings :: Text -> UpdateClusterSettings
+ Amazonka.ECS: newUpdateClusterSettingsResponse :: Int -> UpdateClusterSettingsResponse
+ Amazonka.ECS: newUpdateContainerAgent :: Text -> UpdateContainerAgent
+ Amazonka.ECS: newUpdateContainerAgentResponse :: Int -> UpdateContainerAgentResponse
+ Amazonka.ECS: newUpdateContainerInstancesState :: ContainerInstanceStatus -> UpdateContainerInstancesState
+ Amazonka.ECS: newUpdateContainerInstancesStateResponse :: Int -> UpdateContainerInstancesStateResponse
+ Amazonka.ECS: newUpdateService :: Text -> UpdateService
+ Amazonka.ECS: newUpdateServicePrimaryTaskSet :: Text -> Text -> Text -> UpdateServicePrimaryTaskSet
+ Amazonka.ECS: newUpdateServicePrimaryTaskSetResponse :: Int -> UpdateServicePrimaryTaskSetResponse
+ Amazonka.ECS: newUpdateServiceResponse :: Int -> UpdateServiceResponse
+ Amazonka.ECS: newUpdateTaskProtection :: Text -> Bool -> UpdateTaskProtection
+ Amazonka.ECS: newUpdateTaskProtectionResponse :: Int -> UpdateTaskProtectionResponse
+ Amazonka.ECS: newUpdateTaskSet :: Text -> Text -> Text -> Scale -> UpdateTaskSet
+ Amazonka.ECS: newUpdateTaskSetResponse :: Int -> UpdateTaskSetResponse
+ Amazonka.ECS: newVersionInfo :: VersionInfo
+ Amazonka.ECS: newVolume :: Volume
+ Amazonka.ECS: newVolumeFrom :: VolumeFrom
+ Amazonka.ECS: newtype AgentUpdateStatus
+ Amazonka.ECS: newtype ApplicationProtocol
+ Amazonka.ECS: newtype AssignPublicIp
+ Amazonka.ECS: newtype CPUArchitecture
+ Amazonka.ECS: newtype CapacityProviderField
+ Amazonka.ECS: newtype CapacityProviderStatus
+ Amazonka.ECS: newtype CapacityProviderUpdateStatus
+ Amazonka.ECS: newtype ClusterField
+ Amazonka.ECS: newtype ClusterSettingName
+ Amazonka.ECS: newtype Compatibility
+ Amazonka.ECS: newtype Connectivity
+ Amazonka.ECS: newtype ContainerCondition
+ Amazonka.ECS: newtype ContainerInstanceField
+ Amazonka.ECS: newtype ContainerInstanceStatus
+ Amazonka.ECS: newtype DeploymentControllerType
+ Amazonka.ECS: newtype DeploymentRolloutState
+ Amazonka.ECS: newtype DesiredStatus
+ Amazonka.ECS: newtype DeviceCgroupPermission
+ Amazonka.ECS: newtype EFSAuthorizationConfigIAM
+ Amazonka.ECS: newtype EFSTransitEncryption
+ Amazonka.ECS: newtype EnvironmentFileType
+ Amazonka.ECS: newtype ExecuteCommandLogging
+ Amazonka.ECS: newtype FirelensConfigurationType
+ Amazonka.ECS: newtype HealthStatus
+ Amazonka.ECS: newtype InstanceHealthCheckState
+ Amazonka.ECS: newtype InstanceHealthCheckType
+ Amazonka.ECS: newtype IpcMode
+ Amazonka.ECS: newtype LaunchType
+ Amazonka.ECS: newtype LogDriver
+ Amazonka.ECS: newtype ManagedAgentName
+ Amazonka.ECS: newtype ManagedScalingStatus
+ Amazonka.ECS: newtype ManagedTerminationProtection
+ Amazonka.ECS: newtype NetworkMode
+ Amazonka.ECS: newtype OSFamily
+ Amazonka.ECS: newtype PidMode
+ Amazonka.ECS: newtype PlacementConstraintType
+ Amazonka.ECS: newtype PlacementStrategyType
+ Amazonka.ECS: newtype PlatformDeviceType
+ Amazonka.ECS: newtype PropagateTags
+ Amazonka.ECS: newtype ProxyConfigurationType
+ Amazonka.ECS: newtype ResourceType
+ Amazonka.ECS: newtype ScaleUnit
+ Amazonka.ECS: newtype SchedulingStrategy
+ Amazonka.ECS: newtype Scope
+ Amazonka.ECS: newtype ServiceField
+ Amazonka.ECS: newtype SettingName
+ Amazonka.ECS: newtype SortOrder
+ Amazonka.ECS: newtype StabilityStatus
+ Amazonka.ECS: newtype TargetType
+ Amazonka.ECS: newtype TaskDefinitionFamilyStatus
+ Amazonka.ECS: newtype TaskDefinitionField
+ Amazonka.ECS: newtype TaskDefinitionPlacementConstraintType
+ Amazonka.ECS: newtype TaskDefinitionStatus
+ Amazonka.ECS: newtype TaskField
+ Amazonka.ECS: newtype TaskSetField
+ Amazonka.ECS: newtype TaskStopCode
+ Amazonka.ECS: newtype TransportProtocol
+ Amazonka.ECS: newtype UlimitName
+ Amazonka.ECS: pattern AgentUpdateStatus_FAILED :: AgentUpdateStatus
+ Amazonka.ECS: pattern AgentUpdateStatus_PENDING :: AgentUpdateStatus
+ Amazonka.ECS: pattern AgentUpdateStatus_STAGED :: AgentUpdateStatus
+ Amazonka.ECS: pattern AgentUpdateStatus_STAGING :: AgentUpdateStatus
+ Amazonka.ECS: pattern AgentUpdateStatus_UPDATED :: AgentUpdateStatus
+ Amazonka.ECS: pattern AgentUpdateStatus_UPDATING :: AgentUpdateStatus
+ Amazonka.ECS: pattern ApplicationProtocol_Grpc :: ApplicationProtocol
+ Amazonka.ECS: pattern ApplicationProtocol_Http :: ApplicationProtocol
+ Amazonka.ECS: pattern ApplicationProtocol_Http2 :: ApplicationProtocol
+ Amazonka.ECS: pattern AssignPublicIp_DISABLED :: AssignPublicIp
+ Amazonka.ECS: pattern AssignPublicIp_ENABLED :: AssignPublicIp
+ Amazonka.ECS: pattern CPUArchitecture_ARM64 :: CPUArchitecture
+ Amazonka.ECS: pattern CPUArchitecture_X86_64 :: CPUArchitecture
+ Amazonka.ECS: pattern CapacityProviderField_TAGS :: CapacityProviderField
+ Amazonka.ECS: pattern CapacityProviderStatus_ACTIVE :: CapacityProviderStatus
+ Amazonka.ECS: pattern CapacityProviderStatus_INACTIVE :: CapacityProviderStatus
+ Amazonka.ECS: pattern CapacityProviderUpdateStatus_DELETE_COMPLETE :: CapacityProviderUpdateStatus
+ Amazonka.ECS: pattern CapacityProviderUpdateStatus_DELETE_FAILED :: CapacityProviderUpdateStatus
+ Amazonka.ECS: pattern CapacityProviderUpdateStatus_DELETE_IN_PROGRESS :: CapacityProviderUpdateStatus
+ Amazonka.ECS: pattern CapacityProviderUpdateStatus_UPDATE_COMPLETE :: CapacityProviderUpdateStatus
+ Amazonka.ECS: pattern CapacityProviderUpdateStatus_UPDATE_FAILED :: CapacityProviderUpdateStatus
+ Amazonka.ECS: pattern CapacityProviderUpdateStatus_UPDATE_IN_PROGRESS :: CapacityProviderUpdateStatus
+ Amazonka.ECS: pattern ClusterField_ATTACHMENTS :: ClusterField
+ Amazonka.ECS: pattern ClusterField_CONFIGURATIONS :: ClusterField
+ Amazonka.ECS: pattern ClusterField_SETTINGS :: ClusterField
+ Amazonka.ECS: pattern ClusterField_STATISTICS :: ClusterField
+ Amazonka.ECS: pattern ClusterField_TAGS :: ClusterField
+ Amazonka.ECS: pattern ClusterSettingName_ContainerInsights :: ClusterSettingName
+ Amazonka.ECS: pattern Compatibility_EC2 :: Compatibility
+ Amazonka.ECS: pattern Compatibility_EXTERNAL :: Compatibility
+ Amazonka.ECS: pattern Compatibility_FARGATE :: Compatibility
+ Amazonka.ECS: pattern Connectivity_CONNECTED :: Connectivity
+ Amazonka.ECS: pattern Connectivity_DISCONNECTED :: Connectivity
+ Amazonka.ECS: pattern ContainerCondition_COMPLETE :: ContainerCondition
+ Amazonka.ECS: pattern ContainerCondition_HEALTHY :: ContainerCondition
+ Amazonka.ECS: pattern ContainerCondition_START :: ContainerCondition
+ Amazonka.ECS: pattern ContainerCondition_SUCCESS :: ContainerCondition
+ Amazonka.ECS: pattern ContainerInstanceField_CONTAINER_INSTANCE_HEALTH :: ContainerInstanceField
+ Amazonka.ECS: pattern ContainerInstanceField_TAGS :: ContainerInstanceField
+ Amazonka.ECS: pattern ContainerInstanceStatus_ACTIVE :: ContainerInstanceStatus
+ Amazonka.ECS: pattern ContainerInstanceStatus_DEREGISTERING :: ContainerInstanceStatus
+ Amazonka.ECS: pattern ContainerInstanceStatus_DRAINING :: ContainerInstanceStatus
+ Amazonka.ECS: pattern ContainerInstanceStatus_REGISTERING :: ContainerInstanceStatus
+ Amazonka.ECS: pattern ContainerInstanceStatus_REGISTRATION_FAILED :: ContainerInstanceStatus
+ Amazonka.ECS: pattern DeploymentControllerType_CODE_DEPLOY :: DeploymentControllerType
+ Amazonka.ECS: pattern DeploymentControllerType_ECS :: DeploymentControllerType
+ Amazonka.ECS: pattern DeploymentControllerType_EXTERNAL :: DeploymentControllerType
+ Amazonka.ECS: pattern DeploymentRolloutState_COMPLETED :: DeploymentRolloutState
+ Amazonka.ECS: pattern DeploymentRolloutState_FAILED :: DeploymentRolloutState
+ Amazonka.ECS: pattern DeploymentRolloutState_IN_PROGRESS :: DeploymentRolloutState
+ Amazonka.ECS: pattern DesiredStatus_PENDING :: DesiredStatus
+ Amazonka.ECS: pattern DesiredStatus_RUNNING :: DesiredStatus
+ Amazonka.ECS: pattern DesiredStatus_STOPPED :: DesiredStatus
+ Amazonka.ECS: pattern DeviceCgroupPermission_Mknod :: DeviceCgroupPermission
+ Amazonka.ECS: pattern DeviceCgroupPermission_Read :: DeviceCgroupPermission
+ Amazonka.ECS: pattern DeviceCgroupPermission_Write :: DeviceCgroupPermission
+ Amazonka.ECS: pattern EFSAuthorizationConfigIAM_DISABLED :: EFSAuthorizationConfigIAM
+ Amazonka.ECS: pattern EFSAuthorizationConfigIAM_ENABLED :: EFSAuthorizationConfigIAM
+ Amazonka.ECS: pattern EFSTransitEncryption_DISABLED :: EFSTransitEncryption
+ Amazonka.ECS: pattern EFSTransitEncryption_ENABLED :: EFSTransitEncryption
+ Amazonka.ECS: pattern EnvironmentFileType_S3 :: EnvironmentFileType
+ Amazonka.ECS: pattern ExecuteCommandLogging_DEFAULT :: ExecuteCommandLogging
+ Amazonka.ECS: pattern ExecuteCommandLogging_NONE :: ExecuteCommandLogging
+ Amazonka.ECS: pattern ExecuteCommandLogging_OVERRIDE :: ExecuteCommandLogging
+ Amazonka.ECS: pattern FirelensConfigurationType_Fluentbit :: FirelensConfigurationType
+ Amazonka.ECS: pattern FirelensConfigurationType_Fluentd :: FirelensConfigurationType
+ Amazonka.ECS: pattern HealthStatus_HEALTHY :: HealthStatus
+ Amazonka.ECS: pattern HealthStatus_UNHEALTHY :: HealthStatus
+ Amazonka.ECS: pattern HealthStatus_UNKNOWN :: HealthStatus
+ Amazonka.ECS: pattern InstanceHealthCheckState_IMPAIRED :: InstanceHealthCheckState
+ Amazonka.ECS: pattern InstanceHealthCheckState_INITIALIZING :: InstanceHealthCheckState
+ Amazonka.ECS: pattern InstanceHealthCheckState_INSUFFICIENT_DATA :: InstanceHealthCheckState
+ Amazonka.ECS: pattern InstanceHealthCheckState_OK :: InstanceHealthCheckState
+ Amazonka.ECS: pattern InstanceHealthCheckType_CONTAINER_RUNTIME :: InstanceHealthCheckType
+ Amazonka.ECS: pattern IpcMode_Host :: IpcMode
+ Amazonka.ECS: pattern IpcMode_None :: IpcMode
+ Amazonka.ECS: pattern IpcMode_Task :: IpcMode
+ Amazonka.ECS: pattern LaunchType_EC2 :: LaunchType
+ Amazonka.ECS: pattern LaunchType_EXTERNAL :: LaunchType
+ Amazonka.ECS: pattern LaunchType_FARGATE :: LaunchType
+ Amazonka.ECS: pattern LogDriver_Awsfirelens :: LogDriver
+ Amazonka.ECS: pattern LogDriver_Awslogs :: LogDriver
+ Amazonka.ECS: pattern LogDriver_Fluentd :: LogDriver
+ Amazonka.ECS: pattern LogDriver_Gelf :: LogDriver
+ Amazonka.ECS: pattern LogDriver_Journald :: LogDriver
+ Amazonka.ECS: pattern LogDriver_Json_file :: LogDriver
+ Amazonka.ECS: pattern LogDriver_Splunk :: LogDriver
+ Amazonka.ECS: pattern LogDriver_Syslog :: LogDriver
+ Amazonka.ECS: pattern ManagedAgentName_ExecuteCommandAgent :: ManagedAgentName
+ Amazonka.ECS: pattern ManagedScalingStatus_DISABLED :: ManagedScalingStatus
+ Amazonka.ECS: pattern ManagedScalingStatus_ENABLED :: ManagedScalingStatus
+ Amazonka.ECS: pattern ManagedTerminationProtection_DISABLED :: ManagedTerminationProtection
+ Amazonka.ECS: pattern ManagedTerminationProtection_ENABLED :: ManagedTerminationProtection
+ Amazonka.ECS: pattern NetworkMode_Awsvpc :: NetworkMode
+ Amazonka.ECS: pattern NetworkMode_Bridge :: NetworkMode
+ Amazonka.ECS: pattern NetworkMode_Host :: NetworkMode
+ Amazonka.ECS: pattern NetworkMode_None :: NetworkMode
+ Amazonka.ECS: pattern OSFamily_LINUX :: OSFamily
+ Amazonka.ECS: pattern OSFamily_WINDOWS_SERVER_2004_CORE :: OSFamily
+ Amazonka.ECS: pattern OSFamily_WINDOWS_SERVER_2016_FULL :: OSFamily
+ Amazonka.ECS: pattern OSFamily_WINDOWS_SERVER_2019_CORE :: OSFamily
+ Amazonka.ECS: pattern OSFamily_WINDOWS_SERVER_2019_FULL :: OSFamily
+ Amazonka.ECS: pattern OSFamily_WINDOWS_SERVER_2022_CORE :: OSFamily
+ Amazonka.ECS: pattern OSFamily_WINDOWS_SERVER_2022_FULL :: OSFamily
+ Amazonka.ECS: pattern OSFamily_WINDOWS_SERVER_20H2_CORE :: OSFamily
+ Amazonka.ECS: pattern PidMode_Host :: PidMode
+ Amazonka.ECS: pattern PidMode_Task :: PidMode
+ Amazonka.ECS: pattern PlacementConstraintType_DistinctInstance :: PlacementConstraintType
+ Amazonka.ECS: pattern PlacementConstraintType_MemberOf :: PlacementConstraintType
+ Amazonka.ECS: pattern PlacementStrategyType_Binpack :: PlacementStrategyType
+ Amazonka.ECS: pattern PlacementStrategyType_Random :: PlacementStrategyType
+ Amazonka.ECS: pattern PlacementStrategyType_Spread :: PlacementStrategyType
+ Amazonka.ECS: pattern PlatformDeviceType_GPU :: PlatformDeviceType
+ Amazonka.ECS: pattern PropagateTags_NONE :: PropagateTags
+ Amazonka.ECS: pattern PropagateTags_SERVICE :: PropagateTags
+ Amazonka.ECS: pattern PropagateTags_TASK_DEFINITION :: PropagateTags
+ Amazonka.ECS: pattern ProxyConfigurationType_APPMESH :: ProxyConfigurationType
+ Amazonka.ECS: pattern ResourceType_GPU :: ResourceType
+ Amazonka.ECS: pattern ResourceType_InferenceAccelerator :: ResourceType
+ Amazonka.ECS: pattern ScaleUnit_PERCENT :: ScaleUnit
+ Amazonka.ECS: pattern SchedulingStrategy_DAEMON :: SchedulingStrategy
+ Amazonka.ECS: pattern SchedulingStrategy_REPLICA :: SchedulingStrategy
+ Amazonka.ECS: pattern Scope_Shared :: Scope
+ Amazonka.ECS: pattern Scope_Task :: Scope
+ Amazonka.ECS: pattern ServiceField_TAGS :: ServiceField
+ Amazonka.ECS: pattern SettingName_AwsvpcTrunking :: SettingName
+ Amazonka.ECS: pattern SettingName_ContainerInsights :: SettingName
+ Amazonka.ECS: pattern SettingName_ContainerInstanceLongArnFormat :: SettingName
+ Amazonka.ECS: pattern SettingName_ServiceLongArnFormat :: SettingName
+ Amazonka.ECS: pattern SettingName_TaskLongArnFormat :: SettingName
+ Amazonka.ECS: pattern SortOrder_ASC :: SortOrder
+ Amazonka.ECS: pattern SortOrder_DESC :: SortOrder
+ Amazonka.ECS: pattern StabilityStatus_STABILIZING :: StabilityStatus
+ Amazonka.ECS: pattern StabilityStatus_STEADY_STATE :: StabilityStatus
+ Amazonka.ECS: pattern TargetType_Container_instance :: TargetType
+ Amazonka.ECS: pattern TaskDefinitionFamilyStatus_ACTIVE :: TaskDefinitionFamilyStatus
+ Amazonka.ECS: pattern TaskDefinitionFamilyStatus_ALL :: TaskDefinitionFamilyStatus
+ Amazonka.ECS: pattern TaskDefinitionFamilyStatus_INACTIVE :: TaskDefinitionFamilyStatus
+ Amazonka.ECS: pattern TaskDefinitionField_TAGS :: TaskDefinitionField
+ Amazonka.ECS: pattern TaskDefinitionPlacementConstraintType_MemberOf :: TaskDefinitionPlacementConstraintType
+ Amazonka.ECS: pattern TaskDefinitionStatus_ACTIVE :: TaskDefinitionStatus
+ Amazonka.ECS: pattern TaskDefinitionStatus_INACTIVE :: TaskDefinitionStatus
+ Amazonka.ECS: pattern TaskField_TAGS :: TaskField
+ Amazonka.ECS: pattern TaskSetField_TAGS :: TaskSetField
+ Amazonka.ECS: pattern TaskStopCode_EssentialContainerExited :: TaskStopCode
+ Amazonka.ECS: pattern TaskStopCode_ServiceSchedulerInitiated :: TaskStopCode
+ Amazonka.ECS: pattern TaskStopCode_SpotInterruption :: TaskStopCode
+ Amazonka.ECS: pattern TaskStopCode_TaskFailedToStart :: TaskStopCode
+ Amazonka.ECS: pattern TaskStopCode_TerminationNotice :: TaskStopCode
+ Amazonka.ECS: pattern TaskStopCode_UserInitiated :: TaskStopCode
+ Amazonka.ECS: pattern TransportProtocol_Tcp :: TransportProtocol
+ Amazonka.ECS: pattern TransportProtocol_Udp :: TransportProtocol
+ Amazonka.ECS: pattern UlimitName_Core :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Cpu :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Data :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Fsize :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Locks :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Memlock :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Msgqueue :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Nice :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Nofile :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Nproc :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Rss :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Rtprio :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Rttime :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Sigpending :: UlimitName
+ Amazonka.ECS: pattern UlimitName_Stack :: UlimitName
+ Amazonka.ECS.CreateCapacityProvider: CreateCapacityProvider' :: Maybe [Tag] -> Text -> AutoScalingGroupProvider -> CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: CreateCapacityProviderResponse' :: Maybe CapacityProvider -> Int -> CreateCapacityProviderResponse
+ Amazonka.ECS.CreateCapacityProvider: [$sel:autoScalingGroupProvider:CreateCapacityProvider'] :: CreateCapacityProvider -> AutoScalingGroupProvider
+ Amazonka.ECS.CreateCapacityProvider: [$sel:capacityProvider:CreateCapacityProviderResponse'] :: CreateCapacityProviderResponse -> Maybe CapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: [$sel:httpStatus:CreateCapacityProviderResponse'] :: CreateCapacityProviderResponse -> Int
+ Amazonka.ECS.CreateCapacityProvider: [$sel:name:CreateCapacityProvider'] :: CreateCapacityProvider -> Text
+ Amazonka.ECS.CreateCapacityProvider: [$sel:tags:CreateCapacityProvider'] :: CreateCapacityProvider -> Maybe [Tag]
+ Amazonka.ECS.CreateCapacityProvider: createCapacityProviderResponse_capacityProvider :: Lens' CreateCapacityProviderResponse (Maybe CapacityProvider)
+ Amazonka.ECS.CreateCapacityProvider: createCapacityProviderResponse_httpStatus :: Lens' CreateCapacityProviderResponse Int
+ Amazonka.ECS.CreateCapacityProvider: createCapacityProvider_autoScalingGroupProvider :: Lens' CreateCapacityProvider AutoScalingGroupProvider
+ Amazonka.ECS.CreateCapacityProvider: createCapacityProvider_name :: Lens' CreateCapacityProvider Text
+ Amazonka.ECS.CreateCapacityProvider: createCapacityProvider_tags :: Lens' CreateCapacityProvider (Maybe [Tag])
+ Amazonka.ECS.CreateCapacityProvider: data CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: data CreateCapacityProviderResponse
+ Amazonka.ECS.CreateCapacityProvider: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.CreateCapacityProvider.CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: instance Amazonka.Data.Path.ToPath Amazonka.ECS.CreateCapacityProvider.CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.CreateCapacityProvider.CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: instance Amazonka.Types.AWSRequest Amazonka.ECS.CreateCapacityProvider.CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: instance Control.DeepSeq.NFData Amazonka.ECS.CreateCapacityProvider.CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: instance Control.DeepSeq.NFData Amazonka.ECS.CreateCapacityProvider.CreateCapacityProviderResponse
+ Amazonka.ECS.CreateCapacityProvider: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.CreateCapacityProvider.CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: instance Data.Hashable.Class.Hashable Amazonka.ECS.CreateCapacityProvider.CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: instance GHC.Classes.Eq Amazonka.ECS.CreateCapacityProvider.CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: instance GHC.Classes.Eq Amazonka.ECS.CreateCapacityProvider.CreateCapacityProviderResponse
+ Amazonka.ECS.CreateCapacityProvider: instance GHC.Generics.Generic Amazonka.ECS.CreateCapacityProvider.CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: instance GHC.Generics.Generic Amazonka.ECS.CreateCapacityProvider.CreateCapacityProviderResponse
+ Amazonka.ECS.CreateCapacityProvider: instance GHC.Read.Read Amazonka.ECS.CreateCapacityProvider.CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: instance GHC.Read.Read Amazonka.ECS.CreateCapacityProvider.CreateCapacityProviderResponse
+ Amazonka.ECS.CreateCapacityProvider: instance GHC.Show.Show Amazonka.ECS.CreateCapacityProvider.CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: instance GHC.Show.Show Amazonka.ECS.CreateCapacityProvider.CreateCapacityProviderResponse
+ Amazonka.ECS.CreateCapacityProvider: newCreateCapacityProvider :: Text -> AutoScalingGroupProvider -> CreateCapacityProvider
+ Amazonka.ECS.CreateCapacityProvider: newCreateCapacityProviderResponse :: Int -> CreateCapacityProviderResponse
+ Amazonka.ECS.CreateCluster: CreateCluster' :: Maybe [Text] -> Maybe Text -> Maybe ClusterConfiguration -> Maybe [CapacityProviderStrategyItem] -> Maybe ClusterServiceConnectDefaultsRequest -> Maybe [ClusterSetting] -> Maybe [Tag] -> CreateCluster
+ Amazonka.ECS.CreateCluster: CreateClusterResponse' :: Maybe Cluster -> Int -> CreateClusterResponse
+ Amazonka.ECS.CreateCluster: [$sel:capacityProviders:CreateCluster'] :: CreateCluster -> Maybe [Text]
+ Amazonka.ECS.CreateCluster: [$sel:cluster:CreateClusterResponse'] :: CreateClusterResponse -> Maybe Cluster
+ Amazonka.ECS.CreateCluster: [$sel:clusterName:CreateCluster'] :: CreateCluster -> Maybe Text
+ Amazonka.ECS.CreateCluster: [$sel:configuration:CreateCluster'] :: CreateCluster -> Maybe ClusterConfiguration
+ Amazonka.ECS.CreateCluster: [$sel:defaultCapacityProviderStrategy:CreateCluster'] :: CreateCluster -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.CreateCluster: [$sel:httpStatus:CreateClusterResponse'] :: CreateClusterResponse -> Int
+ Amazonka.ECS.CreateCluster: [$sel:serviceConnectDefaults:CreateCluster'] :: CreateCluster -> Maybe ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.CreateCluster: [$sel:settings:CreateCluster'] :: CreateCluster -> Maybe [ClusterSetting]
+ Amazonka.ECS.CreateCluster: [$sel:tags:CreateCluster'] :: CreateCluster -> Maybe [Tag]
+ Amazonka.ECS.CreateCluster: createClusterResponse_cluster :: Lens' CreateClusterResponse (Maybe Cluster)
+ Amazonka.ECS.CreateCluster: createClusterResponse_httpStatus :: Lens' CreateClusterResponse Int
+ Amazonka.ECS.CreateCluster: createCluster_capacityProviders :: Lens' CreateCluster (Maybe [Text])
+ Amazonka.ECS.CreateCluster: createCluster_clusterName :: Lens' CreateCluster (Maybe Text)
+ Amazonka.ECS.CreateCluster: createCluster_configuration :: Lens' CreateCluster (Maybe ClusterConfiguration)
+ Amazonka.ECS.CreateCluster: createCluster_defaultCapacityProviderStrategy :: Lens' CreateCluster (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.CreateCluster: createCluster_serviceConnectDefaults :: Lens' CreateCluster (Maybe ClusterServiceConnectDefaultsRequest)
+ Amazonka.ECS.CreateCluster: createCluster_settings :: Lens' CreateCluster (Maybe [ClusterSetting])
+ Amazonka.ECS.CreateCluster: createCluster_tags :: Lens' CreateCluster (Maybe [Tag])
+ Amazonka.ECS.CreateCluster: data CreateCluster
+ Amazonka.ECS.CreateCluster: data CreateClusterResponse
+ Amazonka.ECS.CreateCluster: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.CreateCluster.CreateCluster
+ Amazonka.ECS.CreateCluster: instance Amazonka.Data.Path.ToPath Amazonka.ECS.CreateCluster.CreateCluster
+ Amazonka.ECS.CreateCluster: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.CreateCluster.CreateCluster
+ Amazonka.ECS.CreateCluster: instance Amazonka.Types.AWSRequest Amazonka.ECS.CreateCluster.CreateCluster
+ Amazonka.ECS.CreateCluster: instance Control.DeepSeq.NFData Amazonka.ECS.CreateCluster.CreateCluster
+ Amazonka.ECS.CreateCluster: instance Control.DeepSeq.NFData Amazonka.ECS.CreateCluster.CreateClusterResponse
+ Amazonka.ECS.CreateCluster: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.CreateCluster.CreateCluster
+ Amazonka.ECS.CreateCluster: instance Data.Hashable.Class.Hashable Amazonka.ECS.CreateCluster.CreateCluster
+ Amazonka.ECS.CreateCluster: instance GHC.Classes.Eq Amazonka.ECS.CreateCluster.CreateCluster
+ Amazonka.ECS.CreateCluster: instance GHC.Classes.Eq Amazonka.ECS.CreateCluster.CreateClusterResponse
+ Amazonka.ECS.CreateCluster: instance GHC.Generics.Generic Amazonka.ECS.CreateCluster.CreateCluster
+ Amazonka.ECS.CreateCluster: instance GHC.Generics.Generic Amazonka.ECS.CreateCluster.CreateClusterResponse
+ Amazonka.ECS.CreateCluster: instance GHC.Read.Read Amazonka.ECS.CreateCluster.CreateCluster
+ Amazonka.ECS.CreateCluster: instance GHC.Read.Read Amazonka.ECS.CreateCluster.CreateClusterResponse
+ Amazonka.ECS.CreateCluster: instance GHC.Show.Show Amazonka.ECS.CreateCluster.CreateCluster
+ Amazonka.ECS.CreateCluster: instance GHC.Show.Show Amazonka.ECS.CreateCluster.CreateClusterResponse
+ Amazonka.ECS.CreateCluster: newCreateCluster :: CreateCluster
+ Amazonka.ECS.CreateCluster: newCreateClusterResponse :: Int -> CreateClusterResponse
+ Amazonka.ECS.CreateService: CreateService' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe Text -> Maybe DeploymentConfiguration -> Maybe DeploymentController -> Maybe Int -> Maybe Bool -> Maybe Bool -> Maybe Int -> Maybe LaunchType -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe PropagateTags -> Maybe Text -> Maybe SchedulingStrategy -> Maybe ServiceConnectConfiguration -> Maybe [ServiceRegistry] -> Maybe [Tag] -> Maybe Text -> Text -> CreateService
+ Amazonka.ECS.CreateService: CreateServiceResponse' :: Maybe ContainerService -> Int -> CreateServiceResponse
+ Amazonka.ECS.CreateService: [$sel:capacityProviderStrategy:CreateService'] :: CreateService -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.CreateService: [$sel:clientToken:CreateService'] :: CreateService -> Maybe Text
+ Amazonka.ECS.CreateService: [$sel:cluster:CreateService'] :: CreateService -> Maybe Text
+ Amazonka.ECS.CreateService: [$sel:deploymentConfiguration:CreateService'] :: CreateService -> Maybe DeploymentConfiguration
+ Amazonka.ECS.CreateService: [$sel:deploymentController:CreateService'] :: CreateService -> Maybe DeploymentController
+ Amazonka.ECS.CreateService: [$sel:desiredCount:CreateService'] :: CreateService -> Maybe Int
+ Amazonka.ECS.CreateService: [$sel:enableECSManagedTags:CreateService'] :: CreateService -> Maybe Bool
+ Amazonka.ECS.CreateService: [$sel:enableExecuteCommand:CreateService'] :: CreateService -> Maybe Bool
+ Amazonka.ECS.CreateService: [$sel:healthCheckGracePeriodSeconds:CreateService'] :: CreateService -> Maybe Int
+ Amazonka.ECS.CreateService: [$sel:httpStatus:CreateServiceResponse'] :: CreateServiceResponse -> Int
+ Amazonka.ECS.CreateService: [$sel:launchType:CreateService'] :: CreateService -> Maybe LaunchType
+ Amazonka.ECS.CreateService: [$sel:loadBalancers:CreateService'] :: CreateService -> Maybe [LoadBalancer]
+ Amazonka.ECS.CreateService: [$sel:networkConfiguration:CreateService'] :: CreateService -> Maybe NetworkConfiguration
+ Amazonka.ECS.CreateService: [$sel:placementConstraints:CreateService'] :: CreateService -> Maybe [PlacementConstraint]
+ Amazonka.ECS.CreateService: [$sel:placementStrategy:CreateService'] :: CreateService -> Maybe [PlacementStrategy]
+ Amazonka.ECS.CreateService: [$sel:platformVersion:CreateService'] :: CreateService -> Maybe Text
+ Amazonka.ECS.CreateService: [$sel:propagateTags:CreateService'] :: CreateService -> Maybe PropagateTags
+ Amazonka.ECS.CreateService: [$sel:role':CreateService'] :: CreateService -> Maybe Text
+ Amazonka.ECS.CreateService: [$sel:schedulingStrategy:CreateService'] :: CreateService -> Maybe SchedulingStrategy
+ Amazonka.ECS.CreateService: [$sel:service:CreateServiceResponse'] :: CreateServiceResponse -> Maybe ContainerService
+ Amazonka.ECS.CreateService: [$sel:serviceConnectConfiguration:CreateService'] :: CreateService -> Maybe ServiceConnectConfiguration
+ Amazonka.ECS.CreateService: [$sel:serviceName:CreateService'] :: CreateService -> Text
+ Amazonka.ECS.CreateService: [$sel:serviceRegistries:CreateService'] :: CreateService -> Maybe [ServiceRegistry]
+ Amazonka.ECS.CreateService: [$sel:tags:CreateService'] :: CreateService -> Maybe [Tag]
+ Amazonka.ECS.CreateService: [$sel:taskDefinition:CreateService'] :: CreateService -> Maybe Text
+ Amazonka.ECS.CreateService: createServiceResponse_httpStatus :: Lens' CreateServiceResponse Int
+ Amazonka.ECS.CreateService: createServiceResponse_service :: Lens' CreateServiceResponse (Maybe ContainerService)
+ Amazonka.ECS.CreateService: createService_capacityProviderStrategy :: Lens' CreateService (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.CreateService: createService_clientToken :: Lens' CreateService (Maybe Text)
+ Amazonka.ECS.CreateService: createService_cluster :: Lens' CreateService (Maybe Text)
+ Amazonka.ECS.CreateService: createService_deploymentConfiguration :: Lens' CreateService (Maybe DeploymentConfiguration)
+ Amazonka.ECS.CreateService: createService_deploymentController :: Lens' CreateService (Maybe DeploymentController)
+ Amazonka.ECS.CreateService: createService_desiredCount :: Lens' CreateService (Maybe Int)
+ Amazonka.ECS.CreateService: createService_enableECSManagedTags :: Lens' CreateService (Maybe Bool)
+ Amazonka.ECS.CreateService: createService_enableExecuteCommand :: Lens' CreateService (Maybe Bool)
+ Amazonka.ECS.CreateService: createService_healthCheckGracePeriodSeconds :: Lens' CreateService (Maybe Int)
+ Amazonka.ECS.CreateService: createService_launchType :: Lens' CreateService (Maybe LaunchType)
+ Amazonka.ECS.CreateService: createService_loadBalancers :: Lens' CreateService (Maybe [LoadBalancer])
+ Amazonka.ECS.CreateService: createService_networkConfiguration :: Lens' CreateService (Maybe NetworkConfiguration)
+ Amazonka.ECS.CreateService: createService_placementConstraints :: Lens' CreateService (Maybe [PlacementConstraint])
+ Amazonka.ECS.CreateService: createService_placementStrategy :: Lens' CreateService (Maybe [PlacementStrategy])
+ Amazonka.ECS.CreateService: createService_platformVersion :: Lens' CreateService (Maybe Text)
+ Amazonka.ECS.CreateService: createService_propagateTags :: Lens' CreateService (Maybe PropagateTags)
+ Amazonka.ECS.CreateService: createService_role :: Lens' CreateService (Maybe Text)
+ Amazonka.ECS.CreateService: createService_schedulingStrategy :: Lens' CreateService (Maybe SchedulingStrategy)
+ Amazonka.ECS.CreateService: createService_serviceConnectConfiguration :: Lens' CreateService (Maybe ServiceConnectConfiguration)
+ Amazonka.ECS.CreateService: createService_serviceName :: Lens' CreateService Text
+ Amazonka.ECS.CreateService: createService_serviceRegistries :: Lens' CreateService (Maybe [ServiceRegistry])
+ Amazonka.ECS.CreateService: createService_tags :: Lens' CreateService (Maybe [Tag])
+ Amazonka.ECS.CreateService: createService_taskDefinition :: Lens' CreateService (Maybe Text)
+ Amazonka.ECS.CreateService: data CreateService
+ Amazonka.ECS.CreateService: data CreateServiceResponse
+ Amazonka.ECS.CreateService: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.CreateService.CreateService
+ Amazonka.ECS.CreateService: instance Amazonka.Data.Path.ToPath Amazonka.ECS.CreateService.CreateService
+ Amazonka.ECS.CreateService: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.CreateService.CreateService
+ Amazonka.ECS.CreateService: instance Amazonka.Types.AWSRequest Amazonka.ECS.CreateService.CreateService
+ Amazonka.ECS.CreateService: instance Control.DeepSeq.NFData Amazonka.ECS.CreateService.CreateService
+ Amazonka.ECS.CreateService: instance Control.DeepSeq.NFData Amazonka.ECS.CreateService.CreateServiceResponse
+ Amazonka.ECS.CreateService: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.CreateService.CreateService
+ Amazonka.ECS.CreateService: instance Data.Hashable.Class.Hashable Amazonka.ECS.CreateService.CreateService
+ Amazonka.ECS.CreateService: instance GHC.Classes.Eq Amazonka.ECS.CreateService.CreateService
+ Amazonka.ECS.CreateService: instance GHC.Classes.Eq Amazonka.ECS.CreateService.CreateServiceResponse
+ Amazonka.ECS.CreateService: instance GHC.Generics.Generic Amazonka.ECS.CreateService.CreateService
+ Amazonka.ECS.CreateService: instance GHC.Generics.Generic Amazonka.ECS.CreateService.CreateServiceResponse
+ Amazonka.ECS.CreateService: instance GHC.Read.Read Amazonka.ECS.CreateService.CreateService
+ Amazonka.ECS.CreateService: instance GHC.Read.Read Amazonka.ECS.CreateService.CreateServiceResponse
+ Amazonka.ECS.CreateService: instance GHC.Show.Show Amazonka.ECS.CreateService.CreateService
+ Amazonka.ECS.CreateService: instance GHC.Show.Show Amazonka.ECS.CreateService.CreateServiceResponse
+ Amazonka.ECS.CreateService: newCreateService :: Text -> CreateService
+ Amazonka.ECS.CreateService: newCreateServiceResponse :: Int -> CreateServiceResponse
+ Amazonka.ECS.CreateTaskSet: CreateTaskSet' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe Text -> Maybe LaunchType -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe Text -> Maybe Scale -> Maybe [ServiceRegistry] -> Maybe [Tag] -> Text -> Text -> Text -> CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: CreateTaskSetResponse' :: Maybe TaskSet -> Int -> CreateTaskSetResponse
+ Amazonka.ECS.CreateTaskSet: [$sel:capacityProviderStrategy:CreateTaskSet'] :: CreateTaskSet -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.CreateTaskSet: [$sel:clientToken:CreateTaskSet'] :: CreateTaskSet -> Maybe Text
+ Amazonka.ECS.CreateTaskSet: [$sel:cluster:CreateTaskSet'] :: CreateTaskSet -> Text
+ Amazonka.ECS.CreateTaskSet: [$sel:externalId:CreateTaskSet'] :: CreateTaskSet -> Maybe Text
+ Amazonka.ECS.CreateTaskSet: [$sel:httpStatus:CreateTaskSetResponse'] :: CreateTaskSetResponse -> Int
+ Amazonka.ECS.CreateTaskSet: [$sel:launchType:CreateTaskSet'] :: CreateTaskSet -> Maybe LaunchType
+ Amazonka.ECS.CreateTaskSet: [$sel:loadBalancers:CreateTaskSet'] :: CreateTaskSet -> Maybe [LoadBalancer]
+ Amazonka.ECS.CreateTaskSet: [$sel:networkConfiguration:CreateTaskSet'] :: CreateTaskSet -> Maybe NetworkConfiguration
+ Amazonka.ECS.CreateTaskSet: [$sel:platformVersion:CreateTaskSet'] :: CreateTaskSet -> Maybe Text
+ Amazonka.ECS.CreateTaskSet: [$sel:scale:CreateTaskSet'] :: CreateTaskSet -> Maybe Scale
+ Amazonka.ECS.CreateTaskSet: [$sel:service:CreateTaskSet'] :: CreateTaskSet -> Text
+ Amazonka.ECS.CreateTaskSet: [$sel:serviceRegistries:CreateTaskSet'] :: CreateTaskSet -> Maybe [ServiceRegistry]
+ Amazonka.ECS.CreateTaskSet: [$sel:tags:CreateTaskSet'] :: CreateTaskSet -> Maybe [Tag]
+ Amazonka.ECS.CreateTaskSet: [$sel:taskDefinition:CreateTaskSet'] :: CreateTaskSet -> Text
+ Amazonka.ECS.CreateTaskSet: [$sel:taskSet:CreateTaskSetResponse'] :: CreateTaskSetResponse -> Maybe TaskSet
+ Amazonka.ECS.CreateTaskSet: createTaskSetResponse_httpStatus :: Lens' CreateTaskSetResponse Int
+ Amazonka.ECS.CreateTaskSet: createTaskSetResponse_taskSet :: Lens' CreateTaskSetResponse (Maybe TaskSet)
+ Amazonka.ECS.CreateTaskSet: createTaskSet_capacityProviderStrategy :: Lens' CreateTaskSet (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.CreateTaskSet: createTaskSet_clientToken :: Lens' CreateTaskSet (Maybe Text)
+ Amazonka.ECS.CreateTaskSet: createTaskSet_cluster :: Lens' CreateTaskSet Text
+ Amazonka.ECS.CreateTaskSet: createTaskSet_externalId :: Lens' CreateTaskSet (Maybe Text)
+ Amazonka.ECS.CreateTaskSet: createTaskSet_launchType :: Lens' CreateTaskSet (Maybe LaunchType)
+ Amazonka.ECS.CreateTaskSet: createTaskSet_loadBalancers :: Lens' CreateTaskSet (Maybe [LoadBalancer])
+ Amazonka.ECS.CreateTaskSet: createTaskSet_networkConfiguration :: Lens' CreateTaskSet (Maybe NetworkConfiguration)
+ Amazonka.ECS.CreateTaskSet: createTaskSet_platformVersion :: Lens' CreateTaskSet (Maybe Text)
+ Amazonka.ECS.CreateTaskSet: createTaskSet_scale :: Lens' CreateTaskSet (Maybe Scale)
+ Amazonka.ECS.CreateTaskSet: createTaskSet_service :: Lens' CreateTaskSet Text
+ Amazonka.ECS.CreateTaskSet: createTaskSet_serviceRegistries :: Lens' CreateTaskSet (Maybe [ServiceRegistry])
+ Amazonka.ECS.CreateTaskSet: createTaskSet_tags :: Lens' CreateTaskSet (Maybe [Tag])
+ Amazonka.ECS.CreateTaskSet: createTaskSet_taskDefinition :: Lens' CreateTaskSet Text
+ Amazonka.ECS.CreateTaskSet: data CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: data CreateTaskSetResponse
+ Amazonka.ECS.CreateTaskSet: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.CreateTaskSet.CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: instance Amazonka.Data.Path.ToPath Amazonka.ECS.CreateTaskSet.CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.CreateTaskSet.CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: instance Amazonka.Types.AWSRequest Amazonka.ECS.CreateTaskSet.CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: instance Control.DeepSeq.NFData Amazonka.ECS.CreateTaskSet.CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: instance Control.DeepSeq.NFData Amazonka.ECS.CreateTaskSet.CreateTaskSetResponse
+ Amazonka.ECS.CreateTaskSet: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.CreateTaskSet.CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: instance Data.Hashable.Class.Hashable Amazonka.ECS.CreateTaskSet.CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: instance GHC.Classes.Eq Amazonka.ECS.CreateTaskSet.CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: instance GHC.Classes.Eq Amazonka.ECS.CreateTaskSet.CreateTaskSetResponse
+ Amazonka.ECS.CreateTaskSet: instance GHC.Generics.Generic Amazonka.ECS.CreateTaskSet.CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: instance GHC.Generics.Generic Amazonka.ECS.CreateTaskSet.CreateTaskSetResponse
+ Amazonka.ECS.CreateTaskSet: instance GHC.Read.Read Amazonka.ECS.CreateTaskSet.CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: instance GHC.Read.Read Amazonka.ECS.CreateTaskSet.CreateTaskSetResponse
+ Amazonka.ECS.CreateTaskSet: instance GHC.Show.Show Amazonka.ECS.CreateTaskSet.CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: instance GHC.Show.Show Amazonka.ECS.CreateTaskSet.CreateTaskSetResponse
+ Amazonka.ECS.CreateTaskSet: newCreateTaskSet :: Text -> Text -> Text -> CreateTaskSet
+ Amazonka.ECS.CreateTaskSet: newCreateTaskSetResponse :: Int -> CreateTaskSetResponse
+ Amazonka.ECS.DeleteAccountSetting: DeleteAccountSetting' :: Maybe Text -> SettingName -> DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: DeleteAccountSettingResponse' :: Maybe Setting -> Int -> DeleteAccountSettingResponse
+ Amazonka.ECS.DeleteAccountSetting: [$sel:httpStatus:DeleteAccountSettingResponse'] :: DeleteAccountSettingResponse -> Int
+ Amazonka.ECS.DeleteAccountSetting: [$sel:name:DeleteAccountSetting'] :: DeleteAccountSetting -> SettingName
+ Amazonka.ECS.DeleteAccountSetting: [$sel:principalArn:DeleteAccountSetting'] :: DeleteAccountSetting -> Maybe Text
+ Amazonka.ECS.DeleteAccountSetting: [$sel:setting:DeleteAccountSettingResponse'] :: DeleteAccountSettingResponse -> Maybe Setting
+ Amazonka.ECS.DeleteAccountSetting: data DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: data DeleteAccountSettingResponse
+ Amazonka.ECS.DeleteAccountSetting: deleteAccountSettingResponse_httpStatus :: Lens' DeleteAccountSettingResponse Int
+ Amazonka.ECS.DeleteAccountSetting: deleteAccountSettingResponse_setting :: Lens' DeleteAccountSettingResponse (Maybe Setting)
+ Amazonka.ECS.DeleteAccountSetting: deleteAccountSetting_name :: Lens' DeleteAccountSetting SettingName
+ Amazonka.ECS.DeleteAccountSetting: deleteAccountSetting_principalArn :: Lens' DeleteAccountSetting (Maybe Text)
+ Amazonka.ECS.DeleteAccountSetting: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DeleteAccountSetting.DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DeleteAccountSetting.DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DeleteAccountSetting.DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: instance Amazonka.Types.AWSRequest Amazonka.ECS.DeleteAccountSetting.DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteAccountSetting.DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteAccountSetting.DeleteAccountSettingResponse
+ Amazonka.ECS.DeleteAccountSetting: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DeleteAccountSetting.DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: instance Data.Hashable.Class.Hashable Amazonka.ECS.DeleteAccountSetting.DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: instance GHC.Classes.Eq Amazonka.ECS.DeleteAccountSetting.DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: instance GHC.Classes.Eq Amazonka.ECS.DeleteAccountSetting.DeleteAccountSettingResponse
+ Amazonka.ECS.DeleteAccountSetting: instance GHC.Generics.Generic Amazonka.ECS.DeleteAccountSetting.DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: instance GHC.Generics.Generic Amazonka.ECS.DeleteAccountSetting.DeleteAccountSettingResponse
+ Amazonka.ECS.DeleteAccountSetting: instance GHC.Read.Read Amazonka.ECS.DeleteAccountSetting.DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: instance GHC.Read.Read Amazonka.ECS.DeleteAccountSetting.DeleteAccountSettingResponse
+ Amazonka.ECS.DeleteAccountSetting: instance GHC.Show.Show Amazonka.ECS.DeleteAccountSetting.DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: instance GHC.Show.Show Amazonka.ECS.DeleteAccountSetting.DeleteAccountSettingResponse
+ Amazonka.ECS.DeleteAccountSetting: newDeleteAccountSetting :: SettingName -> DeleteAccountSetting
+ Amazonka.ECS.DeleteAccountSetting: newDeleteAccountSettingResponse :: Int -> DeleteAccountSettingResponse
+ Amazonka.ECS.DeleteAttributes: DeleteAttributes' :: Maybe Text -> [Attribute] -> DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: DeleteAttributesResponse' :: Maybe [Attribute] -> Int -> DeleteAttributesResponse
+ Amazonka.ECS.DeleteAttributes: [$sel:attributes:DeleteAttributes'] :: DeleteAttributes -> [Attribute]
+ Amazonka.ECS.DeleteAttributes: [$sel:attributes:DeleteAttributesResponse'] :: DeleteAttributesResponse -> Maybe [Attribute]
+ Amazonka.ECS.DeleteAttributes: [$sel:cluster:DeleteAttributes'] :: DeleteAttributes -> Maybe Text
+ Amazonka.ECS.DeleteAttributes: [$sel:httpStatus:DeleteAttributesResponse'] :: DeleteAttributesResponse -> Int
+ Amazonka.ECS.DeleteAttributes: data DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: data DeleteAttributesResponse
+ Amazonka.ECS.DeleteAttributes: deleteAttributesResponse_attributes :: Lens' DeleteAttributesResponse (Maybe [Attribute])
+ Amazonka.ECS.DeleteAttributes: deleteAttributesResponse_httpStatus :: Lens' DeleteAttributesResponse Int
+ Amazonka.ECS.DeleteAttributes: deleteAttributes_attributes :: Lens' DeleteAttributes [Attribute]
+ Amazonka.ECS.DeleteAttributes: deleteAttributes_cluster :: Lens' DeleteAttributes (Maybe Text)
+ Amazonka.ECS.DeleteAttributes: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DeleteAttributes.DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DeleteAttributes.DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DeleteAttributes.DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: instance Amazonka.Types.AWSRequest Amazonka.ECS.DeleteAttributes.DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteAttributes.DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteAttributes.DeleteAttributesResponse
+ Amazonka.ECS.DeleteAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DeleteAttributes.DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: instance Data.Hashable.Class.Hashable Amazonka.ECS.DeleteAttributes.DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: instance GHC.Classes.Eq Amazonka.ECS.DeleteAttributes.DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: instance GHC.Classes.Eq Amazonka.ECS.DeleteAttributes.DeleteAttributesResponse
+ Amazonka.ECS.DeleteAttributes: instance GHC.Generics.Generic Amazonka.ECS.DeleteAttributes.DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: instance GHC.Generics.Generic Amazonka.ECS.DeleteAttributes.DeleteAttributesResponse
+ Amazonka.ECS.DeleteAttributes: instance GHC.Read.Read Amazonka.ECS.DeleteAttributes.DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: instance GHC.Read.Read Amazonka.ECS.DeleteAttributes.DeleteAttributesResponse
+ Amazonka.ECS.DeleteAttributes: instance GHC.Show.Show Amazonka.ECS.DeleteAttributes.DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: instance GHC.Show.Show Amazonka.ECS.DeleteAttributes.DeleteAttributesResponse
+ Amazonka.ECS.DeleteAttributes: newDeleteAttributes :: DeleteAttributes
+ Amazonka.ECS.DeleteAttributes: newDeleteAttributesResponse :: Int -> DeleteAttributesResponse
+ Amazonka.ECS.DeleteCapacityProvider: DeleteCapacityProvider' :: Text -> DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: DeleteCapacityProviderResponse' :: Maybe CapacityProvider -> Int -> DeleteCapacityProviderResponse
+ Amazonka.ECS.DeleteCapacityProvider: [$sel:capacityProvider:DeleteCapacityProvider'] :: DeleteCapacityProvider -> Text
+ Amazonka.ECS.DeleteCapacityProvider: [$sel:capacityProvider:DeleteCapacityProviderResponse'] :: DeleteCapacityProviderResponse -> Maybe CapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: [$sel:httpStatus:DeleteCapacityProviderResponse'] :: DeleteCapacityProviderResponse -> Int
+ Amazonka.ECS.DeleteCapacityProvider: data DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: data DeleteCapacityProviderResponse
+ Amazonka.ECS.DeleteCapacityProvider: deleteCapacityProviderResponse_capacityProvider :: Lens' DeleteCapacityProviderResponse (Maybe CapacityProvider)
+ Amazonka.ECS.DeleteCapacityProvider: deleteCapacityProviderResponse_httpStatus :: Lens' DeleteCapacityProviderResponse Int
+ Amazonka.ECS.DeleteCapacityProvider: deleteCapacityProvider_capacityProvider :: Lens' DeleteCapacityProvider Text
+ Amazonka.ECS.DeleteCapacityProvider: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: instance Amazonka.Types.AWSRequest Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProviderResponse
+ Amazonka.ECS.DeleteCapacityProvider: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: instance Data.Hashable.Class.Hashable Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: instance GHC.Classes.Eq Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: instance GHC.Classes.Eq Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProviderResponse
+ Amazonka.ECS.DeleteCapacityProvider: instance GHC.Generics.Generic Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: instance GHC.Generics.Generic Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProviderResponse
+ Amazonka.ECS.DeleteCapacityProvider: instance GHC.Read.Read Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: instance GHC.Read.Read Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProviderResponse
+ Amazonka.ECS.DeleteCapacityProvider: instance GHC.Show.Show Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: instance GHC.Show.Show Amazonka.ECS.DeleteCapacityProvider.DeleteCapacityProviderResponse
+ Amazonka.ECS.DeleteCapacityProvider: newDeleteCapacityProvider :: Text -> DeleteCapacityProvider
+ Amazonka.ECS.DeleteCapacityProvider: newDeleteCapacityProviderResponse :: Int -> DeleteCapacityProviderResponse
+ Amazonka.ECS.DeleteCluster: DeleteCluster' :: Text -> DeleteCluster
+ Amazonka.ECS.DeleteCluster: DeleteClusterResponse' :: Maybe Cluster -> Int -> DeleteClusterResponse
+ Amazonka.ECS.DeleteCluster: [$sel:cluster:DeleteCluster'] :: DeleteCluster -> Text
+ Amazonka.ECS.DeleteCluster: [$sel:cluster:DeleteClusterResponse'] :: DeleteClusterResponse -> Maybe Cluster
+ Amazonka.ECS.DeleteCluster: [$sel:httpStatus:DeleteClusterResponse'] :: DeleteClusterResponse -> Int
+ Amazonka.ECS.DeleteCluster: data DeleteCluster
+ Amazonka.ECS.DeleteCluster: data DeleteClusterResponse
+ Amazonka.ECS.DeleteCluster: deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster)
+ Amazonka.ECS.DeleteCluster: deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
+ Amazonka.ECS.DeleteCluster: deleteCluster_cluster :: Lens' DeleteCluster Text
+ Amazonka.ECS.DeleteCluster: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DeleteCluster.DeleteCluster
+ Amazonka.ECS.DeleteCluster: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DeleteCluster.DeleteCluster
+ Amazonka.ECS.DeleteCluster: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DeleteCluster.DeleteCluster
+ Amazonka.ECS.DeleteCluster: instance Amazonka.Types.AWSRequest Amazonka.ECS.DeleteCluster.DeleteCluster
+ Amazonka.ECS.DeleteCluster: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteCluster.DeleteCluster
+ Amazonka.ECS.DeleteCluster: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteCluster.DeleteClusterResponse
+ Amazonka.ECS.DeleteCluster: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DeleteCluster.DeleteCluster
+ Amazonka.ECS.DeleteCluster: instance Data.Hashable.Class.Hashable Amazonka.ECS.DeleteCluster.DeleteCluster
+ Amazonka.ECS.DeleteCluster: instance GHC.Classes.Eq Amazonka.ECS.DeleteCluster.DeleteCluster
+ Amazonka.ECS.DeleteCluster: instance GHC.Classes.Eq Amazonka.ECS.DeleteCluster.DeleteClusterResponse
+ Amazonka.ECS.DeleteCluster: instance GHC.Generics.Generic Amazonka.ECS.DeleteCluster.DeleteCluster
+ Amazonka.ECS.DeleteCluster: instance GHC.Generics.Generic Amazonka.ECS.DeleteCluster.DeleteClusterResponse
+ Amazonka.ECS.DeleteCluster: instance GHC.Read.Read Amazonka.ECS.DeleteCluster.DeleteCluster
+ Amazonka.ECS.DeleteCluster: instance GHC.Read.Read Amazonka.ECS.DeleteCluster.DeleteClusterResponse
+ Amazonka.ECS.DeleteCluster: instance GHC.Show.Show Amazonka.ECS.DeleteCluster.DeleteCluster
+ Amazonka.ECS.DeleteCluster: instance GHC.Show.Show Amazonka.ECS.DeleteCluster.DeleteClusterResponse
+ Amazonka.ECS.DeleteCluster: newDeleteCluster :: Text -> DeleteCluster
+ Amazonka.ECS.DeleteCluster: newDeleteClusterResponse :: Int -> DeleteClusterResponse
+ Amazonka.ECS.DeleteService: DeleteService' :: Maybe Text -> Maybe Bool -> Text -> DeleteService
+ Amazonka.ECS.DeleteService: DeleteServiceResponse' :: Maybe ContainerService -> Int -> DeleteServiceResponse
+ Amazonka.ECS.DeleteService: [$sel:cluster:DeleteService'] :: DeleteService -> Maybe Text
+ Amazonka.ECS.DeleteService: [$sel:force:DeleteService'] :: DeleteService -> Maybe Bool
+ Amazonka.ECS.DeleteService: [$sel:httpStatus:DeleteServiceResponse'] :: DeleteServiceResponse -> Int
+ Amazonka.ECS.DeleteService: [$sel:service:DeleteService'] :: DeleteService -> Text
+ Amazonka.ECS.DeleteService: [$sel:service:DeleteServiceResponse'] :: DeleteServiceResponse -> Maybe ContainerService
+ Amazonka.ECS.DeleteService: data DeleteService
+ Amazonka.ECS.DeleteService: data DeleteServiceResponse
+ Amazonka.ECS.DeleteService: deleteServiceResponse_httpStatus :: Lens' DeleteServiceResponse Int
+ Amazonka.ECS.DeleteService: deleteServiceResponse_service :: Lens' DeleteServiceResponse (Maybe ContainerService)
+ Amazonka.ECS.DeleteService: deleteService_cluster :: Lens' DeleteService (Maybe Text)
+ Amazonka.ECS.DeleteService: deleteService_force :: Lens' DeleteService (Maybe Bool)
+ Amazonka.ECS.DeleteService: deleteService_service :: Lens' DeleteService Text
+ Amazonka.ECS.DeleteService: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DeleteService.DeleteService
+ Amazonka.ECS.DeleteService: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DeleteService.DeleteService
+ Amazonka.ECS.DeleteService: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DeleteService.DeleteService
+ Amazonka.ECS.DeleteService: instance Amazonka.Types.AWSRequest Amazonka.ECS.DeleteService.DeleteService
+ Amazonka.ECS.DeleteService: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteService.DeleteService
+ Amazonka.ECS.DeleteService: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteService.DeleteServiceResponse
+ Amazonka.ECS.DeleteService: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DeleteService.DeleteService
+ Amazonka.ECS.DeleteService: instance Data.Hashable.Class.Hashable Amazonka.ECS.DeleteService.DeleteService
+ Amazonka.ECS.DeleteService: instance GHC.Classes.Eq Amazonka.ECS.DeleteService.DeleteService
+ Amazonka.ECS.DeleteService: instance GHC.Classes.Eq Amazonka.ECS.DeleteService.DeleteServiceResponse
+ Amazonka.ECS.DeleteService: instance GHC.Generics.Generic Amazonka.ECS.DeleteService.DeleteService
+ Amazonka.ECS.DeleteService: instance GHC.Generics.Generic Amazonka.ECS.DeleteService.DeleteServiceResponse
+ Amazonka.ECS.DeleteService: instance GHC.Read.Read Amazonka.ECS.DeleteService.DeleteService
+ Amazonka.ECS.DeleteService: instance GHC.Read.Read Amazonka.ECS.DeleteService.DeleteServiceResponse
+ Amazonka.ECS.DeleteService: instance GHC.Show.Show Amazonka.ECS.DeleteService.DeleteService
+ Amazonka.ECS.DeleteService: instance GHC.Show.Show Amazonka.ECS.DeleteService.DeleteServiceResponse
+ Amazonka.ECS.DeleteService: newDeleteService :: Text -> DeleteService
+ Amazonka.ECS.DeleteService: newDeleteServiceResponse :: Int -> DeleteServiceResponse
+ Amazonka.ECS.DeleteTaskSet: DeleteTaskSet' :: Maybe Bool -> Text -> Text -> Text -> DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: DeleteTaskSetResponse' :: Maybe TaskSet -> Int -> DeleteTaskSetResponse
+ Amazonka.ECS.DeleteTaskSet: [$sel:cluster:DeleteTaskSet'] :: DeleteTaskSet -> Text
+ Amazonka.ECS.DeleteTaskSet: [$sel:force:DeleteTaskSet'] :: DeleteTaskSet -> Maybe Bool
+ Amazonka.ECS.DeleteTaskSet: [$sel:httpStatus:DeleteTaskSetResponse'] :: DeleteTaskSetResponse -> Int
+ Amazonka.ECS.DeleteTaskSet: [$sel:service:DeleteTaskSet'] :: DeleteTaskSet -> Text
+ Amazonka.ECS.DeleteTaskSet: [$sel:taskSet:DeleteTaskSet'] :: DeleteTaskSet -> Text
+ Amazonka.ECS.DeleteTaskSet: [$sel:taskSet:DeleteTaskSetResponse'] :: DeleteTaskSetResponse -> Maybe TaskSet
+ Amazonka.ECS.DeleteTaskSet: data DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: data DeleteTaskSetResponse
+ Amazonka.ECS.DeleteTaskSet: deleteTaskSetResponse_httpStatus :: Lens' DeleteTaskSetResponse Int
+ Amazonka.ECS.DeleteTaskSet: deleteTaskSetResponse_taskSet :: Lens' DeleteTaskSetResponse (Maybe TaskSet)
+ Amazonka.ECS.DeleteTaskSet: deleteTaskSet_cluster :: Lens' DeleteTaskSet Text
+ Amazonka.ECS.DeleteTaskSet: deleteTaskSet_force :: Lens' DeleteTaskSet (Maybe Bool)
+ Amazonka.ECS.DeleteTaskSet: deleteTaskSet_service :: Lens' DeleteTaskSet Text
+ Amazonka.ECS.DeleteTaskSet: deleteTaskSet_taskSet :: Lens' DeleteTaskSet Text
+ Amazonka.ECS.DeleteTaskSet: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DeleteTaskSet.DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DeleteTaskSet.DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DeleteTaskSet.DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: instance Amazonka.Types.AWSRequest Amazonka.ECS.DeleteTaskSet.DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteTaskSet.DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: instance Control.DeepSeq.NFData Amazonka.ECS.DeleteTaskSet.DeleteTaskSetResponse
+ Amazonka.ECS.DeleteTaskSet: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DeleteTaskSet.DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: instance Data.Hashable.Class.Hashable Amazonka.ECS.DeleteTaskSet.DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: instance GHC.Classes.Eq Amazonka.ECS.DeleteTaskSet.DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: instance GHC.Classes.Eq Amazonka.ECS.DeleteTaskSet.DeleteTaskSetResponse
+ Amazonka.ECS.DeleteTaskSet: instance GHC.Generics.Generic Amazonka.ECS.DeleteTaskSet.DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: instance GHC.Generics.Generic Amazonka.ECS.DeleteTaskSet.DeleteTaskSetResponse
+ Amazonka.ECS.DeleteTaskSet: instance GHC.Read.Read Amazonka.ECS.DeleteTaskSet.DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: instance GHC.Read.Read Amazonka.ECS.DeleteTaskSet.DeleteTaskSetResponse
+ Amazonka.ECS.DeleteTaskSet: instance GHC.Show.Show Amazonka.ECS.DeleteTaskSet.DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: instance GHC.Show.Show Amazonka.ECS.DeleteTaskSet.DeleteTaskSetResponse
+ Amazonka.ECS.DeleteTaskSet: newDeleteTaskSet :: Text -> Text -> Text -> DeleteTaskSet
+ Amazonka.ECS.DeleteTaskSet: newDeleteTaskSetResponse :: Int -> DeleteTaskSetResponse
+ Amazonka.ECS.DeregisterContainerInstance: DeregisterContainerInstance' :: Maybe Text -> Maybe Bool -> Text -> DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: DeregisterContainerInstanceResponse' :: Maybe ContainerInstance -> Int -> DeregisterContainerInstanceResponse
+ Amazonka.ECS.DeregisterContainerInstance: [$sel:cluster:DeregisterContainerInstance'] :: DeregisterContainerInstance -> Maybe Text
+ Amazonka.ECS.DeregisterContainerInstance: [$sel:containerInstance:DeregisterContainerInstance'] :: DeregisterContainerInstance -> Text
+ Amazonka.ECS.DeregisterContainerInstance: [$sel:containerInstance:DeregisterContainerInstanceResponse'] :: DeregisterContainerInstanceResponse -> Maybe ContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: [$sel:force:DeregisterContainerInstance'] :: DeregisterContainerInstance -> Maybe Bool
+ Amazonka.ECS.DeregisterContainerInstance: [$sel:httpStatus:DeregisterContainerInstanceResponse'] :: DeregisterContainerInstanceResponse -> Int
+ Amazonka.ECS.DeregisterContainerInstance: data DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: data DeregisterContainerInstanceResponse
+ Amazonka.ECS.DeregisterContainerInstance: deregisterContainerInstanceResponse_containerInstance :: Lens' DeregisterContainerInstanceResponse (Maybe ContainerInstance)
+ Amazonka.ECS.DeregisterContainerInstance: deregisterContainerInstanceResponse_httpStatus :: Lens' DeregisterContainerInstanceResponse Int
+ Amazonka.ECS.DeregisterContainerInstance: deregisterContainerInstance_cluster :: Lens' DeregisterContainerInstance (Maybe Text)
+ Amazonka.ECS.DeregisterContainerInstance: deregisterContainerInstance_containerInstance :: Lens' DeregisterContainerInstance Text
+ Amazonka.ECS.DeregisterContainerInstance: deregisterContainerInstance_force :: Lens' DeregisterContainerInstance (Maybe Bool)
+ Amazonka.ECS.DeregisterContainerInstance: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: instance Amazonka.Types.AWSRequest Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: instance Control.DeepSeq.NFData Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: instance Control.DeepSeq.NFData Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstanceResponse
+ Amazonka.ECS.DeregisterContainerInstance: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: instance Data.Hashable.Class.Hashable Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: instance GHC.Classes.Eq Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: instance GHC.Classes.Eq Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstanceResponse
+ Amazonka.ECS.DeregisterContainerInstance: instance GHC.Generics.Generic Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: instance GHC.Generics.Generic Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstanceResponse
+ Amazonka.ECS.DeregisterContainerInstance: instance GHC.Read.Read Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: instance GHC.Read.Read Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstanceResponse
+ Amazonka.ECS.DeregisterContainerInstance: instance GHC.Show.Show Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: instance GHC.Show.Show Amazonka.ECS.DeregisterContainerInstance.DeregisterContainerInstanceResponse
+ Amazonka.ECS.DeregisterContainerInstance: newDeregisterContainerInstance :: Text -> DeregisterContainerInstance
+ Amazonka.ECS.DeregisterContainerInstance: newDeregisterContainerInstanceResponse :: Int -> DeregisterContainerInstanceResponse
+ Amazonka.ECS.DeregisterTaskDefinition: DeregisterTaskDefinition' :: Text -> DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: DeregisterTaskDefinitionResponse' :: Maybe TaskDefinition -> Int -> DeregisterTaskDefinitionResponse
+ Amazonka.ECS.DeregisterTaskDefinition: [$sel:httpStatus:DeregisterTaskDefinitionResponse'] :: DeregisterTaskDefinitionResponse -> Int
+ Amazonka.ECS.DeregisterTaskDefinition: [$sel:taskDefinition:DeregisterTaskDefinition'] :: DeregisterTaskDefinition -> Text
+ Amazonka.ECS.DeregisterTaskDefinition: [$sel:taskDefinition:DeregisterTaskDefinitionResponse'] :: DeregisterTaskDefinitionResponse -> Maybe TaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: data DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: data DeregisterTaskDefinitionResponse
+ Amazonka.ECS.DeregisterTaskDefinition: deregisterTaskDefinitionResponse_httpStatus :: Lens' DeregisterTaskDefinitionResponse Int
+ Amazonka.ECS.DeregisterTaskDefinition: deregisterTaskDefinitionResponse_taskDefinition :: Lens' DeregisterTaskDefinitionResponse (Maybe TaskDefinition)
+ Amazonka.ECS.DeregisterTaskDefinition: deregisterTaskDefinition_taskDefinition :: Lens' DeregisterTaskDefinition Text
+ Amazonka.ECS.DeregisterTaskDefinition: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: instance Amazonka.Types.AWSRequest Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: instance Control.DeepSeq.NFData Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: instance Control.DeepSeq.NFData Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinitionResponse
+ Amazonka.ECS.DeregisterTaskDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: instance Data.Hashable.Class.Hashable Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: instance GHC.Classes.Eq Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: instance GHC.Classes.Eq Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinitionResponse
+ Amazonka.ECS.DeregisterTaskDefinition: instance GHC.Generics.Generic Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: instance GHC.Generics.Generic Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinitionResponse
+ Amazonka.ECS.DeregisterTaskDefinition: instance GHC.Read.Read Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: instance GHC.Read.Read Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinitionResponse
+ Amazonka.ECS.DeregisterTaskDefinition: instance GHC.Show.Show Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: instance GHC.Show.Show Amazonka.ECS.DeregisterTaskDefinition.DeregisterTaskDefinitionResponse
+ Amazonka.ECS.DeregisterTaskDefinition: newDeregisterTaskDefinition :: Text -> DeregisterTaskDefinition
+ Amazonka.ECS.DeregisterTaskDefinition: newDeregisterTaskDefinitionResponse :: Int -> DeregisterTaskDefinitionResponse
+ Amazonka.ECS.DescribeCapacityProviders: DescribeCapacityProviders' :: Maybe [Text] -> Maybe [CapacityProviderField] -> Maybe Int -> Maybe Text -> DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: DescribeCapacityProvidersResponse' :: Maybe [CapacityProvider] -> Maybe [Failure] -> Maybe Text -> Int -> DescribeCapacityProvidersResponse
+ Amazonka.ECS.DescribeCapacityProviders: [$sel:capacityProviders:DescribeCapacityProviders'] :: DescribeCapacityProviders -> Maybe [Text]
+ Amazonka.ECS.DescribeCapacityProviders: [$sel:capacityProviders:DescribeCapacityProvidersResponse'] :: DescribeCapacityProvidersResponse -> Maybe [CapacityProvider]
+ Amazonka.ECS.DescribeCapacityProviders: [$sel:failures:DescribeCapacityProvidersResponse'] :: DescribeCapacityProvidersResponse -> Maybe [Failure]
+ Amazonka.ECS.DescribeCapacityProviders: [$sel:httpStatus:DescribeCapacityProvidersResponse'] :: DescribeCapacityProvidersResponse -> Int
+ Amazonka.ECS.DescribeCapacityProviders: [$sel:include:DescribeCapacityProviders'] :: DescribeCapacityProviders -> Maybe [CapacityProviderField]
+ Amazonka.ECS.DescribeCapacityProviders: [$sel:maxResults:DescribeCapacityProviders'] :: DescribeCapacityProviders -> Maybe Int
+ Amazonka.ECS.DescribeCapacityProviders: [$sel:nextToken:DescribeCapacityProviders'] :: DescribeCapacityProviders -> Maybe Text
+ Amazonka.ECS.DescribeCapacityProviders: [$sel:nextToken:DescribeCapacityProvidersResponse'] :: DescribeCapacityProvidersResponse -> Maybe Text
+ Amazonka.ECS.DescribeCapacityProviders: data DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: data DescribeCapacityProvidersResponse
+ Amazonka.ECS.DescribeCapacityProviders: describeCapacityProvidersResponse_capacityProviders :: Lens' DescribeCapacityProvidersResponse (Maybe [CapacityProvider])
+ Amazonka.ECS.DescribeCapacityProviders: describeCapacityProvidersResponse_failures :: Lens' DescribeCapacityProvidersResponse (Maybe [Failure])
+ Amazonka.ECS.DescribeCapacityProviders: describeCapacityProvidersResponse_httpStatus :: Lens' DescribeCapacityProvidersResponse Int
+ Amazonka.ECS.DescribeCapacityProviders: describeCapacityProvidersResponse_nextToken :: Lens' DescribeCapacityProvidersResponse (Maybe Text)
+ Amazonka.ECS.DescribeCapacityProviders: describeCapacityProviders_capacityProviders :: Lens' DescribeCapacityProviders (Maybe [Text])
+ Amazonka.ECS.DescribeCapacityProviders: describeCapacityProviders_include :: Lens' DescribeCapacityProviders (Maybe [CapacityProviderField])
+ Amazonka.ECS.DescribeCapacityProviders: describeCapacityProviders_maxResults :: Lens' DescribeCapacityProviders (Maybe Int)
+ Amazonka.ECS.DescribeCapacityProviders: describeCapacityProviders_nextToken :: Lens' DescribeCapacityProviders (Maybe Text)
+ Amazonka.ECS.DescribeCapacityProviders: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: instance Amazonka.Types.AWSRequest Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProvidersResponse
+ Amazonka.ECS.DescribeCapacityProviders: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: instance Data.Hashable.Class.Hashable Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: instance GHC.Classes.Eq Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: instance GHC.Classes.Eq Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProvidersResponse
+ Amazonka.ECS.DescribeCapacityProviders: instance GHC.Generics.Generic Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: instance GHC.Generics.Generic Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProvidersResponse
+ Amazonka.ECS.DescribeCapacityProviders: instance GHC.Read.Read Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: instance GHC.Read.Read Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProvidersResponse
+ Amazonka.ECS.DescribeCapacityProviders: instance GHC.Show.Show Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: instance GHC.Show.Show Amazonka.ECS.DescribeCapacityProviders.DescribeCapacityProvidersResponse
+ Amazonka.ECS.DescribeCapacityProviders: newDescribeCapacityProviders :: DescribeCapacityProviders
+ Amazonka.ECS.DescribeCapacityProviders: newDescribeCapacityProvidersResponse :: Int -> DescribeCapacityProvidersResponse
+ Amazonka.ECS.DescribeClusters: DescribeClusters' :: Maybe [Text] -> Maybe [ClusterField] -> DescribeClusters
+ Amazonka.ECS.DescribeClusters: DescribeClustersResponse' :: Maybe [Cluster] -> Maybe [Failure] -> Int -> DescribeClustersResponse
+ Amazonka.ECS.DescribeClusters: [$sel:clusters:DescribeClusters'] :: DescribeClusters -> Maybe [Text]
+ Amazonka.ECS.DescribeClusters: [$sel:clusters:DescribeClustersResponse'] :: DescribeClustersResponse -> Maybe [Cluster]
+ Amazonka.ECS.DescribeClusters: [$sel:failures:DescribeClustersResponse'] :: DescribeClustersResponse -> Maybe [Failure]
+ Amazonka.ECS.DescribeClusters: [$sel:httpStatus:DescribeClustersResponse'] :: DescribeClustersResponse -> Int
+ Amazonka.ECS.DescribeClusters: [$sel:include:DescribeClusters'] :: DescribeClusters -> Maybe [ClusterField]
+ Amazonka.ECS.DescribeClusters: data DescribeClusters
+ Amazonka.ECS.DescribeClusters: data DescribeClustersResponse
+ Amazonka.ECS.DescribeClusters: describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
+ Amazonka.ECS.DescribeClusters: describeClustersResponse_failures :: Lens' DescribeClustersResponse (Maybe [Failure])
+ Amazonka.ECS.DescribeClusters: describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
+ Amazonka.ECS.DescribeClusters: describeClusters_clusters :: Lens' DescribeClusters (Maybe [Text])
+ Amazonka.ECS.DescribeClusters: describeClusters_include :: Lens' DescribeClusters (Maybe [ClusterField])
+ Amazonka.ECS.DescribeClusters: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DescribeClusters.DescribeClusters
+ Amazonka.ECS.DescribeClusters: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DescribeClusters.DescribeClusters
+ Amazonka.ECS.DescribeClusters: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DescribeClusters.DescribeClusters
+ Amazonka.ECS.DescribeClusters: instance Amazonka.Types.AWSRequest Amazonka.ECS.DescribeClusters.DescribeClusters
+ Amazonka.ECS.DescribeClusters: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeClusters.DescribeClusters
+ Amazonka.ECS.DescribeClusters: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeClusters.DescribeClustersResponse
+ Amazonka.ECS.DescribeClusters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DescribeClusters.DescribeClusters
+ Amazonka.ECS.DescribeClusters: instance Data.Hashable.Class.Hashable Amazonka.ECS.DescribeClusters.DescribeClusters
+ Amazonka.ECS.DescribeClusters: instance GHC.Classes.Eq Amazonka.ECS.DescribeClusters.DescribeClusters
+ Amazonka.ECS.DescribeClusters: instance GHC.Classes.Eq Amazonka.ECS.DescribeClusters.DescribeClustersResponse
+ Amazonka.ECS.DescribeClusters: instance GHC.Generics.Generic Amazonka.ECS.DescribeClusters.DescribeClusters
+ Amazonka.ECS.DescribeClusters: instance GHC.Generics.Generic Amazonka.ECS.DescribeClusters.DescribeClustersResponse
+ Amazonka.ECS.DescribeClusters: instance GHC.Read.Read Amazonka.ECS.DescribeClusters.DescribeClusters
+ Amazonka.ECS.DescribeClusters: instance GHC.Read.Read Amazonka.ECS.DescribeClusters.DescribeClustersResponse
+ Amazonka.ECS.DescribeClusters: instance GHC.Show.Show Amazonka.ECS.DescribeClusters.DescribeClusters
+ Amazonka.ECS.DescribeClusters: instance GHC.Show.Show Amazonka.ECS.DescribeClusters.DescribeClustersResponse
+ Amazonka.ECS.DescribeClusters: newDescribeClusters :: DescribeClusters
+ Amazonka.ECS.DescribeClusters: newDescribeClustersResponse :: Int -> DescribeClustersResponse
+ Amazonka.ECS.DescribeContainerInstances: DescribeContainerInstances' :: Maybe Text -> Maybe [ContainerInstanceField] -> [Text] -> DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: DescribeContainerInstancesResponse' :: Maybe [ContainerInstance] -> Maybe [Failure] -> Int -> DescribeContainerInstancesResponse
+ Amazonka.ECS.DescribeContainerInstances: [$sel:cluster:DescribeContainerInstances'] :: DescribeContainerInstances -> Maybe Text
+ Amazonka.ECS.DescribeContainerInstances: [$sel:containerInstances:DescribeContainerInstances'] :: DescribeContainerInstances -> [Text]
+ Amazonka.ECS.DescribeContainerInstances: [$sel:containerInstances:DescribeContainerInstancesResponse'] :: DescribeContainerInstancesResponse -> Maybe [ContainerInstance]
+ Amazonka.ECS.DescribeContainerInstances: [$sel:failures:DescribeContainerInstancesResponse'] :: DescribeContainerInstancesResponse -> Maybe [Failure]
+ Amazonka.ECS.DescribeContainerInstances: [$sel:httpStatus:DescribeContainerInstancesResponse'] :: DescribeContainerInstancesResponse -> Int
+ Amazonka.ECS.DescribeContainerInstances: [$sel:include:DescribeContainerInstances'] :: DescribeContainerInstances -> Maybe [ContainerInstanceField]
+ Amazonka.ECS.DescribeContainerInstances: data DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: data DescribeContainerInstancesResponse
+ Amazonka.ECS.DescribeContainerInstances: describeContainerInstancesResponse_containerInstances :: Lens' DescribeContainerInstancesResponse (Maybe [ContainerInstance])
+ Amazonka.ECS.DescribeContainerInstances: describeContainerInstancesResponse_failures :: Lens' DescribeContainerInstancesResponse (Maybe [Failure])
+ Amazonka.ECS.DescribeContainerInstances: describeContainerInstancesResponse_httpStatus :: Lens' DescribeContainerInstancesResponse Int
+ Amazonka.ECS.DescribeContainerInstances: describeContainerInstances_cluster :: Lens' DescribeContainerInstances (Maybe Text)
+ Amazonka.ECS.DescribeContainerInstances: describeContainerInstances_containerInstances :: Lens' DescribeContainerInstances [Text]
+ Amazonka.ECS.DescribeContainerInstances: describeContainerInstances_include :: Lens' DescribeContainerInstances (Maybe [ContainerInstanceField])
+ Amazonka.ECS.DescribeContainerInstances: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: instance Amazonka.Types.AWSRequest Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstancesResponse
+ Amazonka.ECS.DescribeContainerInstances: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: instance Data.Hashable.Class.Hashable Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: instance GHC.Classes.Eq Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: instance GHC.Classes.Eq Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstancesResponse
+ Amazonka.ECS.DescribeContainerInstances: instance GHC.Generics.Generic Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: instance GHC.Generics.Generic Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstancesResponse
+ Amazonka.ECS.DescribeContainerInstances: instance GHC.Read.Read Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: instance GHC.Read.Read Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstancesResponse
+ Amazonka.ECS.DescribeContainerInstances: instance GHC.Show.Show Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: instance GHC.Show.Show Amazonka.ECS.DescribeContainerInstances.DescribeContainerInstancesResponse
+ Amazonka.ECS.DescribeContainerInstances: newDescribeContainerInstances :: DescribeContainerInstances
+ Amazonka.ECS.DescribeContainerInstances: newDescribeContainerInstancesResponse :: Int -> DescribeContainerInstancesResponse
+ Amazonka.ECS.DescribeServices: DescribeServices' :: Maybe Text -> Maybe [ServiceField] -> [Text] -> DescribeServices
+ Amazonka.ECS.DescribeServices: DescribeServicesResponse' :: Maybe [Failure] -> Maybe [ContainerService] -> Int -> DescribeServicesResponse
+ Amazonka.ECS.DescribeServices: [$sel:cluster:DescribeServices'] :: DescribeServices -> Maybe Text
+ Amazonka.ECS.DescribeServices: [$sel:failures:DescribeServicesResponse'] :: DescribeServicesResponse -> Maybe [Failure]
+ Amazonka.ECS.DescribeServices: [$sel:httpStatus:DescribeServicesResponse'] :: DescribeServicesResponse -> Int
+ Amazonka.ECS.DescribeServices: [$sel:include:DescribeServices'] :: DescribeServices -> Maybe [ServiceField]
+ Amazonka.ECS.DescribeServices: [$sel:services:DescribeServices'] :: DescribeServices -> [Text]
+ Amazonka.ECS.DescribeServices: [$sel:services:DescribeServicesResponse'] :: DescribeServicesResponse -> Maybe [ContainerService]
+ Amazonka.ECS.DescribeServices: data DescribeServices
+ Amazonka.ECS.DescribeServices: data DescribeServicesResponse
+ Amazonka.ECS.DescribeServices: describeServicesResponse_failures :: Lens' DescribeServicesResponse (Maybe [Failure])
+ Amazonka.ECS.DescribeServices: describeServicesResponse_httpStatus :: Lens' DescribeServicesResponse Int
+ Amazonka.ECS.DescribeServices: describeServicesResponse_services :: Lens' DescribeServicesResponse (Maybe [ContainerService])
+ Amazonka.ECS.DescribeServices: describeServices_cluster :: Lens' DescribeServices (Maybe Text)
+ Amazonka.ECS.DescribeServices: describeServices_include :: Lens' DescribeServices (Maybe [ServiceField])
+ Amazonka.ECS.DescribeServices: describeServices_services :: Lens' DescribeServices [Text]
+ Amazonka.ECS.DescribeServices: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DescribeServices.DescribeServices
+ Amazonka.ECS.DescribeServices: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DescribeServices.DescribeServices
+ Amazonka.ECS.DescribeServices: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DescribeServices.DescribeServices
+ Amazonka.ECS.DescribeServices: instance Amazonka.Types.AWSRequest Amazonka.ECS.DescribeServices.DescribeServices
+ Amazonka.ECS.DescribeServices: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeServices.DescribeServices
+ Amazonka.ECS.DescribeServices: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeServices.DescribeServicesResponse
+ Amazonka.ECS.DescribeServices: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DescribeServices.DescribeServices
+ Amazonka.ECS.DescribeServices: instance Data.Hashable.Class.Hashable Amazonka.ECS.DescribeServices.DescribeServices
+ Amazonka.ECS.DescribeServices: instance GHC.Classes.Eq Amazonka.ECS.DescribeServices.DescribeServices
+ Amazonka.ECS.DescribeServices: instance GHC.Classes.Eq Amazonka.ECS.DescribeServices.DescribeServicesResponse
+ Amazonka.ECS.DescribeServices: instance GHC.Generics.Generic Amazonka.ECS.DescribeServices.DescribeServices
+ Amazonka.ECS.DescribeServices: instance GHC.Generics.Generic Amazonka.ECS.DescribeServices.DescribeServicesResponse
+ Amazonka.ECS.DescribeServices: instance GHC.Read.Read Amazonka.ECS.DescribeServices.DescribeServices
+ Amazonka.ECS.DescribeServices: instance GHC.Read.Read Amazonka.ECS.DescribeServices.DescribeServicesResponse
+ Amazonka.ECS.DescribeServices: instance GHC.Show.Show Amazonka.ECS.DescribeServices.DescribeServices
+ Amazonka.ECS.DescribeServices: instance GHC.Show.Show Amazonka.ECS.DescribeServices.DescribeServicesResponse
+ Amazonka.ECS.DescribeServices: newDescribeServices :: DescribeServices
+ Amazonka.ECS.DescribeServices: newDescribeServicesResponse :: Int -> DescribeServicesResponse
+ Amazonka.ECS.DescribeTaskDefinition: DescribeTaskDefinition' :: Maybe [TaskDefinitionField] -> Text -> DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: DescribeTaskDefinitionResponse' :: Maybe [Tag] -> Maybe TaskDefinition -> Int -> DescribeTaskDefinitionResponse
+ Amazonka.ECS.DescribeTaskDefinition: [$sel:httpStatus:DescribeTaskDefinitionResponse'] :: DescribeTaskDefinitionResponse -> Int
+ Amazonka.ECS.DescribeTaskDefinition: [$sel:include:DescribeTaskDefinition'] :: DescribeTaskDefinition -> Maybe [TaskDefinitionField]
+ Amazonka.ECS.DescribeTaskDefinition: [$sel:tags:DescribeTaskDefinitionResponse'] :: DescribeTaskDefinitionResponse -> Maybe [Tag]
+ Amazonka.ECS.DescribeTaskDefinition: [$sel:taskDefinition:DescribeTaskDefinition'] :: DescribeTaskDefinition -> Text
+ Amazonka.ECS.DescribeTaskDefinition: [$sel:taskDefinition:DescribeTaskDefinitionResponse'] :: DescribeTaskDefinitionResponse -> Maybe TaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: data DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: data DescribeTaskDefinitionResponse
+ Amazonka.ECS.DescribeTaskDefinition: describeTaskDefinitionResponse_httpStatus :: Lens' DescribeTaskDefinitionResponse Int
+ Amazonka.ECS.DescribeTaskDefinition: describeTaskDefinitionResponse_tags :: Lens' DescribeTaskDefinitionResponse (Maybe [Tag])
+ Amazonka.ECS.DescribeTaskDefinition: describeTaskDefinitionResponse_taskDefinition :: Lens' DescribeTaskDefinitionResponse (Maybe TaskDefinition)
+ Amazonka.ECS.DescribeTaskDefinition: describeTaskDefinition_include :: Lens' DescribeTaskDefinition (Maybe [TaskDefinitionField])
+ Amazonka.ECS.DescribeTaskDefinition: describeTaskDefinition_taskDefinition :: Lens' DescribeTaskDefinition Text
+ Amazonka.ECS.DescribeTaskDefinition: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: instance Amazonka.Types.AWSRequest Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinitionResponse
+ Amazonka.ECS.DescribeTaskDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: instance Data.Hashable.Class.Hashable Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: instance GHC.Classes.Eq Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: instance GHC.Classes.Eq Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinitionResponse
+ Amazonka.ECS.DescribeTaskDefinition: instance GHC.Generics.Generic Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: instance GHC.Generics.Generic Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinitionResponse
+ Amazonka.ECS.DescribeTaskDefinition: instance GHC.Read.Read Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: instance GHC.Read.Read Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinitionResponse
+ Amazonka.ECS.DescribeTaskDefinition: instance GHC.Show.Show Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: instance GHC.Show.Show Amazonka.ECS.DescribeTaskDefinition.DescribeTaskDefinitionResponse
+ Amazonka.ECS.DescribeTaskDefinition: newDescribeTaskDefinition :: Text -> DescribeTaskDefinition
+ Amazonka.ECS.DescribeTaskDefinition: newDescribeTaskDefinitionResponse :: Int -> DescribeTaskDefinitionResponse
+ Amazonka.ECS.DescribeTaskSets: DescribeTaskSets' :: Maybe [TaskSetField] -> Maybe [Text] -> Text -> Text -> DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: DescribeTaskSetsResponse' :: Maybe [Failure] -> Maybe [TaskSet] -> Int -> DescribeTaskSetsResponse
+ Amazonka.ECS.DescribeTaskSets: [$sel:cluster:DescribeTaskSets'] :: DescribeTaskSets -> Text
+ Amazonka.ECS.DescribeTaskSets: [$sel:failures:DescribeTaskSetsResponse'] :: DescribeTaskSetsResponse -> Maybe [Failure]
+ Amazonka.ECS.DescribeTaskSets: [$sel:httpStatus:DescribeTaskSetsResponse'] :: DescribeTaskSetsResponse -> Int
+ Amazonka.ECS.DescribeTaskSets: [$sel:include:DescribeTaskSets'] :: DescribeTaskSets -> Maybe [TaskSetField]
+ Amazonka.ECS.DescribeTaskSets: [$sel:service:DescribeTaskSets'] :: DescribeTaskSets -> Text
+ Amazonka.ECS.DescribeTaskSets: [$sel:taskSets:DescribeTaskSets'] :: DescribeTaskSets -> Maybe [Text]
+ Amazonka.ECS.DescribeTaskSets: [$sel:taskSets:DescribeTaskSetsResponse'] :: DescribeTaskSetsResponse -> Maybe [TaskSet]
+ Amazonka.ECS.DescribeTaskSets: data DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: data DescribeTaskSetsResponse
+ Amazonka.ECS.DescribeTaskSets: describeTaskSetsResponse_failures :: Lens' DescribeTaskSetsResponse (Maybe [Failure])
+ Amazonka.ECS.DescribeTaskSets: describeTaskSetsResponse_httpStatus :: Lens' DescribeTaskSetsResponse Int
+ Amazonka.ECS.DescribeTaskSets: describeTaskSetsResponse_taskSets :: Lens' DescribeTaskSetsResponse (Maybe [TaskSet])
+ Amazonka.ECS.DescribeTaskSets: describeTaskSets_cluster :: Lens' DescribeTaskSets Text
+ Amazonka.ECS.DescribeTaskSets: describeTaskSets_include :: Lens' DescribeTaskSets (Maybe [TaskSetField])
+ Amazonka.ECS.DescribeTaskSets: describeTaskSets_service :: Lens' DescribeTaskSets Text
+ Amazonka.ECS.DescribeTaskSets: describeTaskSets_taskSets :: Lens' DescribeTaskSets (Maybe [Text])
+ Amazonka.ECS.DescribeTaskSets: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DescribeTaskSets.DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DescribeTaskSets.DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DescribeTaskSets.DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: instance Amazonka.Types.AWSRequest Amazonka.ECS.DescribeTaskSets.DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeTaskSets.DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeTaskSets.DescribeTaskSetsResponse
+ Amazonka.ECS.DescribeTaskSets: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DescribeTaskSets.DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: instance Data.Hashable.Class.Hashable Amazonka.ECS.DescribeTaskSets.DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: instance GHC.Classes.Eq Amazonka.ECS.DescribeTaskSets.DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: instance GHC.Classes.Eq Amazonka.ECS.DescribeTaskSets.DescribeTaskSetsResponse
+ Amazonka.ECS.DescribeTaskSets: instance GHC.Generics.Generic Amazonka.ECS.DescribeTaskSets.DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: instance GHC.Generics.Generic Amazonka.ECS.DescribeTaskSets.DescribeTaskSetsResponse
+ Amazonka.ECS.DescribeTaskSets: instance GHC.Read.Read Amazonka.ECS.DescribeTaskSets.DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: instance GHC.Read.Read Amazonka.ECS.DescribeTaskSets.DescribeTaskSetsResponse
+ Amazonka.ECS.DescribeTaskSets: instance GHC.Show.Show Amazonka.ECS.DescribeTaskSets.DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: instance GHC.Show.Show Amazonka.ECS.DescribeTaskSets.DescribeTaskSetsResponse
+ Amazonka.ECS.DescribeTaskSets: newDescribeTaskSets :: Text -> Text -> DescribeTaskSets
+ Amazonka.ECS.DescribeTaskSets: newDescribeTaskSetsResponse :: Int -> DescribeTaskSetsResponse
+ Amazonka.ECS.DescribeTasks: DescribeTasks' :: Maybe Text -> Maybe [TaskField] -> [Text] -> DescribeTasks
+ Amazonka.ECS.DescribeTasks: DescribeTasksResponse' :: Maybe [Failure] -> Maybe [Task] -> Int -> DescribeTasksResponse
+ Amazonka.ECS.DescribeTasks: [$sel:cluster:DescribeTasks'] :: DescribeTasks -> Maybe Text
+ Amazonka.ECS.DescribeTasks: [$sel:failures:DescribeTasksResponse'] :: DescribeTasksResponse -> Maybe [Failure]
+ Amazonka.ECS.DescribeTasks: [$sel:httpStatus:DescribeTasksResponse'] :: DescribeTasksResponse -> Int
+ Amazonka.ECS.DescribeTasks: [$sel:include:DescribeTasks'] :: DescribeTasks -> Maybe [TaskField]
+ Amazonka.ECS.DescribeTasks: [$sel:tasks:DescribeTasks'] :: DescribeTasks -> [Text]
+ Amazonka.ECS.DescribeTasks: [$sel:tasks:DescribeTasksResponse'] :: DescribeTasksResponse -> Maybe [Task]
+ Amazonka.ECS.DescribeTasks: data DescribeTasks
+ Amazonka.ECS.DescribeTasks: data DescribeTasksResponse
+ Amazonka.ECS.DescribeTasks: describeTasksResponse_failures :: Lens' DescribeTasksResponse (Maybe [Failure])
+ Amazonka.ECS.DescribeTasks: describeTasksResponse_httpStatus :: Lens' DescribeTasksResponse Int
+ Amazonka.ECS.DescribeTasks: describeTasksResponse_tasks :: Lens' DescribeTasksResponse (Maybe [Task])
+ Amazonka.ECS.DescribeTasks: describeTasks_cluster :: Lens' DescribeTasks (Maybe Text)
+ Amazonka.ECS.DescribeTasks: describeTasks_include :: Lens' DescribeTasks (Maybe [TaskField])
+ Amazonka.ECS.DescribeTasks: describeTasks_tasks :: Lens' DescribeTasks [Text]
+ Amazonka.ECS.DescribeTasks: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DescribeTasks.DescribeTasks
+ Amazonka.ECS.DescribeTasks: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DescribeTasks.DescribeTasks
+ Amazonka.ECS.DescribeTasks: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DescribeTasks.DescribeTasks
+ Amazonka.ECS.DescribeTasks: instance Amazonka.Types.AWSRequest Amazonka.ECS.DescribeTasks.DescribeTasks
+ Amazonka.ECS.DescribeTasks: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeTasks.DescribeTasks
+ Amazonka.ECS.DescribeTasks: instance Control.DeepSeq.NFData Amazonka.ECS.DescribeTasks.DescribeTasksResponse
+ Amazonka.ECS.DescribeTasks: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DescribeTasks.DescribeTasks
+ Amazonka.ECS.DescribeTasks: instance Data.Hashable.Class.Hashable Amazonka.ECS.DescribeTasks.DescribeTasks
+ Amazonka.ECS.DescribeTasks: instance GHC.Classes.Eq Amazonka.ECS.DescribeTasks.DescribeTasks
+ Amazonka.ECS.DescribeTasks: instance GHC.Classes.Eq Amazonka.ECS.DescribeTasks.DescribeTasksResponse
+ Amazonka.ECS.DescribeTasks: instance GHC.Generics.Generic Amazonka.ECS.DescribeTasks.DescribeTasks
+ Amazonka.ECS.DescribeTasks: instance GHC.Generics.Generic Amazonka.ECS.DescribeTasks.DescribeTasksResponse
+ Amazonka.ECS.DescribeTasks: instance GHC.Read.Read Amazonka.ECS.DescribeTasks.DescribeTasks
+ Amazonka.ECS.DescribeTasks: instance GHC.Read.Read Amazonka.ECS.DescribeTasks.DescribeTasksResponse
+ Amazonka.ECS.DescribeTasks: instance GHC.Show.Show Amazonka.ECS.DescribeTasks.DescribeTasks
+ Amazonka.ECS.DescribeTasks: instance GHC.Show.Show Amazonka.ECS.DescribeTasks.DescribeTasksResponse
+ Amazonka.ECS.DescribeTasks: newDescribeTasks :: DescribeTasks
+ Amazonka.ECS.DescribeTasks: newDescribeTasksResponse :: Int -> DescribeTasksResponse
+ Amazonka.ECS.DiscoverPollEndpoint: DiscoverPollEndpoint' :: Maybe Text -> Maybe Text -> DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: DiscoverPollEndpointResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> DiscoverPollEndpointResponse
+ Amazonka.ECS.DiscoverPollEndpoint: [$sel:cluster:DiscoverPollEndpoint'] :: DiscoverPollEndpoint -> Maybe Text
+ Amazonka.ECS.DiscoverPollEndpoint: [$sel:containerInstance:DiscoverPollEndpoint'] :: DiscoverPollEndpoint -> Maybe Text
+ Amazonka.ECS.DiscoverPollEndpoint: [$sel:endpoint:DiscoverPollEndpointResponse'] :: DiscoverPollEndpointResponse -> Maybe Text
+ Amazonka.ECS.DiscoverPollEndpoint: [$sel:httpStatus:DiscoverPollEndpointResponse'] :: DiscoverPollEndpointResponse -> Int
+ Amazonka.ECS.DiscoverPollEndpoint: [$sel:serviceConnectEndpoint:DiscoverPollEndpointResponse'] :: DiscoverPollEndpointResponse -> Maybe Text
+ Amazonka.ECS.DiscoverPollEndpoint: [$sel:telemetryEndpoint:DiscoverPollEndpointResponse'] :: DiscoverPollEndpointResponse -> Maybe Text
+ Amazonka.ECS.DiscoverPollEndpoint: data DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: data DiscoverPollEndpointResponse
+ Amazonka.ECS.DiscoverPollEndpoint: discoverPollEndpointResponse_endpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
+ Amazonka.ECS.DiscoverPollEndpoint: discoverPollEndpointResponse_httpStatus :: Lens' DiscoverPollEndpointResponse Int
+ Amazonka.ECS.DiscoverPollEndpoint: discoverPollEndpointResponse_serviceConnectEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
+ Amazonka.ECS.DiscoverPollEndpoint: discoverPollEndpointResponse_telemetryEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
+ Amazonka.ECS.DiscoverPollEndpoint: discoverPollEndpoint_cluster :: Lens' DiscoverPollEndpoint (Maybe Text)
+ Amazonka.ECS.DiscoverPollEndpoint: discoverPollEndpoint_containerInstance :: Lens' DiscoverPollEndpoint (Maybe Text)
+ Amazonka.ECS.DiscoverPollEndpoint: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: instance Amazonka.Data.Path.ToPath Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: instance Amazonka.Types.AWSRequest Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: instance Control.DeepSeq.NFData Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: instance Control.DeepSeq.NFData Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpointResponse
+ Amazonka.ECS.DiscoverPollEndpoint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: instance Data.Hashable.Class.Hashable Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: instance GHC.Classes.Eq Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: instance GHC.Classes.Eq Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpointResponse
+ Amazonka.ECS.DiscoverPollEndpoint: instance GHC.Generics.Generic Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: instance GHC.Generics.Generic Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpointResponse
+ Amazonka.ECS.DiscoverPollEndpoint: instance GHC.Read.Read Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: instance GHC.Read.Read Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpointResponse
+ Amazonka.ECS.DiscoverPollEndpoint: instance GHC.Show.Show Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: instance GHC.Show.Show Amazonka.ECS.DiscoverPollEndpoint.DiscoverPollEndpointResponse
+ Amazonka.ECS.DiscoverPollEndpoint: newDiscoverPollEndpoint :: DiscoverPollEndpoint
+ Amazonka.ECS.DiscoverPollEndpoint: newDiscoverPollEndpointResponse :: Int -> DiscoverPollEndpointResponse
+ Amazonka.ECS.ExecuteCommand: ExecuteCommand' :: Maybe Text -> Maybe Text -> Text -> Bool -> Text -> ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: ExecuteCommandResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Session -> Maybe Text -> Int -> ExecuteCommandResponse
+ Amazonka.ECS.ExecuteCommand: [$sel:cluster:ExecuteCommand'] :: ExecuteCommand -> Maybe Text
+ Amazonka.ECS.ExecuteCommand: [$sel:clusterArn:ExecuteCommandResponse'] :: ExecuteCommandResponse -> Maybe Text
+ Amazonka.ECS.ExecuteCommand: [$sel:command:ExecuteCommand'] :: ExecuteCommand -> Text
+ Amazonka.ECS.ExecuteCommand: [$sel:container:ExecuteCommand'] :: ExecuteCommand -> Maybe Text
+ Amazonka.ECS.ExecuteCommand: [$sel:containerArn:ExecuteCommandResponse'] :: ExecuteCommandResponse -> Maybe Text
+ Amazonka.ECS.ExecuteCommand: [$sel:containerName:ExecuteCommandResponse'] :: ExecuteCommandResponse -> Maybe Text
+ Amazonka.ECS.ExecuteCommand: [$sel:httpStatus:ExecuteCommandResponse'] :: ExecuteCommandResponse -> Int
+ Amazonka.ECS.ExecuteCommand: [$sel:interactive:ExecuteCommand'] :: ExecuteCommand -> Bool
+ Amazonka.ECS.ExecuteCommand: [$sel:interactive:ExecuteCommandResponse'] :: ExecuteCommandResponse -> Maybe Bool
+ Amazonka.ECS.ExecuteCommand: [$sel:session:ExecuteCommandResponse'] :: ExecuteCommandResponse -> Maybe Session
+ Amazonka.ECS.ExecuteCommand: [$sel:task:ExecuteCommand'] :: ExecuteCommand -> Text
+ Amazonka.ECS.ExecuteCommand: [$sel:taskArn:ExecuteCommandResponse'] :: ExecuteCommandResponse -> Maybe Text
+ Amazonka.ECS.ExecuteCommand: data ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: data ExecuteCommandResponse
+ Amazonka.ECS.ExecuteCommand: executeCommandResponse_clusterArn :: Lens' ExecuteCommandResponse (Maybe Text)
+ Amazonka.ECS.ExecuteCommand: executeCommandResponse_containerArn :: Lens' ExecuteCommandResponse (Maybe Text)
+ Amazonka.ECS.ExecuteCommand: executeCommandResponse_containerName :: Lens' ExecuteCommandResponse (Maybe Text)
+ Amazonka.ECS.ExecuteCommand: executeCommandResponse_httpStatus :: Lens' ExecuteCommandResponse Int
+ Amazonka.ECS.ExecuteCommand: executeCommandResponse_interactive :: Lens' ExecuteCommandResponse (Maybe Bool)
+ Amazonka.ECS.ExecuteCommand: executeCommandResponse_session :: Lens' ExecuteCommandResponse (Maybe Session)
+ Amazonka.ECS.ExecuteCommand: executeCommandResponse_taskArn :: Lens' ExecuteCommandResponse (Maybe Text)
+ Amazonka.ECS.ExecuteCommand: executeCommand_cluster :: Lens' ExecuteCommand (Maybe Text)
+ Amazonka.ECS.ExecuteCommand: executeCommand_command :: Lens' ExecuteCommand Text
+ Amazonka.ECS.ExecuteCommand: executeCommand_container :: Lens' ExecuteCommand (Maybe Text)
+ Amazonka.ECS.ExecuteCommand: executeCommand_interactive :: Lens' ExecuteCommand Bool
+ Amazonka.ECS.ExecuteCommand: executeCommand_task :: Lens' ExecuteCommand Text
+ Amazonka.ECS.ExecuteCommand: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.ExecuteCommand.ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: instance Amazonka.Data.Path.ToPath Amazonka.ECS.ExecuteCommand.ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.ExecuteCommand.ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: instance Amazonka.Types.AWSRequest Amazonka.ECS.ExecuteCommand.ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: instance Control.DeepSeq.NFData Amazonka.ECS.ExecuteCommand.ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: instance Control.DeepSeq.NFData Amazonka.ECS.ExecuteCommand.ExecuteCommandResponse
+ Amazonka.ECS.ExecuteCommand: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.ExecuteCommand.ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: instance Data.Hashable.Class.Hashable Amazonka.ECS.ExecuteCommand.ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: instance GHC.Classes.Eq Amazonka.ECS.ExecuteCommand.ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: instance GHC.Classes.Eq Amazonka.ECS.ExecuteCommand.ExecuteCommandResponse
+ Amazonka.ECS.ExecuteCommand: instance GHC.Generics.Generic Amazonka.ECS.ExecuteCommand.ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: instance GHC.Generics.Generic Amazonka.ECS.ExecuteCommand.ExecuteCommandResponse
+ Amazonka.ECS.ExecuteCommand: instance GHC.Read.Read Amazonka.ECS.ExecuteCommand.ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: instance GHC.Show.Show Amazonka.ECS.ExecuteCommand.ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: instance GHC.Show.Show Amazonka.ECS.ExecuteCommand.ExecuteCommandResponse
+ Amazonka.ECS.ExecuteCommand: newExecuteCommand :: Text -> Bool -> Text -> ExecuteCommand
+ Amazonka.ECS.ExecuteCommand: newExecuteCommandResponse :: Int -> ExecuteCommandResponse
+ Amazonka.ECS.GetTaskProtection: GetTaskProtection' :: Maybe [Text] -> Text -> GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: GetTaskProtectionResponse' :: Maybe [Failure] -> Maybe [ProtectedTask] -> Int -> GetTaskProtectionResponse
+ Amazonka.ECS.GetTaskProtection: [$sel:cluster:GetTaskProtection'] :: GetTaskProtection -> Text
+ Amazonka.ECS.GetTaskProtection: [$sel:failures:GetTaskProtectionResponse'] :: GetTaskProtectionResponse -> Maybe [Failure]
+ Amazonka.ECS.GetTaskProtection: [$sel:httpStatus:GetTaskProtectionResponse'] :: GetTaskProtectionResponse -> Int
+ Amazonka.ECS.GetTaskProtection: [$sel:protectedTasks:GetTaskProtectionResponse'] :: GetTaskProtectionResponse -> Maybe [ProtectedTask]
+ Amazonka.ECS.GetTaskProtection: [$sel:tasks:GetTaskProtection'] :: GetTaskProtection -> Maybe [Text]
+ Amazonka.ECS.GetTaskProtection: data GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: data GetTaskProtectionResponse
+ Amazonka.ECS.GetTaskProtection: getTaskProtectionResponse_failures :: Lens' GetTaskProtectionResponse (Maybe [Failure])
+ Amazonka.ECS.GetTaskProtection: getTaskProtectionResponse_httpStatus :: Lens' GetTaskProtectionResponse Int
+ Amazonka.ECS.GetTaskProtection: getTaskProtectionResponse_protectedTasks :: Lens' GetTaskProtectionResponse (Maybe [ProtectedTask])
+ Amazonka.ECS.GetTaskProtection: getTaskProtection_cluster :: Lens' GetTaskProtection Text
+ Amazonka.ECS.GetTaskProtection: getTaskProtection_tasks :: Lens' GetTaskProtection (Maybe [Text])
+ Amazonka.ECS.GetTaskProtection: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.GetTaskProtection.GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: instance Amazonka.Data.Path.ToPath Amazonka.ECS.GetTaskProtection.GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.GetTaskProtection.GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: instance Amazonka.Types.AWSRequest Amazonka.ECS.GetTaskProtection.GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: instance Control.DeepSeq.NFData Amazonka.ECS.GetTaskProtection.GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: instance Control.DeepSeq.NFData Amazonka.ECS.GetTaskProtection.GetTaskProtectionResponse
+ Amazonka.ECS.GetTaskProtection: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.GetTaskProtection.GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: instance Data.Hashable.Class.Hashable Amazonka.ECS.GetTaskProtection.GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: instance GHC.Classes.Eq Amazonka.ECS.GetTaskProtection.GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: instance GHC.Classes.Eq Amazonka.ECS.GetTaskProtection.GetTaskProtectionResponse
+ Amazonka.ECS.GetTaskProtection: instance GHC.Generics.Generic Amazonka.ECS.GetTaskProtection.GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: instance GHC.Generics.Generic Amazonka.ECS.GetTaskProtection.GetTaskProtectionResponse
+ Amazonka.ECS.GetTaskProtection: instance GHC.Read.Read Amazonka.ECS.GetTaskProtection.GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: instance GHC.Read.Read Amazonka.ECS.GetTaskProtection.GetTaskProtectionResponse
+ Amazonka.ECS.GetTaskProtection: instance GHC.Show.Show Amazonka.ECS.GetTaskProtection.GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: instance GHC.Show.Show Amazonka.ECS.GetTaskProtection.GetTaskProtectionResponse
+ Amazonka.ECS.GetTaskProtection: newGetTaskProtection :: Text -> GetTaskProtection
+ Amazonka.ECS.GetTaskProtection: newGetTaskProtectionResponse :: Int -> GetTaskProtectionResponse
+ Amazonka.ECS.Lens: attachmentStateChange_attachmentArn :: Lens' AttachmentStateChange Text
+ Amazonka.ECS.Lens: attachmentStateChange_status :: Lens' AttachmentStateChange Text
+ Amazonka.ECS.Lens: attachment_details :: Lens' Attachment (Maybe [KeyValuePair])
+ Amazonka.ECS.Lens: attachment_id :: Lens' Attachment (Maybe Text)
+ Amazonka.ECS.Lens: attachment_status :: Lens' Attachment (Maybe Text)
+ Amazonka.ECS.Lens: attachment_type :: Lens' Attachment (Maybe Text)
+ Amazonka.ECS.Lens: attribute_name :: Lens' Attribute Text
+ Amazonka.ECS.Lens: attribute_targetId :: Lens' Attribute (Maybe Text)
+ Amazonka.ECS.Lens: attribute_targetType :: Lens' Attribute (Maybe TargetType)
+ Amazonka.ECS.Lens: attribute_value :: Lens' Attribute (Maybe Text)
+ Amazonka.ECS.Lens: autoScalingGroupProviderUpdate_managedScaling :: Lens' AutoScalingGroupProviderUpdate (Maybe ManagedScaling)
+ Amazonka.ECS.Lens: autoScalingGroupProviderUpdate_managedTerminationProtection :: Lens' AutoScalingGroupProviderUpdate (Maybe ManagedTerminationProtection)
+ Amazonka.ECS.Lens: autoScalingGroupProvider_autoScalingGroupArn :: Lens' AutoScalingGroupProvider Text
+ Amazonka.ECS.Lens: autoScalingGroupProvider_managedScaling :: Lens' AutoScalingGroupProvider (Maybe ManagedScaling)
+ Amazonka.ECS.Lens: autoScalingGroupProvider_managedTerminationProtection :: Lens' AutoScalingGroupProvider (Maybe ManagedTerminationProtection)
+ Amazonka.ECS.Lens: awsVpcConfiguration_assignPublicIp :: Lens' AwsVpcConfiguration (Maybe AssignPublicIp)
+ Amazonka.ECS.Lens: awsVpcConfiguration_securityGroups :: Lens' AwsVpcConfiguration (Maybe [Text])
+ Amazonka.ECS.Lens: awsVpcConfiguration_subnets :: Lens' AwsVpcConfiguration [Text]
+ Amazonka.ECS.Lens: capacityProviderStrategyItem_base :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.ECS.Lens: capacityProviderStrategyItem_capacityProvider :: Lens' CapacityProviderStrategyItem Text
+ Amazonka.ECS.Lens: capacityProviderStrategyItem_weight :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.ECS.Lens: capacityProvider_autoScalingGroupProvider :: Lens' CapacityProvider (Maybe AutoScalingGroupProvider)
+ Amazonka.ECS.Lens: capacityProvider_capacityProviderArn :: Lens' CapacityProvider (Maybe Text)
+ Amazonka.ECS.Lens: capacityProvider_name :: Lens' CapacityProvider (Maybe Text)
+ Amazonka.ECS.Lens: capacityProvider_status :: Lens' CapacityProvider (Maybe CapacityProviderStatus)
+ Amazonka.ECS.Lens: capacityProvider_tags :: Lens' CapacityProvider (Maybe [Tag])
+ Amazonka.ECS.Lens: capacityProvider_updateStatus :: Lens' CapacityProvider (Maybe CapacityProviderUpdateStatus)
+ Amazonka.ECS.Lens: capacityProvider_updateStatusReason :: Lens' CapacityProvider (Maybe Text)
+ Amazonka.ECS.Lens: clusterConfiguration_executeCommandConfiguration :: Lens' ClusterConfiguration (Maybe ExecuteCommandConfiguration)
+ Amazonka.ECS.Lens: clusterServiceConnectDefaultsRequest_namespace :: Lens' ClusterServiceConnectDefaultsRequest Text
+ Amazonka.ECS.Lens: clusterServiceConnectDefaults_namespace :: Lens' ClusterServiceConnectDefaults (Maybe Text)
+ Amazonka.ECS.Lens: clusterSetting_name :: Lens' ClusterSetting (Maybe ClusterSettingName)
+ Amazonka.ECS.Lens: clusterSetting_value :: Lens' ClusterSetting (Maybe Text)
+ Amazonka.ECS.Lens: cluster_activeServicesCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Lens: cluster_attachments :: Lens' Cluster (Maybe [Attachment])
+ Amazonka.ECS.Lens: cluster_attachmentsStatus :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Lens: cluster_capacityProviders :: Lens' Cluster (Maybe [Text])
+ Amazonka.ECS.Lens: cluster_clusterArn :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Lens: cluster_clusterName :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Lens: cluster_configuration :: Lens' Cluster (Maybe ClusterConfiguration)
+ Amazonka.ECS.Lens: cluster_defaultCapacityProviderStrategy :: Lens' Cluster (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Lens: cluster_pendingTasksCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Lens: cluster_registeredContainerInstancesCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Lens: cluster_runningTasksCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Lens: cluster_serviceConnectDefaults :: Lens' Cluster (Maybe ClusterServiceConnectDefaults)
+ Amazonka.ECS.Lens: cluster_settings :: Lens' Cluster (Maybe [ClusterSetting])
+ Amazonka.ECS.Lens: cluster_statistics :: Lens' Cluster (Maybe [KeyValuePair])
+ Amazonka.ECS.Lens: cluster_status :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Lens: cluster_tags :: Lens' Cluster (Maybe [Tag])
+ Amazonka.ECS.Lens: containerDefinition_command :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Lens: containerDefinition_cpu :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Lens: containerDefinition_dependsOn :: Lens' ContainerDefinition (Maybe [ContainerDependency])
+ Amazonka.ECS.Lens: containerDefinition_disableNetworking :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Lens: containerDefinition_dnsSearchDomains :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Lens: containerDefinition_dnsServers :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Lens: containerDefinition_dockerLabels :: Lens' ContainerDefinition (Maybe (HashMap Text Text))
+ Amazonka.ECS.Lens: containerDefinition_dockerSecurityOptions :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Lens: containerDefinition_entryPoint :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Lens: containerDefinition_environment :: Lens' ContainerDefinition (Maybe [KeyValuePair])
+ Amazonka.ECS.Lens: containerDefinition_environmentFiles :: Lens' ContainerDefinition (Maybe [EnvironmentFile])
+ Amazonka.ECS.Lens: containerDefinition_essential :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Lens: containerDefinition_extraHosts :: Lens' ContainerDefinition (Maybe [HostEntry])
+ Amazonka.ECS.Lens: containerDefinition_firelensConfiguration :: Lens' ContainerDefinition (Maybe FirelensConfiguration)
+ Amazonka.ECS.Lens: containerDefinition_healthCheck :: Lens' ContainerDefinition (Maybe HealthCheck)
+ Amazonka.ECS.Lens: containerDefinition_hostname :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Lens: containerDefinition_image :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Lens: containerDefinition_interactive :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Lens: containerDefinition_links :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Lens: containerDefinition_linuxParameters :: Lens' ContainerDefinition (Maybe LinuxParameters)
+ Amazonka.ECS.Lens: containerDefinition_logConfiguration :: Lens' ContainerDefinition (Maybe LogConfiguration)
+ Amazonka.ECS.Lens: containerDefinition_memory :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Lens: containerDefinition_memoryReservation :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Lens: containerDefinition_mountPoints :: Lens' ContainerDefinition (Maybe [MountPoint])
+ Amazonka.ECS.Lens: containerDefinition_name :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Lens: containerDefinition_portMappings :: Lens' ContainerDefinition (Maybe [PortMapping])
+ Amazonka.ECS.Lens: containerDefinition_privileged :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Lens: containerDefinition_pseudoTerminal :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Lens: containerDefinition_readonlyRootFilesystem :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Lens: containerDefinition_repositoryCredentials :: Lens' ContainerDefinition (Maybe RepositoryCredentials)
+ Amazonka.ECS.Lens: containerDefinition_resourceRequirements :: Lens' ContainerDefinition (Maybe [ResourceRequirement])
+ Amazonka.ECS.Lens: containerDefinition_secrets :: Lens' ContainerDefinition (Maybe [Secret])
+ Amazonka.ECS.Lens: containerDefinition_startTimeout :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Lens: containerDefinition_stopTimeout :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Lens: containerDefinition_systemControls :: Lens' ContainerDefinition (Maybe [SystemControl])
+ Amazonka.ECS.Lens: containerDefinition_ulimits :: Lens' ContainerDefinition (Maybe [Ulimit])
+ Amazonka.ECS.Lens: containerDefinition_user :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Lens: containerDefinition_volumesFrom :: Lens' ContainerDefinition (Maybe [VolumeFrom])
+ Amazonka.ECS.Lens: containerDefinition_workingDirectory :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Lens: containerDependency_condition :: Lens' ContainerDependency ContainerCondition
+ Amazonka.ECS.Lens: containerDependency_containerName :: Lens' ContainerDependency Text
+ Amazonka.ECS.Lens: containerInstanceHealthStatus_details :: Lens' ContainerInstanceHealthStatus (Maybe [InstanceHealthCheckResult])
+ Amazonka.ECS.Lens: containerInstanceHealthStatus_overallStatus :: Lens' ContainerInstanceHealthStatus (Maybe InstanceHealthCheckState)
+ Amazonka.ECS.Lens: containerInstance_agentConnected :: Lens' ContainerInstance (Maybe Bool)
+ Amazonka.ECS.Lens: containerInstance_agentUpdateStatus :: Lens' ContainerInstance (Maybe AgentUpdateStatus)
+ Amazonka.ECS.Lens: containerInstance_attachments :: Lens' ContainerInstance (Maybe [Attachment])
+ Amazonka.ECS.Lens: containerInstance_attributes :: Lens' ContainerInstance (Maybe [Attribute])
+ Amazonka.ECS.Lens: containerInstance_capacityProviderName :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Lens: containerInstance_containerInstanceArn :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Lens: containerInstance_ec2InstanceId :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Lens: containerInstance_healthStatus :: Lens' ContainerInstance (Maybe ContainerInstanceHealthStatus)
+ Amazonka.ECS.Lens: containerInstance_pendingTasksCount :: Lens' ContainerInstance (Maybe Int)
+ Amazonka.ECS.Lens: containerInstance_registeredAt :: Lens' ContainerInstance (Maybe UTCTime)
+ Amazonka.ECS.Lens: containerInstance_registeredResources :: Lens' ContainerInstance (Maybe [Resource])
+ Amazonka.ECS.Lens: containerInstance_remainingResources :: Lens' ContainerInstance (Maybe [Resource])
+ Amazonka.ECS.Lens: containerInstance_runningTasksCount :: Lens' ContainerInstance (Maybe Int)
+ Amazonka.ECS.Lens: containerInstance_status :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Lens: containerInstance_statusReason :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Lens: containerInstance_tags :: Lens' ContainerInstance (Maybe [Tag])
+ Amazonka.ECS.Lens: containerInstance_version :: Lens' ContainerInstance (Maybe Integer)
+ Amazonka.ECS.Lens: containerInstance_versionInfo :: Lens' ContainerInstance (Maybe VersionInfo)
+ Amazonka.ECS.Lens: containerOverride_command :: Lens' ContainerOverride (Maybe [Text])
+ Amazonka.ECS.Lens: containerOverride_cpu :: Lens' ContainerOverride (Maybe Int)
+ Amazonka.ECS.Lens: containerOverride_environment :: Lens' ContainerOverride (Maybe [KeyValuePair])
+ Amazonka.ECS.Lens: containerOverride_environmentFiles :: Lens' ContainerOverride (Maybe [EnvironmentFile])
+ Amazonka.ECS.Lens: containerOverride_memory :: Lens' ContainerOverride (Maybe Int)
+ Amazonka.ECS.Lens: containerOverride_memoryReservation :: Lens' ContainerOverride (Maybe Int)
+ Amazonka.ECS.Lens: containerOverride_name :: Lens' ContainerOverride (Maybe Text)
+ Amazonka.ECS.Lens: containerOverride_resourceRequirements :: Lens' ContainerOverride (Maybe [ResourceRequirement])
+ Amazonka.ECS.Lens: containerService_capacityProviderStrategy :: Lens' ContainerService (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Lens: containerService_clusterArn :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Lens: containerService_createdAt :: Lens' ContainerService (Maybe UTCTime)
+ Amazonka.ECS.Lens: containerService_createdBy :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Lens: containerService_deploymentConfiguration :: Lens' ContainerService (Maybe DeploymentConfiguration)
+ Amazonka.ECS.Lens: containerService_deploymentController :: Lens' ContainerService (Maybe DeploymentController)
+ Amazonka.ECS.Lens: containerService_deployments :: Lens' ContainerService (Maybe [Deployment])
+ Amazonka.ECS.Lens: containerService_desiredCount :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Lens: containerService_enableECSManagedTags :: Lens' ContainerService (Maybe Bool)
+ Amazonka.ECS.Lens: containerService_enableExecuteCommand :: Lens' ContainerService (Maybe Bool)
+ Amazonka.ECS.Lens: containerService_events :: Lens' ContainerService (Maybe [ServiceEvent])
+ Amazonka.ECS.Lens: containerService_healthCheckGracePeriodSeconds :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Lens: containerService_launchType :: Lens' ContainerService (Maybe LaunchType)
+ Amazonka.ECS.Lens: containerService_loadBalancers :: Lens' ContainerService (Maybe [LoadBalancer])
+ Amazonka.ECS.Lens: containerService_networkConfiguration :: Lens' ContainerService (Maybe NetworkConfiguration)
+ Amazonka.ECS.Lens: containerService_pendingCount :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Lens: containerService_placementConstraints :: Lens' ContainerService (Maybe [PlacementConstraint])
+ Amazonka.ECS.Lens: containerService_placementStrategy :: Lens' ContainerService (Maybe [PlacementStrategy])
+ Amazonka.ECS.Lens: containerService_platformFamily :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Lens: containerService_platformVersion :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Lens: containerService_propagateTags :: Lens' ContainerService (Maybe PropagateTags)
+ Amazonka.ECS.Lens: containerService_roleArn :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Lens: containerService_runningCount :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Lens: containerService_schedulingStrategy :: Lens' ContainerService (Maybe SchedulingStrategy)
+ Amazonka.ECS.Lens: containerService_serviceArn :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Lens: containerService_serviceName :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Lens: containerService_serviceRegistries :: Lens' ContainerService (Maybe [ServiceRegistry])
+ Amazonka.ECS.Lens: containerService_status :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Lens: containerService_tags :: Lens' ContainerService (Maybe [Tag])
+ Amazonka.ECS.Lens: containerService_taskDefinition :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Lens: containerService_taskSets :: Lens' ContainerService (Maybe [TaskSet])
+ Amazonka.ECS.Lens: containerStateChange_containerName :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Lens: containerStateChange_exitCode :: Lens' ContainerStateChange (Maybe Int)
+ Amazonka.ECS.Lens: containerStateChange_imageDigest :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Lens: containerStateChange_networkBindings :: Lens' ContainerStateChange (Maybe [NetworkBinding])
+ Amazonka.ECS.Lens: containerStateChange_reason :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Lens: containerStateChange_runtimeId :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Lens: containerStateChange_status :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Lens: container_containerArn :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Lens: container_cpu :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Lens: container_exitCode :: Lens' Container (Maybe Int)
+ Amazonka.ECS.Lens: container_gpuIds :: Lens' Container (Maybe [Text])
+ Amazonka.ECS.Lens: container_healthStatus :: Lens' Container (Maybe HealthStatus)
+ Amazonka.ECS.Lens: container_image :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Lens: container_imageDigest :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Lens: container_lastStatus :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Lens: container_managedAgents :: Lens' Container (Maybe [ManagedAgent])
+ Amazonka.ECS.Lens: container_memory :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Lens: container_memoryReservation :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Lens: container_name :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Lens: container_networkBindings :: Lens' Container (Maybe [NetworkBinding])
+ Amazonka.ECS.Lens: container_networkInterfaces :: Lens' Container (Maybe [NetworkInterface])
+ Amazonka.ECS.Lens: container_reason :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Lens: container_runtimeId :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Lens: container_taskArn :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Lens: createCapacityProviderResponse_capacityProvider :: Lens' CreateCapacityProviderResponse (Maybe CapacityProvider)
+ Amazonka.ECS.Lens: createCapacityProviderResponse_httpStatus :: Lens' CreateCapacityProviderResponse Int
+ Amazonka.ECS.Lens: createCapacityProvider_autoScalingGroupProvider :: Lens' CreateCapacityProvider AutoScalingGroupProvider
+ Amazonka.ECS.Lens: createCapacityProvider_name :: Lens' CreateCapacityProvider Text
+ Amazonka.ECS.Lens: createCapacityProvider_tags :: Lens' CreateCapacityProvider (Maybe [Tag])
+ Amazonka.ECS.Lens: createClusterResponse_cluster :: Lens' CreateClusterResponse (Maybe Cluster)
+ Amazonka.ECS.Lens: createClusterResponse_httpStatus :: Lens' CreateClusterResponse Int
+ Amazonka.ECS.Lens: createCluster_capacityProviders :: Lens' CreateCluster (Maybe [Text])
+ Amazonka.ECS.Lens: createCluster_clusterName :: Lens' CreateCluster (Maybe Text)
+ Amazonka.ECS.Lens: createCluster_configuration :: Lens' CreateCluster (Maybe ClusterConfiguration)
+ Amazonka.ECS.Lens: createCluster_defaultCapacityProviderStrategy :: Lens' CreateCluster (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Lens: createCluster_serviceConnectDefaults :: Lens' CreateCluster (Maybe ClusterServiceConnectDefaultsRequest)
+ Amazonka.ECS.Lens: createCluster_settings :: Lens' CreateCluster (Maybe [ClusterSetting])
+ Amazonka.ECS.Lens: createCluster_tags :: Lens' CreateCluster (Maybe [Tag])
+ Amazonka.ECS.Lens: createServiceResponse_httpStatus :: Lens' CreateServiceResponse Int
+ Amazonka.ECS.Lens: createServiceResponse_service :: Lens' CreateServiceResponse (Maybe ContainerService)
+ Amazonka.ECS.Lens: createService_capacityProviderStrategy :: Lens' CreateService (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Lens: createService_clientToken :: Lens' CreateService (Maybe Text)
+ Amazonka.ECS.Lens: createService_cluster :: Lens' CreateService (Maybe Text)
+ Amazonka.ECS.Lens: createService_deploymentConfiguration :: Lens' CreateService (Maybe DeploymentConfiguration)
+ Amazonka.ECS.Lens: createService_deploymentController :: Lens' CreateService (Maybe DeploymentController)
+ Amazonka.ECS.Lens: createService_desiredCount :: Lens' CreateService (Maybe Int)
+ Amazonka.ECS.Lens: createService_enableECSManagedTags :: Lens' CreateService (Maybe Bool)
+ Amazonka.ECS.Lens: createService_enableExecuteCommand :: Lens' CreateService (Maybe Bool)
+ Amazonka.ECS.Lens: createService_healthCheckGracePeriodSeconds :: Lens' CreateService (Maybe Int)
+ Amazonka.ECS.Lens: createService_launchType :: Lens' CreateService (Maybe LaunchType)
+ Amazonka.ECS.Lens: createService_loadBalancers :: Lens' CreateService (Maybe [LoadBalancer])
+ Amazonka.ECS.Lens: createService_networkConfiguration :: Lens' CreateService (Maybe NetworkConfiguration)
+ Amazonka.ECS.Lens: createService_placementConstraints :: Lens' CreateService (Maybe [PlacementConstraint])
+ Amazonka.ECS.Lens: createService_placementStrategy :: Lens' CreateService (Maybe [PlacementStrategy])
+ Amazonka.ECS.Lens: createService_platformVersion :: Lens' CreateService (Maybe Text)
+ Amazonka.ECS.Lens: createService_propagateTags :: Lens' CreateService (Maybe PropagateTags)
+ Amazonka.ECS.Lens: createService_role :: Lens' CreateService (Maybe Text)
+ Amazonka.ECS.Lens: createService_schedulingStrategy :: Lens' CreateService (Maybe SchedulingStrategy)
+ Amazonka.ECS.Lens: createService_serviceConnectConfiguration :: Lens' CreateService (Maybe ServiceConnectConfiguration)
+ Amazonka.ECS.Lens: createService_serviceName :: Lens' CreateService Text
+ Amazonka.ECS.Lens: createService_serviceRegistries :: Lens' CreateService (Maybe [ServiceRegistry])
+ Amazonka.ECS.Lens: createService_tags :: Lens' CreateService (Maybe [Tag])
+ Amazonka.ECS.Lens: createService_taskDefinition :: Lens' CreateService (Maybe Text)
+ Amazonka.ECS.Lens: createTaskSetResponse_httpStatus :: Lens' CreateTaskSetResponse Int
+ Amazonka.ECS.Lens: createTaskSetResponse_taskSet :: Lens' CreateTaskSetResponse (Maybe TaskSet)
+ Amazonka.ECS.Lens: createTaskSet_capacityProviderStrategy :: Lens' CreateTaskSet (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Lens: createTaskSet_clientToken :: Lens' CreateTaskSet (Maybe Text)
+ Amazonka.ECS.Lens: createTaskSet_cluster :: Lens' CreateTaskSet Text
+ Amazonka.ECS.Lens: createTaskSet_externalId :: Lens' CreateTaskSet (Maybe Text)
+ Amazonka.ECS.Lens: createTaskSet_launchType :: Lens' CreateTaskSet (Maybe LaunchType)
+ Amazonka.ECS.Lens: createTaskSet_loadBalancers :: Lens' CreateTaskSet (Maybe [LoadBalancer])
+ Amazonka.ECS.Lens: createTaskSet_networkConfiguration :: Lens' CreateTaskSet (Maybe NetworkConfiguration)
+ Amazonka.ECS.Lens: createTaskSet_platformVersion :: Lens' CreateTaskSet (Maybe Text)
+ Amazonka.ECS.Lens: createTaskSet_scale :: Lens' CreateTaskSet (Maybe Scale)
+ Amazonka.ECS.Lens: createTaskSet_service :: Lens' CreateTaskSet Text
+ Amazonka.ECS.Lens: createTaskSet_serviceRegistries :: Lens' CreateTaskSet (Maybe [ServiceRegistry])
+ Amazonka.ECS.Lens: createTaskSet_tags :: Lens' CreateTaskSet (Maybe [Tag])
+ Amazonka.ECS.Lens: createTaskSet_taskDefinition :: Lens' CreateTaskSet Text
+ Amazonka.ECS.Lens: deleteAccountSettingResponse_httpStatus :: Lens' DeleteAccountSettingResponse Int
+ Amazonka.ECS.Lens: deleteAccountSettingResponse_setting :: Lens' DeleteAccountSettingResponse (Maybe Setting)
+ Amazonka.ECS.Lens: deleteAccountSetting_name :: Lens' DeleteAccountSetting SettingName
+ Amazonka.ECS.Lens: deleteAccountSetting_principalArn :: Lens' DeleteAccountSetting (Maybe Text)
+ Amazonka.ECS.Lens: deleteAttributesResponse_attributes :: Lens' DeleteAttributesResponse (Maybe [Attribute])
+ Amazonka.ECS.Lens: deleteAttributesResponse_httpStatus :: Lens' DeleteAttributesResponse Int
+ Amazonka.ECS.Lens: deleteAttributes_attributes :: Lens' DeleteAttributes [Attribute]
+ Amazonka.ECS.Lens: deleteAttributes_cluster :: Lens' DeleteAttributes (Maybe Text)
+ Amazonka.ECS.Lens: deleteCapacityProviderResponse_capacityProvider :: Lens' DeleteCapacityProviderResponse (Maybe CapacityProvider)
+ Amazonka.ECS.Lens: deleteCapacityProviderResponse_httpStatus :: Lens' DeleteCapacityProviderResponse Int
+ Amazonka.ECS.Lens: deleteCapacityProvider_capacityProvider :: Lens' DeleteCapacityProvider Text
+ Amazonka.ECS.Lens: deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster)
+ Amazonka.ECS.Lens: deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
+ Amazonka.ECS.Lens: deleteCluster_cluster :: Lens' DeleteCluster Text
+ Amazonka.ECS.Lens: deleteServiceResponse_httpStatus :: Lens' DeleteServiceResponse Int
+ Amazonka.ECS.Lens: deleteServiceResponse_service :: Lens' DeleteServiceResponse (Maybe ContainerService)
+ Amazonka.ECS.Lens: deleteService_cluster :: Lens' DeleteService (Maybe Text)
+ Amazonka.ECS.Lens: deleteService_force :: Lens' DeleteService (Maybe Bool)
+ Amazonka.ECS.Lens: deleteService_service :: Lens' DeleteService Text
+ Amazonka.ECS.Lens: deleteTaskSetResponse_httpStatus :: Lens' DeleteTaskSetResponse Int
+ Amazonka.ECS.Lens: deleteTaskSetResponse_taskSet :: Lens' DeleteTaskSetResponse (Maybe TaskSet)
+ Amazonka.ECS.Lens: deleteTaskSet_cluster :: Lens' DeleteTaskSet Text
+ Amazonka.ECS.Lens: deleteTaskSet_force :: Lens' DeleteTaskSet (Maybe Bool)
+ Amazonka.ECS.Lens: deleteTaskSet_service :: Lens' DeleteTaskSet Text
+ Amazonka.ECS.Lens: deleteTaskSet_taskSet :: Lens' DeleteTaskSet Text
+ Amazonka.ECS.Lens: deploymentAlarms_alarmNames :: Lens' DeploymentAlarms [Text]
+ Amazonka.ECS.Lens: deploymentAlarms_enable :: Lens' DeploymentAlarms Bool
+ Amazonka.ECS.Lens: deploymentAlarms_rollback :: Lens' DeploymentAlarms Bool
+ Amazonka.ECS.Lens: deploymentCircuitBreaker_enable :: Lens' DeploymentCircuitBreaker Bool
+ Amazonka.ECS.Lens: deploymentCircuitBreaker_rollback :: Lens' DeploymentCircuitBreaker Bool
+ Amazonka.ECS.Lens: deploymentConfiguration_alarms :: Lens' DeploymentConfiguration (Maybe DeploymentAlarms)
+ Amazonka.ECS.Lens: deploymentConfiguration_deploymentCircuitBreaker :: Lens' DeploymentConfiguration (Maybe DeploymentCircuitBreaker)
+ Amazonka.ECS.Lens: deploymentConfiguration_maximumPercent :: Lens' DeploymentConfiguration (Maybe Int)
+ Amazonka.ECS.Lens: deploymentConfiguration_minimumHealthyPercent :: Lens' DeploymentConfiguration (Maybe Int)
+ Amazonka.ECS.Lens: deploymentController_type :: Lens' DeploymentController DeploymentControllerType
+ Amazonka.ECS.Lens: deployment_capacityProviderStrategy :: Lens' Deployment (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Lens: deployment_createdAt :: Lens' Deployment (Maybe UTCTime)
+ Amazonka.ECS.Lens: deployment_desiredCount :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Lens: deployment_failedTasks :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Lens: deployment_id :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Lens: deployment_launchType :: Lens' Deployment (Maybe LaunchType)
+ Amazonka.ECS.Lens: deployment_networkConfiguration :: Lens' Deployment (Maybe NetworkConfiguration)
+ Amazonka.ECS.Lens: deployment_pendingCount :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Lens: deployment_platformFamily :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Lens: deployment_platformVersion :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Lens: deployment_rolloutState :: Lens' Deployment (Maybe DeploymentRolloutState)
+ Amazonka.ECS.Lens: deployment_rolloutStateReason :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Lens: deployment_runningCount :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Lens: deployment_serviceConnectConfiguration :: Lens' Deployment (Maybe ServiceConnectConfiguration)
+ Amazonka.ECS.Lens: deployment_serviceConnectResources :: Lens' Deployment (Maybe [ServiceConnectServiceResource])
+ Amazonka.ECS.Lens: deployment_status :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Lens: deployment_taskDefinition :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Lens: deployment_updatedAt :: Lens' Deployment (Maybe UTCTime)
+ Amazonka.ECS.Lens: deregisterContainerInstanceResponse_containerInstance :: Lens' DeregisterContainerInstanceResponse (Maybe ContainerInstance)
+ Amazonka.ECS.Lens: deregisterContainerInstanceResponse_httpStatus :: Lens' DeregisterContainerInstanceResponse Int
+ Amazonka.ECS.Lens: deregisterContainerInstance_cluster :: Lens' DeregisterContainerInstance (Maybe Text)
+ Amazonka.ECS.Lens: deregisterContainerInstance_containerInstance :: Lens' DeregisterContainerInstance Text
+ Amazonka.ECS.Lens: deregisterContainerInstance_force :: Lens' DeregisterContainerInstance (Maybe Bool)
+ Amazonka.ECS.Lens: deregisterTaskDefinitionResponse_httpStatus :: Lens' DeregisterTaskDefinitionResponse Int
+ Amazonka.ECS.Lens: deregisterTaskDefinitionResponse_taskDefinition :: Lens' DeregisterTaskDefinitionResponse (Maybe TaskDefinition)
+ Amazonka.ECS.Lens: deregisterTaskDefinition_taskDefinition :: Lens' DeregisterTaskDefinition Text
+ Amazonka.ECS.Lens: describeCapacityProvidersResponse_capacityProviders :: Lens' DescribeCapacityProvidersResponse (Maybe [CapacityProvider])
+ Amazonka.ECS.Lens: describeCapacityProvidersResponse_failures :: Lens' DescribeCapacityProvidersResponse (Maybe [Failure])
+ Amazonka.ECS.Lens: describeCapacityProvidersResponse_httpStatus :: Lens' DescribeCapacityProvidersResponse Int
+ Amazonka.ECS.Lens: describeCapacityProvidersResponse_nextToken :: Lens' DescribeCapacityProvidersResponse (Maybe Text)
+ Amazonka.ECS.Lens: describeCapacityProviders_capacityProviders :: Lens' DescribeCapacityProviders (Maybe [Text])
+ Amazonka.ECS.Lens: describeCapacityProviders_include :: Lens' DescribeCapacityProviders (Maybe [CapacityProviderField])
+ Amazonka.ECS.Lens: describeCapacityProviders_maxResults :: Lens' DescribeCapacityProviders (Maybe Int)
+ Amazonka.ECS.Lens: describeCapacityProviders_nextToken :: Lens' DescribeCapacityProviders (Maybe Text)
+ Amazonka.ECS.Lens: describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
+ Amazonka.ECS.Lens: describeClustersResponse_failures :: Lens' DescribeClustersResponse (Maybe [Failure])
+ Amazonka.ECS.Lens: describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
+ Amazonka.ECS.Lens: describeClusters_clusters :: Lens' DescribeClusters (Maybe [Text])
+ Amazonka.ECS.Lens: describeClusters_include :: Lens' DescribeClusters (Maybe [ClusterField])
+ Amazonka.ECS.Lens: describeContainerInstancesResponse_containerInstances :: Lens' DescribeContainerInstancesResponse (Maybe [ContainerInstance])
+ Amazonka.ECS.Lens: describeContainerInstancesResponse_failures :: Lens' DescribeContainerInstancesResponse (Maybe [Failure])
+ Amazonka.ECS.Lens: describeContainerInstancesResponse_httpStatus :: Lens' DescribeContainerInstancesResponse Int
+ Amazonka.ECS.Lens: describeContainerInstances_cluster :: Lens' DescribeContainerInstances (Maybe Text)
+ Amazonka.ECS.Lens: describeContainerInstances_containerInstances :: Lens' DescribeContainerInstances [Text]
+ Amazonka.ECS.Lens: describeContainerInstances_include :: Lens' DescribeContainerInstances (Maybe [ContainerInstanceField])
+ Amazonka.ECS.Lens: describeServicesResponse_failures :: Lens' DescribeServicesResponse (Maybe [Failure])
+ Amazonka.ECS.Lens: describeServicesResponse_httpStatus :: Lens' DescribeServicesResponse Int
+ Amazonka.ECS.Lens: describeServicesResponse_services :: Lens' DescribeServicesResponse (Maybe [ContainerService])
+ Amazonka.ECS.Lens: describeServices_cluster :: Lens' DescribeServices (Maybe Text)
+ Amazonka.ECS.Lens: describeServices_include :: Lens' DescribeServices (Maybe [ServiceField])
+ Amazonka.ECS.Lens: describeServices_services :: Lens' DescribeServices [Text]
+ Amazonka.ECS.Lens: describeTaskDefinitionResponse_httpStatus :: Lens' DescribeTaskDefinitionResponse Int
+ Amazonka.ECS.Lens: describeTaskDefinitionResponse_tags :: Lens' DescribeTaskDefinitionResponse (Maybe [Tag])
+ Amazonka.ECS.Lens: describeTaskDefinitionResponse_taskDefinition :: Lens' DescribeTaskDefinitionResponse (Maybe TaskDefinition)
+ Amazonka.ECS.Lens: describeTaskDefinition_include :: Lens' DescribeTaskDefinition (Maybe [TaskDefinitionField])
+ Amazonka.ECS.Lens: describeTaskDefinition_taskDefinition :: Lens' DescribeTaskDefinition Text
+ Amazonka.ECS.Lens: describeTaskSetsResponse_failures :: Lens' DescribeTaskSetsResponse (Maybe [Failure])
+ Amazonka.ECS.Lens: describeTaskSetsResponse_httpStatus :: Lens' DescribeTaskSetsResponse Int
+ Amazonka.ECS.Lens: describeTaskSetsResponse_taskSets :: Lens' DescribeTaskSetsResponse (Maybe [TaskSet])
+ Amazonka.ECS.Lens: describeTaskSets_cluster :: Lens' DescribeTaskSets Text
+ Amazonka.ECS.Lens: describeTaskSets_include :: Lens' DescribeTaskSets (Maybe [TaskSetField])
+ Amazonka.ECS.Lens: describeTaskSets_service :: Lens' DescribeTaskSets Text
+ Amazonka.ECS.Lens: describeTaskSets_taskSets :: Lens' DescribeTaskSets (Maybe [Text])
+ Amazonka.ECS.Lens: describeTasksResponse_failures :: Lens' DescribeTasksResponse (Maybe [Failure])
+ Amazonka.ECS.Lens: describeTasksResponse_httpStatus :: Lens' DescribeTasksResponse Int
+ Amazonka.ECS.Lens: describeTasksResponse_tasks :: Lens' DescribeTasksResponse (Maybe [Task])
+ Amazonka.ECS.Lens: describeTasks_cluster :: Lens' DescribeTasks (Maybe Text)
+ Amazonka.ECS.Lens: describeTasks_include :: Lens' DescribeTasks (Maybe [TaskField])
+ Amazonka.ECS.Lens: describeTasks_tasks :: Lens' DescribeTasks [Text]
+ Amazonka.ECS.Lens: device_containerPath :: Lens' Device (Maybe Text)
+ Amazonka.ECS.Lens: device_hostPath :: Lens' Device Text
+ Amazonka.ECS.Lens: device_permissions :: Lens' Device (Maybe [DeviceCgroupPermission])
+ Amazonka.ECS.Lens: discoverPollEndpointResponse_endpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
+ Amazonka.ECS.Lens: discoverPollEndpointResponse_httpStatus :: Lens' DiscoverPollEndpointResponse Int
+ Amazonka.ECS.Lens: discoverPollEndpointResponse_serviceConnectEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
+ Amazonka.ECS.Lens: discoverPollEndpointResponse_telemetryEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)
+ Amazonka.ECS.Lens: discoverPollEndpoint_cluster :: Lens' DiscoverPollEndpoint (Maybe Text)
+ Amazonka.ECS.Lens: discoverPollEndpoint_containerInstance :: Lens' DiscoverPollEndpoint (Maybe Text)
+ Amazonka.ECS.Lens: dockerVolumeConfiguration_autoprovision :: Lens' DockerVolumeConfiguration (Maybe Bool)
+ Amazonka.ECS.Lens: dockerVolumeConfiguration_driver :: Lens' DockerVolumeConfiguration (Maybe Text)
+ Amazonka.ECS.Lens: dockerVolumeConfiguration_driverOpts :: Lens' DockerVolumeConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Lens: dockerVolumeConfiguration_labels :: Lens' DockerVolumeConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Lens: dockerVolumeConfiguration_scope :: Lens' DockerVolumeConfiguration (Maybe Scope)
+ Amazonka.ECS.Lens: eFSAuthorizationConfig_accessPointId :: Lens' EFSAuthorizationConfig (Maybe Text)
+ Amazonka.ECS.Lens: eFSAuthorizationConfig_iam :: Lens' EFSAuthorizationConfig (Maybe EFSAuthorizationConfigIAM)
+ Amazonka.ECS.Lens: eFSVolumeConfiguration_authorizationConfig :: Lens' EFSVolumeConfiguration (Maybe EFSAuthorizationConfig)
+ Amazonka.ECS.Lens: eFSVolumeConfiguration_fileSystemId :: Lens' EFSVolumeConfiguration Text
+ Amazonka.ECS.Lens: eFSVolumeConfiguration_rootDirectory :: Lens' EFSVolumeConfiguration (Maybe Text)
+ Amazonka.ECS.Lens: eFSVolumeConfiguration_transitEncryption :: Lens' EFSVolumeConfiguration (Maybe EFSTransitEncryption)
+ Amazonka.ECS.Lens: eFSVolumeConfiguration_transitEncryptionPort :: Lens' EFSVolumeConfiguration (Maybe Int)
+ Amazonka.ECS.Lens: environmentFile_type :: Lens' EnvironmentFile EnvironmentFileType
+ Amazonka.ECS.Lens: environmentFile_value :: Lens' EnvironmentFile Text
+ Amazonka.ECS.Lens: ephemeralStorage_sizeInGiB :: Lens' EphemeralStorage Int
+ Amazonka.ECS.Lens: executeCommandConfiguration_kmsKeyId :: Lens' ExecuteCommandConfiguration (Maybe Text)
+ Amazonka.ECS.Lens: executeCommandConfiguration_logConfiguration :: Lens' ExecuteCommandConfiguration (Maybe ExecuteCommandLogConfiguration)
+ Amazonka.ECS.Lens: executeCommandConfiguration_logging :: Lens' ExecuteCommandConfiguration (Maybe ExecuteCommandLogging)
+ Amazonka.ECS.Lens: executeCommandLogConfiguration_cloudWatchEncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool)
+ Amazonka.ECS.Lens: executeCommandLogConfiguration_cloudWatchLogGroupName :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
+ Amazonka.ECS.Lens: executeCommandLogConfiguration_s3BucketName :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
+ Amazonka.ECS.Lens: executeCommandLogConfiguration_s3EncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool)
+ Amazonka.ECS.Lens: executeCommandLogConfiguration_s3KeyPrefix :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
+ Amazonka.ECS.Lens: executeCommandResponse_clusterArn :: Lens' ExecuteCommandResponse (Maybe Text)
+ Amazonka.ECS.Lens: executeCommandResponse_containerArn :: Lens' ExecuteCommandResponse (Maybe Text)
+ Amazonka.ECS.Lens: executeCommandResponse_containerName :: Lens' ExecuteCommandResponse (Maybe Text)
+ Amazonka.ECS.Lens: executeCommandResponse_httpStatus :: Lens' ExecuteCommandResponse Int
+ Amazonka.ECS.Lens: executeCommandResponse_interactive :: Lens' ExecuteCommandResponse (Maybe Bool)
+ Amazonka.ECS.Lens: executeCommandResponse_session :: Lens' ExecuteCommandResponse (Maybe Session)
+ Amazonka.ECS.Lens: executeCommandResponse_taskArn :: Lens' ExecuteCommandResponse (Maybe Text)
+ Amazonka.ECS.Lens: executeCommand_cluster :: Lens' ExecuteCommand (Maybe Text)
+ Amazonka.ECS.Lens: executeCommand_command :: Lens' ExecuteCommand Text
+ Amazonka.ECS.Lens: executeCommand_container :: Lens' ExecuteCommand (Maybe Text)
+ Amazonka.ECS.Lens: executeCommand_interactive :: Lens' ExecuteCommand Bool
+ Amazonka.ECS.Lens: executeCommand_task :: Lens' ExecuteCommand Text
+ Amazonka.ECS.Lens: fSxWindowsFileServerAuthorizationConfig_credentialsParameter :: Lens' FSxWindowsFileServerAuthorizationConfig Text
+ Amazonka.ECS.Lens: fSxWindowsFileServerAuthorizationConfig_domain :: Lens' FSxWindowsFileServerAuthorizationConfig Text
+ Amazonka.ECS.Lens: fSxWindowsFileServerVolumeConfiguration_authorizationConfig :: Lens' FSxWindowsFileServerVolumeConfiguration FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Lens: fSxWindowsFileServerVolumeConfiguration_fileSystemId :: Lens' FSxWindowsFileServerVolumeConfiguration Text
+ Amazonka.ECS.Lens: fSxWindowsFileServerVolumeConfiguration_rootDirectory :: Lens' FSxWindowsFileServerVolumeConfiguration Text
+ Amazonka.ECS.Lens: failure_arn :: Lens' Failure (Maybe Text)
+ Amazonka.ECS.Lens: failure_detail :: Lens' Failure (Maybe Text)
+ Amazonka.ECS.Lens: failure_reason :: Lens' Failure (Maybe Text)
+ Amazonka.ECS.Lens: firelensConfiguration_options :: Lens' FirelensConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Lens: firelensConfiguration_type :: Lens' FirelensConfiguration FirelensConfigurationType
+ Amazonka.ECS.Lens: getTaskProtectionResponse_failures :: Lens' GetTaskProtectionResponse (Maybe [Failure])
+ Amazonka.ECS.Lens: getTaskProtectionResponse_httpStatus :: Lens' GetTaskProtectionResponse Int
+ Amazonka.ECS.Lens: getTaskProtectionResponse_protectedTasks :: Lens' GetTaskProtectionResponse (Maybe [ProtectedTask])
+ Amazonka.ECS.Lens: getTaskProtection_cluster :: Lens' GetTaskProtection Text
+ Amazonka.ECS.Lens: getTaskProtection_tasks :: Lens' GetTaskProtection (Maybe [Text])
+ Amazonka.ECS.Lens: healthCheck_command :: Lens' HealthCheck [Text]
+ Amazonka.ECS.Lens: healthCheck_interval :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Lens: healthCheck_retries :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Lens: healthCheck_startPeriod :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Lens: healthCheck_timeout :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Lens: hostEntry_hostname :: Lens' HostEntry Text
+ Amazonka.ECS.Lens: hostEntry_ipAddress :: Lens' HostEntry Text
+ Amazonka.ECS.Lens: hostVolumeProperties_sourcePath :: Lens' HostVolumeProperties (Maybe Text)
+ Amazonka.ECS.Lens: inferenceAcceleratorOverride_deviceName :: Lens' InferenceAcceleratorOverride (Maybe Text)
+ Amazonka.ECS.Lens: inferenceAcceleratorOverride_deviceType :: Lens' InferenceAcceleratorOverride (Maybe Text)
+ Amazonka.ECS.Lens: inferenceAccelerator_deviceName :: Lens' InferenceAccelerator Text
+ Amazonka.ECS.Lens: inferenceAccelerator_deviceType :: Lens' InferenceAccelerator Text
+ Amazonka.ECS.Lens: instanceHealthCheckResult_lastStatusChange :: Lens' InstanceHealthCheckResult (Maybe UTCTime)
+ Amazonka.ECS.Lens: instanceHealthCheckResult_lastUpdated :: Lens' InstanceHealthCheckResult (Maybe UTCTime)
+ Amazonka.ECS.Lens: instanceHealthCheckResult_status :: Lens' InstanceHealthCheckResult (Maybe InstanceHealthCheckState)
+ Amazonka.ECS.Lens: instanceHealthCheckResult_type :: Lens' InstanceHealthCheckResult (Maybe InstanceHealthCheckType)
+ Amazonka.ECS.Lens: kernelCapabilities_add :: Lens' KernelCapabilities (Maybe [Text])
+ Amazonka.ECS.Lens: kernelCapabilities_drop :: Lens' KernelCapabilities (Maybe [Text])
+ Amazonka.ECS.Lens: keyValuePair_name :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.ECS.Lens: keyValuePair_value :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.ECS.Lens: linuxParameters_capabilities :: Lens' LinuxParameters (Maybe KernelCapabilities)
+ Amazonka.ECS.Lens: linuxParameters_devices :: Lens' LinuxParameters (Maybe [Device])
+ Amazonka.ECS.Lens: linuxParameters_initProcessEnabled :: Lens' LinuxParameters (Maybe Bool)
+ Amazonka.ECS.Lens: linuxParameters_maxSwap :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.ECS.Lens: linuxParameters_sharedMemorySize :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.ECS.Lens: linuxParameters_swappiness :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.ECS.Lens: linuxParameters_tmpfs :: Lens' LinuxParameters (Maybe [Tmpfs])
+ Amazonka.ECS.Lens: listAccountSettingsResponse_httpStatus :: Lens' ListAccountSettingsResponse Int
+ Amazonka.ECS.Lens: listAccountSettingsResponse_nextToken :: Lens' ListAccountSettingsResponse (Maybe Text)
+ Amazonka.ECS.Lens: listAccountSettingsResponse_settings :: Lens' ListAccountSettingsResponse (Maybe [Setting])
+ Amazonka.ECS.Lens: listAccountSettings_effectiveSettings :: Lens' ListAccountSettings (Maybe Bool)
+ Amazonka.ECS.Lens: listAccountSettings_maxResults :: Lens' ListAccountSettings (Maybe Int)
+ Amazonka.ECS.Lens: listAccountSettings_name :: Lens' ListAccountSettings (Maybe SettingName)
+ Amazonka.ECS.Lens: listAccountSettings_nextToken :: Lens' ListAccountSettings (Maybe Text)
+ Amazonka.ECS.Lens: listAccountSettings_principalArn :: Lens' ListAccountSettings (Maybe Text)
+ Amazonka.ECS.Lens: listAccountSettings_value :: Lens' ListAccountSettings (Maybe Text)
+ Amazonka.ECS.Lens: listAttributesResponse_attributes :: Lens' ListAttributesResponse (Maybe [Attribute])
+ Amazonka.ECS.Lens: listAttributesResponse_httpStatus :: Lens' ListAttributesResponse Int
+ Amazonka.ECS.Lens: listAttributesResponse_nextToken :: Lens' ListAttributesResponse (Maybe Text)
+ Amazonka.ECS.Lens: listAttributes_attributeName :: Lens' ListAttributes (Maybe Text)
+ Amazonka.ECS.Lens: listAttributes_attributeValue :: Lens' ListAttributes (Maybe Text)
+ Amazonka.ECS.Lens: listAttributes_cluster :: Lens' ListAttributes (Maybe Text)
+ Amazonka.ECS.Lens: listAttributes_maxResults :: Lens' ListAttributes (Maybe Int)
+ Amazonka.ECS.Lens: listAttributes_nextToken :: Lens' ListAttributes (Maybe Text)
+ Amazonka.ECS.Lens: listAttributes_targetType :: Lens' ListAttributes TargetType
+ Amazonka.ECS.Lens: listClustersResponse_clusterArns :: Lens' ListClustersResponse (Maybe [Text])
+ Amazonka.ECS.Lens: listClustersResponse_httpStatus :: Lens' ListClustersResponse Int
+ Amazonka.ECS.Lens: listClustersResponse_nextToken :: Lens' ListClustersResponse (Maybe Text)
+ Amazonka.ECS.Lens: listClusters_maxResults :: Lens' ListClusters (Maybe Int)
+ Amazonka.ECS.Lens: listClusters_nextToken :: Lens' ListClusters (Maybe Text)
+ Amazonka.ECS.Lens: listContainerInstancesResponse_containerInstanceArns :: Lens' ListContainerInstancesResponse (Maybe [Text])
+ Amazonka.ECS.Lens: listContainerInstancesResponse_httpStatus :: Lens' ListContainerInstancesResponse Int
+ Amazonka.ECS.Lens: listContainerInstancesResponse_nextToken :: Lens' ListContainerInstancesResponse (Maybe Text)
+ Amazonka.ECS.Lens: listContainerInstances_cluster :: Lens' ListContainerInstances (Maybe Text)
+ Amazonka.ECS.Lens: listContainerInstances_filter :: Lens' ListContainerInstances (Maybe Text)
+ Amazonka.ECS.Lens: listContainerInstances_maxResults :: Lens' ListContainerInstances (Maybe Int)
+ Amazonka.ECS.Lens: listContainerInstances_nextToken :: Lens' ListContainerInstances (Maybe Text)
+ Amazonka.ECS.Lens: listContainerInstances_status :: Lens' ListContainerInstances (Maybe ContainerInstanceStatus)
+ Amazonka.ECS.Lens: listServicesByNamespaceResponse_httpStatus :: Lens' ListServicesByNamespaceResponse Int
+ Amazonka.ECS.Lens: listServicesByNamespaceResponse_nextToken :: Lens' ListServicesByNamespaceResponse (Maybe Text)
+ Amazonka.ECS.Lens: listServicesByNamespaceResponse_serviceArns :: Lens' ListServicesByNamespaceResponse (Maybe [Text])
+ Amazonka.ECS.Lens: listServicesByNamespace_maxResults :: Lens' ListServicesByNamespace (Maybe Int)
+ Amazonka.ECS.Lens: listServicesByNamespace_namespace :: Lens' ListServicesByNamespace Text
+ Amazonka.ECS.Lens: listServicesByNamespace_nextToken :: Lens' ListServicesByNamespace (Maybe Text)
+ Amazonka.ECS.Lens: listServicesResponse_httpStatus :: Lens' ListServicesResponse Int
+ Amazonka.ECS.Lens: listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text)
+ Amazonka.ECS.Lens: listServicesResponse_serviceArns :: Lens' ListServicesResponse (Maybe [Text])
+ Amazonka.ECS.Lens: listServices_cluster :: Lens' ListServices (Maybe Text)
+ Amazonka.ECS.Lens: listServices_launchType :: Lens' ListServices (Maybe LaunchType)
+ Amazonka.ECS.Lens: listServices_maxResults :: Lens' ListServices (Maybe Int)
+ Amazonka.ECS.Lens: listServices_nextToken :: Lens' ListServices (Maybe Text)
+ Amazonka.ECS.Lens: listServices_schedulingStrategy :: Lens' ListServices (Maybe SchedulingStrategy)
+ Amazonka.ECS.Lens: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.ECS.Lens: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.ECS.Lens: listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
+ Amazonka.ECS.Lens: listTaskDefinitionFamiliesResponse_families :: Lens' ListTaskDefinitionFamiliesResponse (Maybe [Text])
+ Amazonka.ECS.Lens: listTaskDefinitionFamiliesResponse_httpStatus :: Lens' ListTaskDefinitionFamiliesResponse Int
+ Amazonka.ECS.Lens: listTaskDefinitionFamiliesResponse_nextToken :: Lens' ListTaskDefinitionFamiliesResponse (Maybe Text)
+ Amazonka.ECS.Lens: listTaskDefinitionFamilies_familyPrefix :: Lens' ListTaskDefinitionFamilies (Maybe Text)
+ Amazonka.ECS.Lens: listTaskDefinitionFamilies_maxResults :: Lens' ListTaskDefinitionFamilies (Maybe Int)
+ Amazonka.ECS.Lens: listTaskDefinitionFamilies_nextToken :: Lens' ListTaskDefinitionFamilies (Maybe Text)
+ Amazonka.ECS.Lens: listTaskDefinitionFamilies_status :: Lens' ListTaskDefinitionFamilies (Maybe TaskDefinitionFamilyStatus)
+ Amazonka.ECS.Lens: listTaskDefinitionsResponse_httpStatus :: Lens' ListTaskDefinitionsResponse Int
+ Amazonka.ECS.Lens: listTaskDefinitionsResponse_nextToken :: Lens' ListTaskDefinitionsResponse (Maybe Text)
+ Amazonka.ECS.Lens: listTaskDefinitionsResponse_taskDefinitionArns :: Lens' ListTaskDefinitionsResponse (Maybe [Text])
+ Amazonka.ECS.Lens: listTaskDefinitions_familyPrefix :: Lens' ListTaskDefinitions (Maybe Text)
+ Amazonka.ECS.Lens: listTaskDefinitions_maxResults :: Lens' ListTaskDefinitions (Maybe Int)
+ Amazonka.ECS.Lens: listTaskDefinitions_nextToken :: Lens' ListTaskDefinitions (Maybe Text)
+ Amazonka.ECS.Lens: listTaskDefinitions_sort :: Lens' ListTaskDefinitions (Maybe SortOrder)
+ Amazonka.ECS.Lens: listTaskDefinitions_status :: Lens' ListTaskDefinitions (Maybe TaskDefinitionStatus)
+ Amazonka.ECS.Lens: listTasksResponse_httpStatus :: Lens' ListTasksResponse Int
+ Amazonka.ECS.Lens: listTasksResponse_nextToken :: Lens' ListTasksResponse (Maybe Text)
+ Amazonka.ECS.Lens: listTasksResponse_taskArns :: Lens' ListTasksResponse (Maybe [Text])
+ Amazonka.ECS.Lens: listTasks_cluster :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.Lens: listTasks_containerInstance :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.Lens: listTasks_desiredStatus :: Lens' ListTasks (Maybe DesiredStatus)
+ Amazonka.ECS.Lens: listTasks_family :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.Lens: listTasks_launchType :: Lens' ListTasks (Maybe LaunchType)
+ Amazonka.ECS.Lens: listTasks_maxResults :: Lens' ListTasks (Maybe Int)
+ Amazonka.ECS.Lens: listTasks_nextToken :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.Lens: listTasks_serviceName :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.Lens: listTasks_startedBy :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.Lens: loadBalancer_containerName :: Lens' LoadBalancer (Maybe Text)
+ Amazonka.ECS.Lens: loadBalancer_containerPort :: Lens' LoadBalancer (Maybe Int)
+ Amazonka.ECS.Lens: loadBalancer_loadBalancerName :: Lens' LoadBalancer (Maybe Text)
+ Amazonka.ECS.Lens: loadBalancer_targetGroupArn :: Lens' LoadBalancer (Maybe Text)
+ Amazonka.ECS.Lens: logConfiguration_logDriver :: Lens' LogConfiguration LogDriver
+ Amazonka.ECS.Lens: logConfiguration_options :: Lens' LogConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Lens: logConfiguration_secretOptions :: Lens' LogConfiguration (Maybe [Secret])
+ Amazonka.ECS.Lens: managedAgentStateChange_containerName :: Lens' ManagedAgentStateChange Text
+ Amazonka.ECS.Lens: managedAgentStateChange_managedAgentName :: Lens' ManagedAgentStateChange ManagedAgentName
+ Amazonka.ECS.Lens: managedAgentStateChange_reason :: Lens' ManagedAgentStateChange (Maybe Text)
+ Amazonka.ECS.Lens: managedAgentStateChange_status :: Lens' ManagedAgentStateChange Text
+ Amazonka.ECS.Lens: managedAgent_lastStartedAt :: Lens' ManagedAgent (Maybe UTCTime)
+ Amazonka.ECS.Lens: managedAgent_lastStatus :: Lens' ManagedAgent (Maybe Text)
+ Amazonka.ECS.Lens: managedAgent_name :: Lens' ManagedAgent (Maybe ManagedAgentName)
+ Amazonka.ECS.Lens: managedAgent_reason :: Lens' ManagedAgent (Maybe Text)
+ Amazonka.ECS.Lens: managedScaling_instanceWarmupPeriod :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Lens: managedScaling_maximumScalingStepSize :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Lens: managedScaling_minimumScalingStepSize :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Lens: managedScaling_status :: Lens' ManagedScaling (Maybe ManagedScalingStatus)
+ Amazonka.ECS.Lens: managedScaling_targetCapacity :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Lens: mountPoint_containerPath :: Lens' MountPoint (Maybe Text)
+ Amazonka.ECS.Lens: mountPoint_readOnly :: Lens' MountPoint (Maybe Bool)
+ Amazonka.ECS.Lens: mountPoint_sourceVolume :: Lens' MountPoint (Maybe Text)
+ Amazonka.ECS.Lens: networkBinding_bindIP :: Lens' NetworkBinding (Maybe Text)
+ Amazonka.ECS.Lens: networkBinding_containerPort :: Lens' NetworkBinding (Maybe Int)
+ Amazonka.ECS.Lens: networkBinding_containerPortRange :: Lens' NetworkBinding (Maybe Text)
+ Amazonka.ECS.Lens: networkBinding_hostPort :: Lens' NetworkBinding (Maybe Int)
+ Amazonka.ECS.Lens: networkBinding_hostPortRange :: Lens' NetworkBinding (Maybe Text)
+ Amazonka.ECS.Lens: networkBinding_protocol :: Lens' NetworkBinding (Maybe TransportProtocol)
+ Amazonka.ECS.Lens: networkConfiguration_awsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AwsVpcConfiguration)
+ Amazonka.ECS.Lens: networkInterface_attachmentId :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.ECS.Lens: networkInterface_ipv6Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.ECS.Lens: networkInterface_privateIpv4Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.ECS.Lens: placementConstraint_expression :: Lens' PlacementConstraint (Maybe Text)
+ Amazonka.ECS.Lens: placementConstraint_type :: Lens' PlacementConstraint (Maybe PlacementConstraintType)
+ Amazonka.ECS.Lens: placementStrategy_field :: Lens' PlacementStrategy (Maybe Text)
+ Amazonka.ECS.Lens: placementStrategy_type :: Lens' PlacementStrategy (Maybe PlacementStrategyType)
+ Amazonka.ECS.Lens: platformDevice_id :: Lens' PlatformDevice Text
+ Amazonka.ECS.Lens: platformDevice_type :: Lens' PlatformDevice PlatformDeviceType
+ Amazonka.ECS.Lens: portMapping_appProtocol :: Lens' PortMapping (Maybe ApplicationProtocol)
+ Amazonka.ECS.Lens: portMapping_containerPort :: Lens' PortMapping (Maybe Int)
+ Amazonka.ECS.Lens: portMapping_containerPortRange :: Lens' PortMapping (Maybe Text)
+ Amazonka.ECS.Lens: portMapping_hostPort :: Lens' PortMapping (Maybe Int)
+ Amazonka.ECS.Lens: portMapping_name :: Lens' PortMapping (Maybe Text)
+ Amazonka.ECS.Lens: portMapping_protocol :: Lens' PortMapping (Maybe TransportProtocol)
+ Amazonka.ECS.Lens: protectedTask_expirationDate :: Lens' ProtectedTask (Maybe UTCTime)
+ Amazonka.ECS.Lens: protectedTask_protectionEnabled :: Lens' ProtectedTask (Maybe Bool)
+ Amazonka.ECS.Lens: protectedTask_taskArn :: Lens' ProtectedTask (Maybe Text)
+ Amazonka.ECS.Lens: proxyConfiguration_containerName :: Lens' ProxyConfiguration Text
+ Amazonka.ECS.Lens: proxyConfiguration_properties :: Lens' ProxyConfiguration (Maybe [KeyValuePair])
+ Amazonka.ECS.Lens: proxyConfiguration_type :: Lens' ProxyConfiguration (Maybe ProxyConfigurationType)
+ Amazonka.ECS.Lens: putAccountSettingDefaultResponse_httpStatus :: Lens' PutAccountSettingDefaultResponse Int
+ Amazonka.ECS.Lens: putAccountSettingDefaultResponse_setting :: Lens' PutAccountSettingDefaultResponse (Maybe Setting)
+ Amazonka.ECS.Lens: putAccountSettingDefault_name :: Lens' PutAccountSettingDefault SettingName
+ Amazonka.ECS.Lens: putAccountSettingDefault_value :: Lens' PutAccountSettingDefault Text
+ Amazonka.ECS.Lens: putAccountSettingResponse_httpStatus :: Lens' PutAccountSettingResponse Int
+ Amazonka.ECS.Lens: putAccountSettingResponse_setting :: Lens' PutAccountSettingResponse (Maybe Setting)
+ Amazonka.ECS.Lens: putAccountSetting_name :: Lens' PutAccountSetting SettingName
+ Amazonka.ECS.Lens: putAccountSetting_principalArn :: Lens' PutAccountSetting (Maybe Text)
+ Amazonka.ECS.Lens: putAccountSetting_value :: Lens' PutAccountSetting Text
+ Amazonka.ECS.Lens: putAttributesResponse_attributes :: Lens' PutAttributesResponse (Maybe [Attribute])
+ Amazonka.ECS.Lens: putAttributesResponse_httpStatus :: Lens' PutAttributesResponse Int
+ Amazonka.ECS.Lens: putAttributes_attributes :: Lens' PutAttributes [Attribute]
+ Amazonka.ECS.Lens: putAttributes_cluster :: Lens' PutAttributes (Maybe Text)
+ Amazonka.ECS.Lens: putClusterCapacityProvidersResponse_cluster :: Lens' PutClusterCapacityProvidersResponse (Maybe Cluster)
+ Amazonka.ECS.Lens: putClusterCapacityProvidersResponse_httpStatus :: Lens' PutClusterCapacityProvidersResponse Int
+ Amazonka.ECS.Lens: putClusterCapacityProviders_capacityProviders :: Lens' PutClusterCapacityProviders [Text]
+ Amazonka.ECS.Lens: putClusterCapacityProviders_cluster :: Lens' PutClusterCapacityProviders Text
+ Amazonka.ECS.Lens: putClusterCapacityProviders_defaultCapacityProviderStrategy :: Lens' PutClusterCapacityProviders [CapacityProviderStrategyItem]
+ Amazonka.ECS.Lens: registerContainerInstanceResponse_containerInstance :: Lens' RegisterContainerInstanceResponse (Maybe ContainerInstance)
+ Amazonka.ECS.Lens: registerContainerInstanceResponse_httpStatus :: Lens' RegisterContainerInstanceResponse Int
+ Amazonka.ECS.Lens: registerContainerInstance_attributes :: Lens' RegisterContainerInstance (Maybe [Attribute])
+ Amazonka.ECS.Lens: registerContainerInstance_cluster :: Lens' RegisterContainerInstance (Maybe Text)
+ Amazonka.ECS.Lens: registerContainerInstance_containerInstanceArn :: Lens' RegisterContainerInstance (Maybe Text)
+ Amazonka.ECS.Lens: registerContainerInstance_instanceIdentityDocument :: Lens' RegisterContainerInstance (Maybe Text)
+ Amazonka.ECS.Lens: registerContainerInstance_instanceIdentityDocumentSignature :: Lens' RegisterContainerInstance (Maybe Text)
+ Amazonka.ECS.Lens: registerContainerInstance_platformDevices :: Lens' RegisterContainerInstance (Maybe [PlatformDevice])
+ Amazonka.ECS.Lens: registerContainerInstance_tags :: Lens' RegisterContainerInstance (Maybe [Tag])
+ Amazonka.ECS.Lens: registerContainerInstance_totalResources :: Lens' RegisterContainerInstance (Maybe [Resource])
+ Amazonka.ECS.Lens: registerContainerInstance_versionInfo :: Lens' RegisterContainerInstance (Maybe VersionInfo)
+ Amazonka.ECS.Lens: registerTaskDefinitionResponse_httpStatus :: Lens' RegisterTaskDefinitionResponse Int
+ Amazonka.ECS.Lens: registerTaskDefinitionResponse_tags :: Lens' RegisterTaskDefinitionResponse (Maybe [Tag])
+ Amazonka.ECS.Lens: registerTaskDefinitionResponse_taskDefinition :: Lens' RegisterTaskDefinitionResponse (Maybe TaskDefinition)
+ Amazonka.ECS.Lens: registerTaskDefinition_containerDefinitions :: Lens' RegisterTaskDefinition [ContainerDefinition]
+ Amazonka.ECS.Lens: registerTaskDefinition_cpu :: Lens' RegisterTaskDefinition (Maybe Text)
+ Amazonka.ECS.Lens: registerTaskDefinition_ephemeralStorage :: Lens' RegisterTaskDefinition (Maybe EphemeralStorage)
+ Amazonka.ECS.Lens: registerTaskDefinition_executionRoleArn :: Lens' RegisterTaskDefinition (Maybe Text)
+ Amazonka.ECS.Lens: registerTaskDefinition_family :: Lens' RegisterTaskDefinition Text
+ Amazonka.ECS.Lens: registerTaskDefinition_inferenceAccelerators :: Lens' RegisterTaskDefinition (Maybe [InferenceAccelerator])
+ Amazonka.ECS.Lens: registerTaskDefinition_ipcMode :: Lens' RegisterTaskDefinition (Maybe IpcMode)
+ Amazonka.ECS.Lens: registerTaskDefinition_memory :: Lens' RegisterTaskDefinition (Maybe Text)
+ Amazonka.ECS.Lens: registerTaskDefinition_networkMode :: Lens' RegisterTaskDefinition (Maybe NetworkMode)
+ Amazonka.ECS.Lens: registerTaskDefinition_pidMode :: Lens' RegisterTaskDefinition (Maybe PidMode)
+ Amazonka.ECS.Lens: registerTaskDefinition_placementConstraints :: Lens' RegisterTaskDefinition (Maybe [TaskDefinitionPlacementConstraint])
+ Amazonka.ECS.Lens: registerTaskDefinition_proxyConfiguration :: Lens' RegisterTaskDefinition (Maybe ProxyConfiguration)
+ Amazonka.ECS.Lens: registerTaskDefinition_requiresCompatibilities :: Lens' RegisterTaskDefinition (Maybe [Compatibility])
+ Amazonka.ECS.Lens: registerTaskDefinition_runtimePlatform :: Lens' RegisterTaskDefinition (Maybe RuntimePlatform)
+ Amazonka.ECS.Lens: registerTaskDefinition_tags :: Lens' RegisterTaskDefinition (Maybe [Tag])
+ Amazonka.ECS.Lens: registerTaskDefinition_taskRoleArn :: Lens' RegisterTaskDefinition (Maybe Text)
+ Amazonka.ECS.Lens: registerTaskDefinition_volumes :: Lens' RegisterTaskDefinition (Maybe [Volume])
+ Amazonka.ECS.Lens: repositoryCredentials_credentialsParameter :: Lens' RepositoryCredentials Text
+ Amazonka.ECS.Lens: resourceRequirement_type :: Lens' ResourceRequirement ResourceType
+ Amazonka.ECS.Lens: resourceRequirement_value :: Lens' ResourceRequirement Text
+ Amazonka.ECS.Lens: resource_doubleValue :: Lens' Resource (Maybe Double)
+ Amazonka.ECS.Lens: resource_integerValue :: Lens' Resource (Maybe Int)
+ Amazonka.ECS.Lens: resource_longValue :: Lens' Resource (Maybe Integer)
+ Amazonka.ECS.Lens: resource_name :: Lens' Resource (Maybe Text)
+ Amazonka.ECS.Lens: resource_stringSetValue :: Lens' Resource (Maybe [Text])
+ Amazonka.ECS.Lens: resource_type :: Lens' Resource (Maybe Text)
+ Amazonka.ECS.Lens: runTaskResponse_failures :: Lens' RunTaskResponse (Maybe [Failure])
+ Amazonka.ECS.Lens: runTaskResponse_httpStatus :: Lens' RunTaskResponse Int
+ Amazonka.ECS.Lens: runTaskResponse_tasks :: Lens' RunTaskResponse (Maybe [Task])
+ Amazonka.ECS.Lens: runTask_capacityProviderStrategy :: Lens' RunTask (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Lens: runTask_cluster :: Lens' RunTask (Maybe Text)
+ Amazonka.ECS.Lens: runTask_count :: Lens' RunTask (Maybe Int)
+ Amazonka.ECS.Lens: runTask_enableECSManagedTags :: Lens' RunTask (Maybe Bool)
+ Amazonka.ECS.Lens: runTask_enableExecuteCommand :: Lens' RunTask (Maybe Bool)
+ Amazonka.ECS.Lens: runTask_group :: Lens' RunTask (Maybe Text)
+ Amazonka.ECS.Lens: runTask_launchType :: Lens' RunTask (Maybe LaunchType)
+ Amazonka.ECS.Lens: runTask_networkConfiguration :: Lens' RunTask (Maybe NetworkConfiguration)
+ Amazonka.ECS.Lens: runTask_overrides :: Lens' RunTask (Maybe TaskOverride)
+ Amazonka.ECS.Lens: runTask_placementConstraints :: Lens' RunTask (Maybe [PlacementConstraint])
+ Amazonka.ECS.Lens: runTask_placementStrategy :: Lens' RunTask (Maybe [PlacementStrategy])
+ Amazonka.ECS.Lens: runTask_platformVersion :: Lens' RunTask (Maybe Text)
+ Amazonka.ECS.Lens: runTask_propagateTags :: Lens' RunTask (Maybe PropagateTags)
+ Amazonka.ECS.Lens: runTask_referenceId :: Lens' RunTask (Maybe Text)
+ Amazonka.ECS.Lens: runTask_startedBy :: Lens' RunTask (Maybe Text)
+ Amazonka.ECS.Lens: runTask_tags :: Lens' RunTask (Maybe [Tag])
+ Amazonka.ECS.Lens: runTask_taskDefinition :: Lens' RunTask Text
+ Amazonka.ECS.Lens: runtimePlatform_cpuArchitecture :: Lens' RuntimePlatform (Maybe CPUArchitecture)
+ Amazonka.ECS.Lens: runtimePlatform_operatingSystemFamily :: Lens' RuntimePlatform (Maybe OSFamily)
+ Amazonka.ECS.Lens: scale_unit :: Lens' Scale (Maybe ScaleUnit)
+ Amazonka.ECS.Lens: scale_value :: Lens' Scale (Maybe Double)
+ Amazonka.ECS.Lens: secret_name :: Lens' Secret Text
+ Amazonka.ECS.Lens: secret_valueFrom :: Lens' Secret Text
+ Amazonka.ECS.Lens: serviceConnectClientAlias_dnsName :: Lens' ServiceConnectClientAlias (Maybe Text)
+ Amazonka.ECS.Lens: serviceConnectClientAlias_port :: Lens' ServiceConnectClientAlias Natural
+ Amazonka.ECS.Lens: serviceConnectConfiguration_enabled :: Lens' ServiceConnectConfiguration Bool
+ Amazonka.ECS.Lens: serviceConnectConfiguration_logConfiguration :: Lens' ServiceConnectConfiguration (Maybe LogConfiguration)
+ Amazonka.ECS.Lens: serviceConnectConfiguration_namespace :: Lens' ServiceConnectConfiguration (Maybe Text)
+ Amazonka.ECS.Lens: serviceConnectConfiguration_services :: Lens' ServiceConnectConfiguration (Maybe [ServiceConnectService])
+ Amazonka.ECS.Lens: serviceConnectServiceResource_discoveryArn :: Lens' ServiceConnectServiceResource (Maybe Text)
+ Amazonka.ECS.Lens: serviceConnectServiceResource_discoveryName :: Lens' ServiceConnectServiceResource (Maybe Text)
+ Amazonka.ECS.Lens: serviceConnectService_clientAliases :: Lens' ServiceConnectService (Maybe [ServiceConnectClientAlias])
+ Amazonka.ECS.Lens: serviceConnectService_discoveryName :: Lens' ServiceConnectService (Maybe Text)
+ Amazonka.ECS.Lens: serviceConnectService_ingressPortOverride :: Lens' ServiceConnectService (Maybe Natural)
+ Amazonka.ECS.Lens: serviceConnectService_portName :: Lens' ServiceConnectService Text
+ Amazonka.ECS.Lens: serviceEvent_createdAt :: Lens' ServiceEvent (Maybe UTCTime)
+ Amazonka.ECS.Lens: serviceEvent_id :: Lens' ServiceEvent (Maybe Text)
+ Amazonka.ECS.Lens: serviceEvent_message :: Lens' ServiceEvent (Maybe Text)
+ Amazonka.ECS.Lens: serviceRegistry_containerName :: Lens' ServiceRegistry (Maybe Text)
+ Amazonka.ECS.Lens: serviceRegistry_containerPort :: Lens' ServiceRegistry (Maybe Int)
+ Amazonka.ECS.Lens: serviceRegistry_port :: Lens' ServiceRegistry (Maybe Int)
+ Amazonka.ECS.Lens: serviceRegistry_registryArn :: Lens' ServiceRegistry (Maybe Text)
+ Amazonka.ECS.Lens: session_sessionId :: Lens' Session (Maybe Text)
+ Amazonka.ECS.Lens: session_streamUrl :: Lens' Session (Maybe Text)
+ Amazonka.ECS.Lens: session_tokenValue :: Lens' Session (Maybe Text)
+ Amazonka.ECS.Lens: setting_name :: Lens' Setting (Maybe SettingName)
+ Amazonka.ECS.Lens: setting_principalArn :: Lens' Setting (Maybe Text)
+ Amazonka.ECS.Lens: setting_value :: Lens' Setting (Maybe Text)
+ Amazonka.ECS.Lens: startTaskResponse_failures :: Lens' StartTaskResponse (Maybe [Failure])
+ Amazonka.ECS.Lens: startTaskResponse_httpStatus :: Lens' StartTaskResponse Int
+ Amazonka.ECS.Lens: startTaskResponse_tasks :: Lens' StartTaskResponse (Maybe [Task])
+ Amazonka.ECS.Lens: startTask_cluster :: Lens' StartTask (Maybe Text)
+ Amazonka.ECS.Lens: startTask_containerInstances :: Lens' StartTask [Text]
+ Amazonka.ECS.Lens: startTask_enableECSManagedTags :: Lens' StartTask (Maybe Bool)
+ Amazonka.ECS.Lens: startTask_enableExecuteCommand :: Lens' StartTask (Maybe Bool)
+ Amazonka.ECS.Lens: startTask_group :: Lens' StartTask (Maybe Text)
+ Amazonka.ECS.Lens: startTask_networkConfiguration :: Lens' StartTask (Maybe NetworkConfiguration)
+ Amazonka.ECS.Lens: startTask_overrides :: Lens' StartTask (Maybe TaskOverride)
+ Amazonka.ECS.Lens: startTask_propagateTags :: Lens' StartTask (Maybe PropagateTags)
+ Amazonka.ECS.Lens: startTask_referenceId :: Lens' StartTask (Maybe Text)
+ Amazonka.ECS.Lens: startTask_startedBy :: Lens' StartTask (Maybe Text)
+ Amazonka.ECS.Lens: startTask_tags :: Lens' StartTask (Maybe [Tag])
+ Amazonka.ECS.Lens: startTask_taskDefinition :: Lens' StartTask Text
+ Amazonka.ECS.Lens: stopTaskResponse_httpStatus :: Lens' StopTaskResponse Int
+ Amazonka.ECS.Lens: stopTaskResponse_task :: Lens' StopTaskResponse (Maybe Task)
+ Amazonka.ECS.Lens: stopTask_cluster :: Lens' StopTask (Maybe Text)
+ Amazonka.ECS.Lens: stopTask_reason :: Lens' StopTask (Maybe Text)
+ Amazonka.ECS.Lens: stopTask_task :: Lens' StopTask Text
+ Amazonka.ECS.Lens: submitAttachmentStateChangesResponse_acknowledgment :: Lens' SubmitAttachmentStateChangesResponse (Maybe Text)
+ Amazonka.ECS.Lens: submitAttachmentStateChangesResponse_httpStatus :: Lens' SubmitAttachmentStateChangesResponse Int
+ Amazonka.ECS.Lens: submitAttachmentStateChanges_attachments :: Lens' SubmitAttachmentStateChanges [AttachmentStateChange]
+ Amazonka.ECS.Lens: submitAttachmentStateChanges_cluster :: Lens' SubmitAttachmentStateChanges (Maybe Text)
+ Amazonka.ECS.Lens: submitContainerStateChangeResponse_acknowledgment :: Lens' SubmitContainerStateChangeResponse (Maybe Text)
+ Amazonka.ECS.Lens: submitContainerStateChangeResponse_httpStatus :: Lens' SubmitContainerStateChangeResponse Int
+ Amazonka.ECS.Lens: submitContainerStateChange_cluster :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.Lens: submitContainerStateChange_containerName :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.Lens: submitContainerStateChange_exitCode :: Lens' SubmitContainerStateChange (Maybe Int)
+ Amazonka.ECS.Lens: submitContainerStateChange_networkBindings :: Lens' SubmitContainerStateChange (Maybe [NetworkBinding])
+ Amazonka.ECS.Lens: submitContainerStateChange_reason :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.Lens: submitContainerStateChange_runtimeId :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.Lens: submitContainerStateChange_status :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.Lens: submitContainerStateChange_task :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.Lens: submitTaskStateChangeResponse_acknowledgment :: Lens' SubmitTaskStateChangeResponse (Maybe Text)
+ Amazonka.ECS.Lens: submitTaskStateChangeResponse_httpStatus :: Lens' SubmitTaskStateChangeResponse Int
+ Amazonka.ECS.Lens: submitTaskStateChange_attachments :: Lens' SubmitTaskStateChange (Maybe [AttachmentStateChange])
+ Amazonka.ECS.Lens: submitTaskStateChange_cluster :: Lens' SubmitTaskStateChange (Maybe Text)
+ Amazonka.ECS.Lens: submitTaskStateChange_containers :: Lens' SubmitTaskStateChange (Maybe [ContainerStateChange])
+ Amazonka.ECS.Lens: submitTaskStateChange_executionStoppedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)
+ Amazonka.ECS.Lens: submitTaskStateChange_managedAgents :: Lens' SubmitTaskStateChange (Maybe [ManagedAgentStateChange])
+ Amazonka.ECS.Lens: submitTaskStateChange_pullStartedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)
+ Amazonka.ECS.Lens: submitTaskStateChange_pullStoppedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)
+ Amazonka.ECS.Lens: submitTaskStateChange_reason :: Lens' SubmitTaskStateChange (Maybe Text)
+ Amazonka.ECS.Lens: submitTaskStateChange_status :: Lens' SubmitTaskStateChange (Maybe Text)
+ Amazonka.ECS.Lens: submitTaskStateChange_task :: Lens' SubmitTaskStateChange (Maybe Text)
+ Amazonka.ECS.Lens: systemControl_namespace :: Lens' SystemControl (Maybe Text)
+ Amazonka.ECS.Lens: systemControl_value :: Lens' SystemControl (Maybe Text)
+ Amazonka.ECS.Lens: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.ECS.Lens: tagResource_resourceArn :: Lens' TagResource Text
+ Amazonka.ECS.Lens: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.ECS.Lens: tag_key :: Lens' Tag (Maybe Text)
+ Amazonka.ECS.Lens: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.ECS.Lens: taskDefinitionPlacementConstraint_expression :: Lens' TaskDefinitionPlacementConstraint (Maybe Text)
+ Amazonka.ECS.Lens: taskDefinitionPlacementConstraint_type :: Lens' TaskDefinitionPlacementConstraint (Maybe TaskDefinitionPlacementConstraintType)
+ Amazonka.ECS.Lens: taskDefinition_compatibilities :: Lens' TaskDefinition (Maybe [Compatibility])
+ Amazonka.ECS.Lens: taskDefinition_containerDefinitions :: Lens' TaskDefinition (Maybe [ContainerDefinition])
+ Amazonka.ECS.Lens: taskDefinition_cpu :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Lens: taskDefinition_deregisteredAt :: Lens' TaskDefinition (Maybe UTCTime)
+ Amazonka.ECS.Lens: taskDefinition_ephemeralStorage :: Lens' TaskDefinition (Maybe EphemeralStorage)
+ Amazonka.ECS.Lens: taskDefinition_executionRoleArn :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Lens: taskDefinition_family :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Lens: taskDefinition_inferenceAccelerators :: Lens' TaskDefinition (Maybe [InferenceAccelerator])
+ Amazonka.ECS.Lens: taskDefinition_ipcMode :: Lens' TaskDefinition (Maybe IpcMode)
+ Amazonka.ECS.Lens: taskDefinition_memory :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Lens: taskDefinition_networkMode :: Lens' TaskDefinition (Maybe NetworkMode)
+ Amazonka.ECS.Lens: taskDefinition_pidMode :: Lens' TaskDefinition (Maybe PidMode)
+ Amazonka.ECS.Lens: taskDefinition_placementConstraints :: Lens' TaskDefinition (Maybe [TaskDefinitionPlacementConstraint])
+ Amazonka.ECS.Lens: taskDefinition_proxyConfiguration :: Lens' TaskDefinition (Maybe ProxyConfiguration)
+ Amazonka.ECS.Lens: taskDefinition_registeredAt :: Lens' TaskDefinition (Maybe UTCTime)
+ Amazonka.ECS.Lens: taskDefinition_registeredBy :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Lens: taskDefinition_requiresAttributes :: Lens' TaskDefinition (Maybe [Attribute])
+ Amazonka.ECS.Lens: taskDefinition_requiresCompatibilities :: Lens' TaskDefinition (Maybe [Compatibility])
+ Amazonka.ECS.Lens: taskDefinition_revision :: Lens' TaskDefinition (Maybe Int)
+ Amazonka.ECS.Lens: taskDefinition_runtimePlatform :: Lens' TaskDefinition (Maybe RuntimePlatform)
+ Amazonka.ECS.Lens: taskDefinition_status :: Lens' TaskDefinition (Maybe TaskDefinitionStatus)
+ Amazonka.ECS.Lens: taskDefinition_taskDefinitionArn :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Lens: taskDefinition_taskRoleArn :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Lens: taskDefinition_volumes :: Lens' TaskDefinition (Maybe [Volume])
+ Amazonka.ECS.Lens: taskOverride_containerOverrides :: Lens' TaskOverride (Maybe [ContainerOverride])
+ Amazonka.ECS.Lens: taskOverride_cpu :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Lens: taskOverride_ephemeralStorage :: Lens' TaskOverride (Maybe EphemeralStorage)
+ Amazonka.ECS.Lens: taskOverride_executionRoleArn :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Lens: taskOverride_inferenceAcceleratorOverrides :: Lens' TaskOverride (Maybe [InferenceAcceleratorOverride])
+ Amazonka.ECS.Lens: taskOverride_memory :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Lens: taskOverride_taskRoleArn :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Lens: taskSet_capacityProviderStrategy :: Lens' TaskSet (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Lens: taskSet_clusterArn :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Lens: taskSet_computedDesiredCount :: Lens' TaskSet (Maybe Int)
+ Amazonka.ECS.Lens: taskSet_createdAt :: Lens' TaskSet (Maybe UTCTime)
+ Amazonka.ECS.Lens: taskSet_externalId :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Lens: taskSet_id :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Lens: taskSet_launchType :: Lens' TaskSet (Maybe LaunchType)
+ Amazonka.ECS.Lens: taskSet_loadBalancers :: Lens' TaskSet (Maybe [LoadBalancer])
+ Amazonka.ECS.Lens: taskSet_networkConfiguration :: Lens' TaskSet (Maybe NetworkConfiguration)
+ Amazonka.ECS.Lens: taskSet_pendingCount :: Lens' TaskSet (Maybe Int)
+ Amazonka.ECS.Lens: taskSet_platformFamily :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Lens: taskSet_platformVersion :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Lens: taskSet_runningCount :: Lens' TaskSet (Maybe Int)
+ Amazonka.ECS.Lens: taskSet_scale :: Lens' TaskSet (Maybe Scale)
+ Amazonka.ECS.Lens: taskSet_serviceArn :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Lens: taskSet_serviceRegistries :: Lens' TaskSet (Maybe [ServiceRegistry])
+ Amazonka.ECS.Lens: taskSet_stabilityStatus :: Lens' TaskSet (Maybe StabilityStatus)
+ Amazonka.ECS.Lens: taskSet_stabilityStatusAt :: Lens' TaskSet (Maybe UTCTime)
+ Amazonka.ECS.Lens: taskSet_startedBy :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Lens: taskSet_status :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Lens: taskSet_tags :: Lens' TaskSet (Maybe [Tag])
+ Amazonka.ECS.Lens: taskSet_taskDefinition :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Lens: taskSet_taskSetArn :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Lens: taskSet_updatedAt :: Lens' TaskSet (Maybe UTCTime)
+ Amazonka.ECS.Lens: task_attachments :: Lens' Task (Maybe [Attachment])
+ Amazonka.ECS.Lens: task_attributes :: Lens' Task (Maybe [Attribute])
+ Amazonka.ECS.Lens: task_availabilityZone :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_capacityProviderName :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_clusterArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_connectivity :: Lens' Task (Maybe Connectivity)
+ Amazonka.ECS.Lens: task_connectivityAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Lens: task_containerInstanceArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_containers :: Lens' Task (Maybe [Container])
+ Amazonka.ECS.Lens: task_cpu :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_createdAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Lens: task_desiredStatus :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_enableExecuteCommand :: Lens' Task (Maybe Bool)
+ Amazonka.ECS.Lens: task_ephemeralStorage :: Lens' Task (Maybe EphemeralStorage)
+ Amazonka.ECS.Lens: task_executionStoppedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Lens: task_group :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_healthStatus :: Lens' Task (Maybe HealthStatus)
+ Amazonka.ECS.Lens: task_inferenceAccelerators :: Lens' Task (Maybe [InferenceAccelerator])
+ Amazonka.ECS.Lens: task_lastStatus :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_launchType :: Lens' Task (Maybe LaunchType)
+ Amazonka.ECS.Lens: task_memory :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_overrides :: Lens' Task (Maybe TaskOverride)
+ Amazonka.ECS.Lens: task_platformFamily :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_platformVersion :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_pullStartedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Lens: task_pullStoppedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Lens: task_startedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Lens: task_startedBy :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_stopCode :: Lens' Task (Maybe TaskStopCode)
+ Amazonka.ECS.Lens: task_stoppedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Lens: task_stoppedReason :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_stoppingAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Lens: task_tags :: Lens' Task (Maybe [Tag])
+ Amazonka.ECS.Lens: task_taskArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_taskDefinitionArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Lens: task_version :: Lens' Task (Maybe Integer)
+ Amazonka.ECS.Lens: tmpfs_containerPath :: Lens' Tmpfs Text
+ Amazonka.ECS.Lens: tmpfs_mountOptions :: Lens' Tmpfs (Maybe [Text])
+ Amazonka.ECS.Lens: tmpfs_size :: Lens' Tmpfs Int
+ Amazonka.ECS.Lens: ulimit_hardLimit :: Lens' Ulimit Int
+ Amazonka.ECS.Lens: ulimit_name :: Lens' Ulimit UlimitName
+ Amazonka.ECS.Lens: ulimit_softLimit :: Lens' Ulimit Int
+ Amazonka.ECS.Lens: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.ECS.Lens: untagResource_resourceArn :: Lens' UntagResource Text
+ Amazonka.ECS.Lens: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.ECS.Lens: updateCapacityProviderResponse_capacityProvider :: Lens' UpdateCapacityProviderResponse (Maybe CapacityProvider)
+ Amazonka.ECS.Lens: updateCapacityProviderResponse_httpStatus :: Lens' UpdateCapacityProviderResponse Int
+ Amazonka.ECS.Lens: updateCapacityProvider_autoScalingGroupProvider :: Lens' UpdateCapacityProvider AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Lens: updateCapacityProvider_name :: Lens' UpdateCapacityProvider Text
+ Amazonka.ECS.Lens: updateClusterResponse_cluster :: Lens' UpdateClusterResponse (Maybe Cluster)
+ Amazonka.ECS.Lens: updateClusterResponse_httpStatus :: Lens' UpdateClusterResponse Int
+ Amazonka.ECS.Lens: updateClusterSettingsResponse_cluster :: Lens' UpdateClusterSettingsResponse (Maybe Cluster)
+ Amazonka.ECS.Lens: updateClusterSettingsResponse_httpStatus :: Lens' UpdateClusterSettingsResponse Int
+ Amazonka.ECS.Lens: updateClusterSettings_cluster :: Lens' UpdateClusterSettings Text
+ Amazonka.ECS.Lens: updateClusterSettings_settings :: Lens' UpdateClusterSettings [ClusterSetting]
+ Amazonka.ECS.Lens: updateCluster_cluster :: Lens' UpdateCluster Text
+ Amazonka.ECS.Lens: updateCluster_configuration :: Lens' UpdateCluster (Maybe ClusterConfiguration)
+ Amazonka.ECS.Lens: updateCluster_serviceConnectDefaults :: Lens' UpdateCluster (Maybe ClusterServiceConnectDefaultsRequest)
+ Amazonka.ECS.Lens: updateCluster_settings :: Lens' UpdateCluster (Maybe [ClusterSetting])
+ Amazonka.ECS.Lens: updateContainerAgentResponse_containerInstance :: Lens' UpdateContainerAgentResponse (Maybe ContainerInstance)
+ Amazonka.ECS.Lens: updateContainerAgentResponse_httpStatus :: Lens' UpdateContainerAgentResponse Int
+ Amazonka.ECS.Lens: updateContainerAgent_cluster :: Lens' UpdateContainerAgent (Maybe Text)
+ Amazonka.ECS.Lens: updateContainerAgent_containerInstance :: Lens' UpdateContainerAgent Text
+ Amazonka.ECS.Lens: updateContainerInstancesStateResponse_containerInstances :: Lens' UpdateContainerInstancesStateResponse (Maybe [ContainerInstance])
+ Amazonka.ECS.Lens: updateContainerInstancesStateResponse_failures :: Lens' UpdateContainerInstancesStateResponse (Maybe [Failure])
+ Amazonka.ECS.Lens: updateContainerInstancesStateResponse_httpStatus :: Lens' UpdateContainerInstancesStateResponse Int
+ Amazonka.ECS.Lens: updateContainerInstancesState_cluster :: Lens' UpdateContainerInstancesState (Maybe Text)
+ Amazonka.ECS.Lens: updateContainerInstancesState_containerInstances :: Lens' UpdateContainerInstancesState [Text]
+ Amazonka.ECS.Lens: updateContainerInstancesState_status :: Lens' UpdateContainerInstancesState ContainerInstanceStatus
+ Amazonka.ECS.Lens: updateServicePrimaryTaskSetResponse_httpStatus :: Lens' UpdateServicePrimaryTaskSetResponse Int
+ Amazonka.ECS.Lens: updateServicePrimaryTaskSetResponse_taskSet :: Lens' UpdateServicePrimaryTaskSetResponse (Maybe TaskSet)
+ Amazonka.ECS.Lens: updateServicePrimaryTaskSet_cluster :: Lens' UpdateServicePrimaryTaskSet Text
+ Amazonka.ECS.Lens: updateServicePrimaryTaskSet_primaryTaskSet :: Lens' UpdateServicePrimaryTaskSet Text
+ Amazonka.ECS.Lens: updateServicePrimaryTaskSet_service :: Lens' UpdateServicePrimaryTaskSet Text
+ Amazonka.ECS.Lens: updateServiceResponse_httpStatus :: Lens' UpdateServiceResponse Int
+ Amazonka.ECS.Lens: updateServiceResponse_service :: Lens' UpdateServiceResponse (Maybe ContainerService)
+ Amazonka.ECS.Lens: updateService_capacityProviderStrategy :: Lens' UpdateService (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Lens: updateService_cluster :: Lens' UpdateService (Maybe Text)
+ Amazonka.ECS.Lens: updateService_deploymentConfiguration :: Lens' UpdateService (Maybe DeploymentConfiguration)
+ Amazonka.ECS.Lens: updateService_desiredCount :: Lens' UpdateService (Maybe Int)
+ Amazonka.ECS.Lens: updateService_enableECSManagedTags :: Lens' UpdateService (Maybe Bool)
+ Amazonka.ECS.Lens: updateService_enableExecuteCommand :: Lens' UpdateService (Maybe Bool)
+ Amazonka.ECS.Lens: updateService_forceNewDeployment :: Lens' UpdateService (Maybe Bool)
+ Amazonka.ECS.Lens: updateService_healthCheckGracePeriodSeconds :: Lens' UpdateService (Maybe Int)
+ Amazonka.ECS.Lens: updateService_loadBalancers :: Lens' UpdateService (Maybe [LoadBalancer])
+ Amazonka.ECS.Lens: updateService_networkConfiguration :: Lens' UpdateService (Maybe NetworkConfiguration)
+ Amazonka.ECS.Lens: updateService_placementConstraints :: Lens' UpdateService (Maybe [PlacementConstraint])
+ Amazonka.ECS.Lens: updateService_placementStrategy :: Lens' UpdateService (Maybe [PlacementStrategy])
+ Amazonka.ECS.Lens: updateService_platformVersion :: Lens' UpdateService (Maybe Text)
+ Amazonka.ECS.Lens: updateService_propagateTags :: Lens' UpdateService (Maybe PropagateTags)
+ Amazonka.ECS.Lens: updateService_service :: Lens' UpdateService Text
+ Amazonka.ECS.Lens: updateService_serviceConnectConfiguration :: Lens' UpdateService (Maybe ServiceConnectConfiguration)
+ Amazonka.ECS.Lens: updateService_serviceRegistries :: Lens' UpdateService (Maybe [ServiceRegistry])
+ Amazonka.ECS.Lens: updateService_taskDefinition :: Lens' UpdateService (Maybe Text)
+ Amazonka.ECS.Lens: updateTaskProtectionResponse_failures :: Lens' UpdateTaskProtectionResponse (Maybe [Failure])
+ Amazonka.ECS.Lens: updateTaskProtectionResponse_httpStatus :: Lens' UpdateTaskProtectionResponse Int
+ Amazonka.ECS.Lens: updateTaskProtectionResponse_protectedTasks :: Lens' UpdateTaskProtectionResponse (Maybe [ProtectedTask])
+ Amazonka.ECS.Lens: updateTaskProtection_cluster :: Lens' UpdateTaskProtection Text
+ Amazonka.ECS.Lens: updateTaskProtection_expiresInMinutes :: Lens' UpdateTaskProtection (Maybe Int)
+ Amazonka.ECS.Lens: updateTaskProtection_protectionEnabled :: Lens' UpdateTaskProtection Bool
+ Amazonka.ECS.Lens: updateTaskProtection_tasks :: Lens' UpdateTaskProtection [Text]
+ Amazonka.ECS.Lens: updateTaskSetResponse_httpStatus :: Lens' UpdateTaskSetResponse Int
+ Amazonka.ECS.Lens: updateTaskSetResponse_taskSet :: Lens' UpdateTaskSetResponse (Maybe TaskSet)
+ Amazonka.ECS.Lens: updateTaskSet_cluster :: Lens' UpdateTaskSet Text
+ Amazonka.ECS.Lens: updateTaskSet_scale :: Lens' UpdateTaskSet Scale
+ Amazonka.ECS.Lens: updateTaskSet_service :: Lens' UpdateTaskSet Text
+ Amazonka.ECS.Lens: updateTaskSet_taskSet :: Lens' UpdateTaskSet Text
+ Amazonka.ECS.Lens: versionInfo_agentHash :: Lens' VersionInfo (Maybe Text)
+ Amazonka.ECS.Lens: versionInfo_agentVersion :: Lens' VersionInfo (Maybe Text)
+ Amazonka.ECS.Lens: versionInfo_dockerVersion :: Lens' VersionInfo (Maybe Text)
+ Amazonka.ECS.Lens: volumeFrom_readOnly :: Lens' VolumeFrom (Maybe Bool)
+ Amazonka.ECS.Lens: volumeFrom_sourceContainer :: Lens' VolumeFrom (Maybe Text)
+ Amazonka.ECS.Lens: volume_dockerVolumeConfiguration :: Lens' Volume (Maybe DockerVolumeConfiguration)
+ Amazonka.ECS.Lens: volume_efsVolumeConfiguration :: Lens' Volume (Maybe EFSVolumeConfiguration)
+ Amazonka.ECS.Lens: volume_fsxWindowsFileServerVolumeConfiguration :: Lens' Volume (Maybe FSxWindowsFileServerVolumeConfiguration)
+ Amazonka.ECS.Lens: volume_host :: Lens' Volume (Maybe HostVolumeProperties)
+ Amazonka.ECS.Lens: volume_name :: Lens' Volume (Maybe Text)
+ Amazonka.ECS.ListAccountSettings: ListAccountSettings' :: Maybe Bool -> Maybe Int -> Maybe SettingName -> Maybe Text -> Maybe Text -> Maybe Text -> ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: ListAccountSettingsResponse' :: Maybe Text -> Maybe [Setting] -> Int -> ListAccountSettingsResponse
+ Amazonka.ECS.ListAccountSettings: [$sel:effectiveSettings:ListAccountSettings'] :: ListAccountSettings -> Maybe Bool
+ Amazonka.ECS.ListAccountSettings: [$sel:httpStatus:ListAccountSettingsResponse'] :: ListAccountSettingsResponse -> Int
+ Amazonka.ECS.ListAccountSettings: [$sel:maxResults:ListAccountSettings'] :: ListAccountSettings -> Maybe Int
+ Amazonka.ECS.ListAccountSettings: [$sel:name:ListAccountSettings'] :: ListAccountSettings -> Maybe SettingName
+ Amazonka.ECS.ListAccountSettings: [$sel:nextToken:ListAccountSettings'] :: ListAccountSettings -> Maybe Text
+ Amazonka.ECS.ListAccountSettings: [$sel:nextToken:ListAccountSettingsResponse'] :: ListAccountSettingsResponse -> Maybe Text
+ Amazonka.ECS.ListAccountSettings: [$sel:principalArn:ListAccountSettings'] :: ListAccountSettings -> Maybe Text
+ Amazonka.ECS.ListAccountSettings: [$sel:settings:ListAccountSettingsResponse'] :: ListAccountSettingsResponse -> Maybe [Setting]
+ Amazonka.ECS.ListAccountSettings: [$sel:value:ListAccountSettings'] :: ListAccountSettings -> Maybe Text
+ Amazonka.ECS.ListAccountSettings: data ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: data ListAccountSettingsResponse
+ Amazonka.ECS.ListAccountSettings: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance Amazonka.Data.Path.ToPath Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance Amazonka.Pager.AWSPager Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance Amazonka.Types.AWSRequest Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance Control.DeepSeq.NFData Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance Control.DeepSeq.NFData Amazonka.ECS.ListAccountSettings.ListAccountSettingsResponse
+ Amazonka.ECS.ListAccountSettings: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance Data.Hashable.Class.Hashable Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance GHC.Classes.Eq Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance GHC.Classes.Eq Amazonka.ECS.ListAccountSettings.ListAccountSettingsResponse
+ Amazonka.ECS.ListAccountSettings: instance GHC.Generics.Generic Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance GHC.Generics.Generic Amazonka.ECS.ListAccountSettings.ListAccountSettingsResponse
+ Amazonka.ECS.ListAccountSettings: instance GHC.Read.Read Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance GHC.Read.Read Amazonka.ECS.ListAccountSettings.ListAccountSettingsResponse
+ Amazonka.ECS.ListAccountSettings: instance GHC.Show.Show Amazonka.ECS.ListAccountSettings.ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: instance GHC.Show.Show Amazonka.ECS.ListAccountSettings.ListAccountSettingsResponse
+ Amazonka.ECS.ListAccountSettings: listAccountSettingsResponse_httpStatus :: Lens' ListAccountSettingsResponse Int
+ Amazonka.ECS.ListAccountSettings: listAccountSettingsResponse_nextToken :: Lens' ListAccountSettingsResponse (Maybe Text)
+ Amazonka.ECS.ListAccountSettings: listAccountSettingsResponse_settings :: Lens' ListAccountSettingsResponse (Maybe [Setting])
+ Amazonka.ECS.ListAccountSettings: listAccountSettings_effectiveSettings :: Lens' ListAccountSettings (Maybe Bool)
+ Amazonka.ECS.ListAccountSettings: listAccountSettings_maxResults :: Lens' ListAccountSettings (Maybe Int)
+ Amazonka.ECS.ListAccountSettings: listAccountSettings_name :: Lens' ListAccountSettings (Maybe SettingName)
+ Amazonka.ECS.ListAccountSettings: listAccountSettings_nextToken :: Lens' ListAccountSettings (Maybe Text)
+ Amazonka.ECS.ListAccountSettings: listAccountSettings_principalArn :: Lens' ListAccountSettings (Maybe Text)
+ Amazonka.ECS.ListAccountSettings: listAccountSettings_value :: Lens' ListAccountSettings (Maybe Text)
+ Amazonka.ECS.ListAccountSettings: newListAccountSettings :: ListAccountSettings
+ Amazonka.ECS.ListAccountSettings: newListAccountSettingsResponse :: Int -> ListAccountSettingsResponse
+ Amazonka.ECS.ListAttributes: ListAttributes' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> TargetType -> ListAttributes
+ Amazonka.ECS.ListAttributes: ListAttributesResponse' :: Maybe [Attribute] -> Maybe Text -> Int -> ListAttributesResponse
+ Amazonka.ECS.ListAttributes: [$sel:attributeName:ListAttributes'] :: ListAttributes -> Maybe Text
+ Amazonka.ECS.ListAttributes: [$sel:attributeValue:ListAttributes'] :: ListAttributes -> Maybe Text
+ Amazonka.ECS.ListAttributes: [$sel:attributes:ListAttributesResponse'] :: ListAttributesResponse -> Maybe [Attribute]
+ Amazonka.ECS.ListAttributes: [$sel:cluster:ListAttributes'] :: ListAttributes -> Maybe Text
+ Amazonka.ECS.ListAttributes: [$sel:httpStatus:ListAttributesResponse'] :: ListAttributesResponse -> Int
+ Amazonka.ECS.ListAttributes: [$sel:maxResults:ListAttributes'] :: ListAttributes -> Maybe Int
+ Amazonka.ECS.ListAttributes: [$sel:nextToken:ListAttributes'] :: ListAttributes -> Maybe Text
+ Amazonka.ECS.ListAttributes: [$sel:nextToken:ListAttributesResponse'] :: ListAttributesResponse -> Maybe Text
+ Amazonka.ECS.ListAttributes: [$sel:targetType:ListAttributes'] :: ListAttributes -> TargetType
+ Amazonka.ECS.ListAttributes: data ListAttributes
+ Amazonka.ECS.ListAttributes: data ListAttributesResponse
+ Amazonka.ECS.ListAttributes: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance Amazonka.Data.Path.ToPath Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance Amazonka.Pager.AWSPager Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance Amazonka.Types.AWSRequest Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance Control.DeepSeq.NFData Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance Control.DeepSeq.NFData Amazonka.ECS.ListAttributes.ListAttributesResponse
+ Amazonka.ECS.ListAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance Data.Hashable.Class.Hashable Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance GHC.Classes.Eq Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance GHC.Classes.Eq Amazonka.ECS.ListAttributes.ListAttributesResponse
+ Amazonka.ECS.ListAttributes: instance GHC.Generics.Generic Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance GHC.Generics.Generic Amazonka.ECS.ListAttributes.ListAttributesResponse
+ Amazonka.ECS.ListAttributes: instance GHC.Read.Read Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance GHC.Read.Read Amazonka.ECS.ListAttributes.ListAttributesResponse
+ Amazonka.ECS.ListAttributes: instance GHC.Show.Show Amazonka.ECS.ListAttributes.ListAttributes
+ Amazonka.ECS.ListAttributes: instance GHC.Show.Show Amazonka.ECS.ListAttributes.ListAttributesResponse
+ Amazonka.ECS.ListAttributes: listAttributesResponse_attributes :: Lens' ListAttributesResponse (Maybe [Attribute])
+ Amazonka.ECS.ListAttributes: listAttributesResponse_httpStatus :: Lens' ListAttributesResponse Int
+ Amazonka.ECS.ListAttributes: listAttributesResponse_nextToken :: Lens' ListAttributesResponse (Maybe Text)
+ Amazonka.ECS.ListAttributes: listAttributes_attributeName :: Lens' ListAttributes (Maybe Text)
+ Amazonka.ECS.ListAttributes: listAttributes_attributeValue :: Lens' ListAttributes (Maybe Text)
+ Amazonka.ECS.ListAttributes: listAttributes_cluster :: Lens' ListAttributes (Maybe Text)
+ Amazonka.ECS.ListAttributes: listAttributes_maxResults :: Lens' ListAttributes (Maybe Int)
+ Amazonka.ECS.ListAttributes: listAttributes_nextToken :: Lens' ListAttributes (Maybe Text)
+ Amazonka.ECS.ListAttributes: listAttributes_targetType :: Lens' ListAttributes TargetType
+ Amazonka.ECS.ListAttributes: newListAttributes :: TargetType -> ListAttributes
+ Amazonka.ECS.ListAttributes: newListAttributesResponse :: Int -> ListAttributesResponse
+ Amazonka.ECS.ListClusters: ListClusters' :: Maybe Int -> Maybe Text -> ListClusters
+ Amazonka.ECS.ListClusters: ListClustersResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListClustersResponse
+ Amazonka.ECS.ListClusters: [$sel:clusterArns:ListClustersResponse'] :: ListClustersResponse -> Maybe [Text]
+ Amazonka.ECS.ListClusters: [$sel:httpStatus:ListClustersResponse'] :: ListClustersResponse -> Int
+ Amazonka.ECS.ListClusters: [$sel:maxResults:ListClusters'] :: ListClusters -> Maybe Int
+ Amazonka.ECS.ListClusters: [$sel:nextToken:ListClusters'] :: ListClusters -> Maybe Text
+ Amazonka.ECS.ListClusters: [$sel:nextToken:ListClustersResponse'] :: ListClustersResponse -> Maybe Text
+ Amazonka.ECS.ListClusters: data ListClusters
+ Amazonka.ECS.ListClusters: data ListClustersResponse
+ Amazonka.ECS.ListClusters: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance Amazonka.Data.Path.ToPath Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance Amazonka.Pager.AWSPager Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance Amazonka.Types.AWSRequest Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance Control.DeepSeq.NFData Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance Control.DeepSeq.NFData Amazonka.ECS.ListClusters.ListClustersResponse
+ Amazonka.ECS.ListClusters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance Data.Hashable.Class.Hashable Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance GHC.Classes.Eq Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance GHC.Classes.Eq Amazonka.ECS.ListClusters.ListClustersResponse
+ Amazonka.ECS.ListClusters: instance GHC.Generics.Generic Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance GHC.Generics.Generic Amazonka.ECS.ListClusters.ListClustersResponse
+ Amazonka.ECS.ListClusters: instance GHC.Read.Read Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance GHC.Read.Read Amazonka.ECS.ListClusters.ListClustersResponse
+ Amazonka.ECS.ListClusters: instance GHC.Show.Show Amazonka.ECS.ListClusters.ListClusters
+ Amazonka.ECS.ListClusters: instance GHC.Show.Show Amazonka.ECS.ListClusters.ListClustersResponse
+ Amazonka.ECS.ListClusters: listClustersResponse_clusterArns :: Lens' ListClustersResponse (Maybe [Text])
+ Amazonka.ECS.ListClusters: listClustersResponse_httpStatus :: Lens' ListClustersResponse Int
+ Amazonka.ECS.ListClusters: listClustersResponse_nextToken :: Lens' ListClustersResponse (Maybe Text)
+ Amazonka.ECS.ListClusters: listClusters_maxResults :: Lens' ListClusters (Maybe Int)
+ Amazonka.ECS.ListClusters: listClusters_nextToken :: Lens' ListClusters (Maybe Text)
+ Amazonka.ECS.ListClusters: newListClusters :: ListClusters
+ Amazonka.ECS.ListClusters: newListClustersResponse :: Int -> ListClustersResponse
+ Amazonka.ECS.ListContainerInstances: ListContainerInstances' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe ContainerInstanceStatus -> ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: ListContainerInstancesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListContainerInstancesResponse
+ Amazonka.ECS.ListContainerInstances: [$sel:cluster:ListContainerInstances'] :: ListContainerInstances -> Maybe Text
+ Amazonka.ECS.ListContainerInstances: [$sel:containerInstanceArns:ListContainerInstancesResponse'] :: ListContainerInstancesResponse -> Maybe [Text]
+ Amazonka.ECS.ListContainerInstances: [$sel:filter':ListContainerInstances'] :: ListContainerInstances -> Maybe Text
+ Amazonka.ECS.ListContainerInstances: [$sel:httpStatus:ListContainerInstancesResponse'] :: ListContainerInstancesResponse -> Int
+ Amazonka.ECS.ListContainerInstances: [$sel:maxResults:ListContainerInstances'] :: ListContainerInstances -> Maybe Int
+ Amazonka.ECS.ListContainerInstances: [$sel:nextToken:ListContainerInstances'] :: ListContainerInstances -> Maybe Text
+ Amazonka.ECS.ListContainerInstances: [$sel:nextToken:ListContainerInstancesResponse'] :: ListContainerInstancesResponse -> Maybe Text
+ Amazonka.ECS.ListContainerInstances: [$sel:status:ListContainerInstances'] :: ListContainerInstances -> Maybe ContainerInstanceStatus
+ Amazonka.ECS.ListContainerInstances: data ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: data ListContainerInstancesResponse
+ Amazonka.ECS.ListContainerInstances: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance Amazonka.Data.Path.ToPath Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance Amazonka.Pager.AWSPager Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance Amazonka.Types.AWSRequest Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance Control.DeepSeq.NFData Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance Control.DeepSeq.NFData Amazonka.ECS.ListContainerInstances.ListContainerInstancesResponse
+ Amazonka.ECS.ListContainerInstances: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance Data.Hashable.Class.Hashable Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance GHC.Classes.Eq Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance GHC.Classes.Eq Amazonka.ECS.ListContainerInstances.ListContainerInstancesResponse
+ Amazonka.ECS.ListContainerInstances: instance GHC.Generics.Generic Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance GHC.Generics.Generic Amazonka.ECS.ListContainerInstances.ListContainerInstancesResponse
+ Amazonka.ECS.ListContainerInstances: instance GHC.Read.Read Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance GHC.Read.Read Amazonka.ECS.ListContainerInstances.ListContainerInstancesResponse
+ Amazonka.ECS.ListContainerInstances: instance GHC.Show.Show Amazonka.ECS.ListContainerInstances.ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: instance GHC.Show.Show Amazonka.ECS.ListContainerInstances.ListContainerInstancesResponse
+ Amazonka.ECS.ListContainerInstances: listContainerInstancesResponse_containerInstanceArns :: Lens' ListContainerInstancesResponse (Maybe [Text])
+ Amazonka.ECS.ListContainerInstances: listContainerInstancesResponse_httpStatus :: Lens' ListContainerInstancesResponse Int
+ Amazonka.ECS.ListContainerInstances: listContainerInstancesResponse_nextToken :: Lens' ListContainerInstancesResponse (Maybe Text)
+ Amazonka.ECS.ListContainerInstances: listContainerInstances_cluster :: Lens' ListContainerInstances (Maybe Text)
+ Amazonka.ECS.ListContainerInstances: listContainerInstances_filter :: Lens' ListContainerInstances (Maybe Text)
+ Amazonka.ECS.ListContainerInstances: listContainerInstances_maxResults :: Lens' ListContainerInstances (Maybe Int)
+ Amazonka.ECS.ListContainerInstances: listContainerInstances_nextToken :: Lens' ListContainerInstances (Maybe Text)
+ Amazonka.ECS.ListContainerInstances: listContainerInstances_status :: Lens' ListContainerInstances (Maybe ContainerInstanceStatus)
+ Amazonka.ECS.ListContainerInstances: newListContainerInstances :: ListContainerInstances
+ Amazonka.ECS.ListContainerInstances: newListContainerInstancesResponse :: Int -> ListContainerInstancesResponse
+ Amazonka.ECS.ListServices: ListServices' :: Maybe Text -> Maybe LaunchType -> Maybe Int -> Maybe Text -> Maybe SchedulingStrategy -> ListServices
+ Amazonka.ECS.ListServices: ListServicesResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListServicesResponse
+ Amazonka.ECS.ListServices: [$sel:cluster:ListServices'] :: ListServices -> Maybe Text
+ Amazonka.ECS.ListServices: [$sel:httpStatus:ListServicesResponse'] :: ListServicesResponse -> Int
+ Amazonka.ECS.ListServices: [$sel:launchType:ListServices'] :: ListServices -> Maybe LaunchType
+ Amazonka.ECS.ListServices: [$sel:maxResults:ListServices'] :: ListServices -> Maybe Int
+ Amazonka.ECS.ListServices: [$sel:nextToken:ListServices'] :: ListServices -> Maybe Text
+ Amazonka.ECS.ListServices: [$sel:nextToken:ListServicesResponse'] :: ListServicesResponse -> Maybe Text
+ Amazonka.ECS.ListServices: [$sel:schedulingStrategy:ListServices'] :: ListServices -> Maybe SchedulingStrategy
+ Amazonka.ECS.ListServices: [$sel:serviceArns:ListServicesResponse'] :: ListServicesResponse -> Maybe [Text]
+ Amazonka.ECS.ListServices: data ListServices
+ Amazonka.ECS.ListServices: data ListServicesResponse
+ Amazonka.ECS.ListServices: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance Amazonka.Data.Path.ToPath Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance Amazonka.Pager.AWSPager Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance Amazonka.Types.AWSRequest Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance Control.DeepSeq.NFData Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance Control.DeepSeq.NFData Amazonka.ECS.ListServices.ListServicesResponse
+ Amazonka.ECS.ListServices: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance Data.Hashable.Class.Hashable Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance GHC.Classes.Eq Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance GHC.Classes.Eq Amazonka.ECS.ListServices.ListServicesResponse
+ Amazonka.ECS.ListServices: instance GHC.Generics.Generic Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance GHC.Generics.Generic Amazonka.ECS.ListServices.ListServicesResponse
+ Amazonka.ECS.ListServices: instance GHC.Read.Read Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance GHC.Read.Read Amazonka.ECS.ListServices.ListServicesResponse
+ Amazonka.ECS.ListServices: instance GHC.Show.Show Amazonka.ECS.ListServices.ListServices
+ Amazonka.ECS.ListServices: instance GHC.Show.Show Amazonka.ECS.ListServices.ListServicesResponse
+ Amazonka.ECS.ListServices: listServicesResponse_httpStatus :: Lens' ListServicesResponse Int
+ Amazonka.ECS.ListServices: listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text)
+ Amazonka.ECS.ListServices: listServicesResponse_serviceArns :: Lens' ListServicesResponse (Maybe [Text])
+ Amazonka.ECS.ListServices: listServices_cluster :: Lens' ListServices (Maybe Text)
+ Amazonka.ECS.ListServices: listServices_launchType :: Lens' ListServices (Maybe LaunchType)
+ Amazonka.ECS.ListServices: listServices_maxResults :: Lens' ListServices (Maybe Int)
+ Amazonka.ECS.ListServices: listServices_nextToken :: Lens' ListServices (Maybe Text)
+ Amazonka.ECS.ListServices: listServices_schedulingStrategy :: Lens' ListServices (Maybe SchedulingStrategy)
+ Amazonka.ECS.ListServices: newListServices :: ListServices
+ Amazonka.ECS.ListServices: newListServicesResponse :: Int -> ListServicesResponse
+ Amazonka.ECS.ListServicesByNamespace: ListServicesByNamespace' :: Maybe Int -> Maybe Text -> Text -> ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: ListServicesByNamespaceResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListServicesByNamespaceResponse
+ Amazonka.ECS.ListServicesByNamespace: [$sel:httpStatus:ListServicesByNamespaceResponse'] :: ListServicesByNamespaceResponse -> Int
+ Amazonka.ECS.ListServicesByNamespace: [$sel:maxResults:ListServicesByNamespace'] :: ListServicesByNamespace -> Maybe Int
+ Amazonka.ECS.ListServicesByNamespace: [$sel:namespace:ListServicesByNamespace'] :: ListServicesByNamespace -> Text
+ Amazonka.ECS.ListServicesByNamespace: [$sel:nextToken:ListServicesByNamespace'] :: ListServicesByNamespace -> Maybe Text
+ Amazonka.ECS.ListServicesByNamespace: [$sel:nextToken:ListServicesByNamespaceResponse'] :: ListServicesByNamespaceResponse -> Maybe Text
+ Amazonka.ECS.ListServicesByNamespace: [$sel:serviceArns:ListServicesByNamespaceResponse'] :: ListServicesByNamespaceResponse -> Maybe [Text]
+ Amazonka.ECS.ListServicesByNamespace: data ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: data ListServicesByNamespaceResponse
+ Amazonka.ECS.ListServicesByNamespace: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance Amazonka.Data.Path.ToPath Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance Amazonka.Pager.AWSPager Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance Amazonka.Types.AWSRequest Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance Control.DeepSeq.NFData Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance Control.DeepSeq.NFData Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespaceResponse
+ Amazonka.ECS.ListServicesByNamespace: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance Data.Hashable.Class.Hashable Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance GHC.Classes.Eq Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance GHC.Classes.Eq Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespaceResponse
+ Amazonka.ECS.ListServicesByNamespace: instance GHC.Generics.Generic Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance GHC.Generics.Generic Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespaceResponse
+ Amazonka.ECS.ListServicesByNamespace: instance GHC.Read.Read Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance GHC.Read.Read Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespaceResponse
+ Amazonka.ECS.ListServicesByNamespace: instance GHC.Show.Show Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: instance GHC.Show.Show Amazonka.ECS.ListServicesByNamespace.ListServicesByNamespaceResponse
+ Amazonka.ECS.ListServicesByNamespace: listServicesByNamespaceResponse_httpStatus :: Lens' ListServicesByNamespaceResponse Int
+ Amazonka.ECS.ListServicesByNamespace: listServicesByNamespaceResponse_nextToken :: Lens' ListServicesByNamespaceResponse (Maybe Text)
+ Amazonka.ECS.ListServicesByNamespace: listServicesByNamespaceResponse_serviceArns :: Lens' ListServicesByNamespaceResponse (Maybe [Text])
+ Amazonka.ECS.ListServicesByNamespace: listServicesByNamespace_maxResults :: Lens' ListServicesByNamespace (Maybe Int)
+ Amazonka.ECS.ListServicesByNamespace: listServicesByNamespace_namespace :: Lens' ListServicesByNamespace Text
+ Amazonka.ECS.ListServicesByNamespace: listServicesByNamespace_nextToken :: Lens' ListServicesByNamespace (Maybe Text)
+ Amazonka.ECS.ListServicesByNamespace: newListServicesByNamespace :: Text -> ListServicesByNamespace
+ Amazonka.ECS.ListServicesByNamespace: newListServicesByNamespaceResponse :: Int -> ListServicesByNamespaceResponse
+ Amazonka.ECS.ListTagsForResource: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.ECS.ListTagsForResource: [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
+ Amazonka.ECS.ListTagsForResource: [$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text
+ Amazonka.ECS.ListTagsForResource: [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [Tag]
+ Amazonka.ECS.ListTagsForResource: data ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: data ListTagsForResourceResponse
+ Amazonka.ECS.ListTagsForResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.ListTagsForResource.ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: instance Amazonka.Data.Path.ToPath Amazonka.ECS.ListTagsForResource.ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.ListTagsForResource.ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: instance Amazonka.Types.AWSRequest Amazonka.ECS.ListTagsForResource.ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.ECS.ListTagsForResource.ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.ECS.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.ECS.ListTagsForResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.ListTagsForResource.ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: instance Data.Hashable.Class.Hashable Amazonka.ECS.ListTagsForResource.ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: instance GHC.Classes.Eq Amazonka.ECS.ListTagsForResource.ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: instance GHC.Classes.Eq Amazonka.ECS.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.ECS.ListTagsForResource: instance GHC.Generics.Generic Amazonka.ECS.ListTagsForResource.ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: instance GHC.Generics.Generic Amazonka.ECS.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.ECS.ListTagsForResource: instance GHC.Read.Read Amazonka.ECS.ListTagsForResource.ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: instance GHC.Read.Read Amazonka.ECS.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.ECS.ListTagsForResource: instance GHC.Show.Show Amazonka.ECS.ListTagsForResource.ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: instance GHC.Show.Show Amazonka.ECS.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.ECS.ListTagsForResource: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.ECS.ListTagsForResource: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.ECS.ListTagsForResource: listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
+ Amazonka.ECS.ListTagsForResource: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.ECS.ListTagsForResource: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.ECS.ListTaskDefinitionFamilies: ListTaskDefinitionFamilies' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe TaskDefinitionFamilyStatus -> ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: ListTaskDefinitionFamiliesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListTaskDefinitionFamiliesResponse
+ Amazonka.ECS.ListTaskDefinitionFamilies: [$sel:families:ListTaskDefinitionFamiliesResponse'] :: ListTaskDefinitionFamiliesResponse -> Maybe [Text]
+ Amazonka.ECS.ListTaskDefinitionFamilies: [$sel:familyPrefix:ListTaskDefinitionFamilies'] :: ListTaskDefinitionFamilies -> Maybe Text
+ Amazonka.ECS.ListTaskDefinitionFamilies: [$sel:httpStatus:ListTaskDefinitionFamiliesResponse'] :: ListTaskDefinitionFamiliesResponse -> Int
+ Amazonka.ECS.ListTaskDefinitionFamilies: [$sel:maxResults:ListTaskDefinitionFamilies'] :: ListTaskDefinitionFamilies -> Maybe Int
+ Amazonka.ECS.ListTaskDefinitionFamilies: [$sel:nextToken:ListTaskDefinitionFamilies'] :: ListTaskDefinitionFamilies -> Maybe Text
+ Amazonka.ECS.ListTaskDefinitionFamilies: [$sel:nextToken:ListTaskDefinitionFamiliesResponse'] :: ListTaskDefinitionFamiliesResponse -> Maybe Text
+ Amazonka.ECS.ListTaskDefinitionFamilies: [$sel:status:ListTaskDefinitionFamilies'] :: ListTaskDefinitionFamilies -> Maybe TaskDefinitionFamilyStatus
+ Amazonka.ECS.ListTaskDefinitionFamilies: data ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: data ListTaskDefinitionFamiliesResponse
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance Amazonka.Data.Path.ToPath Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance Amazonka.Pager.AWSPager Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance Amazonka.Types.AWSRequest Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance Control.DeepSeq.NFData Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance Control.DeepSeq.NFData Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamiliesResponse
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance Data.Hashable.Class.Hashable Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance GHC.Classes.Eq Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance GHC.Classes.Eq Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamiliesResponse
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance GHC.Generics.Generic Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance GHC.Generics.Generic Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamiliesResponse
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance GHC.Read.Read Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance GHC.Read.Read Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamiliesResponse
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance GHC.Show.Show Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: instance GHC.Show.Show Amazonka.ECS.ListTaskDefinitionFamilies.ListTaskDefinitionFamiliesResponse
+ Amazonka.ECS.ListTaskDefinitionFamilies: listTaskDefinitionFamiliesResponse_families :: Lens' ListTaskDefinitionFamiliesResponse (Maybe [Text])
+ Amazonka.ECS.ListTaskDefinitionFamilies: listTaskDefinitionFamiliesResponse_httpStatus :: Lens' ListTaskDefinitionFamiliesResponse Int
+ Amazonka.ECS.ListTaskDefinitionFamilies: listTaskDefinitionFamiliesResponse_nextToken :: Lens' ListTaskDefinitionFamiliesResponse (Maybe Text)
+ Amazonka.ECS.ListTaskDefinitionFamilies: listTaskDefinitionFamilies_familyPrefix :: Lens' ListTaskDefinitionFamilies (Maybe Text)
+ Amazonka.ECS.ListTaskDefinitionFamilies: listTaskDefinitionFamilies_maxResults :: Lens' ListTaskDefinitionFamilies (Maybe Int)
+ Amazonka.ECS.ListTaskDefinitionFamilies: listTaskDefinitionFamilies_nextToken :: Lens' ListTaskDefinitionFamilies (Maybe Text)
+ Amazonka.ECS.ListTaskDefinitionFamilies: listTaskDefinitionFamilies_status :: Lens' ListTaskDefinitionFamilies (Maybe TaskDefinitionFamilyStatus)
+ Amazonka.ECS.ListTaskDefinitionFamilies: newListTaskDefinitionFamilies :: ListTaskDefinitionFamilies
+ Amazonka.ECS.ListTaskDefinitionFamilies: newListTaskDefinitionFamiliesResponse :: Int -> ListTaskDefinitionFamiliesResponse
+ Amazonka.ECS.ListTaskDefinitions: ListTaskDefinitions' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe SortOrder -> Maybe TaskDefinitionStatus -> ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: ListTaskDefinitionsResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListTaskDefinitionsResponse
+ Amazonka.ECS.ListTaskDefinitions: [$sel:familyPrefix:ListTaskDefinitions'] :: ListTaskDefinitions -> Maybe Text
+ Amazonka.ECS.ListTaskDefinitions: [$sel:httpStatus:ListTaskDefinitionsResponse'] :: ListTaskDefinitionsResponse -> Int
+ Amazonka.ECS.ListTaskDefinitions: [$sel:maxResults:ListTaskDefinitions'] :: ListTaskDefinitions -> Maybe Int
+ Amazonka.ECS.ListTaskDefinitions: [$sel:nextToken:ListTaskDefinitions'] :: ListTaskDefinitions -> Maybe Text
+ Amazonka.ECS.ListTaskDefinitions: [$sel:nextToken:ListTaskDefinitionsResponse'] :: ListTaskDefinitionsResponse -> Maybe Text
+ Amazonka.ECS.ListTaskDefinitions: [$sel:sort:ListTaskDefinitions'] :: ListTaskDefinitions -> Maybe SortOrder
+ Amazonka.ECS.ListTaskDefinitions: [$sel:status:ListTaskDefinitions'] :: ListTaskDefinitions -> Maybe TaskDefinitionStatus
+ Amazonka.ECS.ListTaskDefinitions: [$sel:taskDefinitionArns:ListTaskDefinitionsResponse'] :: ListTaskDefinitionsResponse -> Maybe [Text]
+ Amazonka.ECS.ListTaskDefinitions: data ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: data ListTaskDefinitionsResponse
+ Amazonka.ECS.ListTaskDefinitions: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance Amazonka.Data.Path.ToPath Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance Amazonka.Pager.AWSPager Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance Amazonka.Types.AWSRequest Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance Control.DeepSeq.NFData Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance Control.DeepSeq.NFData Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitionsResponse
+ Amazonka.ECS.ListTaskDefinitions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance Data.Hashable.Class.Hashable Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance GHC.Classes.Eq Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance GHC.Classes.Eq Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitionsResponse
+ Amazonka.ECS.ListTaskDefinitions: instance GHC.Generics.Generic Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance GHC.Generics.Generic Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitionsResponse
+ Amazonka.ECS.ListTaskDefinitions: instance GHC.Read.Read Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance GHC.Read.Read Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitionsResponse
+ Amazonka.ECS.ListTaskDefinitions: instance GHC.Show.Show Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: instance GHC.Show.Show Amazonka.ECS.ListTaskDefinitions.ListTaskDefinitionsResponse
+ Amazonka.ECS.ListTaskDefinitions: listTaskDefinitionsResponse_httpStatus :: Lens' ListTaskDefinitionsResponse Int
+ Amazonka.ECS.ListTaskDefinitions: listTaskDefinitionsResponse_nextToken :: Lens' ListTaskDefinitionsResponse (Maybe Text)
+ Amazonka.ECS.ListTaskDefinitions: listTaskDefinitionsResponse_taskDefinitionArns :: Lens' ListTaskDefinitionsResponse (Maybe [Text])
+ Amazonka.ECS.ListTaskDefinitions: listTaskDefinitions_familyPrefix :: Lens' ListTaskDefinitions (Maybe Text)
+ Amazonka.ECS.ListTaskDefinitions: listTaskDefinitions_maxResults :: Lens' ListTaskDefinitions (Maybe Int)
+ Amazonka.ECS.ListTaskDefinitions: listTaskDefinitions_nextToken :: Lens' ListTaskDefinitions (Maybe Text)
+ Amazonka.ECS.ListTaskDefinitions: listTaskDefinitions_sort :: Lens' ListTaskDefinitions (Maybe SortOrder)
+ Amazonka.ECS.ListTaskDefinitions: listTaskDefinitions_status :: Lens' ListTaskDefinitions (Maybe TaskDefinitionStatus)
+ Amazonka.ECS.ListTaskDefinitions: newListTaskDefinitions :: ListTaskDefinitions
+ Amazonka.ECS.ListTaskDefinitions: newListTaskDefinitionsResponse :: Int -> ListTaskDefinitionsResponse
+ Amazonka.ECS.ListTasks: ListTasks' :: Maybe Text -> Maybe Text -> Maybe DesiredStatus -> Maybe Text -> Maybe LaunchType -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> ListTasks
+ Amazonka.ECS.ListTasks: ListTasksResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListTasksResponse
+ Amazonka.ECS.ListTasks: [$sel:cluster:ListTasks'] :: ListTasks -> Maybe Text
+ Amazonka.ECS.ListTasks: [$sel:containerInstance:ListTasks'] :: ListTasks -> Maybe Text
+ Amazonka.ECS.ListTasks: [$sel:desiredStatus:ListTasks'] :: ListTasks -> Maybe DesiredStatus
+ Amazonka.ECS.ListTasks: [$sel:family:ListTasks'] :: ListTasks -> Maybe Text
+ Amazonka.ECS.ListTasks: [$sel:httpStatus:ListTasksResponse'] :: ListTasksResponse -> Int
+ Amazonka.ECS.ListTasks: [$sel:launchType:ListTasks'] :: ListTasks -> Maybe LaunchType
+ Amazonka.ECS.ListTasks: [$sel:maxResults:ListTasks'] :: ListTasks -> Maybe Int
+ Amazonka.ECS.ListTasks: [$sel:nextToken:ListTasks'] :: ListTasks -> Maybe Text
+ Amazonka.ECS.ListTasks: [$sel:nextToken:ListTasksResponse'] :: ListTasksResponse -> Maybe Text
+ Amazonka.ECS.ListTasks: [$sel:serviceName:ListTasks'] :: ListTasks -> Maybe Text
+ Amazonka.ECS.ListTasks: [$sel:startedBy:ListTasks'] :: ListTasks -> Maybe Text
+ Amazonka.ECS.ListTasks: [$sel:taskArns:ListTasksResponse'] :: ListTasksResponse -> Maybe [Text]
+ Amazonka.ECS.ListTasks: data ListTasks
+ Amazonka.ECS.ListTasks: data ListTasksResponse
+ Amazonka.ECS.ListTasks: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance Amazonka.Data.Path.ToPath Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance Amazonka.Pager.AWSPager Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance Amazonka.Types.AWSRequest Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance Control.DeepSeq.NFData Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance Control.DeepSeq.NFData Amazonka.ECS.ListTasks.ListTasksResponse
+ Amazonka.ECS.ListTasks: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance Data.Hashable.Class.Hashable Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance GHC.Classes.Eq Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance GHC.Classes.Eq Amazonka.ECS.ListTasks.ListTasksResponse
+ Amazonka.ECS.ListTasks: instance GHC.Generics.Generic Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance GHC.Generics.Generic Amazonka.ECS.ListTasks.ListTasksResponse
+ Amazonka.ECS.ListTasks: instance GHC.Read.Read Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance GHC.Read.Read Amazonka.ECS.ListTasks.ListTasksResponse
+ Amazonka.ECS.ListTasks: instance GHC.Show.Show Amazonka.ECS.ListTasks.ListTasks
+ Amazonka.ECS.ListTasks: instance GHC.Show.Show Amazonka.ECS.ListTasks.ListTasksResponse
+ Amazonka.ECS.ListTasks: listTasksResponse_httpStatus :: Lens' ListTasksResponse Int
+ Amazonka.ECS.ListTasks: listTasksResponse_nextToken :: Lens' ListTasksResponse (Maybe Text)
+ Amazonka.ECS.ListTasks: listTasksResponse_taskArns :: Lens' ListTasksResponse (Maybe [Text])
+ Amazonka.ECS.ListTasks: listTasks_cluster :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.ListTasks: listTasks_containerInstance :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.ListTasks: listTasks_desiredStatus :: Lens' ListTasks (Maybe DesiredStatus)
+ Amazonka.ECS.ListTasks: listTasks_family :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.ListTasks: listTasks_launchType :: Lens' ListTasks (Maybe LaunchType)
+ Amazonka.ECS.ListTasks: listTasks_maxResults :: Lens' ListTasks (Maybe Int)
+ Amazonka.ECS.ListTasks: listTasks_nextToken :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.ListTasks: listTasks_serviceName :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.ListTasks: listTasks_startedBy :: Lens' ListTasks (Maybe Text)
+ Amazonka.ECS.ListTasks: newListTasks :: ListTasks
+ Amazonka.ECS.ListTasks: newListTasksResponse :: Int -> ListTasksResponse
+ Amazonka.ECS.PutAccountSetting: PutAccountSetting' :: Maybe Text -> SettingName -> Text -> PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: PutAccountSettingResponse' :: Maybe Setting -> Int -> PutAccountSettingResponse
+ Amazonka.ECS.PutAccountSetting: [$sel:httpStatus:PutAccountSettingResponse'] :: PutAccountSettingResponse -> Int
+ Amazonka.ECS.PutAccountSetting: [$sel:name:PutAccountSetting'] :: PutAccountSetting -> SettingName
+ Amazonka.ECS.PutAccountSetting: [$sel:principalArn:PutAccountSetting'] :: PutAccountSetting -> Maybe Text
+ Amazonka.ECS.PutAccountSetting: [$sel:setting:PutAccountSettingResponse'] :: PutAccountSettingResponse -> Maybe Setting
+ Amazonka.ECS.PutAccountSetting: [$sel:value:PutAccountSetting'] :: PutAccountSetting -> Text
+ Amazonka.ECS.PutAccountSetting: data PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: data PutAccountSettingResponse
+ Amazonka.ECS.PutAccountSetting: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.PutAccountSetting.PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: instance Amazonka.Data.Path.ToPath Amazonka.ECS.PutAccountSetting.PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.PutAccountSetting.PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: instance Amazonka.Types.AWSRequest Amazonka.ECS.PutAccountSetting.PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: instance Control.DeepSeq.NFData Amazonka.ECS.PutAccountSetting.PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: instance Control.DeepSeq.NFData Amazonka.ECS.PutAccountSetting.PutAccountSettingResponse
+ Amazonka.ECS.PutAccountSetting: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.PutAccountSetting.PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: instance Data.Hashable.Class.Hashable Amazonka.ECS.PutAccountSetting.PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: instance GHC.Classes.Eq Amazonka.ECS.PutAccountSetting.PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: instance GHC.Classes.Eq Amazonka.ECS.PutAccountSetting.PutAccountSettingResponse
+ Amazonka.ECS.PutAccountSetting: instance GHC.Generics.Generic Amazonka.ECS.PutAccountSetting.PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: instance GHC.Generics.Generic Amazonka.ECS.PutAccountSetting.PutAccountSettingResponse
+ Amazonka.ECS.PutAccountSetting: instance GHC.Read.Read Amazonka.ECS.PutAccountSetting.PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: instance GHC.Read.Read Amazonka.ECS.PutAccountSetting.PutAccountSettingResponse
+ Amazonka.ECS.PutAccountSetting: instance GHC.Show.Show Amazonka.ECS.PutAccountSetting.PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: instance GHC.Show.Show Amazonka.ECS.PutAccountSetting.PutAccountSettingResponse
+ Amazonka.ECS.PutAccountSetting: newPutAccountSetting :: SettingName -> Text -> PutAccountSetting
+ Amazonka.ECS.PutAccountSetting: newPutAccountSettingResponse :: Int -> PutAccountSettingResponse
+ Amazonka.ECS.PutAccountSetting: putAccountSettingResponse_httpStatus :: Lens' PutAccountSettingResponse Int
+ Amazonka.ECS.PutAccountSetting: putAccountSettingResponse_setting :: Lens' PutAccountSettingResponse (Maybe Setting)
+ Amazonka.ECS.PutAccountSetting: putAccountSetting_name :: Lens' PutAccountSetting SettingName
+ Amazonka.ECS.PutAccountSetting: putAccountSetting_principalArn :: Lens' PutAccountSetting (Maybe Text)
+ Amazonka.ECS.PutAccountSetting: putAccountSetting_value :: Lens' PutAccountSetting Text
+ Amazonka.ECS.PutAccountSettingDefault: PutAccountSettingDefault' :: SettingName -> Text -> PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: PutAccountSettingDefaultResponse' :: Maybe Setting -> Int -> PutAccountSettingDefaultResponse
+ Amazonka.ECS.PutAccountSettingDefault: [$sel:httpStatus:PutAccountSettingDefaultResponse'] :: PutAccountSettingDefaultResponse -> Int
+ Amazonka.ECS.PutAccountSettingDefault: [$sel:name:PutAccountSettingDefault'] :: PutAccountSettingDefault -> SettingName
+ Amazonka.ECS.PutAccountSettingDefault: [$sel:setting:PutAccountSettingDefaultResponse'] :: PutAccountSettingDefaultResponse -> Maybe Setting
+ Amazonka.ECS.PutAccountSettingDefault: [$sel:value:PutAccountSettingDefault'] :: PutAccountSettingDefault -> Text
+ Amazonka.ECS.PutAccountSettingDefault: data PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: data PutAccountSettingDefaultResponse
+ Amazonka.ECS.PutAccountSettingDefault: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: instance Amazonka.Data.Path.ToPath Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: instance Amazonka.Types.AWSRequest Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: instance Control.DeepSeq.NFData Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: instance Control.DeepSeq.NFData Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefaultResponse
+ Amazonka.ECS.PutAccountSettingDefault: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: instance Data.Hashable.Class.Hashable Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: instance GHC.Classes.Eq Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: instance GHC.Classes.Eq Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefaultResponse
+ Amazonka.ECS.PutAccountSettingDefault: instance GHC.Generics.Generic Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: instance GHC.Generics.Generic Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefaultResponse
+ Amazonka.ECS.PutAccountSettingDefault: instance GHC.Read.Read Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: instance GHC.Read.Read Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefaultResponse
+ Amazonka.ECS.PutAccountSettingDefault: instance GHC.Show.Show Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: instance GHC.Show.Show Amazonka.ECS.PutAccountSettingDefault.PutAccountSettingDefaultResponse
+ Amazonka.ECS.PutAccountSettingDefault: newPutAccountSettingDefault :: SettingName -> Text -> PutAccountSettingDefault
+ Amazonka.ECS.PutAccountSettingDefault: newPutAccountSettingDefaultResponse :: Int -> PutAccountSettingDefaultResponse
+ Amazonka.ECS.PutAccountSettingDefault: putAccountSettingDefaultResponse_httpStatus :: Lens' PutAccountSettingDefaultResponse Int
+ Amazonka.ECS.PutAccountSettingDefault: putAccountSettingDefaultResponse_setting :: Lens' PutAccountSettingDefaultResponse (Maybe Setting)
+ Amazonka.ECS.PutAccountSettingDefault: putAccountSettingDefault_name :: Lens' PutAccountSettingDefault SettingName
+ Amazonka.ECS.PutAccountSettingDefault: putAccountSettingDefault_value :: Lens' PutAccountSettingDefault Text
+ Amazonka.ECS.PutAttributes: PutAttributes' :: Maybe Text -> [Attribute] -> PutAttributes
+ Amazonka.ECS.PutAttributes: PutAttributesResponse' :: Maybe [Attribute] -> Int -> PutAttributesResponse
+ Amazonka.ECS.PutAttributes: [$sel:attributes:PutAttributes'] :: PutAttributes -> [Attribute]
+ Amazonka.ECS.PutAttributes: [$sel:attributes:PutAttributesResponse'] :: PutAttributesResponse -> Maybe [Attribute]
+ Amazonka.ECS.PutAttributes: [$sel:cluster:PutAttributes'] :: PutAttributes -> Maybe Text
+ Amazonka.ECS.PutAttributes: [$sel:httpStatus:PutAttributesResponse'] :: PutAttributesResponse -> Int
+ Amazonka.ECS.PutAttributes: data PutAttributes
+ Amazonka.ECS.PutAttributes: data PutAttributesResponse
+ Amazonka.ECS.PutAttributes: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.PutAttributes.PutAttributes
+ Amazonka.ECS.PutAttributes: instance Amazonka.Data.Path.ToPath Amazonka.ECS.PutAttributes.PutAttributes
+ Amazonka.ECS.PutAttributes: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.PutAttributes.PutAttributes
+ Amazonka.ECS.PutAttributes: instance Amazonka.Types.AWSRequest Amazonka.ECS.PutAttributes.PutAttributes
+ Amazonka.ECS.PutAttributes: instance Control.DeepSeq.NFData Amazonka.ECS.PutAttributes.PutAttributes
+ Amazonka.ECS.PutAttributes: instance Control.DeepSeq.NFData Amazonka.ECS.PutAttributes.PutAttributesResponse
+ Amazonka.ECS.PutAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.PutAttributes.PutAttributes
+ Amazonka.ECS.PutAttributes: instance Data.Hashable.Class.Hashable Amazonka.ECS.PutAttributes.PutAttributes
+ Amazonka.ECS.PutAttributes: instance GHC.Classes.Eq Amazonka.ECS.PutAttributes.PutAttributes
+ Amazonka.ECS.PutAttributes: instance GHC.Classes.Eq Amazonka.ECS.PutAttributes.PutAttributesResponse
+ Amazonka.ECS.PutAttributes: instance GHC.Generics.Generic Amazonka.ECS.PutAttributes.PutAttributes
+ Amazonka.ECS.PutAttributes: instance GHC.Generics.Generic Amazonka.ECS.PutAttributes.PutAttributesResponse
+ Amazonka.ECS.PutAttributes: instance GHC.Read.Read Amazonka.ECS.PutAttributes.PutAttributes
+ Amazonka.ECS.PutAttributes: instance GHC.Read.Read Amazonka.ECS.PutAttributes.PutAttributesResponse
+ Amazonka.ECS.PutAttributes: instance GHC.Show.Show Amazonka.ECS.PutAttributes.PutAttributes
+ Amazonka.ECS.PutAttributes: instance GHC.Show.Show Amazonka.ECS.PutAttributes.PutAttributesResponse
+ Amazonka.ECS.PutAttributes: newPutAttributes :: PutAttributes
+ Amazonka.ECS.PutAttributes: newPutAttributesResponse :: Int -> PutAttributesResponse
+ Amazonka.ECS.PutAttributes: putAttributesResponse_attributes :: Lens' PutAttributesResponse (Maybe [Attribute])
+ Amazonka.ECS.PutAttributes: putAttributesResponse_httpStatus :: Lens' PutAttributesResponse Int
+ Amazonka.ECS.PutAttributes: putAttributes_attributes :: Lens' PutAttributes [Attribute]
+ Amazonka.ECS.PutAttributes: putAttributes_cluster :: Lens' PutAttributes (Maybe Text)
+ Amazonka.ECS.PutClusterCapacityProviders: PutClusterCapacityProviders' :: Text -> [Text] -> [CapacityProviderStrategyItem] -> PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: PutClusterCapacityProvidersResponse' :: Maybe Cluster -> Int -> PutClusterCapacityProvidersResponse
+ Amazonka.ECS.PutClusterCapacityProviders: [$sel:capacityProviders:PutClusterCapacityProviders'] :: PutClusterCapacityProviders -> [Text]
+ Amazonka.ECS.PutClusterCapacityProviders: [$sel:cluster:PutClusterCapacityProviders'] :: PutClusterCapacityProviders -> Text
+ Amazonka.ECS.PutClusterCapacityProviders: [$sel:cluster:PutClusterCapacityProvidersResponse'] :: PutClusterCapacityProvidersResponse -> Maybe Cluster
+ Amazonka.ECS.PutClusterCapacityProviders: [$sel:defaultCapacityProviderStrategy:PutClusterCapacityProviders'] :: PutClusterCapacityProviders -> [CapacityProviderStrategyItem]
+ Amazonka.ECS.PutClusterCapacityProviders: [$sel:httpStatus:PutClusterCapacityProvidersResponse'] :: PutClusterCapacityProvidersResponse -> Int
+ Amazonka.ECS.PutClusterCapacityProviders: data PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: data PutClusterCapacityProvidersResponse
+ Amazonka.ECS.PutClusterCapacityProviders: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: instance Amazonka.Data.Path.ToPath Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: instance Amazonka.Types.AWSRequest Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: instance Control.DeepSeq.NFData Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: instance Control.DeepSeq.NFData Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProvidersResponse
+ Amazonka.ECS.PutClusterCapacityProviders: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: instance Data.Hashable.Class.Hashable Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: instance GHC.Classes.Eq Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: instance GHC.Classes.Eq Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProvidersResponse
+ Amazonka.ECS.PutClusterCapacityProviders: instance GHC.Generics.Generic Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: instance GHC.Generics.Generic Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProvidersResponse
+ Amazonka.ECS.PutClusterCapacityProviders: instance GHC.Read.Read Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: instance GHC.Read.Read Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProvidersResponse
+ Amazonka.ECS.PutClusterCapacityProviders: instance GHC.Show.Show Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: instance GHC.Show.Show Amazonka.ECS.PutClusterCapacityProviders.PutClusterCapacityProvidersResponse
+ Amazonka.ECS.PutClusterCapacityProviders: newPutClusterCapacityProviders :: Text -> PutClusterCapacityProviders
+ Amazonka.ECS.PutClusterCapacityProviders: newPutClusterCapacityProvidersResponse :: Int -> PutClusterCapacityProvidersResponse
+ Amazonka.ECS.PutClusterCapacityProviders: putClusterCapacityProvidersResponse_cluster :: Lens' PutClusterCapacityProvidersResponse (Maybe Cluster)
+ Amazonka.ECS.PutClusterCapacityProviders: putClusterCapacityProvidersResponse_httpStatus :: Lens' PutClusterCapacityProvidersResponse Int
+ Amazonka.ECS.PutClusterCapacityProviders: putClusterCapacityProviders_capacityProviders :: Lens' PutClusterCapacityProviders [Text]
+ Amazonka.ECS.PutClusterCapacityProviders: putClusterCapacityProviders_cluster :: Lens' PutClusterCapacityProviders Text
+ Amazonka.ECS.PutClusterCapacityProviders: putClusterCapacityProviders_defaultCapacityProviderStrategy :: Lens' PutClusterCapacityProviders [CapacityProviderStrategyItem]
+ Amazonka.ECS.RegisterContainerInstance: RegisterContainerInstance' :: Maybe [Attribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [PlatformDevice] -> Maybe [Tag] -> Maybe [Resource] -> Maybe VersionInfo -> RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: RegisterContainerInstanceResponse' :: Maybe ContainerInstance -> Int -> RegisterContainerInstanceResponse
+ Amazonka.ECS.RegisterContainerInstance: [$sel:attributes:RegisterContainerInstance'] :: RegisterContainerInstance -> Maybe [Attribute]
+ Amazonka.ECS.RegisterContainerInstance: [$sel:cluster:RegisterContainerInstance'] :: RegisterContainerInstance -> Maybe Text
+ Amazonka.ECS.RegisterContainerInstance: [$sel:containerInstance:RegisterContainerInstanceResponse'] :: RegisterContainerInstanceResponse -> Maybe ContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: [$sel:containerInstanceArn:RegisterContainerInstance'] :: RegisterContainerInstance -> Maybe Text
+ Amazonka.ECS.RegisterContainerInstance: [$sel:httpStatus:RegisterContainerInstanceResponse'] :: RegisterContainerInstanceResponse -> Int
+ Amazonka.ECS.RegisterContainerInstance: [$sel:instanceIdentityDocument:RegisterContainerInstance'] :: RegisterContainerInstance -> Maybe Text
+ Amazonka.ECS.RegisterContainerInstance: [$sel:instanceIdentityDocumentSignature:RegisterContainerInstance'] :: RegisterContainerInstance -> Maybe Text
+ Amazonka.ECS.RegisterContainerInstance: [$sel:platformDevices:RegisterContainerInstance'] :: RegisterContainerInstance -> Maybe [PlatformDevice]
+ Amazonka.ECS.RegisterContainerInstance: [$sel:tags:RegisterContainerInstance'] :: RegisterContainerInstance -> Maybe [Tag]
+ Amazonka.ECS.RegisterContainerInstance: [$sel:totalResources:RegisterContainerInstance'] :: RegisterContainerInstance -> Maybe [Resource]
+ Amazonka.ECS.RegisterContainerInstance: [$sel:versionInfo:RegisterContainerInstance'] :: RegisterContainerInstance -> Maybe VersionInfo
+ Amazonka.ECS.RegisterContainerInstance: data RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: data RegisterContainerInstanceResponse
+ Amazonka.ECS.RegisterContainerInstance: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: instance Amazonka.Data.Path.ToPath Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: instance Amazonka.Types.AWSRequest Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: instance Control.DeepSeq.NFData Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: instance Control.DeepSeq.NFData Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstanceResponse
+ Amazonka.ECS.RegisterContainerInstance: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: instance Data.Hashable.Class.Hashable Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: instance GHC.Classes.Eq Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: instance GHC.Classes.Eq Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstanceResponse
+ Amazonka.ECS.RegisterContainerInstance: instance GHC.Generics.Generic Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: instance GHC.Generics.Generic Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstanceResponse
+ Amazonka.ECS.RegisterContainerInstance: instance GHC.Read.Read Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: instance GHC.Read.Read Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstanceResponse
+ Amazonka.ECS.RegisterContainerInstance: instance GHC.Show.Show Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: instance GHC.Show.Show Amazonka.ECS.RegisterContainerInstance.RegisterContainerInstanceResponse
+ Amazonka.ECS.RegisterContainerInstance: newRegisterContainerInstance :: RegisterContainerInstance
+ Amazonka.ECS.RegisterContainerInstance: newRegisterContainerInstanceResponse :: Int -> RegisterContainerInstanceResponse
+ Amazonka.ECS.RegisterContainerInstance: registerContainerInstanceResponse_containerInstance :: Lens' RegisterContainerInstanceResponse (Maybe ContainerInstance)
+ Amazonka.ECS.RegisterContainerInstance: registerContainerInstanceResponse_httpStatus :: Lens' RegisterContainerInstanceResponse Int
+ Amazonka.ECS.RegisterContainerInstance: registerContainerInstance_attributes :: Lens' RegisterContainerInstance (Maybe [Attribute])
+ Amazonka.ECS.RegisterContainerInstance: registerContainerInstance_cluster :: Lens' RegisterContainerInstance (Maybe Text)
+ Amazonka.ECS.RegisterContainerInstance: registerContainerInstance_containerInstanceArn :: Lens' RegisterContainerInstance (Maybe Text)
+ Amazonka.ECS.RegisterContainerInstance: registerContainerInstance_instanceIdentityDocument :: Lens' RegisterContainerInstance (Maybe Text)
+ Amazonka.ECS.RegisterContainerInstance: registerContainerInstance_instanceIdentityDocumentSignature :: Lens' RegisterContainerInstance (Maybe Text)
+ Amazonka.ECS.RegisterContainerInstance: registerContainerInstance_platformDevices :: Lens' RegisterContainerInstance (Maybe [PlatformDevice])
+ Amazonka.ECS.RegisterContainerInstance: registerContainerInstance_tags :: Lens' RegisterContainerInstance (Maybe [Tag])
+ Amazonka.ECS.RegisterContainerInstance: registerContainerInstance_totalResources :: Lens' RegisterContainerInstance (Maybe [Resource])
+ Amazonka.ECS.RegisterContainerInstance: registerContainerInstance_versionInfo :: Lens' RegisterContainerInstance (Maybe VersionInfo)
+ Amazonka.ECS.RegisterTaskDefinition: RegisterTaskDefinition' :: Maybe Text -> Maybe EphemeralStorage -> Maybe Text -> Maybe [InferenceAccelerator] -> Maybe IpcMode -> Maybe Text -> Maybe NetworkMode -> Maybe PidMode -> Maybe [TaskDefinitionPlacementConstraint] -> Maybe ProxyConfiguration -> Maybe [Compatibility] -> Maybe RuntimePlatform -> Maybe [Tag] -> Maybe Text -> Maybe [Volume] -> Text -> [ContainerDefinition] -> RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: RegisterTaskDefinitionResponse' :: Maybe [Tag] -> Maybe TaskDefinition -> Int -> RegisterTaskDefinitionResponse
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:containerDefinitions:RegisterTaskDefinition'] :: RegisterTaskDefinition -> [ContainerDefinition]
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:cpu:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe Text
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:ephemeralStorage:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe EphemeralStorage
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:executionRoleArn:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe Text
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:family:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Text
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:httpStatus:RegisterTaskDefinitionResponse'] :: RegisterTaskDefinitionResponse -> Int
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:inferenceAccelerators:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe [InferenceAccelerator]
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:ipcMode:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe IpcMode
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:memory:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe Text
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:networkMode:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe NetworkMode
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:pidMode:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe PidMode
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:placementConstraints:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe [TaskDefinitionPlacementConstraint]
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:proxyConfiguration:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe ProxyConfiguration
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:requiresCompatibilities:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe [Compatibility]
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:runtimePlatform:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe RuntimePlatform
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:tags:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe [Tag]
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:tags:RegisterTaskDefinitionResponse'] :: RegisterTaskDefinitionResponse -> Maybe [Tag]
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:taskDefinition:RegisterTaskDefinitionResponse'] :: RegisterTaskDefinitionResponse -> Maybe TaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:taskRoleArn:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe Text
+ Amazonka.ECS.RegisterTaskDefinition: [$sel:volumes:RegisterTaskDefinition'] :: RegisterTaskDefinition -> Maybe [Volume]
+ Amazonka.ECS.RegisterTaskDefinition: data RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: data RegisterTaskDefinitionResponse
+ Amazonka.ECS.RegisterTaskDefinition: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: instance Amazonka.Data.Path.ToPath Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: instance Amazonka.Types.AWSRequest Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: instance Control.DeepSeq.NFData Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: instance Control.DeepSeq.NFData Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinitionResponse
+ Amazonka.ECS.RegisterTaskDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: instance Data.Hashable.Class.Hashable Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: instance GHC.Classes.Eq Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: instance GHC.Classes.Eq Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinitionResponse
+ Amazonka.ECS.RegisterTaskDefinition: instance GHC.Generics.Generic Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: instance GHC.Generics.Generic Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinitionResponse
+ Amazonka.ECS.RegisterTaskDefinition: instance GHC.Read.Read Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: instance GHC.Read.Read Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinitionResponse
+ Amazonka.ECS.RegisterTaskDefinition: instance GHC.Show.Show Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: instance GHC.Show.Show Amazonka.ECS.RegisterTaskDefinition.RegisterTaskDefinitionResponse
+ Amazonka.ECS.RegisterTaskDefinition: newRegisterTaskDefinition :: Text -> RegisterTaskDefinition
+ Amazonka.ECS.RegisterTaskDefinition: newRegisterTaskDefinitionResponse :: Int -> RegisterTaskDefinitionResponse
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinitionResponse_httpStatus :: Lens' RegisterTaskDefinitionResponse Int
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinitionResponse_tags :: Lens' RegisterTaskDefinitionResponse (Maybe [Tag])
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinitionResponse_taskDefinition :: Lens' RegisterTaskDefinitionResponse (Maybe TaskDefinition)
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_containerDefinitions :: Lens' RegisterTaskDefinition [ContainerDefinition]
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_cpu :: Lens' RegisterTaskDefinition (Maybe Text)
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_ephemeralStorage :: Lens' RegisterTaskDefinition (Maybe EphemeralStorage)
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_executionRoleArn :: Lens' RegisterTaskDefinition (Maybe Text)
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_family :: Lens' RegisterTaskDefinition Text
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_inferenceAccelerators :: Lens' RegisterTaskDefinition (Maybe [InferenceAccelerator])
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_ipcMode :: Lens' RegisterTaskDefinition (Maybe IpcMode)
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_memory :: Lens' RegisterTaskDefinition (Maybe Text)
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_networkMode :: Lens' RegisterTaskDefinition (Maybe NetworkMode)
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_pidMode :: Lens' RegisterTaskDefinition (Maybe PidMode)
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_placementConstraints :: Lens' RegisterTaskDefinition (Maybe [TaskDefinitionPlacementConstraint])
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_proxyConfiguration :: Lens' RegisterTaskDefinition (Maybe ProxyConfiguration)
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_requiresCompatibilities :: Lens' RegisterTaskDefinition (Maybe [Compatibility])
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_runtimePlatform :: Lens' RegisterTaskDefinition (Maybe RuntimePlatform)
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_tags :: Lens' RegisterTaskDefinition (Maybe [Tag])
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_taskRoleArn :: Lens' RegisterTaskDefinition (Maybe Text)
+ Amazonka.ECS.RegisterTaskDefinition: registerTaskDefinition_volumes :: Lens' RegisterTaskDefinition (Maybe [Volume])
+ Amazonka.ECS.RunTask: RunTask' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe Int -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe LaunchType -> Maybe NetworkConfiguration -> Maybe TaskOverride -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe PropagateTags -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Text -> RunTask
+ Amazonka.ECS.RunTask: RunTaskResponse' :: Maybe [Failure] -> Maybe [Task] -> Int -> RunTaskResponse
+ Amazonka.ECS.RunTask: [$sel:capacityProviderStrategy:RunTask'] :: RunTask -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.RunTask: [$sel:cluster:RunTask'] :: RunTask -> Maybe Text
+ Amazonka.ECS.RunTask: [$sel:count:RunTask'] :: RunTask -> Maybe Int
+ Amazonka.ECS.RunTask: [$sel:enableECSManagedTags:RunTask'] :: RunTask -> Maybe Bool
+ Amazonka.ECS.RunTask: [$sel:enableExecuteCommand:RunTask'] :: RunTask -> Maybe Bool
+ Amazonka.ECS.RunTask: [$sel:failures:RunTaskResponse'] :: RunTaskResponse -> Maybe [Failure]
+ Amazonka.ECS.RunTask: [$sel:group':RunTask'] :: RunTask -> Maybe Text
+ Amazonka.ECS.RunTask: [$sel:httpStatus:RunTaskResponse'] :: RunTaskResponse -> Int
+ Amazonka.ECS.RunTask: [$sel:launchType:RunTask'] :: RunTask -> Maybe LaunchType
+ Amazonka.ECS.RunTask: [$sel:networkConfiguration:RunTask'] :: RunTask -> Maybe NetworkConfiguration
+ Amazonka.ECS.RunTask: [$sel:overrides:RunTask'] :: RunTask -> Maybe TaskOverride
+ Amazonka.ECS.RunTask: [$sel:placementConstraints:RunTask'] :: RunTask -> Maybe [PlacementConstraint]
+ Amazonka.ECS.RunTask: [$sel:placementStrategy:RunTask'] :: RunTask -> Maybe [PlacementStrategy]
+ Amazonka.ECS.RunTask: [$sel:platformVersion:RunTask'] :: RunTask -> Maybe Text
+ Amazonka.ECS.RunTask: [$sel:propagateTags:RunTask'] :: RunTask -> Maybe PropagateTags
+ Amazonka.ECS.RunTask: [$sel:referenceId:RunTask'] :: RunTask -> Maybe Text
+ Amazonka.ECS.RunTask: [$sel:startedBy:RunTask'] :: RunTask -> Maybe Text
+ Amazonka.ECS.RunTask: [$sel:tags:RunTask'] :: RunTask -> Maybe [Tag]
+ Amazonka.ECS.RunTask: [$sel:taskDefinition:RunTask'] :: RunTask -> Text
+ Amazonka.ECS.RunTask: [$sel:tasks:RunTaskResponse'] :: RunTaskResponse -> Maybe [Task]
+ Amazonka.ECS.RunTask: data RunTask
+ Amazonka.ECS.RunTask: data RunTaskResponse
+ Amazonka.ECS.RunTask: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.RunTask.RunTask
+ Amazonka.ECS.RunTask: instance Amazonka.Data.Path.ToPath Amazonka.ECS.RunTask.RunTask
+ Amazonka.ECS.RunTask: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.RunTask.RunTask
+ Amazonka.ECS.RunTask: instance Amazonka.Types.AWSRequest Amazonka.ECS.RunTask.RunTask
+ Amazonka.ECS.RunTask: instance Control.DeepSeq.NFData Amazonka.ECS.RunTask.RunTask
+ Amazonka.ECS.RunTask: instance Control.DeepSeq.NFData Amazonka.ECS.RunTask.RunTaskResponse
+ Amazonka.ECS.RunTask: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.RunTask.RunTask
+ Amazonka.ECS.RunTask: instance Data.Hashable.Class.Hashable Amazonka.ECS.RunTask.RunTask
+ Amazonka.ECS.RunTask: instance GHC.Classes.Eq Amazonka.ECS.RunTask.RunTask
+ Amazonka.ECS.RunTask: instance GHC.Classes.Eq Amazonka.ECS.RunTask.RunTaskResponse
+ Amazonka.ECS.RunTask: instance GHC.Generics.Generic Amazonka.ECS.RunTask.RunTask
+ Amazonka.ECS.RunTask: instance GHC.Generics.Generic Amazonka.ECS.RunTask.RunTaskResponse
+ Amazonka.ECS.RunTask: instance GHC.Read.Read Amazonka.ECS.RunTask.RunTask
+ Amazonka.ECS.RunTask: instance GHC.Read.Read Amazonka.ECS.RunTask.RunTaskResponse
+ Amazonka.ECS.RunTask: instance GHC.Show.Show Amazonka.ECS.RunTask.RunTask
+ Amazonka.ECS.RunTask: instance GHC.Show.Show Amazonka.ECS.RunTask.RunTaskResponse
+ Amazonka.ECS.RunTask: newRunTask :: Text -> RunTask
+ Amazonka.ECS.RunTask: newRunTaskResponse :: Int -> RunTaskResponse
+ Amazonka.ECS.RunTask: runTaskResponse_failures :: Lens' RunTaskResponse (Maybe [Failure])
+ Amazonka.ECS.RunTask: runTaskResponse_httpStatus :: Lens' RunTaskResponse Int
+ Amazonka.ECS.RunTask: runTaskResponse_tasks :: Lens' RunTaskResponse (Maybe [Task])
+ Amazonka.ECS.RunTask: runTask_capacityProviderStrategy :: Lens' RunTask (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.RunTask: runTask_cluster :: Lens' RunTask (Maybe Text)
+ Amazonka.ECS.RunTask: runTask_count :: Lens' RunTask (Maybe Int)
+ Amazonka.ECS.RunTask: runTask_enableECSManagedTags :: Lens' RunTask (Maybe Bool)
+ Amazonka.ECS.RunTask: runTask_enableExecuteCommand :: Lens' RunTask (Maybe Bool)
+ Amazonka.ECS.RunTask: runTask_group :: Lens' RunTask (Maybe Text)
+ Amazonka.ECS.RunTask: runTask_launchType :: Lens' RunTask (Maybe LaunchType)
+ Amazonka.ECS.RunTask: runTask_networkConfiguration :: Lens' RunTask (Maybe NetworkConfiguration)
+ Amazonka.ECS.RunTask: runTask_overrides :: Lens' RunTask (Maybe TaskOverride)
+ Amazonka.ECS.RunTask: runTask_placementConstraints :: Lens' RunTask (Maybe [PlacementConstraint])
+ Amazonka.ECS.RunTask: runTask_placementStrategy :: Lens' RunTask (Maybe [PlacementStrategy])
+ Amazonka.ECS.RunTask: runTask_platformVersion :: Lens' RunTask (Maybe Text)
+ Amazonka.ECS.RunTask: runTask_propagateTags :: Lens' RunTask (Maybe PropagateTags)
+ Amazonka.ECS.RunTask: runTask_referenceId :: Lens' RunTask (Maybe Text)
+ Amazonka.ECS.RunTask: runTask_startedBy :: Lens' RunTask (Maybe Text)
+ Amazonka.ECS.RunTask: runTask_tags :: Lens' RunTask (Maybe [Tag])
+ Amazonka.ECS.RunTask: runTask_taskDefinition :: Lens' RunTask Text
+ Amazonka.ECS.StartTask: StartTask' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe NetworkConfiguration -> Maybe TaskOverride -> Maybe PropagateTags -> Maybe Text -> Maybe Text -> Maybe [Tag] -> [Text] -> Text -> StartTask
+ Amazonka.ECS.StartTask: StartTaskResponse' :: Maybe [Failure] -> Maybe [Task] -> Int -> StartTaskResponse
+ Amazonka.ECS.StartTask: [$sel:cluster:StartTask'] :: StartTask -> Maybe Text
+ Amazonka.ECS.StartTask: [$sel:containerInstances:StartTask'] :: StartTask -> [Text]
+ Amazonka.ECS.StartTask: [$sel:enableECSManagedTags:StartTask'] :: StartTask -> Maybe Bool
+ Amazonka.ECS.StartTask: [$sel:enableExecuteCommand:StartTask'] :: StartTask -> Maybe Bool
+ Amazonka.ECS.StartTask: [$sel:failures:StartTaskResponse'] :: StartTaskResponse -> Maybe [Failure]
+ Amazonka.ECS.StartTask: [$sel:group':StartTask'] :: StartTask -> Maybe Text
+ Amazonka.ECS.StartTask: [$sel:httpStatus:StartTaskResponse'] :: StartTaskResponse -> Int
+ Amazonka.ECS.StartTask: [$sel:networkConfiguration:StartTask'] :: StartTask -> Maybe NetworkConfiguration
+ Amazonka.ECS.StartTask: [$sel:overrides:StartTask'] :: StartTask -> Maybe TaskOverride
+ Amazonka.ECS.StartTask: [$sel:propagateTags:StartTask'] :: StartTask -> Maybe PropagateTags
+ Amazonka.ECS.StartTask: [$sel:referenceId:StartTask'] :: StartTask -> Maybe Text
+ Amazonka.ECS.StartTask: [$sel:startedBy:StartTask'] :: StartTask -> Maybe Text
+ Amazonka.ECS.StartTask: [$sel:tags:StartTask'] :: StartTask -> Maybe [Tag]
+ Amazonka.ECS.StartTask: [$sel:taskDefinition:StartTask'] :: StartTask -> Text
+ Amazonka.ECS.StartTask: [$sel:tasks:StartTaskResponse'] :: StartTaskResponse -> Maybe [Task]
+ Amazonka.ECS.StartTask: data StartTask
+ Amazonka.ECS.StartTask: data StartTaskResponse
+ Amazonka.ECS.StartTask: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.StartTask.StartTask
+ Amazonka.ECS.StartTask: instance Amazonka.Data.Path.ToPath Amazonka.ECS.StartTask.StartTask
+ Amazonka.ECS.StartTask: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.StartTask.StartTask
+ Amazonka.ECS.StartTask: instance Amazonka.Types.AWSRequest Amazonka.ECS.StartTask.StartTask
+ Amazonka.ECS.StartTask: instance Control.DeepSeq.NFData Amazonka.ECS.StartTask.StartTask
+ Amazonka.ECS.StartTask: instance Control.DeepSeq.NFData Amazonka.ECS.StartTask.StartTaskResponse
+ Amazonka.ECS.StartTask: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.StartTask.StartTask
+ Amazonka.ECS.StartTask: instance Data.Hashable.Class.Hashable Amazonka.ECS.StartTask.StartTask
+ Amazonka.ECS.StartTask: instance GHC.Classes.Eq Amazonka.ECS.StartTask.StartTask
+ Amazonka.ECS.StartTask: instance GHC.Classes.Eq Amazonka.ECS.StartTask.StartTaskResponse
+ Amazonka.ECS.StartTask: instance GHC.Generics.Generic Amazonka.ECS.StartTask.StartTask
+ Amazonka.ECS.StartTask: instance GHC.Generics.Generic Amazonka.ECS.StartTask.StartTaskResponse
+ Amazonka.ECS.StartTask: instance GHC.Read.Read Amazonka.ECS.StartTask.StartTask
+ Amazonka.ECS.StartTask: instance GHC.Read.Read Amazonka.ECS.StartTask.StartTaskResponse
+ Amazonka.ECS.StartTask: instance GHC.Show.Show Amazonka.ECS.StartTask.StartTask
+ Amazonka.ECS.StartTask: instance GHC.Show.Show Amazonka.ECS.StartTask.StartTaskResponse
+ Amazonka.ECS.StartTask: newStartTask :: Text -> StartTask
+ Amazonka.ECS.StartTask: newStartTaskResponse :: Int -> StartTaskResponse
+ Amazonka.ECS.StartTask: startTaskResponse_failures :: Lens' StartTaskResponse (Maybe [Failure])
+ Amazonka.ECS.StartTask: startTaskResponse_httpStatus :: Lens' StartTaskResponse Int
+ Amazonka.ECS.StartTask: startTaskResponse_tasks :: Lens' StartTaskResponse (Maybe [Task])
+ Amazonka.ECS.StartTask: startTask_cluster :: Lens' StartTask (Maybe Text)
+ Amazonka.ECS.StartTask: startTask_containerInstances :: Lens' StartTask [Text]
+ Amazonka.ECS.StartTask: startTask_enableECSManagedTags :: Lens' StartTask (Maybe Bool)
+ Amazonka.ECS.StartTask: startTask_enableExecuteCommand :: Lens' StartTask (Maybe Bool)
+ Amazonka.ECS.StartTask: startTask_group :: Lens' StartTask (Maybe Text)
+ Amazonka.ECS.StartTask: startTask_networkConfiguration :: Lens' StartTask (Maybe NetworkConfiguration)
+ Amazonka.ECS.StartTask: startTask_overrides :: Lens' StartTask (Maybe TaskOverride)
+ Amazonka.ECS.StartTask: startTask_propagateTags :: Lens' StartTask (Maybe PropagateTags)
+ Amazonka.ECS.StartTask: startTask_referenceId :: Lens' StartTask (Maybe Text)
+ Amazonka.ECS.StartTask: startTask_startedBy :: Lens' StartTask (Maybe Text)
+ Amazonka.ECS.StartTask: startTask_tags :: Lens' StartTask (Maybe [Tag])
+ Amazonka.ECS.StartTask: startTask_taskDefinition :: Lens' StartTask Text
+ Amazonka.ECS.StopTask: StopTask' :: Maybe Text -> Maybe Text -> Text -> StopTask
+ Amazonka.ECS.StopTask: StopTaskResponse' :: Maybe Task -> Int -> StopTaskResponse
+ Amazonka.ECS.StopTask: [$sel:cluster:StopTask'] :: StopTask -> Maybe Text
+ Amazonka.ECS.StopTask: [$sel:httpStatus:StopTaskResponse'] :: StopTaskResponse -> Int
+ Amazonka.ECS.StopTask: [$sel:reason:StopTask'] :: StopTask -> Maybe Text
+ Amazonka.ECS.StopTask: [$sel:task:StopTask'] :: StopTask -> Text
+ Amazonka.ECS.StopTask: [$sel:task:StopTaskResponse'] :: StopTaskResponse -> Maybe Task
+ Amazonka.ECS.StopTask: data StopTask
+ Amazonka.ECS.StopTask: data StopTaskResponse
+ Amazonka.ECS.StopTask: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.StopTask.StopTask
+ Amazonka.ECS.StopTask: instance Amazonka.Data.Path.ToPath Amazonka.ECS.StopTask.StopTask
+ Amazonka.ECS.StopTask: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.StopTask.StopTask
+ Amazonka.ECS.StopTask: instance Amazonka.Types.AWSRequest Amazonka.ECS.StopTask.StopTask
+ Amazonka.ECS.StopTask: instance Control.DeepSeq.NFData Amazonka.ECS.StopTask.StopTask
+ Amazonka.ECS.StopTask: instance Control.DeepSeq.NFData Amazonka.ECS.StopTask.StopTaskResponse
+ Amazonka.ECS.StopTask: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.StopTask.StopTask
+ Amazonka.ECS.StopTask: instance Data.Hashable.Class.Hashable Amazonka.ECS.StopTask.StopTask
+ Amazonka.ECS.StopTask: instance GHC.Classes.Eq Amazonka.ECS.StopTask.StopTask
+ Amazonka.ECS.StopTask: instance GHC.Classes.Eq Amazonka.ECS.StopTask.StopTaskResponse
+ Amazonka.ECS.StopTask: instance GHC.Generics.Generic Amazonka.ECS.StopTask.StopTask
+ Amazonka.ECS.StopTask: instance GHC.Generics.Generic Amazonka.ECS.StopTask.StopTaskResponse
+ Amazonka.ECS.StopTask: instance GHC.Read.Read Amazonka.ECS.StopTask.StopTask
+ Amazonka.ECS.StopTask: instance GHC.Read.Read Amazonka.ECS.StopTask.StopTaskResponse
+ Amazonka.ECS.StopTask: instance GHC.Show.Show Amazonka.ECS.StopTask.StopTask
+ Amazonka.ECS.StopTask: instance GHC.Show.Show Amazonka.ECS.StopTask.StopTaskResponse
+ Amazonka.ECS.StopTask: newStopTask :: Text -> StopTask
+ Amazonka.ECS.StopTask: newStopTaskResponse :: Int -> StopTaskResponse
+ Amazonka.ECS.StopTask: stopTaskResponse_httpStatus :: Lens' StopTaskResponse Int
+ Amazonka.ECS.StopTask: stopTaskResponse_task :: Lens' StopTaskResponse (Maybe Task)
+ Amazonka.ECS.StopTask: stopTask_cluster :: Lens' StopTask (Maybe Text)
+ Amazonka.ECS.StopTask: stopTask_reason :: Lens' StopTask (Maybe Text)
+ Amazonka.ECS.StopTask: stopTask_task :: Lens' StopTask Text
+ Amazonka.ECS.SubmitAttachmentStateChanges: SubmitAttachmentStateChanges' :: Maybe Text -> [AttachmentStateChange] -> SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: SubmitAttachmentStateChangesResponse' :: Maybe Text -> Int -> SubmitAttachmentStateChangesResponse
+ Amazonka.ECS.SubmitAttachmentStateChanges: [$sel:acknowledgment:SubmitAttachmentStateChangesResponse'] :: SubmitAttachmentStateChangesResponse -> Maybe Text
+ Amazonka.ECS.SubmitAttachmentStateChanges: [$sel:attachments:SubmitAttachmentStateChanges'] :: SubmitAttachmentStateChanges -> [AttachmentStateChange]
+ Amazonka.ECS.SubmitAttachmentStateChanges: [$sel:cluster:SubmitAttachmentStateChanges'] :: SubmitAttachmentStateChanges -> Maybe Text
+ Amazonka.ECS.SubmitAttachmentStateChanges: [$sel:httpStatus:SubmitAttachmentStateChangesResponse'] :: SubmitAttachmentStateChangesResponse -> Int
+ Amazonka.ECS.SubmitAttachmentStateChanges: data SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: data SubmitAttachmentStateChangesResponse
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance Amazonka.Data.Path.ToPath Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance Amazonka.Types.AWSRequest Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance Control.DeepSeq.NFData Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance Control.DeepSeq.NFData Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChangesResponse
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance Data.Hashable.Class.Hashable Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance GHC.Classes.Eq Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance GHC.Classes.Eq Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChangesResponse
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance GHC.Generics.Generic Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance GHC.Generics.Generic Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChangesResponse
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance GHC.Read.Read Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance GHC.Read.Read Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChangesResponse
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance GHC.Show.Show Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: instance GHC.Show.Show Amazonka.ECS.SubmitAttachmentStateChanges.SubmitAttachmentStateChangesResponse
+ Amazonka.ECS.SubmitAttachmentStateChanges: newSubmitAttachmentStateChanges :: SubmitAttachmentStateChanges
+ Amazonka.ECS.SubmitAttachmentStateChanges: newSubmitAttachmentStateChangesResponse :: Int -> SubmitAttachmentStateChangesResponse
+ Amazonka.ECS.SubmitAttachmentStateChanges: submitAttachmentStateChangesResponse_acknowledgment :: Lens' SubmitAttachmentStateChangesResponse (Maybe Text)
+ Amazonka.ECS.SubmitAttachmentStateChanges: submitAttachmentStateChangesResponse_httpStatus :: Lens' SubmitAttachmentStateChangesResponse Int
+ Amazonka.ECS.SubmitAttachmentStateChanges: submitAttachmentStateChanges_attachments :: Lens' SubmitAttachmentStateChanges [AttachmentStateChange]
+ Amazonka.ECS.SubmitAttachmentStateChanges: submitAttachmentStateChanges_cluster :: Lens' SubmitAttachmentStateChanges (Maybe Text)
+ Amazonka.ECS.SubmitContainerStateChange: SubmitContainerStateChange' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [NetworkBinding] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: SubmitContainerStateChangeResponse' :: Maybe Text -> Int -> SubmitContainerStateChangeResponse
+ Amazonka.ECS.SubmitContainerStateChange: [$sel:acknowledgment:SubmitContainerStateChangeResponse'] :: SubmitContainerStateChangeResponse -> Maybe Text
+ Amazonka.ECS.SubmitContainerStateChange: [$sel:cluster:SubmitContainerStateChange'] :: SubmitContainerStateChange -> Maybe Text
+ Amazonka.ECS.SubmitContainerStateChange: [$sel:containerName:SubmitContainerStateChange'] :: SubmitContainerStateChange -> Maybe Text
+ Amazonka.ECS.SubmitContainerStateChange: [$sel:exitCode:SubmitContainerStateChange'] :: SubmitContainerStateChange -> Maybe Int
+ Amazonka.ECS.SubmitContainerStateChange: [$sel:httpStatus:SubmitContainerStateChangeResponse'] :: SubmitContainerStateChangeResponse -> Int
+ Amazonka.ECS.SubmitContainerStateChange: [$sel:networkBindings:SubmitContainerStateChange'] :: SubmitContainerStateChange -> Maybe [NetworkBinding]
+ Amazonka.ECS.SubmitContainerStateChange: [$sel:reason:SubmitContainerStateChange'] :: SubmitContainerStateChange -> Maybe Text
+ Amazonka.ECS.SubmitContainerStateChange: [$sel:runtimeId:SubmitContainerStateChange'] :: SubmitContainerStateChange -> Maybe Text
+ Amazonka.ECS.SubmitContainerStateChange: [$sel:status:SubmitContainerStateChange'] :: SubmitContainerStateChange -> Maybe Text
+ Amazonka.ECS.SubmitContainerStateChange: [$sel:task:SubmitContainerStateChange'] :: SubmitContainerStateChange -> Maybe Text
+ Amazonka.ECS.SubmitContainerStateChange: data SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: data SubmitContainerStateChangeResponse
+ Amazonka.ECS.SubmitContainerStateChange: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: instance Amazonka.Data.Path.ToPath Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: instance Amazonka.Types.AWSRequest Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: instance Control.DeepSeq.NFData Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: instance Control.DeepSeq.NFData Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChangeResponse
+ Amazonka.ECS.SubmitContainerStateChange: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: instance Data.Hashable.Class.Hashable Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: instance GHC.Classes.Eq Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: instance GHC.Classes.Eq Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChangeResponse
+ Amazonka.ECS.SubmitContainerStateChange: instance GHC.Generics.Generic Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: instance GHC.Generics.Generic Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChangeResponse
+ Amazonka.ECS.SubmitContainerStateChange: instance GHC.Read.Read Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: instance GHC.Read.Read Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChangeResponse
+ Amazonka.ECS.SubmitContainerStateChange: instance GHC.Show.Show Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: instance GHC.Show.Show Amazonka.ECS.SubmitContainerStateChange.SubmitContainerStateChangeResponse
+ Amazonka.ECS.SubmitContainerStateChange: newSubmitContainerStateChange :: SubmitContainerStateChange
+ Amazonka.ECS.SubmitContainerStateChange: newSubmitContainerStateChangeResponse :: Int -> SubmitContainerStateChangeResponse
+ Amazonka.ECS.SubmitContainerStateChange: submitContainerStateChangeResponse_acknowledgment :: Lens' SubmitContainerStateChangeResponse (Maybe Text)
+ Amazonka.ECS.SubmitContainerStateChange: submitContainerStateChangeResponse_httpStatus :: Lens' SubmitContainerStateChangeResponse Int
+ Amazonka.ECS.SubmitContainerStateChange: submitContainerStateChange_cluster :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.SubmitContainerStateChange: submitContainerStateChange_containerName :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.SubmitContainerStateChange: submitContainerStateChange_exitCode :: Lens' SubmitContainerStateChange (Maybe Int)
+ Amazonka.ECS.SubmitContainerStateChange: submitContainerStateChange_networkBindings :: Lens' SubmitContainerStateChange (Maybe [NetworkBinding])
+ Amazonka.ECS.SubmitContainerStateChange: submitContainerStateChange_reason :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.SubmitContainerStateChange: submitContainerStateChange_runtimeId :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.SubmitContainerStateChange: submitContainerStateChange_status :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.SubmitContainerStateChange: submitContainerStateChange_task :: Lens' SubmitContainerStateChange (Maybe Text)
+ Amazonka.ECS.SubmitTaskStateChange: SubmitTaskStateChange' :: Maybe [AttachmentStateChange] -> Maybe Text -> Maybe [ContainerStateChange] -> Maybe POSIX -> Maybe [ManagedAgentStateChange] -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: SubmitTaskStateChangeResponse' :: Maybe Text -> Int -> SubmitTaskStateChangeResponse
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:acknowledgment:SubmitTaskStateChangeResponse'] :: SubmitTaskStateChangeResponse -> Maybe Text
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:attachments:SubmitTaskStateChange'] :: SubmitTaskStateChange -> Maybe [AttachmentStateChange]
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:cluster:SubmitTaskStateChange'] :: SubmitTaskStateChange -> Maybe Text
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:containers:SubmitTaskStateChange'] :: SubmitTaskStateChange -> Maybe [ContainerStateChange]
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:executionStoppedAt:SubmitTaskStateChange'] :: SubmitTaskStateChange -> Maybe POSIX
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:httpStatus:SubmitTaskStateChangeResponse'] :: SubmitTaskStateChangeResponse -> Int
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:managedAgents:SubmitTaskStateChange'] :: SubmitTaskStateChange -> Maybe [ManagedAgentStateChange]
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:pullStartedAt:SubmitTaskStateChange'] :: SubmitTaskStateChange -> Maybe POSIX
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:pullStoppedAt:SubmitTaskStateChange'] :: SubmitTaskStateChange -> Maybe POSIX
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:reason:SubmitTaskStateChange'] :: SubmitTaskStateChange -> Maybe Text
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:status:SubmitTaskStateChange'] :: SubmitTaskStateChange -> Maybe Text
+ Amazonka.ECS.SubmitTaskStateChange: [$sel:task:SubmitTaskStateChange'] :: SubmitTaskStateChange -> Maybe Text
+ Amazonka.ECS.SubmitTaskStateChange: data SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: data SubmitTaskStateChangeResponse
+ Amazonka.ECS.SubmitTaskStateChange: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: instance Amazonka.Data.Path.ToPath Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: instance Amazonka.Types.AWSRequest Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: instance Control.DeepSeq.NFData Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: instance Control.DeepSeq.NFData Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChangeResponse
+ Amazonka.ECS.SubmitTaskStateChange: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: instance Data.Hashable.Class.Hashable Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: instance GHC.Classes.Eq Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: instance GHC.Classes.Eq Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChangeResponse
+ Amazonka.ECS.SubmitTaskStateChange: instance GHC.Generics.Generic Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: instance GHC.Generics.Generic Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChangeResponse
+ Amazonka.ECS.SubmitTaskStateChange: instance GHC.Read.Read Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: instance GHC.Read.Read Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChangeResponse
+ Amazonka.ECS.SubmitTaskStateChange: instance GHC.Show.Show Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: instance GHC.Show.Show Amazonka.ECS.SubmitTaskStateChange.SubmitTaskStateChangeResponse
+ Amazonka.ECS.SubmitTaskStateChange: newSubmitTaskStateChange :: SubmitTaskStateChange
+ Amazonka.ECS.SubmitTaskStateChange: newSubmitTaskStateChangeResponse :: Int -> SubmitTaskStateChangeResponse
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChangeResponse_acknowledgment :: Lens' SubmitTaskStateChangeResponse (Maybe Text)
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChangeResponse_httpStatus :: Lens' SubmitTaskStateChangeResponse Int
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChange_attachments :: Lens' SubmitTaskStateChange (Maybe [AttachmentStateChange])
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChange_cluster :: Lens' SubmitTaskStateChange (Maybe Text)
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChange_containers :: Lens' SubmitTaskStateChange (Maybe [ContainerStateChange])
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChange_executionStoppedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChange_managedAgents :: Lens' SubmitTaskStateChange (Maybe [ManagedAgentStateChange])
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChange_pullStartedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChange_pullStoppedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChange_reason :: Lens' SubmitTaskStateChange (Maybe Text)
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChange_status :: Lens' SubmitTaskStateChange (Maybe Text)
+ Amazonka.ECS.SubmitTaskStateChange: submitTaskStateChange_task :: Lens' SubmitTaskStateChange (Maybe Text)
+ Amazonka.ECS.TagResource: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.ECS.TagResource: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.ECS.TagResource: [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
+ Amazonka.ECS.TagResource: [$sel:resourceArn:TagResource'] :: TagResource -> Text
+ Amazonka.ECS.TagResource: [$sel:tags:TagResource'] :: TagResource -> [Tag]
+ Amazonka.ECS.TagResource: data TagResource
+ Amazonka.ECS.TagResource: data TagResourceResponse
+ Amazonka.ECS.TagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.TagResource.TagResource
+ Amazonka.ECS.TagResource: instance Amazonka.Data.Path.ToPath Amazonka.ECS.TagResource.TagResource
+ Amazonka.ECS.TagResource: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.TagResource.TagResource
+ Amazonka.ECS.TagResource: instance Amazonka.Types.AWSRequest Amazonka.ECS.TagResource.TagResource
+ Amazonka.ECS.TagResource: instance Control.DeepSeq.NFData Amazonka.ECS.TagResource.TagResource
+ Amazonka.ECS.TagResource: instance Control.DeepSeq.NFData Amazonka.ECS.TagResource.TagResourceResponse
+ Amazonka.ECS.TagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.TagResource.TagResource
+ Amazonka.ECS.TagResource: instance Data.Hashable.Class.Hashable Amazonka.ECS.TagResource.TagResource
+ Amazonka.ECS.TagResource: instance GHC.Classes.Eq Amazonka.ECS.TagResource.TagResource
+ Amazonka.ECS.TagResource: instance GHC.Classes.Eq Amazonka.ECS.TagResource.TagResourceResponse
+ Amazonka.ECS.TagResource: instance GHC.Generics.Generic Amazonka.ECS.TagResource.TagResource
+ Amazonka.ECS.TagResource: instance GHC.Generics.Generic Amazonka.ECS.TagResource.TagResourceResponse
+ Amazonka.ECS.TagResource: instance GHC.Read.Read Amazonka.ECS.TagResource.TagResource
+ Amazonka.ECS.TagResource: instance GHC.Read.Read Amazonka.ECS.TagResource.TagResourceResponse
+ Amazonka.ECS.TagResource: instance GHC.Show.Show Amazonka.ECS.TagResource.TagResource
+ Amazonka.ECS.TagResource: instance GHC.Show.Show Amazonka.ECS.TagResource.TagResourceResponse
+ Amazonka.ECS.TagResource: newTagResource :: Text -> TagResource
+ Amazonka.ECS.TagResource: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.ECS.TagResource: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.ECS.TagResource: tagResource_resourceArn :: Lens' TagResource Text
+ Amazonka.ECS.TagResource: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.ECS.Types: AgentUpdateStatus' :: Text -> AgentUpdateStatus
+ Amazonka.ECS.Types: ApplicationProtocol' :: Text -> ApplicationProtocol
+ Amazonka.ECS.Types: AssignPublicIp' :: Text -> AssignPublicIp
+ Amazonka.ECS.Types: Attachment' :: Maybe [KeyValuePair] -> Maybe Text -> Maybe Text -> Maybe Text -> Attachment
+ Amazonka.ECS.Types: AttachmentStateChange' :: Text -> Text -> AttachmentStateChange
+ Amazonka.ECS.Types: Attribute' :: Maybe Text -> Maybe TargetType -> Maybe Text -> Text -> Attribute
+ Amazonka.ECS.Types: AutoScalingGroupProvider' :: Maybe ManagedScaling -> Maybe ManagedTerminationProtection -> Text -> AutoScalingGroupProvider
+ Amazonka.ECS.Types: AutoScalingGroupProviderUpdate' :: Maybe ManagedScaling -> Maybe ManagedTerminationProtection -> AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types: AwsVpcConfiguration' :: Maybe AssignPublicIp -> Maybe [Text] -> [Text] -> AwsVpcConfiguration
+ Amazonka.ECS.Types: CPUArchitecture' :: Text -> CPUArchitecture
+ Amazonka.ECS.Types: CapacityProvider' :: Maybe AutoScalingGroupProvider -> Maybe Text -> Maybe Text -> Maybe CapacityProviderStatus -> Maybe [Tag] -> Maybe CapacityProviderUpdateStatus -> Maybe Text -> CapacityProvider
+ Amazonka.ECS.Types: CapacityProviderField' :: Text -> CapacityProviderField
+ Amazonka.ECS.Types: CapacityProviderStatus' :: Text -> CapacityProviderStatus
+ Amazonka.ECS.Types: CapacityProviderStrategyItem' :: Maybe Natural -> Maybe Natural -> Text -> CapacityProviderStrategyItem
+ Amazonka.ECS.Types: CapacityProviderUpdateStatus' :: Text -> CapacityProviderUpdateStatus
+ Amazonka.ECS.Types: Cluster' :: Maybe Int -> Maybe [Attachment] -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe ClusterConfiguration -> Maybe [CapacityProviderStrategyItem] -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe ClusterServiceConnectDefaults -> Maybe [ClusterSetting] -> Maybe [KeyValuePair] -> Maybe Text -> Maybe [Tag] -> Cluster
+ Amazonka.ECS.Types: ClusterConfiguration' :: Maybe ExecuteCommandConfiguration -> ClusterConfiguration
+ Amazonka.ECS.Types: ClusterField' :: Text -> ClusterField
+ Amazonka.ECS.Types: ClusterServiceConnectDefaults' :: Maybe Text -> ClusterServiceConnectDefaults
+ Amazonka.ECS.Types: ClusterServiceConnectDefaultsRequest' :: Text -> ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types: ClusterSetting' :: Maybe ClusterSettingName -> Maybe Text -> ClusterSetting
+ Amazonka.ECS.Types: ClusterSettingName' :: Text -> ClusterSettingName
+ Amazonka.ECS.Types: Compatibility' :: Text -> Compatibility
+ Amazonka.ECS.Types: Connectivity' :: Text -> Connectivity
+ Amazonka.ECS.Types: Container' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe HealthStatus -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [ManagedAgent] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [NetworkBinding] -> Maybe [NetworkInterface] -> Maybe Text -> Maybe Text -> Maybe Text -> Container
+ Amazonka.ECS.Types: ContainerCondition' :: Text -> ContainerCondition
+ Amazonka.ECS.Types: ContainerDefinition' :: Maybe [Text] -> Maybe Int -> Maybe [ContainerDependency] -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe [KeyValuePair] -> Maybe [EnvironmentFile] -> Maybe Bool -> Maybe [HostEntry] -> Maybe FirelensConfiguration -> Maybe HealthCheck -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe [Text] -> Maybe LinuxParameters -> Maybe LogConfiguration -> Maybe Int -> Maybe Int -> Maybe [MountPoint] -> Maybe Text -> Maybe [PortMapping] -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe RepositoryCredentials -> Maybe [ResourceRequirement] -> Maybe [Secret] -> Maybe Int -> Maybe Int -> Maybe [SystemControl] -> Maybe [Ulimit] -> Maybe Text -> Maybe [VolumeFrom] -> Maybe Text -> ContainerDefinition
+ Amazonka.ECS.Types: ContainerDependency' :: Text -> ContainerCondition -> ContainerDependency
+ Amazonka.ECS.Types: ContainerInstance' :: Maybe Bool -> Maybe AgentUpdateStatus -> Maybe [Attachment] -> Maybe [Attribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ContainerInstanceHealthStatus -> Maybe Int -> Maybe POSIX -> Maybe [Resource] -> Maybe [Resource] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Maybe Integer -> Maybe VersionInfo -> ContainerInstance
+ Amazonka.ECS.Types: ContainerInstanceField' :: Text -> ContainerInstanceField
+ Amazonka.ECS.Types: ContainerInstanceHealthStatus' :: Maybe [InstanceHealthCheckResult] -> Maybe InstanceHealthCheckState -> ContainerInstanceHealthStatus
+ Amazonka.ECS.Types: ContainerInstanceStatus' :: Text -> ContainerInstanceStatus
+ Amazonka.ECS.Types: ContainerOverride' :: Maybe [Text] -> Maybe Int -> Maybe [KeyValuePair] -> Maybe [EnvironmentFile] -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe [ResourceRequirement] -> ContainerOverride
+ Amazonka.ECS.Types: ContainerService' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe DeploymentConfiguration -> Maybe DeploymentController -> Maybe [Deployment] -> Maybe Int -> Maybe Bool -> Maybe Bool -> Maybe [ServiceEvent] -> Maybe Int -> Maybe LaunchType -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe Int -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe Text -> Maybe PropagateTags -> Maybe Text -> Maybe Int -> Maybe SchedulingStrategy -> Maybe Text -> Maybe Text -> Maybe [ServiceRegistry] -> Maybe Text -> Maybe [Tag] -> Maybe Text -> Maybe [TaskSet] -> ContainerService
+ Amazonka.ECS.Types: ContainerStateChange' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [NetworkBinding] -> Maybe Text -> Maybe Text -> Maybe Text -> ContainerStateChange
+ Amazonka.ECS.Types: Deployment' :: Maybe [CapacityProviderStrategyItem] -> Maybe POSIX -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe LaunchType -> Maybe NetworkConfiguration -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe DeploymentRolloutState -> Maybe Text -> Maybe Int -> Maybe ServiceConnectConfiguration -> Maybe [ServiceConnectServiceResource] -> Maybe Text -> Maybe Text -> Maybe POSIX -> Deployment
+ Amazonka.ECS.Types: DeploymentAlarms' :: [Text] -> Bool -> Bool -> DeploymentAlarms
+ Amazonka.ECS.Types: DeploymentCircuitBreaker' :: Bool -> Bool -> DeploymentCircuitBreaker
+ Amazonka.ECS.Types: DeploymentConfiguration' :: Maybe DeploymentAlarms -> Maybe DeploymentCircuitBreaker -> Maybe Int -> Maybe Int -> DeploymentConfiguration
+ Amazonka.ECS.Types: DeploymentController' :: DeploymentControllerType -> DeploymentController
+ Amazonka.ECS.Types: DeploymentControllerType' :: Text -> DeploymentControllerType
+ Amazonka.ECS.Types: DeploymentRolloutState' :: Text -> DeploymentRolloutState
+ Amazonka.ECS.Types: DesiredStatus' :: Text -> DesiredStatus
+ Amazonka.ECS.Types: Device' :: Maybe Text -> Maybe [DeviceCgroupPermission] -> Text -> Device
+ Amazonka.ECS.Types: DeviceCgroupPermission' :: Text -> DeviceCgroupPermission
+ Amazonka.ECS.Types: DockerVolumeConfiguration' :: Maybe Bool -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> Maybe Scope -> DockerVolumeConfiguration
+ Amazonka.ECS.Types: EFSAuthorizationConfig' :: Maybe Text -> Maybe EFSAuthorizationConfigIAM -> EFSAuthorizationConfig
+ Amazonka.ECS.Types: EFSAuthorizationConfigIAM' :: Text -> EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types: EFSTransitEncryption' :: Text -> EFSTransitEncryption
+ Amazonka.ECS.Types: EFSVolumeConfiguration' :: Maybe EFSAuthorizationConfig -> Maybe Text -> Maybe EFSTransitEncryption -> Maybe Int -> Text -> EFSVolumeConfiguration
+ Amazonka.ECS.Types: EnvironmentFile' :: Text -> EnvironmentFileType -> EnvironmentFile
+ Amazonka.ECS.Types: EnvironmentFileType' :: Text -> EnvironmentFileType
+ Amazonka.ECS.Types: EphemeralStorage' :: Int -> EphemeralStorage
+ Amazonka.ECS.Types: ExecuteCommandConfiguration' :: Maybe Text -> Maybe ExecuteCommandLogConfiguration -> Maybe ExecuteCommandLogging -> ExecuteCommandConfiguration
+ Amazonka.ECS.Types: ExecuteCommandLogConfiguration' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types: ExecuteCommandLogging' :: Text -> ExecuteCommandLogging
+ Amazonka.ECS.Types: FSxWindowsFileServerAuthorizationConfig' :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types: FSxWindowsFileServerVolumeConfiguration' :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig -> FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types: Failure' :: Maybe Text -> Maybe Text -> Maybe Text -> Failure
+ Amazonka.ECS.Types: FirelensConfiguration' :: Maybe (HashMap Text Text) -> FirelensConfigurationType -> FirelensConfiguration
+ Amazonka.ECS.Types: FirelensConfigurationType' :: Text -> FirelensConfigurationType
+ Amazonka.ECS.Types: HealthCheck' :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> [Text] -> HealthCheck
+ Amazonka.ECS.Types: HealthStatus' :: Text -> HealthStatus
+ Amazonka.ECS.Types: HostEntry' :: Text -> Text -> HostEntry
+ Amazonka.ECS.Types: HostVolumeProperties' :: Maybe Text -> HostVolumeProperties
+ Amazonka.ECS.Types: InferenceAccelerator' :: Text -> Text -> InferenceAccelerator
+ Amazonka.ECS.Types: InferenceAcceleratorOverride' :: Maybe Text -> Maybe Text -> InferenceAcceleratorOverride
+ Amazonka.ECS.Types: InstanceHealthCheckResult' :: Maybe POSIX -> Maybe POSIX -> Maybe InstanceHealthCheckState -> Maybe InstanceHealthCheckType -> InstanceHealthCheckResult
+ Amazonka.ECS.Types: InstanceHealthCheckState' :: Text -> InstanceHealthCheckState
+ Amazonka.ECS.Types: InstanceHealthCheckType' :: Text -> InstanceHealthCheckType
+ Amazonka.ECS.Types: IpcMode' :: Text -> IpcMode
+ Amazonka.ECS.Types: KernelCapabilities' :: Maybe [Text] -> Maybe [Text] -> KernelCapabilities
+ Amazonka.ECS.Types: KeyValuePair' :: Maybe Text -> Maybe Text -> KeyValuePair
+ Amazonka.ECS.Types: LaunchType' :: Text -> LaunchType
+ Amazonka.ECS.Types: LinuxParameters' :: Maybe KernelCapabilities -> Maybe [Device] -> Maybe Bool -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe [Tmpfs] -> LinuxParameters
+ Amazonka.ECS.Types: LoadBalancer' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> LoadBalancer
+ Amazonka.ECS.Types: LogConfiguration' :: Maybe (HashMap Text Text) -> Maybe [Secret] -> LogDriver -> LogConfiguration
+ Amazonka.ECS.Types: LogDriver' :: Text -> LogDriver
+ Amazonka.ECS.Types: ManagedAgent' :: Maybe POSIX -> Maybe Text -> Maybe ManagedAgentName -> Maybe Text -> ManagedAgent
+ Amazonka.ECS.Types: ManagedAgentName' :: Text -> ManagedAgentName
+ Amazonka.ECS.Types: ManagedAgentStateChange' :: Maybe Text -> Text -> ManagedAgentName -> Text -> ManagedAgentStateChange
+ Amazonka.ECS.Types: ManagedScaling' :: Maybe Natural -> Maybe Natural -> Maybe Natural -> Maybe ManagedScalingStatus -> Maybe Natural -> ManagedScaling
+ Amazonka.ECS.Types: ManagedScalingStatus' :: Text -> ManagedScalingStatus
+ Amazonka.ECS.Types: ManagedTerminationProtection' :: Text -> ManagedTerminationProtection
+ Amazonka.ECS.Types: MountPoint' :: Maybe Text -> Maybe Bool -> Maybe Text -> MountPoint
+ Amazonka.ECS.Types: NetworkBinding' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe TransportProtocol -> NetworkBinding
+ Amazonka.ECS.Types: NetworkConfiguration' :: Maybe AwsVpcConfiguration -> NetworkConfiguration
+ Amazonka.ECS.Types: NetworkInterface' :: Maybe Text -> Maybe Text -> Maybe Text -> NetworkInterface
+ Amazonka.ECS.Types: NetworkMode' :: Text -> NetworkMode
+ Amazonka.ECS.Types: OSFamily' :: Text -> OSFamily
+ Amazonka.ECS.Types: PidMode' :: Text -> PidMode
+ Amazonka.ECS.Types: PlacementConstraint' :: Maybe Text -> Maybe PlacementConstraintType -> PlacementConstraint
+ Amazonka.ECS.Types: PlacementConstraintType' :: Text -> PlacementConstraintType
+ Amazonka.ECS.Types: PlacementStrategy' :: Maybe Text -> Maybe PlacementStrategyType -> PlacementStrategy
+ Amazonka.ECS.Types: PlacementStrategyType' :: Text -> PlacementStrategyType
+ Amazonka.ECS.Types: PlatformDevice' :: Text -> PlatformDeviceType -> PlatformDevice
+ Amazonka.ECS.Types: PlatformDeviceType' :: Text -> PlatformDeviceType
+ Amazonka.ECS.Types: PortMapping' :: Maybe ApplicationProtocol -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe TransportProtocol -> PortMapping
+ Amazonka.ECS.Types: PropagateTags' :: Text -> PropagateTags
+ Amazonka.ECS.Types: ProtectedTask' :: Maybe POSIX -> Maybe Bool -> Maybe Text -> ProtectedTask
+ Amazonka.ECS.Types: ProxyConfiguration' :: Maybe [KeyValuePair] -> Maybe ProxyConfigurationType -> Text -> ProxyConfiguration
+ Amazonka.ECS.Types: ProxyConfigurationType' :: Text -> ProxyConfigurationType
+ Amazonka.ECS.Types: RepositoryCredentials' :: Text -> RepositoryCredentials
+ Amazonka.ECS.Types: Resource' :: Maybe Double -> Maybe Int -> Maybe Integer -> Maybe Text -> Maybe [Text] -> Maybe Text -> Resource
+ Amazonka.ECS.Types: ResourceRequirement' :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.ECS.Types: ResourceType' :: Text -> ResourceType
+ Amazonka.ECS.Types: RuntimePlatform' :: Maybe CPUArchitecture -> Maybe OSFamily -> RuntimePlatform
+ Amazonka.ECS.Types: Scale' :: Maybe ScaleUnit -> Maybe Double -> Scale
+ Amazonka.ECS.Types: ScaleUnit' :: Text -> ScaleUnit
+ Amazonka.ECS.Types: SchedulingStrategy' :: Text -> SchedulingStrategy
+ Amazonka.ECS.Types: Scope' :: Text -> Scope
+ Amazonka.ECS.Types: Secret' :: Text -> Text -> Secret
+ Amazonka.ECS.Types: ServiceConnectClientAlias' :: Maybe Text -> Natural -> ServiceConnectClientAlias
+ Amazonka.ECS.Types: ServiceConnectConfiguration' :: Maybe LogConfiguration -> Maybe Text -> Maybe [ServiceConnectService] -> Bool -> ServiceConnectConfiguration
+ Amazonka.ECS.Types: ServiceConnectService' :: Maybe [ServiceConnectClientAlias] -> Maybe Text -> Maybe Natural -> Text -> ServiceConnectService
+ Amazonka.ECS.Types: ServiceConnectServiceResource' :: Maybe Text -> Maybe Text -> ServiceConnectServiceResource
+ Amazonka.ECS.Types: ServiceEvent' :: Maybe POSIX -> Maybe Text -> Maybe Text -> ServiceEvent
+ Amazonka.ECS.Types: ServiceField' :: Text -> ServiceField
+ Amazonka.ECS.Types: ServiceRegistry' :: Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> ServiceRegistry
+ Amazonka.ECS.Types: Session' :: Maybe Text -> Maybe Text -> Maybe (Sensitive Text) -> Session
+ Amazonka.ECS.Types: Setting' :: Maybe SettingName -> Maybe Text -> Maybe Text -> Setting
+ Amazonka.ECS.Types: SettingName' :: Text -> SettingName
+ Amazonka.ECS.Types: SortOrder' :: Text -> SortOrder
+ Amazonka.ECS.Types: StabilityStatus' :: Text -> StabilityStatus
+ Amazonka.ECS.Types: SystemControl' :: Maybe Text -> Maybe Text -> SystemControl
+ Amazonka.ECS.Types: Tag' :: Maybe Text -> Maybe Text -> Tag
+ Amazonka.ECS.Types: TargetType' :: Text -> TargetType
+ Amazonka.ECS.Types: Task' :: Maybe [Attachment] -> Maybe [Attribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Connectivity -> Maybe POSIX -> Maybe Text -> Maybe [Container] -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Bool -> Maybe EphemeralStorage -> Maybe POSIX -> Maybe Text -> Maybe HealthStatus -> Maybe [InferenceAccelerator] -> Maybe Text -> Maybe LaunchType -> Maybe Text -> Maybe TaskOverride -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe TaskStopCode -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe [Tag] -> Maybe Text -> Maybe Text -> Maybe Integer -> Task
+ Amazonka.ECS.Types: TaskDefinition' :: Maybe [Compatibility] -> Maybe [ContainerDefinition] -> Maybe Text -> Maybe POSIX -> Maybe EphemeralStorage -> Maybe Text -> Maybe Text -> Maybe [InferenceAccelerator] -> Maybe IpcMode -> Maybe Text -> Maybe NetworkMode -> Maybe PidMode -> Maybe [TaskDefinitionPlacementConstraint] -> Maybe ProxyConfiguration -> Maybe POSIX -> Maybe Text -> Maybe [Attribute] -> Maybe [Compatibility] -> Maybe Int -> Maybe RuntimePlatform -> Maybe TaskDefinitionStatus -> Maybe Text -> Maybe Text -> Maybe [Volume] -> TaskDefinition
+ Amazonka.ECS.Types: TaskDefinitionFamilyStatus' :: Text -> TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types: TaskDefinitionField' :: Text -> TaskDefinitionField
+ Amazonka.ECS.Types: TaskDefinitionPlacementConstraint' :: Maybe Text -> Maybe TaskDefinitionPlacementConstraintType -> TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types: TaskDefinitionPlacementConstraintType' :: Text -> TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types: TaskDefinitionStatus' :: Text -> TaskDefinitionStatus
+ Amazonka.ECS.Types: TaskField' :: Text -> TaskField
+ Amazonka.ECS.Types: TaskOverride' :: Maybe [ContainerOverride] -> Maybe Text -> Maybe EphemeralStorage -> Maybe Text -> Maybe [InferenceAcceleratorOverride] -> Maybe Text -> Maybe Text -> TaskOverride
+ Amazonka.ECS.Types: TaskSet' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe Int -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe LaunchType -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Scale -> Maybe Text -> Maybe [ServiceRegistry] -> Maybe StabilityStatus -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Maybe Text -> Maybe Text -> Maybe POSIX -> TaskSet
+ Amazonka.ECS.Types: TaskSetField' :: Text -> TaskSetField
+ Amazonka.ECS.Types: TaskStopCode' :: Text -> TaskStopCode
+ Amazonka.ECS.Types: Tmpfs' :: Maybe [Text] -> Text -> Int -> Tmpfs
+ Amazonka.ECS.Types: TransportProtocol' :: Text -> TransportProtocol
+ Amazonka.ECS.Types: Ulimit' :: UlimitName -> Int -> Int -> Ulimit
+ Amazonka.ECS.Types: UlimitName' :: Text -> UlimitName
+ Amazonka.ECS.Types: VersionInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> VersionInfo
+ Amazonka.ECS.Types: Volume' :: Maybe DockerVolumeConfiguration -> Maybe EFSVolumeConfiguration -> Maybe FSxWindowsFileServerVolumeConfiguration -> Maybe HostVolumeProperties -> Maybe Text -> Volume
+ Amazonka.ECS.Types: VolumeFrom' :: Maybe Bool -> Maybe Text -> VolumeFrom
+ Amazonka.ECS.Types: [$sel:accessPointId:EFSAuthorizationConfig'] :: EFSAuthorizationConfig -> Maybe Text
+ Amazonka.ECS.Types: [$sel:activeServicesCount:Cluster'] :: Cluster -> Maybe Int
+ Amazonka.ECS.Types: [$sel:add:KernelCapabilities'] :: KernelCapabilities -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:agentConnected:ContainerInstance'] :: ContainerInstance -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:agentHash:VersionInfo'] :: VersionInfo -> Maybe Text
+ Amazonka.ECS.Types: [$sel:agentUpdateStatus:ContainerInstance'] :: ContainerInstance -> Maybe AgentUpdateStatus
+ Amazonka.ECS.Types: [$sel:agentVersion:VersionInfo'] :: VersionInfo -> Maybe Text
+ Amazonka.ECS.Types: [$sel:alarmNames:DeploymentAlarms'] :: DeploymentAlarms -> [Text]
+ Amazonka.ECS.Types: [$sel:alarms:DeploymentConfiguration'] :: DeploymentConfiguration -> Maybe DeploymentAlarms
+ Amazonka.ECS.Types: [$sel:appProtocol:PortMapping'] :: PortMapping -> Maybe ApplicationProtocol
+ Amazonka.ECS.Types: [$sel:arn:Failure'] :: Failure -> Maybe Text
+ Amazonka.ECS.Types: [$sel:assignPublicIp:AwsVpcConfiguration'] :: AwsVpcConfiguration -> Maybe AssignPublicIp
+ Amazonka.ECS.Types: [$sel:attachmentArn:AttachmentStateChange'] :: AttachmentStateChange -> Text
+ Amazonka.ECS.Types: [$sel:attachmentId:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.ECS.Types: [$sel:attachments:Cluster'] :: Cluster -> Maybe [Attachment]
+ Amazonka.ECS.Types: [$sel:attachments:ContainerInstance'] :: ContainerInstance -> Maybe [Attachment]
+ Amazonka.ECS.Types: [$sel:attachments:Task'] :: Task -> Maybe [Attachment]
+ Amazonka.ECS.Types: [$sel:attachmentsStatus:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.ECS.Types: [$sel:attributes:ContainerInstance'] :: ContainerInstance -> Maybe [Attribute]
+ Amazonka.ECS.Types: [$sel:attributes:Task'] :: Task -> Maybe [Attribute]
+ Amazonka.ECS.Types: [$sel:authorizationConfig:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe EFSAuthorizationConfig
+ Amazonka.ECS.Types: [$sel:authorizationConfig:FSxWindowsFileServerVolumeConfiguration'] :: FSxWindowsFileServerVolumeConfiguration -> FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types: [$sel:autoScalingGroupArn:AutoScalingGroupProvider'] :: AutoScalingGroupProvider -> Text
+ Amazonka.ECS.Types: [$sel:autoScalingGroupProvider:CapacityProvider'] :: CapacityProvider -> Maybe AutoScalingGroupProvider
+ Amazonka.ECS.Types: [$sel:autoprovision:DockerVolumeConfiguration'] :: DockerVolumeConfiguration -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:availabilityZone:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:awsvpcConfiguration:NetworkConfiguration'] :: NetworkConfiguration -> Maybe AwsVpcConfiguration
+ Amazonka.ECS.Types: [$sel:base:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Maybe Natural
+ Amazonka.ECS.Types: [$sel:bindIP:NetworkBinding'] :: NetworkBinding -> Maybe Text
+ Amazonka.ECS.Types: [$sel:capabilities:LinuxParameters'] :: LinuxParameters -> Maybe KernelCapabilities
+ Amazonka.ECS.Types: [$sel:capacityProvider:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Text
+ Amazonka.ECS.Types: [$sel:capacityProviderArn:CapacityProvider'] :: CapacityProvider -> Maybe Text
+ Amazonka.ECS.Types: [$sel:capacityProviderName:ContainerInstance'] :: ContainerInstance -> Maybe Text
+ Amazonka.ECS.Types: [$sel:capacityProviderName:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:capacityProviderStrategy:ContainerService'] :: ContainerService -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.Types: [$sel:capacityProviderStrategy:Deployment'] :: Deployment -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.Types: [$sel:capacityProviderStrategy:TaskSet'] :: TaskSet -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.Types: [$sel:capacityProviders:Cluster'] :: Cluster -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:clientAliases:ServiceConnectService'] :: ServiceConnectService -> Maybe [ServiceConnectClientAlias]
+ Amazonka.ECS.Types: [$sel:cloudWatchEncryptionEnabled:ExecuteCommandLogConfiguration'] :: ExecuteCommandLogConfiguration -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:cloudWatchLogGroupName:ExecuteCommandLogConfiguration'] :: ExecuteCommandLogConfiguration -> Maybe Text
+ Amazonka.ECS.Types: [$sel:clusterArn:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.ECS.Types: [$sel:clusterArn:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types: [$sel:clusterArn:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:clusterArn:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types: [$sel:clusterName:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.ECS.Types: [$sel:command:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:command:ContainerOverride'] :: ContainerOverride -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:command:HealthCheck'] :: HealthCheck -> [Text]
+ Amazonka.ECS.Types: [$sel:compatibilities:TaskDefinition'] :: TaskDefinition -> Maybe [Compatibility]
+ Amazonka.ECS.Types: [$sel:computedDesiredCount:TaskSet'] :: TaskSet -> Maybe Int
+ Amazonka.ECS.Types: [$sel:condition:ContainerDependency'] :: ContainerDependency -> ContainerCondition
+ Amazonka.ECS.Types: [$sel:configuration:Cluster'] :: Cluster -> Maybe ClusterConfiguration
+ Amazonka.ECS.Types: [$sel:connectivity:Task'] :: Task -> Maybe Connectivity
+ Amazonka.ECS.Types: [$sel:connectivityAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:containerArn:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types: [$sel:containerDefinitions:TaskDefinition'] :: TaskDefinition -> Maybe [ContainerDefinition]
+ Amazonka.ECS.Types: [$sel:containerInstanceArn:ContainerInstance'] :: ContainerInstance -> Maybe Text
+ Amazonka.ECS.Types: [$sel:containerInstanceArn:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:containerName:ContainerDependency'] :: ContainerDependency -> Text
+ Amazonka.ECS.Types: [$sel:containerName:ContainerStateChange'] :: ContainerStateChange -> Maybe Text
+ Amazonka.ECS.Types: [$sel:containerName:LoadBalancer'] :: LoadBalancer -> Maybe Text
+ Amazonka.ECS.Types: [$sel:containerName:ManagedAgentStateChange'] :: ManagedAgentStateChange -> Text
+ Amazonka.ECS.Types: [$sel:containerName:ProxyConfiguration'] :: ProxyConfiguration -> Text
+ Amazonka.ECS.Types: [$sel:containerName:ServiceRegistry'] :: ServiceRegistry -> Maybe Text
+ Amazonka.ECS.Types: [$sel:containerOverrides:TaskOverride'] :: TaskOverride -> Maybe [ContainerOverride]
+ Amazonka.ECS.Types: [$sel:containerPath:Device'] :: Device -> Maybe Text
+ Amazonka.ECS.Types: [$sel:containerPath:MountPoint'] :: MountPoint -> Maybe Text
+ Amazonka.ECS.Types: [$sel:containerPath:Tmpfs'] :: Tmpfs -> Text
+ Amazonka.ECS.Types: [$sel:containerPort:LoadBalancer'] :: LoadBalancer -> Maybe Int
+ Amazonka.ECS.Types: [$sel:containerPort:NetworkBinding'] :: NetworkBinding -> Maybe Int
+ Amazonka.ECS.Types: [$sel:containerPort:PortMapping'] :: PortMapping -> Maybe Int
+ Amazonka.ECS.Types: [$sel:containerPort:ServiceRegistry'] :: ServiceRegistry -> Maybe Int
+ Amazonka.ECS.Types: [$sel:containerPortRange:NetworkBinding'] :: NetworkBinding -> Maybe Text
+ Amazonka.ECS.Types: [$sel:containerPortRange:PortMapping'] :: PortMapping -> Maybe Text
+ Amazonka.ECS.Types: [$sel:containers:Task'] :: Task -> Maybe [Container]
+ Amazonka.ECS.Types: [$sel:cpu:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types: [$sel:cpu:ContainerDefinition'] :: ContainerDefinition -> Maybe Int
+ Amazonka.ECS.Types: [$sel:cpu:ContainerOverride'] :: ContainerOverride -> Maybe Int
+ Amazonka.ECS.Types: [$sel:cpu:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:cpu:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types: [$sel:cpu:TaskOverride'] :: TaskOverride -> Maybe Text
+ Amazonka.ECS.Types: [$sel:cpuArchitecture:RuntimePlatform'] :: RuntimePlatform -> Maybe CPUArchitecture
+ Amazonka.ECS.Types: [$sel:createdAt:ContainerService'] :: ContainerService -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:createdAt:Deployment'] :: Deployment -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:createdAt:ServiceEvent'] :: ServiceEvent -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:createdAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:createdAt:TaskSet'] :: TaskSet -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:createdBy:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types: [$sel:credentialsParameter:FSxWindowsFileServerAuthorizationConfig'] :: FSxWindowsFileServerAuthorizationConfig -> Text
+ Amazonka.ECS.Types: [$sel:credentialsParameter:RepositoryCredentials'] :: RepositoryCredentials -> Text
+ Amazonka.ECS.Types: [$sel:defaultCapacityProviderStrategy:Cluster'] :: Cluster -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.Types: [$sel:dependsOn:ContainerDefinition'] :: ContainerDefinition -> Maybe [ContainerDependency]
+ Amazonka.ECS.Types: [$sel:deploymentCircuitBreaker:DeploymentConfiguration'] :: DeploymentConfiguration -> Maybe DeploymentCircuitBreaker
+ Amazonka.ECS.Types: [$sel:deploymentConfiguration:ContainerService'] :: ContainerService -> Maybe DeploymentConfiguration
+ Amazonka.ECS.Types: [$sel:deploymentController:ContainerService'] :: ContainerService -> Maybe DeploymentController
+ Amazonka.ECS.Types: [$sel:deployments:ContainerService'] :: ContainerService -> Maybe [Deployment]
+ Amazonka.ECS.Types: [$sel:deregisteredAt:TaskDefinition'] :: TaskDefinition -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:desiredCount:ContainerService'] :: ContainerService -> Maybe Int
+ Amazonka.ECS.Types: [$sel:desiredCount:Deployment'] :: Deployment -> Maybe Int
+ Amazonka.ECS.Types: [$sel:desiredStatus:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:detail:Failure'] :: Failure -> Maybe Text
+ Amazonka.ECS.Types: [$sel:details:Attachment'] :: Attachment -> Maybe [KeyValuePair]
+ Amazonka.ECS.Types: [$sel:details:ContainerInstanceHealthStatus'] :: ContainerInstanceHealthStatus -> Maybe [InstanceHealthCheckResult]
+ Amazonka.ECS.Types: [$sel:deviceName:InferenceAccelerator'] :: InferenceAccelerator -> Text
+ Amazonka.ECS.Types: [$sel:deviceName:InferenceAcceleratorOverride'] :: InferenceAcceleratorOverride -> Maybe Text
+ Amazonka.ECS.Types: [$sel:deviceType:InferenceAccelerator'] :: InferenceAccelerator -> Text
+ Amazonka.ECS.Types: [$sel:deviceType:InferenceAcceleratorOverride'] :: InferenceAcceleratorOverride -> Maybe Text
+ Amazonka.ECS.Types: [$sel:devices:LinuxParameters'] :: LinuxParameters -> Maybe [Device]
+ Amazonka.ECS.Types: [$sel:disableNetworking:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:discoveryArn:ServiceConnectServiceResource'] :: ServiceConnectServiceResource -> Maybe Text
+ Amazonka.ECS.Types: [$sel:discoveryName:ServiceConnectService'] :: ServiceConnectService -> Maybe Text
+ Amazonka.ECS.Types: [$sel:discoveryName:ServiceConnectServiceResource'] :: ServiceConnectServiceResource -> Maybe Text
+ Amazonka.ECS.Types: [$sel:dnsName:ServiceConnectClientAlias'] :: ServiceConnectClientAlias -> Maybe Text
+ Amazonka.ECS.Types: [$sel:dnsSearchDomains:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:dnsServers:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:dockerLabels:ContainerDefinition'] :: ContainerDefinition -> Maybe (HashMap Text Text)
+ Amazonka.ECS.Types: [$sel:dockerSecurityOptions:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:dockerVersion:VersionInfo'] :: VersionInfo -> Maybe Text
+ Amazonka.ECS.Types: [$sel:dockerVolumeConfiguration:Volume'] :: Volume -> Maybe DockerVolumeConfiguration
+ Amazonka.ECS.Types: [$sel:domain:FSxWindowsFileServerAuthorizationConfig'] :: FSxWindowsFileServerAuthorizationConfig -> Text
+ Amazonka.ECS.Types: [$sel:doubleValue:Resource'] :: Resource -> Maybe Double
+ Amazonka.ECS.Types: [$sel:driver:DockerVolumeConfiguration'] :: DockerVolumeConfiguration -> Maybe Text
+ Amazonka.ECS.Types: [$sel:driverOpts:DockerVolumeConfiguration'] :: DockerVolumeConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.ECS.Types: [$sel:drop:KernelCapabilities'] :: KernelCapabilities -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:ec2InstanceId:ContainerInstance'] :: ContainerInstance -> Maybe Text
+ Amazonka.ECS.Types: [$sel:efsVolumeConfiguration:Volume'] :: Volume -> Maybe EFSVolumeConfiguration
+ Amazonka.ECS.Types: [$sel:enable:DeploymentAlarms'] :: DeploymentAlarms -> Bool
+ Amazonka.ECS.Types: [$sel:enable:DeploymentCircuitBreaker'] :: DeploymentCircuitBreaker -> Bool
+ Amazonka.ECS.Types: [$sel:enableECSManagedTags:ContainerService'] :: ContainerService -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:enableExecuteCommand:ContainerService'] :: ContainerService -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:enableExecuteCommand:Task'] :: Task -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:enabled:ServiceConnectConfiguration'] :: ServiceConnectConfiguration -> Bool
+ Amazonka.ECS.Types: [$sel:entryPoint:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:environment:ContainerDefinition'] :: ContainerDefinition -> Maybe [KeyValuePair]
+ Amazonka.ECS.Types: [$sel:environment:ContainerOverride'] :: ContainerOverride -> Maybe [KeyValuePair]
+ Amazonka.ECS.Types: [$sel:environmentFiles:ContainerDefinition'] :: ContainerDefinition -> Maybe [EnvironmentFile]
+ Amazonka.ECS.Types: [$sel:environmentFiles:ContainerOverride'] :: ContainerOverride -> Maybe [EnvironmentFile]
+ Amazonka.ECS.Types: [$sel:ephemeralStorage:Task'] :: Task -> Maybe EphemeralStorage
+ Amazonka.ECS.Types: [$sel:ephemeralStorage:TaskDefinition'] :: TaskDefinition -> Maybe EphemeralStorage
+ Amazonka.ECS.Types: [$sel:ephemeralStorage:TaskOverride'] :: TaskOverride -> Maybe EphemeralStorage
+ Amazonka.ECS.Types: [$sel:essential:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:events:ContainerService'] :: ContainerService -> Maybe [ServiceEvent]
+ Amazonka.ECS.Types: [$sel:executeCommandConfiguration:ClusterConfiguration'] :: ClusterConfiguration -> Maybe ExecuteCommandConfiguration
+ Amazonka.ECS.Types: [$sel:executionRoleArn:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types: [$sel:executionRoleArn:TaskOverride'] :: TaskOverride -> Maybe Text
+ Amazonka.ECS.Types: [$sel:executionStoppedAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:exitCode:Container'] :: Container -> Maybe Int
+ Amazonka.ECS.Types: [$sel:exitCode:ContainerStateChange'] :: ContainerStateChange -> Maybe Int
+ Amazonka.ECS.Types: [$sel:expirationDate:ProtectedTask'] :: ProtectedTask -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:expression:PlacementConstraint'] :: PlacementConstraint -> Maybe Text
+ Amazonka.ECS.Types: [$sel:expression:TaskDefinitionPlacementConstraint'] :: TaskDefinitionPlacementConstraint -> Maybe Text
+ Amazonka.ECS.Types: [$sel:externalId:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types: [$sel:extraHosts:ContainerDefinition'] :: ContainerDefinition -> Maybe [HostEntry]
+ Amazonka.ECS.Types: [$sel:failedTasks:Deployment'] :: Deployment -> Maybe Int
+ Amazonka.ECS.Types: [$sel:family:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types: [$sel:field:PlacementStrategy'] :: PlacementStrategy -> Maybe Text
+ Amazonka.ECS.Types: [$sel:fileSystemId:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Text
+ Amazonka.ECS.Types: [$sel:fileSystemId:FSxWindowsFileServerVolumeConfiguration'] :: FSxWindowsFileServerVolumeConfiguration -> Text
+ Amazonka.ECS.Types: [$sel:firelensConfiguration:ContainerDefinition'] :: ContainerDefinition -> Maybe FirelensConfiguration
+ Amazonka.ECS.Types: [$sel:fsxWindowsFileServerVolumeConfiguration:Volume'] :: Volume -> Maybe FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types: [$sel:gpuIds:Container'] :: Container -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:group':Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:hardLimit:Ulimit'] :: Ulimit -> Int
+ Amazonka.ECS.Types: [$sel:healthCheck:ContainerDefinition'] :: ContainerDefinition -> Maybe HealthCheck
+ Amazonka.ECS.Types: [$sel:healthCheckGracePeriodSeconds:ContainerService'] :: ContainerService -> Maybe Int
+ Amazonka.ECS.Types: [$sel:healthStatus:Container'] :: Container -> Maybe HealthStatus
+ Amazonka.ECS.Types: [$sel:healthStatus:ContainerInstance'] :: ContainerInstance -> Maybe ContainerInstanceHealthStatus
+ Amazonka.ECS.Types: [$sel:healthStatus:Task'] :: Task -> Maybe HealthStatus
+ Amazonka.ECS.Types: [$sel:host:Volume'] :: Volume -> Maybe HostVolumeProperties
+ Amazonka.ECS.Types: [$sel:hostPath:Device'] :: Device -> Text
+ Amazonka.ECS.Types: [$sel:hostPort:NetworkBinding'] :: NetworkBinding -> Maybe Int
+ Amazonka.ECS.Types: [$sel:hostPort:PortMapping'] :: PortMapping -> Maybe Int
+ Amazonka.ECS.Types: [$sel:hostPortRange:NetworkBinding'] :: NetworkBinding -> Maybe Text
+ Amazonka.ECS.Types: [$sel:hostname:ContainerDefinition'] :: ContainerDefinition -> Maybe Text
+ Amazonka.ECS.Types: [$sel:hostname:HostEntry'] :: HostEntry -> Text
+ Amazonka.ECS.Types: [$sel:iam:EFSAuthorizationConfig'] :: EFSAuthorizationConfig -> Maybe EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types: [$sel:id:Attachment'] :: Attachment -> Maybe Text
+ Amazonka.ECS.Types: [$sel:id:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types: [$sel:id:PlatformDevice'] :: PlatformDevice -> Text
+ Amazonka.ECS.Types: [$sel:id:ServiceEvent'] :: ServiceEvent -> Maybe Text
+ Amazonka.ECS.Types: [$sel:id:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types: [$sel:image:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types: [$sel:image:ContainerDefinition'] :: ContainerDefinition -> Maybe Text
+ Amazonka.ECS.Types: [$sel:imageDigest:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types: [$sel:imageDigest:ContainerStateChange'] :: ContainerStateChange -> Maybe Text
+ Amazonka.ECS.Types: [$sel:inferenceAcceleratorOverrides:TaskOverride'] :: TaskOverride -> Maybe [InferenceAcceleratorOverride]
+ Amazonka.ECS.Types: [$sel:inferenceAccelerators:Task'] :: Task -> Maybe [InferenceAccelerator]
+ Amazonka.ECS.Types: [$sel:inferenceAccelerators:TaskDefinition'] :: TaskDefinition -> Maybe [InferenceAccelerator]
+ Amazonka.ECS.Types: [$sel:ingressPortOverride:ServiceConnectService'] :: ServiceConnectService -> Maybe Natural
+ Amazonka.ECS.Types: [$sel:initProcessEnabled:LinuxParameters'] :: LinuxParameters -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:instanceWarmupPeriod:ManagedScaling'] :: ManagedScaling -> Maybe Natural
+ Amazonka.ECS.Types: [$sel:integerValue:Resource'] :: Resource -> Maybe Int
+ Amazonka.ECS.Types: [$sel:interactive:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:interval:HealthCheck'] :: HealthCheck -> Maybe Int
+ Amazonka.ECS.Types: [$sel:ipAddress:HostEntry'] :: HostEntry -> Text
+ Amazonka.ECS.Types: [$sel:ipcMode:TaskDefinition'] :: TaskDefinition -> Maybe IpcMode
+ Amazonka.ECS.Types: [$sel:ipv6Address:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.ECS.Types: [$sel:key:Tag'] :: Tag -> Maybe Text
+ Amazonka.ECS.Types: [$sel:kmsKeyId:ExecuteCommandConfiguration'] :: ExecuteCommandConfiguration -> Maybe Text
+ Amazonka.ECS.Types: [$sel:labels:DockerVolumeConfiguration'] :: DockerVolumeConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.ECS.Types: [$sel:lastStartedAt:ManagedAgent'] :: ManagedAgent -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:lastStatus:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types: [$sel:lastStatus:ManagedAgent'] :: ManagedAgent -> Maybe Text
+ Amazonka.ECS.Types: [$sel:lastStatus:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:lastStatusChange:InstanceHealthCheckResult'] :: InstanceHealthCheckResult -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:lastUpdated:InstanceHealthCheckResult'] :: InstanceHealthCheckResult -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:launchType:ContainerService'] :: ContainerService -> Maybe LaunchType
+ Amazonka.ECS.Types: [$sel:launchType:Deployment'] :: Deployment -> Maybe LaunchType
+ Amazonka.ECS.Types: [$sel:launchType:Task'] :: Task -> Maybe LaunchType
+ Amazonka.ECS.Types: [$sel:launchType:TaskSet'] :: TaskSet -> Maybe LaunchType
+ Amazonka.ECS.Types: [$sel:links:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:linuxParameters:ContainerDefinition'] :: ContainerDefinition -> Maybe LinuxParameters
+ Amazonka.ECS.Types: [$sel:loadBalancerName:LoadBalancer'] :: LoadBalancer -> Maybe Text
+ Amazonka.ECS.Types: [$sel:loadBalancers:ContainerService'] :: ContainerService -> Maybe [LoadBalancer]
+ Amazonka.ECS.Types: [$sel:loadBalancers:TaskSet'] :: TaskSet -> Maybe [LoadBalancer]
+ Amazonka.ECS.Types: [$sel:logConfiguration:ContainerDefinition'] :: ContainerDefinition -> Maybe LogConfiguration
+ Amazonka.ECS.Types: [$sel:logConfiguration:ExecuteCommandConfiguration'] :: ExecuteCommandConfiguration -> Maybe ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types: [$sel:logConfiguration:ServiceConnectConfiguration'] :: ServiceConnectConfiguration -> Maybe LogConfiguration
+ Amazonka.ECS.Types: [$sel:logDriver:LogConfiguration'] :: LogConfiguration -> LogDriver
+ Amazonka.ECS.Types: [$sel:logging:ExecuteCommandConfiguration'] :: ExecuteCommandConfiguration -> Maybe ExecuteCommandLogging
+ Amazonka.ECS.Types: [$sel:longValue:Resource'] :: Resource -> Maybe Integer
+ Amazonka.ECS.Types: [$sel:managedAgentName:ManagedAgentStateChange'] :: ManagedAgentStateChange -> ManagedAgentName
+ Amazonka.ECS.Types: [$sel:managedAgents:Container'] :: Container -> Maybe [ManagedAgent]
+ Amazonka.ECS.Types: [$sel:managedScaling:AutoScalingGroupProvider'] :: AutoScalingGroupProvider -> Maybe ManagedScaling
+ Amazonka.ECS.Types: [$sel:managedScaling:AutoScalingGroupProviderUpdate'] :: AutoScalingGroupProviderUpdate -> Maybe ManagedScaling
+ Amazonka.ECS.Types: [$sel:managedTerminationProtection:AutoScalingGroupProvider'] :: AutoScalingGroupProvider -> Maybe ManagedTerminationProtection
+ Amazonka.ECS.Types: [$sel:managedTerminationProtection:AutoScalingGroupProviderUpdate'] :: AutoScalingGroupProviderUpdate -> Maybe ManagedTerminationProtection
+ Amazonka.ECS.Types: [$sel:maxSwap:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.ECS.Types: [$sel:maximumPercent:DeploymentConfiguration'] :: DeploymentConfiguration -> Maybe Int
+ Amazonka.ECS.Types: [$sel:maximumScalingStepSize:ManagedScaling'] :: ManagedScaling -> Maybe Natural
+ Amazonka.ECS.Types: [$sel:memory:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types: [$sel:memory:ContainerDefinition'] :: ContainerDefinition -> Maybe Int
+ Amazonka.ECS.Types: [$sel:memory:ContainerOverride'] :: ContainerOverride -> Maybe Int
+ Amazonka.ECS.Types: [$sel:memory:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:memory:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types: [$sel:memory:TaskOverride'] :: TaskOverride -> Maybe Text
+ Amazonka.ECS.Types: [$sel:memoryReservation:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types: [$sel:memoryReservation:ContainerDefinition'] :: ContainerDefinition -> Maybe Int
+ Amazonka.ECS.Types: [$sel:memoryReservation:ContainerOverride'] :: ContainerOverride -> Maybe Int
+ Amazonka.ECS.Types: [$sel:message:ServiceEvent'] :: ServiceEvent -> Maybe Text
+ Amazonka.ECS.Types: [$sel:minimumHealthyPercent:DeploymentConfiguration'] :: DeploymentConfiguration -> Maybe Int
+ Amazonka.ECS.Types: [$sel:minimumScalingStepSize:ManagedScaling'] :: ManagedScaling -> Maybe Natural
+ Amazonka.ECS.Types: [$sel:mountOptions:Tmpfs'] :: Tmpfs -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:mountPoints:ContainerDefinition'] :: ContainerDefinition -> Maybe [MountPoint]
+ Amazonka.ECS.Types: [$sel:name:Attribute'] :: Attribute -> Text
+ Amazonka.ECS.Types: [$sel:name:CapacityProvider'] :: CapacityProvider -> Maybe Text
+ Amazonka.ECS.Types: [$sel:name:ClusterSetting'] :: ClusterSetting -> Maybe ClusterSettingName
+ Amazonka.ECS.Types: [$sel:name:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types: [$sel:name:ContainerDefinition'] :: ContainerDefinition -> Maybe Text
+ Amazonka.ECS.Types: [$sel:name:ContainerOverride'] :: ContainerOverride -> Maybe Text
+ Amazonka.ECS.Types: [$sel:name:KeyValuePair'] :: KeyValuePair -> Maybe Text
+ Amazonka.ECS.Types: [$sel:name:ManagedAgent'] :: ManagedAgent -> Maybe ManagedAgentName
+ Amazonka.ECS.Types: [$sel:name:PortMapping'] :: PortMapping -> Maybe Text
+ Amazonka.ECS.Types: [$sel:name:Resource'] :: Resource -> Maybe Text
+ Amazonka.ECS.Types: [$sel:name:Secret'] :: Secret -> Text
+ Amazonka.ECS.Types: [$sel:name:Setting'] :: Setting -> Maybe SettingName
+ Amazonka.ECS.Types: [$sel:name:Ulimit'] :: Ulimit -> UlimitName
+ Amazonka.ECS.Types: [$sel:name:Volume'] :: Volume -> Maybe Text
+ Amazonka.ECS.Types: [$sel:namespace:ClusterServiceConnectDefaults'] :: ClusterServiceConnectDefaults -> Maybe Text
+ Amazonka.ECS.Types: [$sel:namespace:ClusterServiceConnectDefaultsRequest'] :: ClusterServiceConnectDefaultsRequest -> Text
+ Amazonka.ECS.Types: [$sel:namespace:ServiceConnectConfiguration'] :: ServiceConnectConfiguration -> Maybe Text
+ Amazonka.ECS.Types: [$sel:namespace:SystemControl'] :: SystemControl -> Maybe Text
+ Amazonka.ECS.Types: [$sel:networkBindings:Container'] :: Container -> Maybe [NetworkBinding]
+ Amazonka.ECS.Types: [$sel:networkBindings:ContainerStateChange'] :: ContainerStateChange -> Maybe [NetworkBinding]
+ Amazonka.ECS.Types: [$sel:networkConfiguration:ContainerService'] :: ContainerService -> Maybe NetworkConfiguration
+ Amazonka.ECS.Types: [$sel:networkConfiguration:Deployment'] :: Deployment -> Maybe NetworkConfiguration
+ Amazonka.ECS.Types: [$sel:networkConfiguration:TaskSet'] :: TaskSet -> Maybe NetworkConfiguration
+ Amazonka.ECS.Types: [$sel:networkInterfaces:Container'] :: Container -> Maybe [NetworkInterface]
+ Amazonka.ECS.Types: [$sel:networkMode:TaskDefinition'] :: TaskDefinition -> Maybe NetworkMode
+ Amazonka.ECS.Types: [$sel:operatingSystemFamily:RuntimePlatform'] :: RuntimePlatform -> Maybe OSFamily
+ Amazonka.ECS.Types: [$sel:options:FirelensConfiguration'] :: FirelensConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.ECS.Types: [$sel:options:LogConfiguration'] :: LogConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.ECS.Types: [$sel:overallStatus:ContainerInstanceHealthStatus'] :: ContainerInstanceHealthStatus -> Maybe InstanceHealthCheckState
+ Amazonka.ECS.Types: [$sel:overrides:Task'] :: Task -> Maybe TaskOverride
+ Amazonka.ECS.Types: [$sel:pendingCount:ContainerService'] :: ContainerService -> Maybe Int
+ Amazonka.ECS.Types: [$sel:pendingCount:Deployment'] :: Deployment -> Maybe Int
+ Amazonka.ECS.Types: [$sel:pendingCount:TaskSet'] :: TaskSet -> Maybe Int
+ Amazonka.ECS.Types: [$sel:pendingTasksCount:Cluster'] :: Cluster -> Maybe Int
+ Amazonka.ECS.Types: [$sel:pendingTasksCount:ContainerInstance'] :: ContainerInstance -> Maybe Int
+ Amazonka.ECS.Types: [$sel:permissions:Device'] :: Device -> Maybe [DeviceCgroupPermission]
+ Amazonka.ECS.Types: [$sel:pidMode:TaskDefinition'] :: TaskDefinition -> Maybe PidMode
+ Amazonka.ECS.Types: [$sel:placementConstraints:ContainerService'] :: ContainerService -> Maybe [PlacementConstraint]
+ Amazonka.ECS.Types: [$sel:placementConstraints:TaskDefinition'] :: TaskDefinition -> Maybe [TaskDefinitionPlacementConstraint]
+ Amazonka.ECS.Types: [$sel:placementStrategy:ContainerService'] :: ContainerService -> Maybe [PlacementStrategy]
+ Amazonka.ECS.Types: [$sel:platformFamily:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types: [$sel:platformFamily:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types: [$sel:platformFamily:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:platformFamily:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types: [$sel:platformVersion:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types: [$sel:platformVersion:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types: [$sel:platformVersion:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:platformVersion:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types: [$sel:port:ServiceConnectClientAlias'] :: ServiceConnectClientAlias -> Natural
+ Amazonka.ECS.Types: [$sel:port:ServiceRegistry'] :: ServiceRegistry -> Maybe Int
+ Amazonka.ECS.Types: [$sel:portMappings:ContainerDefinition'] :: ContainerDefinition -> Maybe [PortMapping]
+ Amazonka.ECS.Types: [$sel:portName:ServiceConnectService'] :: ServiceConnectService -> Text
+ Amazonka.ECS.Types: [$sel:principalArn:Setting'] :: Setting -> Maybe Text
+ Amazonka.ECS.Types: [$sel:privateIpv4Address:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.ECS.Types: [$sel:privileged:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:propagateTags:ContainerService'] :: ContainerService -> Maybe PropagateTags
+ Amazonka.ECS.Types: [$sel:properties:ProxyConfiguration'] :: ProxyConfiguration -> Maybe [KeyValuePair]
+ Amazonka.ECS.Types: [$sel:protectionEnabled:ProtectedTask'] :: ProtectedTask -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:protocol:NetworkBinding'] :: NetworkBinding -> Maybe TransportProtocol
+ Amazonka.ECS.Types: [$sel:protocol:PortMapping'] :: PortMapping -> Maybe TransportProtocol
+ Amazonka.ECS.Types: [$sel:proxyConfiguration:TaskDefinition'] :: TaskDefinition -> Maybe ProxyConfiguration
+ Amazonka.ECS.Types: [$sel:pseudoTerminal:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:pullStartedAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:pullStoppedAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:readOnly:MountPoint'] :: MountPoint -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:readOnly:VolumeFrom'] :: VolumeFrom -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:readonlyRootFilesystem:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:reason:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types: [$sel:reason:ContainerStateChange'] :: ContainerStateChange -> Maybe Text
+ Amazonka.ECS.Types: [$sel:reason:Failure'] :: Failure -> Maybe Text
+ Amazonka.ECS.Types: [$sel:reason:ManagedAgent'] :: ManagedAgent -> Maybe Text
+ Amazonka.ECS.Types: [$sel:reason:ManagedAgentStateChange'] :: ManagedAgentStateChange -> Maybe Text
+ Amazonka.ECS.Types: [$sel:registeredAt:ContainerInstance'] :: ContainerInstance -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:registeredAt:TaskDefinition'] :: TaskDefinition -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:registeredBy:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types: [$sel:registeredContainerInstancesCount:Cluster'] :: Cluster -> Maybe Int
+ Amazonka.ECS.Types: [$sel:registeredResources:ContainerInstance'] :: ContainerInstance -> Maybe [Resource]
+ Amazonka.ECS.Types: [$sel:registryArn:ServiceRegistry'] :: ServiceRegistry -> Maybe Text
+ Amazonka.ECS.Types: [$sel:remainingResources:ContainerInstance'] :: ContainerInstance -> Maybe [Resource]
+ Amazonka.ECS.Types: [$sel:repositoryCredentials:ContainerDefinition'] :: ContainerDefinition -> Maybe RepositoryCredentials
+ Amazonka.ECS.Types: [$sel:requiresAttributes:TaskDefinition'] :: TaskDefinition -> Maybe [Attribute]
+ Amazonka.ECS.Types: [$sel:requiresCompatibilities:TaskDefinition'] :: TaskDefinition -> Maybe [Compatibility]
+ Amazonka.ECS.Types: [$sel:resourceRequirements:ContainerDefinition'] :: ContainerDefinition -> Maybe [ResourceRequirement]
+ Amazonka.ECS.Types: [$sel:resourceRequirements:ContainerOverride'] :: ContainerOverride -> Maybe [ResourceRequirement]
+ Amazonka.ECS.Types: [$sel:retries:HealthCheck'] :: HealthCheck -> Maybe Int
+ Amazonka.ECS.Types: [$sel:revision:TaskDefinition'] :: TaskDefinition -> Maybe Int
+ Amazonka.ECS.Types: [$sel:roleArn:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types: [$sel:rollback:DeploymentAlarms'] :: DeploymentAlarms -> Bool
+ Amazonka.ECS.Types: [$sel:rollback:DeploymentCircuitBreaker'] :: DeploymentCircuitBreaker -> Bool
+ Amazonka.ECS.Types: [$sel:rolloutState:Deployment'] :: Deployment -> Maybe DeploymentRolloutState
+ Amazonka.ECS.Types: [$sel:rolloutStateReason:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types: [$sel:rootDirectory:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe Text
+ Amazonka.ECS.Types: [$sel:rootDirectory:FSxWindowsFileServerVolumeConfiguration'] :: FSxWindowsFileServerVolumeConfiguration -> Text
+ Amazonka.ECS.Types: [$sel:runningCount:ContainerService'] :: ContainerService -> Maybe Int
+ Amazonka.ECS.Types: [$sel:runningCount:Deployment'] :: Deployment -> Maybe Int
+ Amazonka.ECS.Types: [$sel:runningCount:TaskSet'] :: TaskSet -> Maybe Int
+ Amazonka.ECS.Types: [$sel:runningTasksCount:Cluster'] :: Cluster -> Maybe Int
+ Amazonka.ECS.Types: [$sel:runningTasksCount:ContainerInstance'] :: ContainerInstance -> Maybe Int
+ Amazonka.ECS.Types: [$sel:runtimeId:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types: [$sel:runtimeId:ContainerStateChange'] :: ContainerStateChange -> Maybe Text
+ Amazonka.ECS.Types: [$sel:runtimePlatform:TaskDefinition'] :: TaskDefinition -> Maybe RuntimePlatform
+ Amazonka.ECS.Types: [$sel:s3BucketName:ExecuteCommandLogConfiguration'] :: ExecuteCommandLogConfiguration -> Maybe Text
+ Amazonka.ECS.Types: [$sel:s3EncryptionEnabled:ExecuteCommandLogConfiguration'] :: ExecuteCommandLogConfiguration -> Maybe Bool
+ Amazonka.ECS.Types: [$sel:s3KeyPrefix:ExecuteCommandLogConfiguration'] :: ExecuteCommandLogConfiguration -> Maybe Text
+ Amazonka.ECS.Types: [$sel:scale:TaskSet'] :: TaskSet -> Maybe Scale
+ Amazonka.ECS.Types: [$sel:schedulingStrategy:ContainerService'] :: ContainerService -> Maybe SchedulingStrategy
+ Amazonka.ECS.Types: [$sel:scope:DockerVolumeConfiguration'] :: DockerVolumeConfiguration -> Maybe Scope
+ Amazonka.ECS.Types: [$sel:secretOptions:LogConfiguration'] :: LogConfiguration -> Maybe [Secret]
+ Amazonka.ECS.Types: [$sel:secrets:ContainerDefinition'] :: ContainerDefinition -> Maybe [Secret]
+ Amazonka.ECS.Types: [$sel:securityGroups:AwsVpcConfiguration'] :: AwsVpcConfiguration -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:serviceArn:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types: [$sel:serviceArn:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types: [$sel:serviceConnectConfiguration:Deployment'] :: Deployment -> Maybe ServiceConnectConfiguration
+ Amazonka.ECS.Types: [$sel:serviceConnectDefaults:Cluster'] :: Cluster -> Maybe ClusterServiceConnectDefaults
+ Amazonka.ECS.Types: [$sel:serviceConnectResources:Deployment'] :: Deployment -> Maybe [ServiceConnectServiceResource]
+ Amazonka.ECS.Types: [$sel:serviceName:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types: [$sel:serviceRegistries:ContainerService'] :: ContainerService -> Maybe [ServiceRegistry]
+ Amazonka.ECS.Types: [$sel:serviceRegistries:TaskSet'] :: TaskSet -> Maybe [ServiceRegistry]
+ Amazonka.ECS.Types: [$sel:services:ServiceConnectConfiguration'] :: ServiceConnectConfiguration -> Maybe [ServiceConnectService]
+ Amazonka.ECS.Types: [$sel:sessionId:Session'] :: Session -> Maybe Text
+ Amazonka.ECS.Types: [$sel:settings:Cluster'] :: Cluster -> Maybe [ClusterSetting]
+ Amazonka.ECS.Types: [$sel:sharedMemorySize:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.ECS.Types: [$sel:size:Tmpfs'] :: Tmpfs -> Int
+ Amazonka.ECS.Types: [$sel:sizeInGiB:EphemeralStorage'] :: EphemeralStorage -> Int
+ Amazonka.ECS.Types: [$sel:softLimit:Ulimit'] :: Ulimit -> Int
+ Amazonka.ECS.Types: [$sel:sourceContainer:VolumeFrom'] :: VolumeFrom -> Maybe Text
+ Amazonka.ECS.Types: [$sel:sourcePath:HostVolumeProperties'] :: HostVolumeProperties -> Maybe Text
+ Amazonka.ECS.Types: [$sel:sourceVolume:MountPoint'] :: MountPoint -> Maybe Text
+ Amazonka.ECS.Types: [$sel:stabilityStatus:TaskSet'] :: TaskSet -> Maybe StabilityStatus
+ Amazonka.ECS.Types: [$sel:stabilityStatusAt:TaskSet'] :: TaskSet -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:startPeriod:HealthCheck'] :: HealthCheck -> Maybe Int
+ Amazonka.ECS.Types: [$sel:startTimeout:ContainerDefinition'] :: ContainerDefinition -> Maybe Int
+ Amazonka.ECS.Types: [$sel:startedAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:startedBy:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:startedBy:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types: [$sel:statistics:Cluster'] :: Cluster -> Maybe [KeyValuePair]
+ Amazonka.ECS.Types: [$sel:status:Attachment'] :: Attachment -> Maybe Text
+ Amazonka.ECS.Types: [$sel:status:AttachmentStateChange'] :: AttachmentStateChange -> Text
+ Amazonka.ECS.Types: [$sel:status:CapacityProvider'] :: CapacityProvider -> Maybe CapacityProviderStatus
+ Amazonka.ECS.Types: [$sel:status:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.ECS.Types: [$sel:status:ContainerInstance'] :: ContainerInstance -> Maybe Text
+ Amazonka.ECS.Types: [$sel:status:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types: [$sel:status:ContainerStateChange'] :: ContainerStateChange -> Maybe Text
+ Amazonka.ECS.Types: [$sel:status:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types: [$sel:status:InstanceHealthCheckResult'] :: InstanceHealthCheckResult -> Maybe InstanceHealthCheckState
+ Amazonka.ECS.Types: [$sel:status:ManagedAgentStateChange'] :: ManagedAgentStateChange -> Text
+ Amazonka.ECS.Types: [$sel:status:ManagedScaling'] :: ManagedScaling -> Maybe ManagedScalingStatus
+ Amazonka.ECS.Types: [$sel:status:TaskDefinition'] :: TaskDefinition -> Maybe TaskDefinitionStatus
+ Amazonka.ECS.Types: [$sel:status:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types: [$sel:statusReason:ContainerInstance'] :: ContainerInstance -> Maybe Text
+ Amazonka.ECS.Types: [$sel:stopCode:Task'] :: Task -> Maybe TaskStopCode
+ Amazonka.ECS.Types: [$sel:stopTimeout:ContainerDefinition'] :: ContainerDefinition -> Maybe Int
+ Amazonka.ECS.Types: [$sel:stoppedAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:stoppedReason:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:stoppingAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:streamUrl:Session'] :: Session -> Maybe Text
+ Amazonka.ECS.Types: [$sel:stringSetValue:Resource'] :: Resource -> Maybe [Text]
+ Amazonka.ECS.Types: [$sel:subnets:AwsVpcConfiguration'] :: AwsVpcConfiguration -> [Text]
+ Amazonka.ECS.Types: [$sel:swappiness:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.ECS.Types: [$sel:systemControls:ContainerDefinition'] :: ContainerDefinition -> Maybe [SystemControl]
+ Amazonka.ECS.Types: [$sel:tags:CapacityProvider'] :: CapacityProvider -> Maybe [Tag]
+ Amazonka.ECS.Types: [$sel:tags:Cluster'] :: Cluster -> Maybe [Tag]
+ Amazonka.ECS.Types: [$sel:tags:ContainerInstance'] :: ContainerInstance -> Maybe [Tag]
+ Amazonka.ECS.Types: [$sel:tags:ContainerService'] :: ContainerService -> Maybe [Tag]
+ Amazonka.ECS.Types: [$sel:tags:Task'] :: Task -> Maybe [Tag]
+ Amazonka.ECS.Types: [$sel:tags:TaskSet'] :: TaskSet -> Maybe [Tag]
+ Amazonka.ECS.Types: [$sel:targetCapacity:ManagedScaling'] :: ManagedScaling -> Maybe Natural
+ Amazonka.ECS.Types: [$sel:targetGroupArn:LoadBalancer'] :: LoadBalancer -> Maybe Text
+ Amazonka.ECS.Types: [$sel:targetId:Attribute'] :: Attribute -> Maybe Text
+ Amazonka.ECS.Types: [$sel:targetType:Attribute'] :: Attribute -> Maybe TargetType
+ Amazonka.ECS.Types: [$sel:taskArn:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types: [$sel:taskArn:ProtectedTask'] :: ProtectedTask -> Maybe Text
+ Amazonka.ECS.Types: [$sel:taskArn:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:taskDefinition:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types: [$sel:taskDefinition:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types: [$sel:taskDefinition:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types: [$sel:taskDefinitionArn:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types: [$sel:taskDefinitionArn:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types: [$sel:taskRoleArn:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types: [$sel:taskRoleArn:TaskOverride'] :: TaskOverride -> Maybe Text
+ Amazonka.ECS.Types: [$sel:taskSetArn:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types: [$sel:taskSets:ContainerService'] :: ContainerService -> Maybe [TaskSet]
+ Amazonka.ECS.Types: [$sel:timeout:HealthCheck'] :: HealthCheck -> Maybe Int
+ Amazonka.ECS.Types: [$sel:tmpfs:LinuxParameters'] :: LinuxParameters -> Maybe [Tmpfs]
+ Amazonka.ECS.Types: [$sel:tokenValue:Session'] :: Session -> Maybe (Sensitive Text)
+ Amazonka.ECS.Types: [$sel:transitEncryption:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe EFSTransitEncryption
+ Amazonka.ECS.Types: [$sel:transitEncryptionPort:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe Int
+ Amazonka.ECS.Types: [$sel:type':Attachment'] :: Attachment -> Maybe Text
+ Amazonka.ECS.Types: [$sel:type':DeploymentController'] :: DeploymentController -> DeploymentControllerType
+ Amazonka.ECS.Types: [$sel:type':EnvironmentFile'] :: EnvironmentFile -> EnvironmentFileType
+ Amazonka.ECS.Types: [$sel:type':FirelensConfiguration'] :: FirelensConfiguration -> FirelensConfigurationType
+ Amazonka.ECS.Types: [$sel:type':InstanceHealthCheckResult'] :: InstanceHealthCheckResult -> Maybe InstanceHealthCheckType
+ Amazonka.ECS.Types: [$sel:type':PlacementConstraint'] :: PlacementConstraint -> Maybe PlacementConstraintType
+ Amazonka.ECS.Types: [$sel:type':PlacementStrategy'] :: PlacementStrategy -> Maybe PlacementStrategyType
+ Amazonka.ECS.Types: [$sel:type':PlatformDevice'] :: PlatformDevice -> PlatformDeviceType
+ Amazonka.ECS.Types: [$sel:type':ProxyConfiguration'] :: ProxyConfiguration -> Maybe ProxyConfigurationType
+ Amazonka.ECS.Types: [$sel:type':Resource'] :: Resource -> Maybe Text
+ Amazonka.ECS.Types: [$sel:type':ResourceRequirement'] :: ResourceRequirement -> ResourceType
+ Amazonka.ECS.Types: [$sel:type':TaskDefinitionPlacementConstraint'] :: TaskDefinitionPlacementConstraint -> Maybe TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types: [$sel:ulimits:ContainerDefinition'] :: ContainerDefinition -> Maybe [Ulimit]
+ Amazonka.ECS.Types: [$sel:unit:Scale'] :: Scale -> Maybe ScaleUnit
+ Amazonka.ECS.Types: [$sel:updateStatus:CapacityProvider'] :: CapacityProvider -> Maybe CapacityProviderUpdateStatus
+ Amazonka.ECS.Types: [$sel:updateStatusReason:CapacityProvider'] :: CapacityProvider -> Maybe Text
+ Amazonka.ECS.Types: [$sel:updatedAt:Deployment'] :: Deployment -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:updatedAt:TaskSet'] :: TaskSet -> Maybe POSIX
+ Amazonka.ECS.Types: [$sel:user:ContainerDefinition'] :: ContainerDefinition -> Maybe Text
+ Amazonka.ECS.Types: [$sel:value:Attribute'] :: Attribute -> Maybe Text
+ Amazonka.ECS.Types: [$sel:value:ClusterSetting'] :: ClusterSetting -> Maybe Text
+ Amazonka.ECS.Types: [$sel:value:EnvironmentFile'] :: EnvironmentFile -> Text
+ Amazonka.ECS.Types: [$sel:value:KeyValuePair'] :: KeyValuePair -> Maybe Text
+ Amazonka.ECS.Types: [$sel:value:ResourceRequirement'] :: ResourceRequirement -> Text
+ Amazonka.ECS.Types: [$sel:value:Scale'] :: Scale -> Maybe Double
+ Amazonka.ECS.Types: [$sel:value:Setting'] :: Setting -> Maybe Text
+ Amazonka.ECS.Types: [$sel:value:SystemControl'] :: SystemControl -> Maybe Text
+ Amazonka.ECS.Types: [$sel:value:Tag'] :: Tag -> Maybe Text
+ Amazonka.ECS.Types: [$sel:valueFrom:Secret'] :: Secret -> Text
+ Amazonka.ECS.Types: [$sel:version:ContainerInstance'] :: ContainerInstance -> Maybe Integer
+ Amazonka.ECS.Types: [$sel:version:Task'] :: Task -> Maybe Integer
+ Amazonka.ECS.Types: [$sel:versionInfo:ContainerInstance'] :: ContainerInstance -> Maybe VersionInfo
+ Amazonka.ECS.Types: [$sel:volumes:TaskDefinition'] :: TaskDefinition -> Maybe [Volume]
+ Amazonka.ECS.Types: [$sel:volumesFrom:ContainerDefinition'] :: ContainerDefinition -> Maybe [VolumeFrom]
+ Amazonka.ECS.Types: [$sel:weight:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Maybe Natural
+ Amazonka.ECS.Types: [$sel:workingDirectory:ContainerDefinition'] :: ContainerDefinition -> Maybe Text
+ Amazonka.ECS.Types: [fromAgentUpdateStatus] :: AgentUpdateStatus -> Text
+ Amazonka.ECS.Types: [fromApplicationProtocol] :: ApplicationProtocol -> Text
+ Amazonka.ECS.Types: [fromAssignPublicIp] :: AssignPublicIp -> Text
+ Amazonka.ECS.Types: [fromCPUArchitecture] :: CPUArchitecture -> Text
+ Amazonka.ECS.Types: [fromCapacityProviderField] :: CapacityProviderField -> Text
+ Amazonka.ECS.Types: [fromCapacityProviderStatus] :: CapacityProviderStatus -> Text
+ Amazonka.ECS.Types: [fromCapacityProviderUpdateStatus] :: CapacityProviderUpdateStatus -> Text
+ Amazonka.ECS.Types: [fromClusterField] :: ClusterField -> Text
+ Amazonka.ECS.Types: [fromClusterSettingName] :: ClusterSettingName -> Text
+ Amazonka.ECS.Types: [fromCompatibility] :: Compatibility -> Text
+ Amazonka.ECS.Types: [fromConnectivity] :: Connectivity -> Text
+ Amazonka.ECS.Types: [fromContainerCondition] :: ContainerCondition -> Text
+ Amazonka.ECS.Types: [fromContainerInstanceField] :: ContainerInstanceField -> Text
+ Amazonka.ECS.Types: [fromContainerInstanceStatus] :: ContainerInstanceStatus -> Text
+ Amazonka.ECS.Types: [fromDeploymentControllerType] :: DeploymentControllerType -> Text
+ Amazonka.ECS.Types: [fromDeploymentRolloutState] :: DeploymentRolloutState -> Text
+ Amazonka.ECS.Types: [fromDesiredStatus] :: DesiredStatus -> Text
+ Amazonka.ECS.Types: [fromDeviceCgroupPermission] :: DeviceCgroupPermission -> Text
+ Amazonka.ECS.Types: [fromEFSAuthorizationConfigIAM] :: EFSAuthorizationConfigIAM -> Text
+ Amazonka.ECS.Types: [fromEFSTransitEncryption] :: EFSTransitEncryption -> Text
+ Amazonka.ECS.Types: [fromEnvironmentFileType] :: EnvironmentFileType -> Text
+ Amazonka.ECS.Types: [fromExecuteCommandLogging] :: ExecuteCommandLogging -> Text
+ Amazonka.ECS.Types: [fromFirelensConfigurationType] :: FirelensConfigurationType -> Text
+ Amazonka.ECS.Types: [fromHealthStatus] :: HealthStatus -> Text
+ Amazonka.ECS.Types: [fromInstanceHealthCheckState] :: InstanceHealthCheckState -> Text
+ Amazonka.ECS.Types: [fromInstanceHealthCheckType] :: InstanceHealthCheckType -> Text
+ Amazonka.ECS.Types: [fromIpcMode] :: IpcMode -> Text
+ Amazonka.ECS.Types: [fromLaunchType] :: LaunchType -> Text
+ Amazonka.ECS.Types: [fromLogDriver] :: LogDriver -> Text
+ Amazonka.ECS.Types: [fromManagedAgentName] :: ManagedAgentName -> Text
+ Amazonka.ECS.Types: [fromManagedScalingStatus] :: ManagedScalingStatus -> Text
+ Amazonka.ECS.Types: [fromManagedTerminationProtection] :: ManagedTerminationProtection -> Text
+ Amazonka.ECS.Types: [fromNetworkMode] :: NetworkMode -> Text
+ Amazonka.ECS.Types: [fromOSFamily] :: OSFamily -> Text
+ Amazonka.ECS.Types: [fromPidMode] :: PidMode -> Text
+ Amazonka.ECS.Types: [fromPlacementConstraintType] :: PlacementConstraintType -> Text
+ Amazonka.ECS.Types: [fromPlacementStrategyType] :: PlacementStrategyType -> Text
+ Amazonka.ECS.Types: [fromPlatformDeviceType] :: PlatformDeviceType -> Text
+ Amazonka.ECS.Types: [fromPropagateTags] :: PropagateTags -> Text
+ Amazonka.ECS.Types: [fromProxyConfigurationType] :: ProxyConfigurationType -> Text
+ Amazonka.ECS.Types: [fromResourceType] :: ResourceType -> Text
+ Amazonka.ECS.Types: [fromScaleUnit] :: ScaleUnit -> Text
+ Amazonka.ECS.Types: [fromSchedulingStrategy] :: SchedulingStrategy -> Text
+ Amazonka.ECS.Types: [fromScope] :: Scope -> Text
+ Amazonka.ECS.Types: [fromServiceField] :: ServiceField -> Text
+ Amazonka.ECS.Types: [fromSettingName] :: SettingName -> Text
+ Amazonka.ECS.Types: [fromSortOrder] :: SortOrder -> Text
+ Amazonka.ECS.Types: [fromStabilityStatus] :: StabilityStatus -> Text
+ Amazonka.ECS.Types: [fromTargetType] :: TargetType -> Text
+ Amazonka.ECS.Types: [fromTaskDefinitionFamilyStatus] :: TaskDefinitionFamilyStatus -> Text
+ Amazonka.ECS.Types: [fromTaskDefinitionField] :: TaskDefinitionField -> Text
+ Amazonka.ECS.Types: [fromTaskDefinitionPlacementConstraintType] :: TaskDefinitionPlacementConstraintType -> Text
+ Amazonka.ECS.Types: [fromTaskDefinitionStatus] :: TaskDefinitionStatus -> Text
+ Amazonka.ECS.Types: [fromTaskField] :: TaskField -> Text
+ Amazonka.ECS.Types: [fromTaskSetField] :: TaskSetField -> Text
+ Amazonka.ECS.Types: [fromTaskStopCode] :: TaskStopCode -> Text
+ Amazonka.ECS.Types: [fromTransportProtocol] :: TransportProtocol -> Text
+ Amazonka.ECS.Types: [fromUlimitName] :: UlimitName -> Text
+ Amazonka.ECS.Types: _AccessDeniedException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _AttributeLimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _BlockedException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _ClientException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _ClusterContainsContainerInstancesException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _ClusterContainsServicesException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _ClusterContainsTasksException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _ClusterNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _InvalidParameterException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _MissingVersionException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _NamespaceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _NoUpdateAvailableException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _PlatformTaskDefinitionIncompatibilityException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _PlatformUnknownException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _ResourceInUseException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _ServerException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _ServiceNotActiveException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _ServiceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _TargetNotConnectedException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _TargetNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _TaskSetNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _UnsupportedFeatureException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: _UpdateInProgressException :: AsError a => Fold a ServiceError
+ Amazonka.ECS.Types: attachmentStateChange_attachmentArn :: Lens' AttachmentStateChange Text
+ Amazonka.ECS.Types: attachmentStateChange_status :: Lens' AttachmentStateChange Text
+ Amazonka.ECS.Types: attachment_details :: Lens' Attachment (Maybe [KeyValuePair])
+ Amazonka.ECS.Types: attachment_id :: Lens' Attachment (Maybe Text)
+ Amazonka.ECS.Types: attachment_status :: Lens' Attachment (Maybe Text)
+ Amazonka.ECS.Types: attachment_type :: Lens' Attachment (Maybe Text)
+ Amazonka.ECS.Types: attribute_name :: Lens' Attribute Text
+ Amazonka.ECS.Types: attribute_targetId :: Lens' Attribute (Maybe Text)
+ Amazonka.ECS.Types: attribute_targetType :: Lens' Attribute (Maybe TargetType)
+ Amazonka.ECS.Types: attribute_value :: Lens' Attribute (Maybe Text)
+ Amazonka.ECS.Types: autoScalingGroupProviderUpdate_managedScaling :: Lens' AutoScalingGroupProviderUpdate (Maybe ManagedScaling)
+ Amazonka.ECS.Types: autoScalingGroupProviderUpdate_managedTerminationProtection :: Lens' AutoScalingGroupProviderUpdate (Maybe ManagedTerminationProtection)
+ Amazonka.ECS.Types: autoScalingGroupProvider_autoScalingGroupArn :: Lens' AutoScalingGroupProvider Text
+ Amazonka.ECS.Types: autoScalingGroupProvider_managedScaling :: Lens' AutoScalingGroupProvider (Maybe ManagedScaling)
+ Amazonka.ECS.Types: autoScalingGroupProvider_managedTerminationProtection :: Lens' AutoScalingGroupProvider (Maybe ManagedTerminationProtection)
+ Amazonka.ECS.Types: awsVpcConfiguration_assignPublicIp :: Lens' AwsVpcConfiguration (Maybe AssignPublicIp)
+ Amazonka.ECS.Types: awsVpcConfiguration_securityGroups :: Lens' AwsVpcConfiguration (Maybe [Text])
+ Amazonka.ECS.Types: awsVpcConfiguration_subnets :: Lens' AwsVpcConfiguration [Text]
+ Amazonka.ECS.Types: capacityProviderStrategyItem_base :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.ECS.Types: capacityProviderStrategyItem_capacityProvider :: Lens' CapacityProviderStrategyItem Text
+ Amazonka.ECS.Types: capacityProviderStrategyItem_weight :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.ECS.Types: capacityProvider_autoScalingGroupProvider :: Lens' CapacityProvider (Maybe AutoScalingGroupProvider)
+ Amazonka.ECS.Types: capacityProvider_capacityProviderArn :: Lens' CapacityProvider (Maybe Text)
+ Amazonka.ECS.Types: capacityProvider_name :: Lens' CapacityProvider (Maybe Text)
+ Amazonka.ECS.Types: capacityProvider_status :: Lens' CapacityProvider (Maybe CapacityProviderStatus)
+ Amazonka.ECS.Types: capacityProvider_tags :: Lens' CapacityProvider (Maybe [Tag])
+ Amazonka.ECS.Types: capacityProvider_updateStatus :: Lens' CapacityProvider (Maybe CapacityProviderUpdateStatus)
+ Amazonka.ECS.Types: capacityProvider_updateStatusReason :: Lens' CapacityProvider (Maybe Text)
+ Amazonka.ECS.Types: clusterConfiguration_executeCommandConfiguration :: Lens' ClusterConfiguration (Maybe ExecuteCommandConfiguration)
+ Amazonka.ECS.Types: clusterServiceConnectDefaultsRequest_namespace :: Lens' ClusterServiceConnectDefaultsRequest Text
+ Amazonka.ECS.Types: clusterServiceConnectDefaults_namespace :: Lens' ClusterServiceConnectDefaults (Maybe Text)
+ Amazonka.ECS.Types: clusterSetting_name :: Lens' ClusterSetting (Maybe ClusterSettingName)
+ Amazonka.ECS.Types: clusterSetting_value :: Lens' ClusterSetting (Maybe Text)
+ Amazonka.ECS.Types: cluster_activeServicesCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Types: cluster_attachments :: Lens' Cluster (Maybe [Attachment])
+ Amazonka.ECS.Types: cluster_attachmentsStatus :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Types: cluster_capacityProviders :: Lens' Cluster (Maybe [Text])
+ Amazonka.ECS.Types: cluster_clusterArn :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Types: cluster_clusterName :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Types: cluster_configuration :: Lens' Cluster (Maybe ClusterConfiguration)
+ Amazonka.ECS.Types: cluster_defaultCapacityProviderStrategy :: Lens' Cluster (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Types: cluster_pendingTasksCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Types: cluster_registeredContainerInstancesCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Types: cluster_runningTasksCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Types: cluster_serviceConnectDefaults :: Lens' Cluster (Maybe ClusterServiceConnectDefaults)
+ Amazonka.ECS.Types: cluster_settings :: Lens' Cluster (Maybe [ClusterSetting])
+ Amazonka.ECS.Types: cluster_statistics :: Lens' Cluster (Maybe [KeyValuePair])
+ Amazonka.ECS.Types: cluster_status :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Types: cluster_tags :: Lens' Cluster (Maybe [Tag])
+ Amazonka.ECS.Types: containerDefinition_command :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types: containerDefinition_cpu :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Types: containerDefinition_dependsOn :: Lens' ContainerDefinition (Maybe [ContainerDependency])
+ Amazonka.ECS.Types: containerDefinition_disableNetworking :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types: containerDefinition_dnsSearchDomains :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types: containerDefinition_dnsServers :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types: containerDefinition_dockerLabels :: Lens' ContainerDefinition (Maybe (HashMap Text Text))
+ Amazonka.ECS.Types: containerDefinition_dockerSecurityOptions :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types: containerDefinition_entryPoint :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types: containerDefinition_environment :: Lens' ContainerDefinition (Maybe [KeyValuePair])
+ Amazonka.ECS.Types: containerDefinition_environmentFiles :: Lens' ContainerDefinition (Maybe [EnvironmentFile])
+ Amazonka.ECS.Types: containerDefinition_essential :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types: containerDefinition_extraHosts :: Lens' ContainerDefinition (Maybe [HostEntry])
+ Amazonka.ECS.Types: containerDefinition_firelensConfiguration :: Lens' ContainerDefinition (Maybe FirelensConfiguration)
+ Amazonka.ECS.Types: containerDefinition_healthCheck :: Lens' ContainerDefinition (Maybe HealthCheck)
+ Amazonka.ECS.Types: containerDefinition_hostname :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Types: containerDefinition_image :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Types: containerDefinition_interactive :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types: containerDefinition_links :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types: containerDefinition_linuxParameters :: Lens' ContainerDefinition (Maybe LinuxParameters)
+ Amazonka.ECS.Types: containerDefinition_logConfiguration :: Lens' ContainerDefinition (Maybe LogConfiguration)
+ Amazonka.ECS.Types: containerDefinition_memory :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Types: containerDefinition_memoryReservation :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Types: containerDefinition_mountPoints :: Lens' ContainerDefinition (Maybe [MountPoint])
+ Amazonka.ECS.Types: containerDefinition_name :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Types: containerDefinition_portMappings :: Lens' ContainerDefinition (Maybe [PortMapping])
+ Amazonka.ECS.Types: containerDefinition_privileged :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types: containerDefinition_pseudoTerminal :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types: containerDefinition_readonlyRootFilesystem :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types: containerDefinition_repositoryCredentials :: Lens' ContainerDefinition (Maybe RepositoryCredentials)
+ Amazonka.ECS.Types: containerDefinition_resourceRequirements :: Lens' ContainerDefinition (Maybe [ResourceRequirement])
+ Amazonka.ECS.Types: containerDefinition_secrets :: Lens' ContainerDefinition (Maybe [Secret])
+ Amazonka.ECS.Types: containerDefinition_startTimeout :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Types: containerDefinition_stopTimeout :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Types: containerDefinition_systemControls :: Lens' ContainerDefinition (Maybe [SystemControl])
+ Amazonka.ECS.Types: containerDefinition_ulimits :: Lens' ContainerDefinition (Maybe [Ulimit])
+ Amazonka.ECS.Types: containerDefinition_user :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Types: containerDefinition_volumesFrom :: Lens' ContainerDefinition (Maybe [VolumeFrom])
+ Amazonka.ECS.Types: containerDefinition_workingDirectory :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Types: containerDependency_condition :: Lens' ContainerDependency ContainerCondition
+ Amazonka.ECS.Types: containerDependency_containerName :: Lens' ContainerDependency Text
+ Amazonka.ECS.Types: containerInstanceHealthStatus_details :: Lens' ContainerInstanceHealthStatus (Maybe [InstanceHealthCheckResult])
+ Amazonka.ECS.Types: containerInstanceHealthStatus_overallStatus :: Lens' ContainerInstanceHealthStatus (Maybe InstanceHealthCheckState)
+ Amazonka.ECS.Types: containerInstance_agentConnected :: Lens' ContainerInstance (Maybe Bool)
+ Amazonka.ECS.Types: containerInstance_agentUpdateStatus :: Lens' ContainerInstance (Maybe AgentUpdateStatus)
+ Amazonka.ECS.Types: containerInstance_attachments :: Lens' ContainerInstance (Maybe [Attachment])
+ Amazonka.ECS.Types: containerInstance_attributes :: Lens' ContainerInstance (Maybe [Attribute])
+ Amazonka.ECS.Types: containerInstance_capacityProviderName :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Types: containerInstance_containerInstanceArn :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Types: containerInstance_ec2InstanceId :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Types: containerInstance_healthStatus :: Lens' ContainerInstance (Maybe ContainerInstanceHealthStatus)
+ Amazonka.ECS.Types: containerInstance_pendingTasksCount :: Lens' ContainerInstance (Maybe Int)
+ Amazonka.ECS.Types: containerInstance_registeredAt :: Lens' ContainerInstance (Maybe UTCTime)
+ Amazonka.ECS.Types: containerInstance_registeredResources :: Lens' ContainerInstance (Maybe [Resource])
+ Amazonka.ECS.Types: containerInstance_remainingResources :: Lens' ContainerInstance (Maybe [Resource])
+ Amazonka.ECS.Types: containerInstance_runningTasksCount :: Lens' ContainerInstance (Maybe Int)
+ Amazonka.ECS.Types: containerInstance_status :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Types: containerInstance_statusReason :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Types: containerInstance_tags :: Lens' ContainerInstance (Maybe [Tag])
+ Amazonka.ECS.Types: containerInstance_version :: Lens' ContainerInstance (Maybe Integer)
+ Amazonka.ECS.Types: containerInstance_versionInfo :: Lens' ContainerInstance (Maybe VersionInfo)
+ Amazonka.ECS.Types: containerOverride_command :: Lens' ContainerOverride (Maybe [Text])
+ Amazonka.ECS.Types: containerOverride_cpu :: Lens' ContainerOverride (Maybe Int)
+ Amazonka.ECS.Types: containerOverride_environment :: Lens' ContainerOverride (Maybe [KeyValuePair])
+ Amazonka.ECS.Types: containerOverride_environmentFiles :: Lens' ContainerOverride (Maybe [EnvironmentFile])
+ Amazonka.ECS.Types: containerOverride_memory :: Lens' ContainerOverride (Maybe Int)
+ Amazonka.ECS.Types: containerOverride_memoryReservation :: Lens' ContainerOverride (Maybe Int)
+ Amazonka.ECS.Types: containerOverride_name :: Lens' ContainerOverride (Maybe Text)
+ Amazonka.ECS.Types: containerOverride_resourceRequirements :: Lens' ContainerOverride (Maybe [ResourceRequirement])
+ Amazonka.ECS.Types: containerService_capacityProviderStrategy :: Lens' ContainerService (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Types: containerService_clusterArn :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types: containerService_createdAt :: Lens' ContainerService (Maybe UTCTime)
+ Amazonka.ECS.Types: containerService_createdBy :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types: containerService_deploymentConfiguration :: Lens' ContainerService (Maybe DeploymentConfiguration)
+ Amazonka.ECS.Types: containerService_deploymentController :: Lens' ContainerService (Maybe DeploymentController)
+ Amazonka.ECS.Types: containerService_deployments :: Lens' ContainerService (Maybe [Deployment])
+ Amazonka.ECS.Types: containerService_desiredCount :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Types: containerService_enableECSManagedTags :: Lens' ContainerService (Maybe Bool)
+ Amazonka.ECS.Types: containerService_enableExecuteCommand :: Lens' ContainerService (Maybe Bool)
+ Amazonka.ECS.Types: containerService_events :: Lens' ContainerService (Maybe [ServiceEvent])
+ Amazonka.ECS.Types: containerService_healthCheckGracePeriodSeconds :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Types: containerService_launchType :: Lens' ContainerService (Maybe LaunchType)
+ Amazonka.ECS.Types: containerService_loadBalancers :: Lens' ContainerService (Maybe [LoadBalancer])
+ Amazonka.ECS.Types: containerService_networkConfiguration :: Lens' ContainerService (Maybe NetworkConfiguration)
+ Amazonka.ECS.Types: containerService_pendingCount :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Types: containerService_placementConstraints :: Lens' ContainerService (Maybe [PlacementConstraint])
+ Amazonka.ECS.Types: containerService_placementStrategy :: Lens' ContainerService (Maybe [PlacementStrategy])
+ Amazonka.ECS.Types: containerService_platformFamily :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types: containerService_platformVersion :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types: containerService_propagateTags :: Lens' ContainerService (Maybe PropagateTags)
+ Amazonka.ECS.Types: containerService_roleArn :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types: containerService_runningCount :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Types: containerService_schedulingStrategy :: Lens' ContainerService (Maybe SchedulingStrategy)
+ Amazonka.ECS.Types: containerService_serviceArn :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types: containerService_serviceName :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types: containerService_serviceRegistries :: Lens' ContainerService (Maybe [ServiceRegistry])
+ Amazonka.ECS.Types: containerService_status :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types: containerService_tags :: Lens' ContainerService (Maybe [Tag])
+ Amazonka.ECS.Types: containerService_taskDefinition :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types: containerService_taskSets :: Lens' ContainerService (Maybe [TaskSet])
+ Amazonka.ECS.Types: containerStateChange_containerName :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Types: containerStateChange_exitCode :: Lens' ContainerStateChange (Maybe Int)
+ Amazonka.ECS.Types: containerStateChange_imageDigest :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Types: containerStateChange_networkBindings :: Lens' ContainerStateChange (Maybe [NetworkBinding])
+ Amazonka.ECS.Types: containerStateChange_reason :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Types: containerStateChange_runtimeId :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Types: containerStateChange_status :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Types: container_containerArn :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types: container_cpu :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types: container_exitCode :: Lens' Container (Maybe Int)
+ Amazonka.ECS.Types: container_gpuIds :: Lens' Container (Maybe [Text])
+ Amazonka.ECS.Types: container_healthStatus :: Lens' Container (Maybe HealthStatus)
+ Amazonka.ECS.Types: container_image :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types: container_imageDigest :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types: container_lastStatus :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types: container_managedAgents :: Lens' Container (Maybe [ManagedAgent])
+ Amazonka.ECS.Types: container_memory :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types: container_memoryReservation :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types: container_name :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types: container_networkBindings :: Lens' Container (Maybe [NetworkBinding])
+ Amazonka.ECS.Types: container_networkInterfaces :: Lens' Container (Maybe [NetworkInterface])
+ Amazonka.ECS.Types: container_reason :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types: container_runtimeId :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types: container_taskArn :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types: data Attachment
+ Amazonka.ECS.Types: data AttachmentStateChange
+ Amazonka.ECS.Types: data Attribute
+ Amazonka.ECS.Types: data AutoScalingGroupProvider
+ Amazonka.ECS.Types: data AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types: data AwsVpcConfiguration
+ Amazonka.ECS.Types: data CapacityProvider
+ Amazonka.ECS.Types: data CapacityProviderStrategyItem
+ Amazonka.ECS.Types: data Cluster
+ Amazonka.ECS.Types: data ClusterConfiguration
+ Amazonka.ECS.Types: data ClusterServiceConnectDefaults
+ Amazonka.ECS.Types: data ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types: data ClusterSetting
+ Amazonka.ECS.Types: data Container
+ Amazonka.ECS.Types: data ContainerDefinition
+ Amazonka.ECS.Types: data ContainerDependency
+ Amazonka.ECS.Types: data ContainerInstance
+ Amazonka.ECS.Types: data ContainerInstanceHealthStatus
+ Amazonka.ECS.Types: data ContainerOverride
+ Amazonka.ECS.Types: data ContainerService
+ Amazonka.ECS.Types: data ContainerStateChange
+ Amazonka.ECS.Types: data Deployment
+ Amazonka.ECS.Types: data DeploymentAlarms
+ Amazonka.ECS.Types: data DeploymentCircuitBreaker
+ Amazonka.ECS.Types: data DeploymentConfiguration
+ Amazonka.ECS.Types: data DeploymentController
+ Amazonka.ECS.Types: data Device
+ Amazonka.ECS.Types: data DockerVolumeConfiguration
+ Amazonka.ECS.Types: data EFSAuthorizationConfig
+ Amazonka.ECS.Types: data EFSVolumeConfiguration
+ Amazonka.ECS.Types: data EnvironmentFile
+ Amazonka.ECS.Types: data EphemeralStorage
+ Amazonka.ECS.Types: data ExecuteCommandConfiguration
+ Amazonka.ECS.Types: data ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types: data FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types: data FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types: data Failure
+ Amazonka.ECS.Types: data FirelensConfiguration
+ Amazonka.ECS.Types: data HealthCheck
+ Amazonka.ECS.Types: data HostEntry
+ Amazonka.ECS.Types: data HostVolumeProperties
+ Amazonka.ECS.Types: data InferenceAccelerator
+ Amazonka.ECS.Types: data InferenceAcceleratorOverride
+ Amazonka.ECS.Types: data InstanceHealthCheckResult
+ Amazonka.ECS.Types: data KernelCapabilities
+ Amazonka.ECS.Types: data KeyValuePair
+ Amazonka.ECS.Types: data LinuxParameters
+ Amazonka.ECS.Types: data LoadBalancer
+ Amazonka.ECS.Types: data LogConfiguration
+ Amazonka.ECS.Types: data ManagedAgent
+ Amazonka.ECS.Types: data ManagedAgentStateChange
+ Amazonka.ECS.Types: data ManagedScaling
+ Amazonka.ECS.Types: data MountPoint
+ Amazonka.ECS.Types: data NetworkBinding
+ Amazonka.ECS.Types: data NetworkConfiguration
+ Amazonka.ECS.Types: data NetworkInterface
+ Amazonka.ECS.Types: data PlacementConstraint
+ Amazonka.ECS.Types: data PlacementStrategy
+ Amazonka.ECS.Types: data PlatformDevice
+ Amazonka.ECS.Types: data PortMapping
+ Amazonka.ECS.Types: data ProtectedTask
+ Amazonka.ECS.Types: data ProxyConfiguration
+ Amazonka.ECS.Types: data RepositoryCredentials
+ Amazonka.ECS.Types: data Resource
+ Amazonka.ECS.Types: data ResourceRequirement
+ Amazonka.ECS.Types: data RuntimePlatform
+ Amazonka.ECS.Types: data Scale
+ Amazonka.ECS.Types: data Secret
+ Amazonka.ECS.Types: data ServiceConnectClientAlias
+ Amazonka.ECS.Types: data ServiceConnectConfiguration
+ Amazonka.ECS.Types: data ServiceConnectService
+ Amazonka.ECS.Types: data ServiceConnectServiceResource
+ Amazonka.ECS.Types: data ServiceEvent
+ Amazonka.ECS.Types: data ServiceRegistry
+ Amazonka.ECS.Types: data Session
+ Amazonka.ECS.Types: data Setting
+ Amazonka.ECS.Types: data SystemControl
+ Amazonka.ECS.Types: data Tag
+ Amazonka.ECS.Types: data Task
+ Amazonka.ECS.Types: data TaskDefinition
+ Amazonka.ECS.Types: data TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types: data TaskOverride
+ Amazonka.ECS.Types: data TaskSet
+ Amazonka.ECS.Types: data Tmpfs
+ Amazonka.ECS.Types: data Ulimit
+ Amazonka.ECS.Types: data VersionInfo
+ Amazonka.ECS.Types: data Volume
+ Amazonka.ECS.Types: data VolumeFrom
+ Amazonka.ECS.Types: defaultService :: Service
+ Amazonka.ECS.Types: deploymentAlarms_alarmNames :: Lens' DeploymentAlarms [Text]
+ Amazonka.ECS.Types: deploymentAlarms_enable :: Lens' DeploymentAlarms Bool
+ Amazonka.ECS.Types: deploymentAlarms_rollback :: Lens' DeploymentAlarms Bool
+ Amazonka.ECS.Types: deploymentCircuitBreaker_enable :: Lens' DeploymentCircuitBreaker Bool
+ Amazonka.ECS.Types: deploymentCircuitBreaker_rollback :: Lens' DeploymentCircuitBreaker Bool
+ Amazonka.ECS.Types: deploymentConfiguration_alarms :: Lens' DeploymentConfiguration (Maybe DeploymentAlarms)
+ Amazonka.ECS.Types: deploymentConfiguration_deploymentCircuitBreaker :: Lens' DeploymentConfiguration (Maybe DeploymentCircuitBreaker)
+ Amazonka.ECS.Types: deploymentConfiguration_maximumPercent :: Lens' DeploymentConfiguration (Maybe Int)
+ Amazonka.ECS.Types: deploymentConfiguration_minimumHealthyPercent :: Lens' DeploymentConfiguration (Maybe Int)
+ Amazonka.ECS.Types: deploymentController_type :: Lens' DeploymentController DeploymentControllerType
+ Amazonka.ECS.Types: deployment_capacityProviderStrategy :: Lens' Deployment (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Types: deployment_createdAt :: Lens' Deployment (Maybe UTCTime)
+ Amazonka.ECS.Types: deployment_desiredCount :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Types: deployment_failedTasks :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Types: deployment_id :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types: deployment_launchType :: Lens' Deployment (Maybe LaunchType)
+ Amazonka.ECS.Types: deployment_networkConfiguration :: Lens' Deployment (Maybe NetworkConfiguration)
+ Amazonka.ECS.Types: deployment_pendingCount :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Types: deployment_platformFamily :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types: deployment_platformVersion :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types: deployment_rolloutState :: Lens' Deployment (Maybe DeploymentRolloutState)
+ Amazonka.ECS.Types: deployment_rolloutStateReason :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types: deployment_runningCount :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Types: deployment_serviceConnectConfiguration :: Lens' Deployment (Maybe ServiceConnectConfiguration)
+ Amazonka.ECS.Types: deployment_serviceConnectResources :: Lens' Deployment (Maybe [ServiceConnectServiceResource])
+ Amazonka.ECS.Types: deployment_status :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types: deployment_taskDefinition :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types: deployment_updatedAt :: Lens' Deployment (Maybe UTCTime)
+ Amazonka.ECS.Types: device_containerPath :: Lens' Device (Maybe Text)
+ Amazonka.ECS.Types: device_hostPath :: Lens' Device Text
+ Amazonka.ECS.Types: device_permissions :: Lens' Device (Maybe [DeviceCgroupPermission])
+ Amazonka.ECS.Types: dockerVolumeConfiguration_autoprovision :: Lens' DockerVolumeConfiguration (Maybe Bool)
+ Amazonka.ECS.Types: dockerVolumeConfiguration_driver :: Lens' DockerVolumeConfiguration (Maybe Text)
+ Amazonka.ECS.Types: dockerVolumeConfiguration_driverOpts :: Lens' DockerVolumeConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Types: dockerVolumeConfiguration_labels :: Lens' DockerVolumeConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Types: dockerVolumeConfiguration_scope :: Lens' DockerVolumeConfiguration (Maybe Scope)
+ Amazonka.ECS.Types: eFSAuthorizationConfig_accessPointId :: Lens' EFSAuthorizationConfig (Maybe Text)
+ Amazonka.ECS.Types: eFSAuthorizationConfig_iam :: Lens' EFSAuthorizationConfig (Maybe EFSAuthorizationConfigIAM)
+ Amazonka.ECS.Types: eFSVolumeConfiguration_authorizationConfig :: Lens' EFSVolumeConfiguration (Maybe EFSAuthorizationConfig)
+ Amazonka.ECS.Types: eFSVolumeConfiguration_fileSystemId :: Lens' EFSVolumeConfiguration Text
+ Amazonka.ECS.Types: eFSVolumeConfiguration_rootDirectory :: Lens' EFSVolumeConfiguration (Maybe Text)
+ Amazonka.ECS.Types: eFSVolumeConfiguration_transitEncryption :: Lens' EFSVolumeConfiguration (Maybe EFSTransitEncryption)
+ Amazonka.ECS.Types: eFSVolumeConfiguration_transitEncryptionPort :: Lens' EFSVolumeConfiguration (Maybe Int)
+ Amazonka.ECS.Types: environmentFile_type :: Lens' EnvironmentFile EnvironmentFileType
+ Amazonka.ECS.Types: environmentFile_value :: Lens' EnvironmentFile Text
+ Amazonka.ECS.Types: ephemeralStorage_sizeInGiB :: Lens' EphemeralStorage Int
+ Amazonka.ECS.Types: executeCommandConfiguration_kmsKeyId :: Lens' ExecuteCommandConfiguration (Maybe Text)
+ Amazonka.ECS.Types: executeCommandConfiguration_logConfiguration :: Lens' ExecuteCommandConfiguration (Maybe ExecuteCommandLogConfiguration)
+ Amazonka.ECS.Types: executeCommandConfiguration_logging :: Lens' ExecuteCommandConfiguration (Maybe ExecuteCommandLogging)
+ Amazonka.ECS.Types: executeCommandLogConfiguration_cloudWatchEncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool)
+ Amazonka.ECS.Types: executeCommandLogConfiguration_cloudWatchLogGroupName :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
+ Amazonka.ECS.Types: executeCommandLogConfiguration_s3BucketName :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
+ Amazonka.ECS.Types: executeCommandLogConfiguration_s3EncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool)
+ Amazonka.ECS.Types: executeCommandLogConfiguration_s3KeyPrefix :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
+ Amazonka.ECS.Types: fSxWindowsFileServerAuthorizationConfig_credentialsParameter :: Lens' FSxWindowsFileServerAuthorizationConfig Text
+ Amazonka.ECS.Types: fSxWindowsFileServerAuthorizationConfig_domain :: Lens' FSxWindowsFileServerAuthorizationConfig Text
+ Amazonka.ECS.Types: fSxWindowsFileServerVolumeConfiguration_authorizationConfig :: Lens' FSxWindowsFileServerVolumeConfiguration FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types: fSxWindowsFileServerVolumeConfiguration_fileSystemId :: Lens' FSxWindowsFileServerVolumeConfiguration Text
+ Amazonka.ECS.Types: fSxWindowsFileServerVolumeConfiguration_rootDirectory :: Lens' FSxWindowsFileServerVolumeConfiguration Text
+ Amazonka.ECS.Types: failure_arn :: Lens' Failure (Maybe Text)
+ Amazonka.ECS.Types: failure_detail :: Lens' Failure (Maybe Text)
+ Amazonka.ECS.Types: failure_reason :: Lens' Failure (Maybe Text)
+ Amazonka.ECS.Types: firelensConfiguration_options :: Lens' FirelensConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Types: firelensConfiguration_type :: Lens' FirelensConfiguration FirelensConfigurationType
+ Amazonka.ECS.Types: healthCheck_command :: Lens' HealthCheck [Text]
+ Amazonka.ECS.Types: healthCheck_interval :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Types: healthCheck_retries :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Types: healthCheck_startPeriod :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Types: healthCheck_timeout :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Types: hostEntry_hostname :: Lens' HostEntry Text
+ Amazonka.ECS.Types: hostEntry_ipAddress :: Lens' HostEntry Text
+ Amazonka.ECS.Types: hostVolumeProperties_sourcePath :: Lens' HostVolumeProperties (Maybe Text)
+ Amazonka.ECS.Types: inferenceAcceleratorOverride_deviceName :: Lens' InferenceAcceleratorOverride (Maybe Text)
+ Amazonka.ECS.Types: inferenceAcceleratorOverride_deviceType :: Lens' InferenceAcceleratorOverride (Maybe Text)
+ Amazonka.ECS.Types: inferenceAccelerator_deviceName :: Lens' InferenceAccelerator Text
+ Amazonka.ECS.Types: inferenceAccelerator_deviceType :: Lens' InferenceAccelerator Text
+ Amazonka.ECS.Types: instanceHealthCheckResult_lastStatusChange :: Lens' InstanceHealthCheckResult (Maybe UTCTime)
+ Amazonka.ECS.Types: instanceHealthCheckResult_lastUpdated :: Lens' InstanceHealthCheckResult (Maybe UTCTime)
+ Amazonka.ECS.Types: instanceHealthCheckResult_status :: Lens' InstanceHealthCheckResult (Maybe InstanceHealthCheckState)
+ Amazonka.ECS.Types: instanceHealthCheckResult_type :: Lens' InstanceHealthCheckResult (Maybe InstanceHealthCheckType)
+ Amazonka.ECS.Types: kernelCapabilities_add :: Lens' KernelCapabilities (Maybe [Text])
+ Amazonka.ECS.Types: kernelCapabilities_drop :: Lens' KernelCapabilities (Maybe [Text])
+ Amazonka.ECS.Types: keyValuePair_name :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.ECS.Types: keyValuePair_value :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.ECS.Types: linuxParameters_capabilities :: Lens' LinuxParameters (Maybe KernelCapabilities)
+ Amazonka.ECS.Types: linuxParameters_devices :: Lens' LinuxParameters (Maybe [Device])
+ Amazonka.ECS.Types: linuxParameters_initProcessEnabled :: Lens' LinuxParameters (Maybe Bool)
+ Amazonka.ECS.Types: linuxParameters_maxSwap :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.ECS.Types: linuxParameters_sharedMemorySize :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.ECS.Types: linuxParameters_swappiness :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.ECS.Types: linuxParameters_tmpfs :: Lens' LinuxParameters (Maybe [Tmpfs])
+ Amazonka.ECS.Types: loadBalancer_containerName :: Lens' LoadBalancer (Maybe Text)
+ Amazonka.ECS.Types: loadBalancer_containerPort :: Lens' LoadBalancer (Maybe Int)
+ Amazonka.ECS.Types: loadBalancer_loadBalancerName :: Lens' LoadBalancer (Maybe Text)
+ Amazonka.ECS.Types: loadBalancer_targetGroupArn :: Lens' LoadBalancer (Maybe Text)
+ Amazonka.ECS.Types: logConfiguration_logDriver :: Lens' LogConfiguration LogDriver
+ Amazonka.ECS.Types: logConfiguration_options :: Lens' LogConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Types: logConfiguration_secretOptions :: Lens' LogConfiguration (Maybe [Secret])
+ Amazonka.ECS.Types: managedAgentStateChange_containerName :: Lens' ManagedAgentStateChange Text
+ Amazonka.ECS.Types: managedAgentStateChange_managedAgentName :: Lens' ManagedAgentStateChange ManagedAgentName
+ Amazonka.ECS.Types: managedAgentStateChange_reason :: Lens' ManagedAgentStateChange (Maybe Text)
+ Amazonka.ECS.Types: managedAgentStateChange_status :: Lens' ManagedAgentStateChange Text
+ Amazonka.ECS.Types: managedAgent_lastStartedAt :: Lens' ManagedAgent (Maybe UTCTime)
+ Amazonka.ECS.Types: managedAgent_lastStatus :: Lens' ManagedAgent (Maybe Text)
+ Amazonka.ECS.Types: managedAgent_name :: Lens' ManagedAgent (Maybe ManagedAgentName)
+ Amazonka.ECS.Types: managedAgent_reason :: Lens' ManagedAgent (Maybe Text)
+ Amazonka.ECS.Types: managedScaling_instanceWarmupPeriod :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Types: managedScaling_maximumScalingStepSize :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Types: managedScaling_minimumScalingStepSize :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Types: managedScaling_status :: Lens' ManagedScaling (Maybe ManagedScalingStatus)
+ Amazonka.ECS.Types: managedScaling_targetCapacity :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Types: mountPoint_containerPath :: Lens' MountPoint (Maybe Text)
+ Amazonka.ECS.Types: mountPoint_readOnly :: Lens' MountPoint (Maybe Bool)
+ Amazonka.ECS.Types: mountPoint_sourceVolume :: Lens' MountPoint (Maybe Text)
+ Amazonka.ECS.Types: networkBinding_bindIP :: Lens' NetworkBinding (Maybe Text)
+ Amazonka.ECS.Types: networkBinding_containerPort :: Lens' NetworkBinding (Maybe Int)
+ Amazonka.ECS.Types: networkBinding_containerPortRange :: Lens' NetworkBinding (Maybe Text)
+ Amazonka.ECS.Types: networkBinding_hostPort :: Lens' NetworkBinding (Maybe Int)
+ Amazonka.ECS.Types: networkBinding_hostPortRange :: Lens' NetworkBinding (Maybe Text)
+ Amazonka.ECS.Types: networkBinding_protocol :: Lens' NetworkBinding (Maybe TransportProtocol)
+ Amazonka.ECS.Types: networkConfiguration_awsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AwsVpcConfiguration)
+ Amazonka.ECS.Types: networkInterface_attachmentId :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.ECS.Types: networkInterface_ipv6Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.ECS.Types: networkInterface_privateIpv4Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.ECS.Types: newAttachment :: Attachment
+ Amazonka.ECS.Types: newAttachmentStateChange :: Text -> Text -> AttachmentStateChange
+ Amazonka.ECS.Types: newAttribute :: Text -> Attribute
+ Amazonka.ECS.Types: newAutoScalingGroupProvider :: Text -> AutoScalingGroupProvider
+ Amazonka.ECS.Types: newAutoScalingGroupProviderUpdate :: AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types: newAwsVpcConfiguration :: AwsVpcConfiguration
+ Amazonka.ECS.Types: newCapacityProvider :: CapacityProvider
+ Amazonka.ECS.Types: newCapacityProviderStrategyItem :: Text -> CapacityProviderStrategyItem
+ Amazonka.ECS.Types: newCluster :: Cluster
+ Amazonka.ECS.Types: newClusterConfiguration :: ClusterConfiguration
+ Amazonka.ECS.Types: newClusterServiceConnectDefaults :: ClusterServiceConnectDefaults
+ Amazonka.ECS.Types: newClusterServiceConnectDefaultsRequest :: Text -> ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types: newClusterSetting :: ClusterSetting
+ Amazonka.ECS.Types: newContainer :: Container
+ Amazonka.ECS.Types: newContainerDefinition :: ContainerDefinition
+ Amazonka.ECS.Types: newContainerDependency :: Text -> ContainerCondition -> ContainerDependency
+ Amazonka.ECS.Types: newContainerInstance :: ContainerInstance
+ Amazonka.ECS.Types: newContainerInstanceHealthStatus :: ContainerInstanceHealthStatus
+ Amazonka.ECS.Types: newContainerOverride :: ContainerOverride
+ Amazonka.ECS.Types: newContainerService :: ContainerService
+ Amazonka.ECS.Types: newContainerStateChange :: ContainerStateChange
+ Amazonka.ECS.Types: newDeployment :: Deployment
+ Amazonka.ECS.Types: newDeploymentAlarms :: Bool -> Bool -> DeploymentAlarms
+ Amazonka.ECS.Types: newDeploymentCircuitBreaker :: Bool -> Bool -> DeploymentCircuitBreaker
+ Amazonka.ECS.Types: newDeploymentConfiguration :: DeploymentConfiguration
+ Amazonka.ECS.Types: newDeploymentController :: DeploymentControllerType -> DeploymentController
+ Amazonka.ECS.Types: newDevice :: Text -> Device
+ Amazonka.ECS.Types: newDockerVolumeConfiguration :: DockerVolumeConfiguration
+ Amazonka.ECS.Types: newEFSAuthorizationConfig :: EFSAuthorizationConfig
+ Amazonka.ECS.Types: newEFSVolumeConfiguration :: Text -> EFSVolumeConfiguration
+ Amazonka.ECS.Types: newEnvironmentFile :: Text -> EnvironmentFileType -> EnvironmentFile
+ Amazonka.ECS.Types: newEphemeralStorage :: Int -> EphemeralStorage
+ Amazonka.ECS.Types: newExecuteCommandConfiguration :: ExecuteCommandConfiguration
+ Amazonka.ECS.Types: newExecuteCommandLogConfiguration :: ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types: newFSxWindowsFileServerAuthorizationConfig :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types: newFSxWindowsFileServerVolumeConfiguration :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig -> FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types: newFailure :: Failure
+ Amazonka.ECS.Types: newFirelensConfiguration :: FirelensConfigurationType -> FirelensConfiguration
+ Amazonka.ECS.Types: newHealthCheck :: HealthCheck
+ Amazonka.ECS.Types: newHostEntry :: Text -> Text -> HostEntry
+ Amazonka.ECS.Types: newHostVolumeProperties :: HostVolumeProperties
+ Amazonka.ECS.Types: newInferenceAccelerator :: Text -> Text -> InferenceAccelerator
+ Amazonka.ECS.Types: newInferenceAcceleratorOverride :: InferenceAcceleratorOverride
+ Amazonka.ECS.Types: newInstanceHealthCheckResult :: InstanceHealthCheckResult
+ Amazonka.ECS.Types: newKernelCapabilities :: KernelCapabilities
+ Amazonka.ECS.Types: newKeyValuePair :: KeyValuePair
+ Amazonka.ECS.Types: newLinuxParameters :: LinuxParameters
+ Amazonka.ECS.Types: newLoadBalancer :: LoadBalancer
+ Amazonka.ECS.Types: newLogConfiguration :: LogDriver -> LogConfiguration
+ Amazonka.ECS.Types: newManagedAgent :: ManagedAgent
+ Amazonka.ECS.Types: newManagedAgentStateChange :: Text -> ManagedAgentName -> Text -> ManagedAgentStateChange
+ Amazonka.ECS.Types: newManagedScaling :: ManagedScaling
+ Amazonka.ECS.Types: newMountPoint :: MountPoint
+ Amazonka.ECS.Types: newNetworkBinding :: NetworkBinding
+ Amazonka.ECS.Types: newNetworkConfiguration :: NetworkConfiguration
+ Amazonka.ECS.Types: newNetworkInterface :: NetworkInterface
+ Amazonka.ECS.Types: newPlacementConstraint :: PlacementConstraint
+ Amazonka.ECS.Types: newPlacementStrategy :: PlacementStrategy
+ Amazonka.ECS.Types: newPlatformDevice :: Text -> PlatformDeviceType -> PlatformDevice
+ Amazonka.ECS.Types: newPortMapping :: PortMapping
+ Amazonka.ECS.Types: newProtectedTask :: ProtectedTask
+ Amazonka.ECS.Types: newProxyConfiguration :: Text -> ProxyConfiguration
+ Amazonka.ECS.Types: newRepositoryCredentials :: Text -> RepositoryCredentials
+ Amazonka.ECS.Types: newResource :: Resource
+ Amazonka.ECS.Types: newResourceRequirement :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.ECS.Types: newRuntimePlatform :: RuntimePlatform
+ Amazonka.ECS.Types: newScale :: Scale
+ Amazonka.ECS.Types: newSecret :: Text -> Text -> Secret
+ Amazonka.ECS.Types: newServiceConnectClientAlias :: Natural -> ServiceConnectClientAlias
+ Amazonka.ECS.Types: newServiceConnectConfiguration :: Bool -> ServiceConnectConfiguration
+ Amazonka.ECS.Types: newServiceConnectService :: Text -> ServiceConnectService
+ Amazonka.ECS.Types: newServiceConnectServiceResource :: ServiceConnectServiceResource
+ Amazonka.ECS.Types: newServiceEvent :: ServiceEvent
+ Amazonka.ECS.Types: newServiceRegistry :: ServiceRegistry
+ Amazonka.ECS.Types: newSession :: Session
+ Amazonka.ECS.Types: newSetting :: Setting
+ Amazonka.ECS.Types: newSystemControl :: SystemControl
+ Amazonka.ECS.Types: newTag :: Tag
+ Amazonka.ECS.Types: newTask :: Task
+ Amazonka.ECS.Types: newTaskDefinition :: TaskDefinition
+ Amazonka.ECS.Types: newTaskDefinitionPlacementConstraint :: TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types: newTaskOverride :: TaskOverride
+ Amazonka.ECS.Types: newTaskSet :: TaskSet
+ Amazonka.ECS.Types: newTmpfs :: Text -> Int -> Tmpfs
+ Amazonka.ECS.Types: newUlimit :: UlimitName -> Int -> Int -> Ulimit
+ Amazonka.ECS.Types: newVersionInfo :: VersionInfo
+ Amazonka.ECS.Types: newVolume :: Volume
+ Amazonka.ECS.Types: newVolumeFrom :: VolumeFrom
+ Amazonka.ECS.Types: newtype AgentUpdateStatus
+ Amazonka.ECS.Types: newtype ApplicationProtocol
+ Amazonka.ECS.Types: newtype AssignPublicIp
+ Amazonka.ECS.Types: newtype CPUArchitecture
+ Amazonka.ECS.Types: newtype CapacityProviderField
+ Amazonka.ECS.Types: newtype CapacityProviderStatus
+ Amazonka.ECS.Types: newtype CapacityProviderUpdateStatus
+ Amazonka.ECS.Types: newtype ClusterField
+ Amazonka.ECS.Types: newtype ClusterSettingName
+ Amazonka.ECS.Types: newtype Compatibility
+ Amazonka.ECS.Types: newtype Connectivity
+ Amazonka.ECS.Types: newtype ContainerCondition
+ Amazonka.ECS.Types: newtype ContainerInstanceField
+ Amazonka.ECS.Types: newtype ContainerInstanceStatus
+ Amazonka.ECS.Types: newtype DeploymentControllerType
+ Amazonka.ECS.Types: newtype DeploymentRolloutState
+ Amazonka.ECS.Types: newtype DesiredStatus
+ Amazonka.ECS.Types: newtype DeviceCgroupPermission
+ Amazonka.ECS.Types: newtype EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types: newtype EFSTransitEncryption
+ Amazonka.ECS.Types: newtype EnvironmentFileType
+ Amazonka.ECS.Types: newtype ExecuteCommandLogging
+ Amazonka.ECS.Types: newtype FirelensConfigurationType
+ Amazonka.ECS.Types: newtype HealthStatus
+ Amazonka.ECS.Types: newtype InstanceHealthCheckState
+ Amazonka.ECS.Types: newtype InstanceHealthCheckType
+ Amazonka.ECS.Types: newtype IpcMode
+ Amazonka.ECS.Types: newtype LaunchType
+ Amazonka.ECS.Types: newtype LogDriver
+ Amazonka.ECS.Types: newtype ManagedAgentName
+ Amazonka.ECS.Types: newtype ManagedScalingStatus
+ Amazonka.ECS.Types: newtype ManagedTerminationProtection
+ Amazonka.ECS.Types: newtype NetworkMode
+ Amazonka.ECS.Types: newtype OSFamily
+ Amazonka.ECS.Types: newtype PidMode
+ Amazonka.ECS.Types: newtype PlacementConstraintType
+ Amazonka.ECS.Types: newtype PlacementStrategyType
+ Amazonka.ECS.Types: newtype PlatformDeviceType
+ Amazonka.ECS.Types: newtype PropagateTags
+ Amazonka.ECS.Types: newtype ProxyConfigurationType
+ Amazonka.ECS.Types: newtype ResourceType
+ Amazonka.ECS.Types: newtype ScaleUnit
+ Amazonka.ECS.Types: newtype SchedulingStrategy
+ Amazonka.ECS.Types: newtype Scope
+ Amazonka.ECS.Types: newtype ServiceField
+ Amazonka.ECS.Types: newtype SettingName
+ Amazonka.ECS.Types: newtype SortOrder
+ Amazonka.ECS.Types: newtype StabilityStatus
+ Amazonka.ECS.Types: newtype TargetType
+ Amazonka.ECS.Types: newtype TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types: newtype TaskDefinitionField
+ Amazonka.ECS.Types: newtype TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types: newtype TaskDefinitionStatus
+ Amazonka.ECS.Types: newtype TaskField
+ Amazonka.ECS.Types: newtype TaskSetField
+ Amazonka.ECS.Types: newtype TaskStopCode
+ Amazonka.ECS.Types: newtype TransportProtocol
+ Amazonka.ECS.Types: newtype UlimitName
+ Amazonka.ECS.Types: pattern AgentUpdateStatus_FAILED :: AgentUpdateStatus
+ Amazonka.ECS.Types: pattern AgentUpdateStatus_PENDING :: AgentUpdateStatus
+ Amazonka.ECS.Types: pattern AgentUpdateStatus_STAGED :: AgentUpdateStatus
+ Amazonka.ECS.Types: pattern AgentUpdateStatus_STAGING :: AgentUpdateStatus
+ Amazonka.ECS.Types: pattern AgentUpdateStatus_UPDATED :: AgentUpdateStatus
+ Amazonka.ECS.Types: pattern AgentUpdateStatus_UPDATING :: AgentUpdateStatus
+ Amazonka.ECS.Types: pattern ApplicationProtocol_Grpc :: ApplicationProtocol
+ Amazonka.ECS.Types: pattern ApplicationProtocol_Http :: ApplicationProtocol
+ Amazonka.ECS.Types: pattern ApplicationProtocol_Http2 :: ApplicationProtocol
+ Amazonka.ECS.Types: pattern AssignPublicIp_DISABLED :: AssignPublicIp
+ Amazonka.ECS.Types: pattern AssignPublicIp_ENABLED :: AssignPublicIp
+ Amazonka.ECS.Types: pattern CPUArchitecture_ARM64 :: CPUArchitecture
+ Amazonka.ECS.Types: pattern CPUArchitecture_X86_64 :: CPUArchitecture
+ Amazonka.ECS.Types: pattern CapacityProviderField_TAGS :: CapacityProviderField
+ Amazonka.ECS.Types: pattern CapacityProviderStatus_ACTIVE :: CapacityProviderStatus
+ Amazonka.ECS.Types: pattern CapacityProviderStatus_INACTIVE :: CapacityProviderStatus
+ Amazonka.ECS.Types: pattern CapacityProviderUpdateStatus_DELETE_COMPLETE :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types: pattern CapacityProviderUpdateStatus_DELETE_FAILED :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types: pattern CapacityProviderUpdateStatus_DELETE_IN_PROGRESS :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types: pattern CapacityProviderUpdateStatus_UPDATE_COMPLETE :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types: pattern CapacityProviderUpdateStatus_UPDATE_FAILED :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types: pattern CapacityProviderUpdateStatus_UPDATE_IN_PROGRESS :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types: pattern ClusterField_ATTACHMENTS :: ClusterField
+ Amazonka.ECS.Types: pattern ClusterField_CONFIGURATIONS :: ClusterField
+ Amazonka.ECS.Types: pattern ClusterField_SETTINGS :: ClusterField
+ Amazonka.ECS.Types: pattern ClusterField_STATISTICS :: ClusterField
+ Amazonka.ECS.Types: pattern ClusterField_TAGS :: ClusterField
+ Amazonka.ECS.Types: pattern ClusterSettingName_ContainerInsights :: ClusterSettingName
+ Amazonka.ECS.Types: pattern Compatibility_EC2 :: Compatibility
+ Amazonka.ECS.Types: pattern Compatibility_EXTERNAL :: Compatibility
+ Amazonka.ECS.Types: pattern Compatibility_FARGATE :: Compatibility
+ Amazonka.ECS.Types: pattern Connectivity_CONNECTED :: Connectivity
+ Amazonka.ECS.Types: pattern Connectivity_DISCONNECTED :: Connectivity
+ Amazonka.ECS.Types: pattern ContainerCondition_COMPLETE :: ContainerCondition
+ Amazonka.ECS.Types: pattern ContainerCondition_HEALTHY :: ContainerCondition
+ Amazonka.ECS.Types: pattern ContainerCondition_START :: ContainerCondition
+ Amazonka.ECS.Types: pattern ContainerCondition_SUCCESS :: ContainerCondition
+ Amazonka.ECS.Types: pattern ContainerInstanceField_CONTAINER_INSTANCE_HEALTH :: ContainerInstanceField
+ Amazonka.ECS.Types: pattern ContainerInstanceField_TAGS :: ContainerInstanceField
+ Amazonka.ECS.Types: pattern ContainerInstanceStatus_ACTIVE :: ContainerInstanceStatus
+ Amazonka.ECS.Types: pattern ContainerInstanceStatus_DEREGISTERING :: ContainerInstanceStatus
+ Amazonka.ECS.Types: pattern ContainerInstanceStatus_DRAINING :: ContainerInstanceStatus
+ Amazonka.ECS.Types: pattern ContainerInstanceStatus_REGISTERING :: ContainerInstanceStatus
+ Amazonka.ECS.Types: pattern ContainerInstanceStatus_REGISTRATION_FAILED :: ContainerInstanceStatus
+ Amazonka.ECS.Types: pattern DeploymentControllerType_CODE_DEPLOY :: DeploymentControllerType
+ Amazonka.ECS.Types: pattern DeploymentControllerType_ECS :: DeploymentControllerType
+ Amazonka.ECS.Types: pattern DeploymentControllerType_EXTERNAL :: DeploymentControllerType
+ Amazonka.ECS.Types: pattern DeploymentRolloutState_COMPLETED :: DeploymentRolloutState
+ Amazonka.ECS.Types: pattern DeploymentRolloutState_FAILED :: DeploymentRolloutState
+ Amazonka.ECS.Types: pattern DeploymentRolloutState_IN_PROGRESS :: DeploymentRolloutState
+ Amazonka.ECS.Types: pattern DesiredStatus_PENDING :: DesiredStatus
+ Amazonka.ECS.Types: pattern DesiredStatus_RUNNING :: DesiredStatus
+ Amazonka.ECS.Types: pattern DesiredStatus_STOPPED :: DesiredStatus
+ Amazonka.ECS.Types: pattern DeviceCgroupPermission_Mknod :: DeviceCgroupPermission
+ Amazonka.ECS.Types: pattern DeviceCgroupPermission_Read :: DeviceCgroupPermission
+ Amazonka.ECS.Types: pattern DeviceCgroupPermission_Write :: DeviceCgroupPermission
+ Amazonka.ECS.Types: pattern EFSAuthorizationConfigIAM_DISABLED :: EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types: pattern EFSAuthorizationConfigIAM_ENABLED :: EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types: pattern EFSTransitEncryption_DISABLED :: EFSTransitEncryption
+ Amazonka.ECS.Types: pattern EFSTransitEncryption_ENABLED :: EFSTransitEncryption
+ Amazonka.ECS.Types: pattern EnvironmentFileType_S3 :: EnvironmentFileType
+ Amazonka.ECS.Types: pattern ExecuteCommandLogging_DEFAULT :: ExecuteCommandLogging
+ Amazonka.ECS.Types: pattern ExecuteCommandLogging_NONE :: ExecuteCommandLogging
+ Amazonka.ECS.Types: pattern ExecuteCommandLogging_OVERRIDE :: ExecuteCommandLogging
+ Amazonka.ECS.Types: pattern FirelensConfigurationType_Fluentbit :: FirelensConfigurationType
+ Amazonka.ECS.Types: pattern FirelensConfigurationType_Fluentd :: FirelensConfigurationType
+ Amazonka.ECS.Types: pattern HealthStatus_HEALTHY :: HealthStatus
+ Amazonka.ECS.Types: pattern HealthStatus_UNHEALTHY :: HealthStatus
+ Amazonka.ECS.Types: pattern HealthStatus_UNKNOWN :: HealthStatus
+ Amazonka.ECS.Types: pattern InstanceHealthCheckState_IMPAIRED :: InstanceHealthCheckState
+ Amazonka.ECS.Types: pattern InstanceHealthCheckState_INITIALIZING :: InstanceHealthCheckState
+ Amazonka.ECS.Types: pattern InstanceHealthCheckState_INSUFFICIENT_DATA :: InstanceHealthCheckState
+ Amazonka.ECS.Types: pattern InstanceHealthCheckState_OK :: InstanceHealthCheckState
+ Amazonka.ECS.Types: pattern InstanceHealthCheckType_CONTAINER_RUNTIME :: InstanceHealthCheckType
+ Amazonka.ECS.Types: pattern IpcMode_Host :: IpcMode
+ Amazonka.ECS.Types: pattern IpcMode_None :: IpcMode
+ Amazonka.ECS.Types: pattern IpcMode_Task :: IpcMode
+ Amazonka.ECS.Types: pattern LaunchType_EC2 :: LaunchType
+ Amazonka.ECS.Types: pattern LaunchType_EXTERNAL :: LaunchType
+ Amazonka.ECS.Types: pattern LaunchType_FARGATE :: LaunchType
+ Amazonka.ECS.Types: pattern LogDriver_Awsfirelens :: LogDriver
+ Amazonka.ECS.Types: pattern LogDriver_Awslogs :: LogDriver
+ Amazonka.ECS.Types: pattern LogDriver_Fluentd :: LogDriver
+ Amazonka.ECS.Types: pattern LogDriver_Gelf :: LogDriver
+ Amazonka.ECS.Types: pattern LogDriver_Journald :: LogDriver
+ Amazonka.ECS.Types: pattern LogDriver_Json_file :: LogDriver
+ Amazonka.ECS.Types: pattern LogDriver_Splunk :: LogDriver
+ Amazonka.ECS.Types: pattern LogDriver_Syslog :: LogDriver
+ Amazonka.ECS.Types: pattern ManagedAgentName_ExecuteCommandAgent :: ManagedAgentName
+ Amazonka.ECS.Types: pattern ManagedScalingStatus_DISABLED :: ManagedScalingStatus
+ Amazonka.ECS.Types: pattern ManagedScalingStatus_ENABLED :: ManagedScalingStatus
+ Amazonka.ECS.Types: pattern ManagedTerminationProtection_DISABLED :: ManagedTerminationProtection
+ Amazonka.ECS.Types: pattern ManagedTerminationProtection_ENABLED :: ManagedTerminationProtection
+ Amazonka.ECS.Types: pattern NetworkMode_Awsvpc :: NetworkMode
+ Amazonka.ECS.Types: pattern NetworkMode_Bridge :: NetworkMode
+ Amazonka.ECS.Types: pattern NetworkMode_Host :: NetworkMode
+ Amazonka.ECS.Types: pattern NetworkMode_None :: NetworkMode
+ Amazonka.ECS.Types: pattern OSFamily_LINUX :: OSFamily
+ Amazonka.ECS.Types: pattern OSFamily_WINDOWS_SERVER_2004_CORE :: OSFamily
+ Amazonka.ECS.Types: pattern OSFamily_WINDOWS_SERVER_2016_FULL :: OSFamily
+ Amazonka.ECS.Types: pattern OSFamily_WINDOWS_SERVER_2019_CORE :: OSFamily
+ Amazonka.ECS.Types: pattern OSFamily_WINDOWS_SERVER_2019_FULL :: OSFamily
+ Amazonka.ECS.Types: pattern OSFamily_WINDOWS_SERVER_2022_CORE :: OSFamily
+ Amazonka.ECS.Types: pattern OSFamily_WINDOWS_SERVER_2022_FULL :: OSFamily
+ Amazonka.ECS.Types: pattern OSFamily_WINDOWS_SERVER_20H2_CORE :: OSFamily
+ Amazonka.ECS.Types: pattern PidMode_Host :: PidMode
+ Amazonka.ECS.Types: pattern PidMode_Task :: PidMode
+ Amazonka.ECS.Types: pattern PlacementConstraintType_DistinctInstance :: PlacementConstraintType
+ Amazonka.ECS.Types: pattern PlacementConstraintType_MemberOf :: PlacementConstraintType
+ Amazonka.ECS.Types: pattern PlacementStrategyType_Binpack :: PlacementStrategyType
+ Amazonka.ECS.Types: pattern PlacementStrategyType_Random :: PlacementStrategyType
+ Amazonka.ECS.Types: pattern PlacementStrategyType_Spread :: PlacementStrategyType
+ Amazonka.ECS.Types: pattern PlatformDeviceType_GPU :: PlatformDeviceType
+ Amazonka.ECS.Types: pattern PropagateTags_NONE :: PropagateTags
+ Amazonka.ECS.Types: pattern PropagateTags_SERVICE :: PropagateTags
+ Amazonka.ECS.Types: pattern PropagateTags_TASK_DEFINITION :: PropagateTags
+ Amazonka.ECS.Types: pattern ProxyConfigurationType_APPMESH :: ProxyConfigurationType
+ Amazonka.ECS.Types: pattern ResourceType_GPU :: ResourceType
+ Amazonka.ECS.Types: pattern ResourceType_InferenceAccelerator :: ResourceType
+ Amazonka.ECS.Types: pattern ScaleUnit_PERCENT :: ScaleUnit
+ Amazonka.ECS.Types: pattern SchedulingStrategy_DAEMON :: SchedulingStrategy
+ Amazonka.ECS.Types: pattern SchedulingStrategy_REPLICA :: SchedulingStrategy
+ Amazonka.ECS.Types: pattern Scope_Shared :: Scope
+ Amazonka.ECS.Types: pattern Scope_Task :: Scope
+ Amazonka.ECS.Types: pattern ServiceField_TAGS :: ServiceField
+ Amazonka.ECS.Types: pattern SettingName_AwsvpcTrunking :: SettingName
+ Amazonka.ECS.Types: pattern SettingName_ContainerInsights :: SettingName
+ Amazonka.ECS.Types: pattern SettingName_ContainerInstanceLongArnFormat :: SettingName
+ Amazonka.ECS.Types: pattern SettingName_ServiceLongArnFormat :: SettingName
+ Amazonka.ECS.Types: pattern SettingName_TaskLongArnFormat :: SettingName
+ Amazonka.ECS.Types: pattern SortOrder_ASC :: SortOrder
+ Amazonka.ECS.Types: pattern SortOrder_DESC :: SortOrder
+ Amazonka.ECS.Types: pattern StabilityStatus_STABILIZING :: StabilityStatus
+ Amazonka.ECS.Types: pattern StabilityStatus_STEADY_STATE :: StabilityStatus
+ Amazonka.ECS.Types: pattern TargetType_Container_instance :: TargetType
+ Amazonka.ECS.Types: pattern TaskDefinitionFamilyStatus_ACTIVE :: TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types: pattern TaskDefinitionFamilyStatus_ALL :: TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types: pattern TaskDefinitionFamilyStatus_INACTIVE :: TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types: pattern TaskDefinitionField_TAGS :: TaskDefinitionField
+ Amazonka.ECS.Types: pattern TaskDefinitionPlacementConstraintType_MemberOf :: TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types: pattern TaskDefinitionStatus_ACTIVE :: TaskDefinitionStatus
+ Amazonka.ECS.Types: pattern TaskDefinitionStatus_INACTIVE :: TaskDefinitionStatus
+ Amazonka.ECS.Types: pattern TaskField_TAGS :: TaskField
+ Amazonka.ECS.Types: pattern TaskSetField_TAGS :: TaskSetField
+ Amazonka.ECS.Types: pattern TaskStopCode_EssentialContainerExited :: TaskStopCode
+ Amazonka.ECS.Types: pattern TaskStopCode_ServiceSchedulerInitiated :: TaskStopCode
+ Amazonka.ECS.Types: pattern TaskStopCode_SpotInterruption :: TaskStopCode
+ Amazonka.ECS.Types: pattern TaskStopCode_TaskFailedToStart :: TaskStopCode
+ Amazonka.ECS.Types: pattern TaskStopCode_TerminationNotice :: TaskStopCode
+ Amazonka.ECS.Types: pattern TaskStopCode_UserInitiated :: TaskStopCode
+ Amazonka.ECS.Types: pattern TransportProtocol_Tcp :: TransportProtocol
+ Amazonka.ECS.Types: pattern TransportProtocol_Udp :: TransportProtocol
+ Amazonka.ECS.Types: pattern UlimitName_Core :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Cpu :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Data :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Fsize :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Locks :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Memlock :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Msgqueue :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Nice :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Nofile :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Nproc :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Rss :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Rtprio :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Rttime :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Sigpending :: UlimitName
+ Amazonka.ECS.Types: pattern UlimitName_Stack :: UlimitName
+ Amazonka.ECS.Types: placementConstraint_expression :: Lens' PlacementConstraint (Maybe Text)
+ Amazonka.ECS.Types: placementConstraint_type :: Lens' PlacementConstraint (Maybe PlacementConstraintType)
+ Amazonka.ECS.Types: placementStrategy_field :: Lens' PlacementStrategy (Maybe Text)
+ Amazonka.ECS.Types: placementStrategy_type :: Lens' PlacementStrategy (Maybe PlacementStrategyType)
+ Amazonka.ECS.Types: platformDevice_id :: Lens' PlatformDevice Text
+ Amazonka.ECS.Types: platformDevice_type :: Lens' PlatformDevice PlatformDeviceType
+ Amazonka.ECS.Types: portMapping_appProtocol :: Lens' PortMapping (Maybe ApplicationProtocol)
+ Amazonka.ECS.Types: portMapping_containerPort :: Lens' PortMapping (Maybe Int)
+ Amazonka.ECS.Types: portMapping_containerPortRange :: Lens' PortMapping (Maybe Text)
+ Amazonka.ECS.Types: portMapping_hostPort :: Lens' PortMapping (Maybe Int)
+ Amazonka.ECS.Types: portMapping_name :: Lens' PortMapping (Maybe Text)
+ Amazonka.ECS.Types: portMapping_protocol :: Lens' PortMapping (Maybe TransportProtocol)
+ Amazonka.ECS.Types: protectedTask_expirationDate :: Lens' ProtectedTask (Maybe UTCTime)
+ Amazonka.ECS.Types: protectedTask_protectionEnabled :: Lens' ProtectedTask (Maybe Bool)
+ Amazonka.ECS.Types: protectedTask_taskArn :: Lens' ProtectedTask (Maybe Text)
+ Amazonka.ECS.Types: proxyConfiguration_containerName :: Lens' ProxyConfiguration Text
+ Amazonka.ECS.Types: proxyConfiguration_properties :: Lens' ProxyConfiguration (Maybe [KeyValuePair])
+ Amazonka.ECS.Types: proxyConfiguration_type :: Lens' ProxyConfiguration (Maybe ProxyConfigurationType)
+ Amazonka.ECS.Types: repositoryCredentials_credentialsParameter :: Lens' RepositoryCredentials Text
+ Amazonka.ECS.Types: resourceRequirement_type :: Lens' ResourceRequirement ResourceType
+ Amazonka.ECS.Types: resourceRequirement_value :: Lens' ResourceRequirement Text
+ Amazonka.ECS.Types: resource_doubleValue :: Lens' Resource (Maybe Double)
+ Amazonka.ECS.Types: resource_integerValue :: Lens' Resource (Maybe Int)
+ Amazonka.ECS.Types: resource_longValue :: Lens' Resource (Maybe Integer)
+ Amazonka.ECS.Types: resource_name :: Lens' Resource (Maybe Text)
+ Amazonka.ECS.Types: resource_stringSetValue :: Lens' Resource (Maybe [Text])
+ Amazonka.ECS.Types: resource_type :: Lens' Resource (Maybe Text)
+ Amazonka.ECS.Types: runtimePlatform_cpuArchitecture :: Lens' RuntimePlatform (Maybe CPUArchitecture)
+ Amazonka.ECS.Types: runtimePlatform_operatingSystemFamily :: Lens' RuntimePlatform (Maybe OSFamily)
+ Amazonka.ECS.Types: scale_unit :: Lens' Scale (Maybe ScaleUnit)
+ Amazonka.ECS.Types: scale_value :: Lens' Scale (Maybe Double)
+ Amazonka.ECS.Types: secret_name :: Lens' Secret Text
+ Amazonka.ECS.Types: secret_valueFrom :: Lens' Secret Text
+ Amazonka.ECS.Types: serviceConnectClientAlias_dnsName :: Lens' ServiceConnectClientAlias (Maybe Text)
+ Amazonka.ECS.Types: serviceConnectClientAlias_port :: Lens' ServiceConnectClientAlias Natural
+ Amazonka.ECS.Types: serviceConnectConfiguration_enabled :: Lens' ServiceConnectConfiguration Bool
+ Amazonka.ECS.Types: serviceConnectConfiguration_logConfiguration :: Lens' ServiceConnectConfiguration (Maybe LogConfiguration)
+ Amazonka.ECS.Types: serviceConnectConfiguration_namespace :: Lens' ServiceConnectConfiguration (Maybe Text)
+ Amazonka.ECS.Types: serviceConnectConfiguration_services :: Lens' ServiceConnectConfiguration (Maybe [ServiceConnectService])
+ Amazonka.ECS.Types: serviceConnectServiceResource_discoveryArn :: Lens' ServiceConnectServiceResource (Maybe Text)
+ Amazonka.ECS.Types: serviceConnectServiceResource_discoveryName :: Lens' ServiceConnectServiceResource (Maybe Text)
+ Amazonka.ECS.Types: serviceConnectService_clientAliases :: Lens' ServiceConnectService (Maybe [ServiceConnectClientAlias])
+ Amazonka.ECS.Types: serviceConnectService_discoveryName :: Lens' ServiceConnectService (Maybe Text)
+ Amazonka.ECS.Types: serviceConnectService_ingressPortOverride :: Lens' ServiceConnectService (Maybe Natural)
+ Amazonka.ECS.Types: serviceConnectService_portName :: Lens' ServiceConnectService Text
+ Amazonka.ECS.Types: serviceEvent_createdAt :: Lens' ServiceEvent (Maybe UTCTime)
+ Amazonka.ECS.Types: serviceEvent_id :: Lens' ServiceEvent (Maybe Text)
+ Amazonka.ECS.Types: serviceEvent_message :: Lens' ServiceEvent (Maybe Text)
+ Amazonka.ECS.Types: serviceRegistry_containerName :: Lens' ServiceRegistry (Maybe Text)
+ Amazonka.ECS.Types: serviceRegistry_containerPort :: Lens' ServiceRegistry (Maybe Int)
+ Amazonka.ECS.Types: serviceRegistry_port :: Lens' ServiceRegistry (Maybe Int)
+ Amazonka.ECS.Types: serviceRegistry_registryArn :: Lens' ServiceRegistry (Maybe Text)
+ Amazonka.ECS.Types: session_sessionId :: Lens' Session (Maybe Text)
+ Amazonka.ECS.Types: session_streamUrl :: Lens' Session (Maybe Text)
+ Amazonka.ECS.Types: session_tokenValue :: Lens' Session (Maybe Text)
+ Amazonka.ECS.Types: setting_name :: Lens' Setting (Maybe SettingName)
+ Amazonka.ECS.Types: setting_principalArn :: Lens' Setting (Maybe Text)
+ Amazonka.ECS.Types: setting_value :: Lens' Setting (Maybe Text)
+ Amazonka.ECS.Types: systemControl_namespace :: Lens' SystemControl (Maybe Text)
+ Amazonka.ECS.Types: systemControl_value :: Lens' SystemControl (Maybe Text)
+ Amazonka.ECS.Types: tag_key :: Lens' Tag (Maybe Text)
+ Amazonka.ECS.Types: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.ECS.Types: taskDefinitionPlacementConstraint_expression :: Lens' TaskDefinitionPlacementConstraint (Maybe Text)
+ Amazonka.ECS.Types: taskDefinitionPlacementConstraint_type :: Lens' TaskDefinitionPlacementConstraint (Maybe TaskDefinitionPlacementConstraintType)
+ Amazonka.ECS.Types: taskDefinition_compatibilities :: Lens' TaskDefinition (Maybe [Compatibility])
+ Amazonka.ECS.Types: taskDefinition_containerDefinitions :: Lens' TaskDefinition (Maybe [ContainerDefinition])
+ Amazonka.ECS.Types: taskDefinition_cpu :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types: taskDefinition_deregisteredAt :: Lens' TaskDefinition (Maybe UTCTime)
+ Amazonka.ECS.Types: taskDefinition_ephemeralStorage :: Lens' TaskDefinition (Maybe EphemeralStorage)
+ Amazonka.ECS.Types: taskDefinition_executionRoleArn :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types: taskDefinition_family :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types: taskDefinition_inferenceAccelerators :: Lens' TaskDefinition (Maybe [InferenceAccelerator])
+ Amazonka.ECS.Types: taskDefinition_ipcMode :: Lens' TaskDefinition (Maybe IpcMode)
+ Amazonka.ECS.Types: taskDefinition_memory :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types: taskDefinition_networkMode :: Lens' TaskDefinition (Maybe NetworkMode)
+ Amazonka.ECS.Types: taskDefinition_pidMode :: Lens' TaskDefinition (Maybe PidMode)
+ Amazonka.ECS.Types: taskDefinition_placementConstraints :: Lens' TaskDefinition (Maybe [TaskDefinitionPlacementConstraint])
+ Amazonka.ECS.Types: taskDefinition_proxyConfiguration :: Lens' TaskDefinition (Maybe ProxyConfiguration)
+ Amazonka.ECS.Types: taskDefinition_registeredAt :: Lens' TaskDefinition (Maybe UTCTime)
+ Amazonka.ECS.Types: taskDefinition_registeredBy :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types: taskDefinition_requiresAttributes :: Lens' TaskDefinition (Maybe [Attribute])
+ Amazonka.ECS.Types: taskDefinition_requiresCompatibilities :: Lens' TaskDefinition (Maybe [Compatibility])
+ Amazonka.ECS.Types: taskDefinition_revision :: Lens' TaskDefinition (Maybe Int)
+ Amazonka.ECS.Types: taskDefinition_runtimePlatform :: Lens' TaskDefinition (Maybe RuntimePlatform)
+ Amazonka.ECS.Types: taskDefinition_status :: Lens' TaskDefinition (Maybe TaskDefinitionStatus)
+ Amazonka.ECS.Types: taskDefinition_taskDefinitionArn :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types: taskDefinition_taskRoleArn :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types: taskDefinition_volumes :: Lens' TaskDefinition (Maybe [Volume])
+ Amazonka.ECS.Types: taskOverride_containerOverrides :: Lens' TaskOverride (Maybe [ContainerOverride])
+ Amazonka.ECS.Types: taskOverride_cpu :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Types: taskOverride_ephemeralStorage :: Lens' TaskOverride (Maybe EphemeralStorage)
+ Amazonka.ECS.Types: taskOverride_executionRoleArn :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Types: taskOverride_inferenceAcceleratorOverrides :: Lens' TaskOverride (Maybe [InferenceAcceleratorOverride])
+ Amazonka.ECS.Types: taskOverride_memory :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Types: taskOverride_taskRoleArn :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Types: taskSet_capacityProviderStrategy :: Lens' TaskSet (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Types: taskSet_clusterArn :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types: taskSet_computedDesiredCount :: Lens' TaskSet (Maybe Int)
+ Amazonka.ECS.Types: taskSet_createdAt :: Lens' TaskSet (Maybe UTCTime)
+ Amazonka.ECS.Types: taskSet_externalId :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types: taskSet_id :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types: taskSet_launchType :: Lens' TaskSet (Maybe LaunchType)
+ Amazonka.ECS.Types: taskSet_loadBalancers :: Lens' TaskSet (Maybe [LoadBalancer])
+ Amazonka.ECS.Types: taskSet_networkConfiguration :: Lens' TaskSet (Maybe NetworkConfiguration)
+ Amazonka.ECS.Types: taskSet_pendingCount :: Lens' TaskSet (Maybe Int)
+ Amazonka.ECS.Types: taskSet_platformFamily :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types: taskSet_platformVersion :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types: taskSet_runningCount :: Lens' TaskSet (Maybe Int)
+ Amazonka.ECS.Types: taskSet_scale :: Lens' TaskSet (Maybe Scale)
+ Amazonka.ECS.Types: taskSet_serviceArn :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types: taskSet_serviceRegistries :: Lens' TaskSet (Maybe [ServiceRegistry])
+ Amazonka.ECS.Types: taskSet_stabilityStatus :: Lens' TaskSet (Maybe StabilityStatus)
+ Amazonka.ECS.Types: taskSet_stabilityStatusAt :: Lens' TaskSet (Maybe UTCTime)
+ Amazonka.ECS.Types: taskSet_startedBy :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types: taskSet_status :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types: taskSet_tags :: Lens' TaskSet (Maybe [Tag])
+ Amazonka.ECS.Types: taskSet_taskDefinition :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types: taskSet_taskSetArn :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types: taskSet_updatedAt :: Lens' TaskSet (Maybe UTCTime)
+ Amazonka.ECS.Types: task_attachments :: Lens' Task (Maybe [Attachment])
+ Amazonka.ECS.Types: task_attributes :: Lens' Task (Maybe [Attribute])
+ Amazonka.ECS.Types: task_availabilityZone :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_capacityProviderName :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_clusterArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_connectivity :: Lens' Task (Maybe Connectivity)
+ Amazonka.ECS.Types: task_connectivityAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types: task_containerInstanceArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_containers :: Lens' Task (Maybe [Container])
+ Amazonka.ECS.Types: task_cpu :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_createdAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types: task_desiredStatus :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_enableExecuteCommand :: Lens' Task (Maybe Bool)
+ Amazonka.ECS.Types: task_ephemeralStorage :: Lens' Task (Maybe EphemeralStorage)
+ Amazonka.ECS.Types: task_executionStoppedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types: task_group :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_healthStatus :: Lens' Task (Maybe HealthStatus)
+ Amazonka.ECS.Types: task_inferenceAccelerators :: Lens' Task (Maybe [InferenceAccelerator])
+ Amazonka.ECS.Types: task_lastStatus :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_launchType :: Lens' Task (Maybe LaunchType)
+ Amazonka.ECS.Types: task_memory :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_overrides :: Lens' Task (Maybe TaskOverride)
+ Amazonka.ECS.Types: task_platformFamily :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_platformVersion :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_pullStartedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types: task_pullStoppedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types: task_startedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types: task_startedBy :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_stopCode :: Lens' Task (Maybe TaskStopCode)
+ Amazonka.ECS.Types: task_stoppedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types: task_stoppedReason :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_stoppingAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types: task_tags :: Lens' Task (Maybe [Tag])
+ Amazonka.ECS.Types: task_taskArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_taskDefinitionArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types: task_version :: Lens' Task (Maybe Integer)
+ Amazonka.ECS.Types: tmpfs_containerPath :: Lens' Tmpfs Text
+ Amazonka.ECS.Types: tmpfs_mountOptions :: Lens' Tmpfs (Maybe [Text])
+ Amazonka.ECS.Types: tmpfs_size :: Lens' Tmpfs Int
+ Amazonka.ECS.Types: ulimit_hardLimit :: Lens' Ulimit Int
+ Amazonka.ECS.Types: ulimit_name :: Lens' Ulimit UlimitName
+ Amazonka.ECS.Types: ulimit_softLimit :: Lens' Ulimit Int
+ Amazonka.ECS.Types: versionInfo_agentHash :: Lens' VersionInfo (Maybe Text)
+ Amazonka.ECS.Types: versionInfo_agentVersion :: Lens' VersionInfo (Maybe Text)
+ Amazonka.ECS.Types: versionInfo_dockerVersion :: Lens' VersionInfo (Maybe Text)
+ Amazonka.ECS.Types: volumeFrom_readOnly :: Lens' VolumeFrom (Maybe Bool)
+ Amazonka.ECS.Types: volumeFrom_sourceContainer :: Lens' VolumeFrom (Maybe Text)
+ Amazonka.ECS.Types: volume_dockerVolumeConfiguration :: Lens' Volume (Maybe DockerVolumeConfiguration)
+ Amazonka.ECS.Types: volume_efsVolumeConfiguration :: Lens' Volume (Maybe EFSVolumeConfiguration)
+ Amazonka.ECS.Types: volume_fsxWindowsFileServerVolumeConfiguration :: Lens' Volume (Maybe FSxWindowsFileServerVolumeConfiguration)
+ Amazonka.ECS.Types: volume_host :: Lens' Volume (Maybe HostVolumeProperties)
+ Amazonka.ECS.Types: volume_name :: Lens' Volume (Maybe Text)
+ Amazonka.ECS.Types.AgentUpdateStatus: AgentUpdateStatus' :: Text -> AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: [fromAgentUpdateStatus] :: AgentUpdateStatus -> Text
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Control.DeepSeq.NFData Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance GHC.Classes.Eq Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance GHC.Classes.Ord Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance GHC.Generics.Generic Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance GHC.Read.Read Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: instance GHC.Show.Show Amazonka.ECS.Types.AgentUpdateStatus.AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: newtype AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: pattern AgentUpdateStatus_FAILED :: AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: pattern AgentUpdateStatus_PENDING :: AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: pattern AgentUpdateStatus_STAGED :: AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: pattern AgentUpdateStatus_STAGING :: AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: pattern AgentUpdateStatus_UPDATED :: AgentUpdateStatus
+ Amazonka.ECS.Types.AgentUpdateStatus: pattern AgentUpdateStatus_UPDATING :: AgentUpdateStatus
+ Amazonka.ECS.Types.ApplicationProtocol: ApplicationProtocol' :: Text -> ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: [fromApplicationProtocol] :: ApplicationProtocol -> Text
+ Amazonka.ECS.Types.ApplicationProtocol: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance GHC.Classes.Eq Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance GHC.Classes.Ord Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance GHC.Generics.Generic Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance GHC.Read.Read Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: instance GHC.Show.Show Amazonka.ECS.Types.ApplicationProtocol.ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: newtype ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: pattern ApplicationProtocol_Grpc :: ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: pattern ApplicationProtocol_Http :: ApplicationProtocol
+ Amazonka.ECS.Types.ApplicationProtocol: pattern ApplicationProtocol_Http2 :: ApplicationProtocol
+ Amazonka.ECS.Types.AssignPublicIp: AssignPublicIp' :: Text -> AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: [fromAssignPublicIp] :: AssignPublicIp -> Text
+ Amazonka.ECS.Types.AssignPublicIp: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Control.DeepSeq.NFData Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance GHC.Classes.Eq Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance GHC.Classes.Ord Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance GHC.Generics.Generic Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance GHC.Read.Read Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: instance GHC.Show.Show Amazonka.ECS.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: newtype AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: pattern AssignPublicIp_DISABLED :: AssignPublicIp
+ Amazonka.ECS.Types.AssignPublicIp: pattern AssignPublicIp_ENABLED :: AssignPublicIp
+ Amazonka.ECS.Types.Attachment: Attachment' :: Maybe [KeyValuePair] -> Maybe Text -> Maybe Text -> Maybe Text -> Attachment
+ Amazonka.ECS.Types.Attachment: [$sel:details:Attachment'] :: Attachment -> Maybe [KeyValuePair]
+ Amazonka.ECS.Types.Attachment: [$sel:id:Attachment'] :: Attachment -> Maybe Text
+ Amazonka.ECS.Types.Attachment: [$sel:status:Attachment'] :: Attachment -> Maybe Text
+ Amazonka.ECS.Types.Attachment: [$sel:type':Attachment'] :: Attachment -> Maybe Text
+ Amazonka.ECS.Types.Attachment: attachment_details :: Lens' Attachment (Maybe [KeyValuePair])
+ Amazonka.ECS.Types.Attachment: attachment_id :: Lens' Attachment (Maybe Text)
+ Amazonka.ECS.Types.Attachment: attachment_status :: Lens' Attachment (Maybe Text)
+ Amazonka.ECS.Types.Attachment: attachment_type :: Lens' Attachment (Maybe Text)
+ Amazonka.ECS.Types.Attachment: data Attachment
+ Amazonka.ECS.Types.Attachment: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Attachment.Attachment
+ Amazonka.ECS.Types.Attachment: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Attachment.Attachment
+ Amazonka.ECS.Types.Attachment: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Attachment.Attachment
+ Amazonka.ECS.Types.Attachment: instance GHC.Classes.Eq Amazonka.ECS.Types.Attachment.Attachment
+ Amazonka.ECS.Types.Attachment: instance GHC.Generics.Generic Amazonka.ECS.Types.Attachment.Attachment
+ Amazonka.ECS.Types.Attachment: instance GHC.Read.Read Amazonka.ECS.Types.Attachment.Attachment
+ Amazonka.ECS.Types.Attachment: instance GHC.Show.Show Amazonka.ECS.Types.Attachment.Attachment
+ Amazonka.ECS.Types.Attachment: newAttachment :: Attachment
+ Amazonka.ECS.Types.AttachmentStateChange: AttachmentStateChange' :: Text -> Text -> AttachmentStateChange
+ Amazonka.ECS.Types.AttachmentStateChange: [$sel:attachmentArn:AttachmentStateChange'] :: AttachmentStateChange -> Text
+ Amazonka.ECS.Types.AttachmentStateChange: [$sel:status:AttachmentStateChange'] :: AttachmentStateChange -> Text
+ Amazonka.ECS.Types.AttachmentStateChange: attachmentStateChange_attachmentArn :: Lens' AttachmentStateChange Text
+ Amazonka.ECS.Types.AttachmentStateChange: attachmentStateChange_status :: Lens' AttachmentStateChange Text
+ Amazonka.ECS.Types.AttachmentStateChange: data AttachmentStateChange
+ Amazonka.ECS.Types.AttachmentStateChange: instance Control.DeepSeq.NFData Amazonka.ECS.Types.AttachmentStateChange.AttachmentStateChange
+ Amazonka.ECS.Types.AttachmentStateChange: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.AttachmentStateChange.AttachmentStateChange
+ Amazonka.ECS.Types.AttachmentStateChange: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.AttachmentStateChange.AttachmentStateChange
+ Amazonka.ECS.Types.AttachmentStateChange: instance GHC.Classes.Eq Amazonka.ECS.Types.AttachmentStateChange.AttachmentStateChange
+ Amazonka.ECS.Types.AttachmentStateChange: instance GHC.Generics.Generic Amazonka.ECS.Types.AttachmentStateChange.AttachmentStateChange
+ Amazonka.ECS.Types.AttachmentStateChange: instance GHC.Read.Read Amazonka.ECS.Types.AttachmentStateChange.AttachmentStateChange
+ Amazonka.ECS.Types.AttachmentStateChange: instance GHC.Show.Show Amazonka.ECS.Types.AttachmentStateChange.AttachmentStateChange
+ Amazonka.ECS.Types.AttachmentStateChange: newAttachmentStateChange :: Text -> Text -> AttachmentStateChange
+ Amazonka.ECS.Types.Attribute: Attribute' :: Maybe Text -> Maybe TargetType -> Maybe Text -> Text -> Attribute
+ Amazonka.ECS.Types.Attribute: [$sel:name:Attribute'] :: Attribute -> Text
+ Amazonka.ECS.Types.Attribute: [$sel:targetId:Attribute'] :: Attribute -> Maybe Text
+ Amazonka.ECS.Types.Attribute: [$sel:targetType:Attribute'] :: Attribute -> Maybe TargetType
+ Amazonka.ECS.Types.Attribute: [$sel:value:Attribute'] :: Attribute -> Maybe Text
+ Amazonka.ECS.Types.Attribute: attribute_name :: Lens' Attribute Text
+ Amazonka.ECS.Types.Attribute: attribute_targetId :: Lens' Attribute (Maybe Text)
+ Amazonka.ECS.Types.Attribute: attribute_targetType :: Lens' Attribute (Maybe TargetType)
+ Amazonka.ECS.Types.Attribute: attribute_value :: Lens' Attribute (Maybe Text)
+ Amazonka.ECS.Types.Attribute: data Attribute
+ Amazonka.ECS.Types.Attribute: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Attribute.Attribute
+ Amazonka.ECS.Types.Attribute: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Attribute.Attribute
+ Amazonka.ECS.Types.Attribute: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Attribute.Attribute
+ Amazonka.ECS.Types.Attribute: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Attribute.Attribute
+ Amazonka.ECS.Types.Attribute: instance GHC.Classes.Eq Amazonka.ECS.Types.Attribute.Attribute
+ Amazonka.ECS.Types.Attribute: instance GHC.Generics.Generic Amazonka.ECS.Types.Attribute.Attribute
+ Amazonka.ECS.Types.Attribute: instance GHC.Read.Read Amazonka.ECS.Types.Attribute.Attribute
+ Amazonka.ECS.Types.Attribute: instance GHC.Show.Show Amazonka.ECS.Types.Attribute.Attribute
+ Amazonka.ECS.Types.Attribute: newAttribute :: Text -> Attribute
+ Amazonka.ECS.Types.AutoScalingGroupProvider: AutoScalingGroupProvider' :: Maybe ManagedScaling -> Maybe ManagedTerminationProtection -> Text -> AutoScalingGroupProvider
+ Amazonka.ECS.Types.AutoScalingGroupProvider: [$sel:autoScalingGroupArn:AutoScalingGroupProvider'] :: AutoScalingGroupProvider -> Text
+ Amazonka.ECS.Types.AutoScalingGroupProvider: [$sel:managedScaling:AutoScalingGroupProvider'] :: AutoScalingGroupProvider -> Maybe ManagedScaling
+ Amazonka.ECS.Types.AutoScalingGroupProvider: [$sel:managedTerminationProtection:AutoScalingGroupProvider'] :: AutoScalingGroupProvider -> Maybe ManagedTerminationProtection
+ Amazonka.ECS.Types.AutoScalingGroupProvider: autoScalingGroupProvider_autoScalingGroupArn :: Lens' AutoScalingGroupProvider Text
+ Amazonka.ECS.Types.AutoScalingGroupProvider: autoScalingGroupProvider_managedScaling :: Lens' AutoScalingGroupProvider (Maybe ManagedScaling)
+ Amazonka.ECS.Types.AutoScalingGroupProvider: autoScalingGroupProvider_managedTerminationProtection :: Lens' AutoScalingGroupProvider (Maybe ManagedTerminationProtection)
+ Amazonka.ECS.Types.AutoScalingGroupProvider: data AutoScalingGroupProvider
+ Amazonka.ECS.Types.AutoScalingGroupProvider: instance Control.DeepSeq.NFData Amazonka.ECS.Types.AutoScalingGroupProvider.AutoScalingGroupProvider
+ Amazonka.ECS.Types.AutoScalingGroupProvider: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.AutoScalingGroupProvider.AutoScalingGroupProvider
+ Amazonka.ECS.Types.AutoScalingGroupProvider: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.AutoScalingGroupProvider.AutoScalingGroupProvider
+ Amazonka.ECS.Types.AutoScalingGroupProvider: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.AutoScalingGroupProvider.AutoScalingGroupProvider
+ Amazonka.ECS.Types.AutoScalingGroupProvider: instance GHC.Classes.Eq Amazonka.ECS.Types.AutoScalingGroupProvider.AutoScalingGroupProvider
+ Amazonka.ECS.Types.AutoScalingGroupProvider: instance GHC.Generics.Generic Amazonka.ECS.Types.AutoScalingGroupProvider.AutoScalingGroupProvider
+ Amazonka.ECS.Types.AutoScalingGroupProvider: instance GHC.Read.Read Amazonka.ECS.Types.AutoScalingGroupProvider.AutoScalingGroupProvider
+ Amazonka.ECS.Types.AutoScalingGroupProvider: instance GHC.Show.Show Amazonka.ECS.Types.AutoScalingGroupProvider.AutoScalingGroupProvider
+ Amazonka.ECS.Types.AutoScalingGroupProvider: newAutoScalingGroupProvider :: Text -> AutoScalingGroupProvider
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: AutoScalingGroupProviderUpdate' :: Maybe ManagedScaling -> Maybe ManagedTerminationProtection -> AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: [$sel:managedScaling:AutoScalingGroupProviderUpdate'] :: AutoScalingGroupProviderUpdate -> Maybe ManagedScaling
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: [$sel:managedTerminationProtection:AutoScalingGroupProviderUpdate'] :: AutoScalingGroupProviderUpdate -> Maybe ManagedTerminationProtection
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: autoScalingGroupProviderUpdate_managedScaling :: Lens' AutoScalingGroupProviderUpdate (Maybe ManagedScaling)
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: autoScalingGroupProviderUpdate_managedTerminationProtection :: Lens' AutoScalingGroupProviderUpdate (Maybe ManagedTerminationProtection)
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: data AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: instance Control.DeepSeq.NFData Amazonka.ECS.Types.AutoScalingGroupProviderUpdate.AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.AutoScalingGroupProviderUpdate.AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.AutoScalingGroupProviderUpdate.AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: instance GHC.Classes.Eq Amazonka.ECS.Types.AutoScalingGroupProviderUpdate.AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: instance GHC.Generics.Generic Amazonka.ECS.Types.AutoScalingGroupProviderUpdate.AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: instance GHC.Read.Read Amazonka.ECS.Types.AutoScalingGroupProviderUpdate.AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: instance GHC.Show.Show Amazonka.ECS.Types.AutoScalingGroupProviderUpdate.AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate: newAutoScalingGroupProviderUpdate :: AutoScalingGroupProviderUpdate
+ Amazonka.ECS.Types.AwsVpcConfiguration: AwsVpcConfiguration' :: Maybe AssignPublicIp -> Maybe [Text] -> [Text] -> AwsVpcConfiguration
+ Amazonka.ECS.Types.AwsVpcConfiguration: [$sel:assignPublicIp:AwsVpcConfiguration'] :: AwsVpcConfiguration -> Maybe AssignPublicIp
+ Amazonka.ECS.Types.AwsVpcConfiguration: [$sel:securityGroups:AwsVpcConfiguration'] :: AwsVpcConfiguration -> Maybe [Text]
+ Amazonka.ECS.Types.AwsVpcConfiguration: [$sel:subnets:AwsVpcConfiguration'] :: AwsVpcConfiguration -> [Text]
+ Amazonka.ECS.Types.AwsVpcConfiguration: awsVpcConfiguration_assignPublicIp :: Lens' AwsVpcConfiguration (Maybe AssignPublicIp)
+ Amazonka.ECS.Types.AwsVpcConfiguration: awsVpcConfiguration_securityGroups :: Lens' AwsVpcConfiguration (Maybe [Text])
+ Amazonka.ECS.Types.AwsVpcConfiguration: awsVpcConfiguration_subnets :: Lens' AwsVpcConfiguration [Text]
+ Amazonka.ECS.Types.AwsVpcConfiguration: data AwsVpcConfiguration
+ Amazonka.ECS.Types.AwsVpcConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.ECS.Types.AwsVpcConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.ECS.Types.AwsVpcConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.ECS.Types.AwsVpcConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.ECS.Types.AwsVpcConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.ECS.Types.AwsVpcConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.ECS.Types.AwsVpcConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.ECS.Types.AwsVpcConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.ECS.Types.AwsVpcConfiguration: newAwsVpcConfiguration :: AwsVpcConfiguration
+ Amazonka.ECS.Types.CPUArchitecture: CPUArchitecture' :: Text -> CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: [fromCPUArchitecture] :: CPUArchitecture -> Text
+ Amazonka.ECS.Types.CPUArchitecture: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Control.DeepSeq.NFData Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance GHC.Classes.Eq Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance GHC.Classes.Ord Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance GHC.Generics.Generic Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance GHC.Read.Read Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: instance GHC.Show.Show Amazonka.ECS.Types.CPUArchitecture.CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: newtype CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: pattern CPUArchitecture_ARM64 :: CPUArchitecture
+ Amazonka.ECS.Types.CPUArchitecture: pattern CPUArchitecture_X86_64 :: CPUArchitecture
+ Amazonka.ECS.Types.CapacityProvider: CapacityProvider' :: Maybe AutoScalingGroupProvider -> Maybe Text -> Maybe Text -> Maybe CapacityProviderStatus -> Maybe [Tag] -> Maybe CapacityProviderUpdateStatus -> Maybe Text -> CapacityProvider
+ Amazonka.ECS.Types.CapacityProvider: [$sel:autoScalingGroupProvider:CapacityProvider'] :: CapacityProvider -> Maybe AutoScalingGroupProvider
+ Amazonka.ECS.Types.CapacityProvider: [$sel:capacityProviderArn:CapacityProvider'] :: CapacityProvider -> Maybe Text
+ Amazonka.ECS.Types.CapacityProvider: [$sel:name:CapacityProvider'] :: CapacityProvider -> Maybe Text
+ Amazonka.ECS.Types.CapacityProvider: [$sel:status:CapacityProvider'] :: CapacityProvider -> Maybe CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProvider: [$sel:tags:CapacityProvider'] :: CapacityProvider -> Maybe [Tag]
+ Amazonka.ECS.Types.CapacityProvider: [$sel:updateStatus:CapacityProvider'] :: CapacityProvider -> Maybe CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProvider: [$sel:updateStatusReason:CapacityProvider'] :: CapacityProvider -> Maybe Text
+ Amazonka.ECS.Types.CapacityProvider: capacityProvider_autoScalingGroupProvider :: Lens' CapacityProvider (Maybe AutoScalingGroupProvider)
+ Amazonka.ECS.Types.CapacityProvider: capacityProvider_capacityProviderArn :: Lens' CapacityProvider (Maybe Text)
+ Amazonka.ECS.Types.CapacityProvider: capacityProvider_name :: Lens' CapacityProvider (Maybe Text)
+ Amazonka.ECS.Types.CapacityProvider: capacityProvider_status :: Lens' CapacityProvider (Maybe CapacityProviderStatus)
+ Amazonka.ECS.Types.CapacityProvider: capacityProvider_tags :: Lens' CapacityProvider (Maybe [Tag])
+ Amazonka.ECS.Types.CapacityProvider: capacityProvider_updateStatus :: Lens' CapacityProvider (Maybe CapacityProviderUpdateStatus)
+ Amazonka.ECS.Types.CapacityProvider: capacityProvider_updateStatusReason :: Lens' CapacityProvider (Maybe Text)
+ Amazonka.ECS.Types.CapacityProvider: data CapacityProvider
+ Amazonka.ECS.Types.CapacityProvider: instance Control.DeepSeq.NFData Amazonka.ECS.Types.CapacityProvider.CapacityProvider
+ Amazonka.ECS.Types.CapacityProvider: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.CapacityProvider.CapacityProvider
+ Amazonka.ECS.Types.CapacityProvider: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.CapacityProvider.CapacityProvider
+ Amazonka.ECS.Types.CapacityProvider: instance GHC.Classes.Eq Amazonka.ECS.Types.CapacityProvider.CapacityProvider
+ Amazonka.ECS.Types.CapacityProvider: instance GHC.Generics.Generic Amazonka.ECS.Types.CapacityProvider.CapacityProvider
+ Amazonka.ECS.Types.CapacityProvider: instance GHC.Read.Read Amazonka.ECS.Types.CapacityProvider.CapacityProvider
+ Amazonka.ECS.Types.CapacityProvider: instance GHC.Show.Show Amazonka.ECS.Types.CapacityProvider.CapacityProvider
+ Amazonka.ECS.Types.CapacityProvider: newCapacityProvider :: CapacityProvider
+ Amazonka.ECS.Types.CapacityProviderField: CapacityProviderField' :: Text -> CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: [fromCapacityProviderField] :: CapacityProviderField -> Text
+ Amazonka.ECS.Types.CapacityProviderField: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Control.DeepSeq.NFData Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance GHC.Classes.Eq Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance GHC.Classes.Ord Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance GHC.Generics.Generic Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance GHC.Read.Read Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: instance GHC.Show.Show Amazonka.ECS.Types.CapacityProviderField.CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: newtype CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderField: pattern CapacityProviderField_TAGS :: CapacityProviderField
+ Amazonka.ECS.Types.CapacityProviderStatus: CapacityProviderStatus' :: Text -> CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: [fromCapacityProviderStatus] :: CapacityProviderStatus -> Text
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Control.DeepSeq.NFData Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance GHC.Classes.Eq Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance GHC.Classes.Ord Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance GHC.Generics.Generic Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance GHC.Read.Read Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: instance GHC.Show.Show Amazonka.ECS.Types.CapacityProviderStatus.CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: newtype CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: pattern CapacityProviderStatus_ACTIVE :: CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStatus: pattern CapacityProviderStatus_INACTIVE :: CapacityProviderStatus
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: CapacityProviderStrategyItem' :: Maybe Natural -> Maybe Natural -> Text -> CapacityProviderStrategyItem
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: [$sel:base:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Maybe Natural
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: [$sel:capacityProvider:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Text
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: [$sel:weight:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Maybe Natural
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: capacityProviderStrategyItem_base :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: capacityProviderStrategyItem_capacityProvider :: Lens' CapacityProviderStrategyItem Text
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: capacityProviderStrategyItem_weight :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: data CapacityProviderStrategyItem
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: instance Control.DeepSeq.NFData Amazonka.ECS.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: instance GHC.Classes.Eq Amazonka.ECS.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: instance GHC.Generics.Generic Amazonka.ECS.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: instance GHC.Read.Read Amazonka.ECS.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: instance GHC.Show.Show Amazonka.ECS.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.ECS.Types.CapacityProviderStrategyItem: newCapacityProviderStrategyItem :: Text -> CapacityProviderStrategyItem
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: CapacityProviderUpdateStatus' :: Text -> CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: [fromCapacityProviderUpdateStatus] :: CapacityProviderUpdateStatus -> Text
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Control.DeepSeq.NFData Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance GHC.Classes.Eq Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance GHC.Classes.Ord Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance GHC.Generics.Generic Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance GHC.Read.Read Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: instance GHC.Show.Show Amazonka.ECS.Types.CapacityProviderUpdateStatus.CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: newtype CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: pattern CapacityProviderUpdateStatus_DELETE_COMPLETE :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: pattern CapacityProviderUpdateStatus_DELETE_FAILED :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: pattern CapacityProviderUpdateStatus_DELETE_IN_PROGRESS :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: pattern CapacityProviderUpdateStatus_UPDATE_COMPLETE :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: pattern CapacityProviderUpdateStatus_UPDATE_FAILED :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.CapacityProviderUpdateStatus: pattern CapacityProviderUpdateStatus_UPDATE_IN_PROGRESS :: CapacityProviderUpdateStatus
+ Amazonka.ECS.Types.Cluster: Cluster' :: Maybe Int -> Maybe [Attachment] -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe ClusterConfiguration -> Maybe [CapacityProviderStrategyItem] -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe ClusterServiceConnectDefaults -> Maybe [ClusterSetting] -> Maybe [KeyValuePair] -> Maybe Text -> Maybe [Tag] -> Cluster
+ Amazonka.ECS.Types.Cluster: [$sel:activeServicesCount:Cluster'] :: Cluster -> Maybe Int
+ Amazonka.ECS.Types.Cluster: [$sel:attachments:Cluster'] :: Cluster -> Maybe [Attachment]
+ Amazonka.ECS.Types.Cluster: [$sel:attachmentsStatus:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.ECS.Types.Cluster: [$sel:capacityProviders:Cluster'] :: Cluster -> Maybe [Text]
+ Amazonka.ECS.Types.Cluster: [$sel:clusterArn:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.ECS.Types.Cluster: [$sel:clusterName:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.ECS.Types.Cluster: [$sel:configuration:Cluster'] :: Cluster -> Maybe ClusterConfiguration
+ Amazonka.ECS.Types.Cluster: [$sel:defaultCapacityProviderStrategy:Cluster'] :: Cluster -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.Types.Cluster: [$sel:pendingTasksCount:Cluster'] :: Cluster -> Maybe Int
+ Amazonka.ECS.Types.Cluster: [$sel:registeredContainerInstancesCount:Cluster'] :: Cluster -> Maybe Int
+ Amazonka.ECS.Types.Cluster: [$sel:runningTasksCount:Cluster'] :: Cluster -> Maybe Int
+ Amazonka.ECS.Types.Cluster: [$sel:serviceConnectDefaults:Cluster'] :: Cluster -> Maybe ClusterServiceConnectDefaults
+ Amazonka.ECS.Types.Cluster: [$sel:settings:Cluster'] :: Cluster -> Maybe [ClusterSetting]
+ Amazonka.ECS.Types.Cluster: [$sel:statistics:Cluster'] :: Cluster -> Maybe [KeyValuePair]
+ Amazonka.ECS.Types.Cluster: [$sel:status:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.ECS.Types.Cluster: [$sel:tags:Cluster'] :: Cluster -> Maybe [Tag]
+ Amazonka.ECS.Types.Cluster: cluster_activeServicesCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Types.Cluster: cluster_attachments :: Lens' Cluster (Maybe [Attachment])
+ Amazonka.ECS.Types.Cluster: cluster_attachmentsStatus :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Types.Cluster: cluster_capacityProviders :: Lens' Cluster (Maybe [Text])
+ Amazonka.ECS.Types.Cluster: cluster_clusterArn :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Types.Cluster: cluster_clusterName :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Types.Cluster: cluster_configuration :: Lens' Cluster (Maybe ClusterConfiguration)
+ Amazonka.ECS.Types.Cluster: cluster_defaultCapacityProviderStrategy :: Lens' Cluster (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Types.Cluster: cluster_pendingTasksCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Types.Cluster: cluster_registeredContainerInstancesCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Types.Cluster: cluster_runningTasksCount :: Lens' Cluster (Maybe Int)
+ Amazonka.ECS.Types.Cluster: cluster_serviceConnectDefaults :: Lens' Cluster (Maybe ClusterServiceConnectDefaults)
+ Amazonka.ECS.Types.Cluster: cluster_settings :: Lens' Cluster (Maybe [ClusterSetting])
+ Amazonka.ECS.Types.Cluster: cluster_statistics :: Lens' Cluster (Maybe [KeyValuePair])
+ Amazonka.ECS.Types.Cluster: cluster_status :: Lens' Cluster (Maybe Text)
+ Amazonka.ECS.Types.Cluster: cluster_tags :: Lens' Cluster (Maybe [Tag])
+ Amazonka.ECS.Types.Cluster: data Cluster
+ Amazonka.ECS.Types.Cluster: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Cluster.Cluster
+ Amazonka.ECS.Types.Cluster: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Cluster.Cluster
+ Amazonka.ECS.Types.Cluster: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Cluster.Cluster
+ Amazonka.ECS.Types.Cluster: instance GHC.Classes.Eq Amazonka.ECS.Types.Cluster.Cluster
+ Amazonka.ECS.Types.Cluster: instance GHC.Generics.Generic Amazonka.ECS.Types.Cluster.Cluster
+ Amazonka.ECS.Types.Cluster: instance GHC.Read.Read Amazonka.ECS.Types.Cluster.Cluster
+ Amazonka.ECS.Types.Cluster: instance GHC.Show.Show Amazonka.ECS.Types.Cluster.Cluster
+ Amazonka.ECS.Types.Cluster: newCluster :: Cluster
+ Amazonka.ECS.Types.ClusterConfiguration: ClusterConfiguration' :: Maybe ExecuteCommandConfiguration -> ClusterConfiguration
+ Amazonka.ECS.Types.ClusterConfiguration: [$sel:executeCommandConfiguration:ClusterConfiguration'] :: ClusterConfiguration -> Maybe ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ClusterConfiguration: clusterConfiguration_executeCommandConfiguration :: Lens' ClusterConfiguration (Maybe ExecuteCommandConfiguration)
+ Amazonka.ECS.Types.ClusterConfiguration: data ClusterConfiguration
+ Amazonka.ECS.Types.ClusterConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ClusterConfiguration.ClusterConfiguration
+ Amazonka.ECS.Types.ClusterConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ClusterConfiguration.ClusterConfiguration
+ Amazonka.ECS.Types.ClusterConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ClusterConfiguration.ClusterConfiguration
+ Amazonka.ECS.Types.ClusterConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ClusterConfiguration.ClusterConfiguration
+ Amazonka.ECS.Types.ClusterConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.ClusterConfiguration.ClusterConfiguration
+ Amazonka.ECS.Types.ClusterConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.ClusterConfiguration.ClusterConfiguration
+ Amazonka.ECS.Types.ClusterConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.ClusterConfiguration.ClusterConfiguration
+ Amazonka.ECS.Types.ClusterConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.ClusterConfiguration.ClusterConfiguration
+ Amazonka.ECS.Types.ClusterConfiguration: newClusterConfiguration :: ClusterConfiguration
+ Amazonka.ECS.Types.ClusterField: ClusterField' :: Text -> ClusterField
+ Amazonka.ECS.Types.ClusterField: [fromClusterField] :: ClusterField -> Text
+ Amazonka.ECS.Types.ClusterField: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance GHC.Classes.Eq Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance GHC.Classes.Ord Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance GHC.Generics.Generic Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance GHC.Read.Read Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: instance GHC.Show.Show Amazonka.ECS.Types.ClusterField.ClusterField
+ Amazonka.ECS.Types.ClusterField: newtype ClusterField
+ Amazonka.ECS.Types.ClusterField: pattern ClusterField_ATTACHMENTS :: ClusterField
+ Amazonka.ECS.Types.ClusterField: pattern ClusterField_CONFIGURATIONS :: ClusterField
+ Amazonka.ECS.Types.ClusterField: pattern ClusterField_SETTINGS :: ClusterField
+ Amazonka.ECS.Types.ClusterField: pattern ClusterField_STATISTICS :: ClusterField
+ Amazonka.ECS.Types.ClusterField: pattern ClusterField_TAGS :: ClusterField
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: ClusterServiceConnectDefaults' :: Maybe Text -> ClusterServiceConnectDefaults
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: [$sel:namespace:ClusterServiceConnectDefaults'] :: ClusterServiceConnectDefaults -> Maybe Text
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: clusterServiceConnectDefaults_namespace :: Lens' ClusterServiceConnectDefaults (Maybe Text)
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: data ClusterServiceConnectDefaults
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ClusterServiceConnectDefaults.ClusterServiceConnectDefaults
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ClusterServiceConnectDefaults.ClusterServiceConnectDefaults
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ClusterServiceConnectDefaults.ClusterServiceConnectDefaults
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: instance GHC.Classes.Eq Amazonka.ECS.Types.ClusterServiceConnectDefaults.ClusterServiceConnectDefaults
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: instance GHC.Generics.Generic Amazonka.ECS.Types.ClusterServiceConnectDefaults.ClusterServiceConnectDefaults
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: instance GHC.Read.Read Amazonka.ECS.Types.ClusterServiceConnectDefaults.ClusterServiceConnectDefaults
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: instance GHC.Show.Show Amazonka.ECS.Types.ClusterServiceConnectDefaults.ClusterServiceConnectDefaults
+ Amazonka.ECS.Types.ClusterServiceConnectDefaults: newClusterServiceConnectDefaults :: ClusterServiceConnectDefaults
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: ClusterServiceConnectDefaultsRequest' :: Text -> ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: [$sel:namespace:ClusterServiceConnectDefaultsRequest'] :: ClusterServiceConnectDefaultsRequest -> Text
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: clusterServiceConnectDefaultsRequest_namespace :: Lens' ClusterServiceConnectDefaultsRequest Text
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: data ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest.ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest.ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest.ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: instance GHC.Classes.Eq Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest.ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: instance GHC.Generics.Generic Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest.ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: instance GHC.Read.Read Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest.ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: instance GHC.Show.Show Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest.ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest: newClusterServiceConnectDefaultsRequest :: Text -> ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.Types.ClusterSetting: ClusterSetting' :: Maybe ClusterSettingName -> Maybe Text -> ClusterSetting
+ Amazonka.ECS.Types.ClusterSetting: [$sel:name:ClusterSetting'] :: ClusterSetting -> Maybe ClusterSettingName
+ Amazonka.ECS.Types.ClusterSetting: [$sel:value:ClusterSetting'] :: ClusterSetting -> Maybe Text
+ Amazonka.ECS.Types.ClusterSetting: clusterSetting_name :: Lens' ClusterSetting (Maybe ClusterSettingName)
+ Amazonka.ECS.Types.ClusterSetting: clusterSetting_value :: Lens' ClusterSetting (Maybe Text)
+ Amazonka.ECS.Types.ClusterSetting: data ClusterSetting
+ Amazonka.ECS.Types.ClusterSetting: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ClusterSetting.ClusterSetting
+ Amazonka.ECS.Types.ClusterSetting: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ClusterSetting.ClusterSetting
+ Amazonka.ECS.Types.ClusterSetting: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ClusterSetting.ClusterSetting
+ Amazonka.ECS.Types.ClusterSetting: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ClusterSetting.ClusterSetting
+ Amazonka.ECS.Types.ClusterSetting: instance GHC.Classes.Eq Amazonka.ECS.Types.ClusterSetting.ClusterSetting
+ Amazonka.ECS.Types.ClusterSetting: instance GHC.Generics.Generic Amazonka.ECS.Types.ClusterSetting.ClusterSetting
+ Amazonka.ECS.Types.ClusterSetting: instance GHC.Read.Read Amazonka.ECS.Types.ClusterSetting.ClusterSetting
+ Amazonka.ECS.Types.ClusterSetting: instance GHC.Show.Show Amazonka.ECS.Types.ClusterSetting.ClusterSetting
+ Amazonka.ECS.Types.ClusterSetting: newClusterSetting :: ClusterSetting
+ Amazonka.ECS.Types.ClusterSettingName: ClusterSettingName' :: Text -> ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: [fromClusterSettingName] :: ClusterSettingName -> Text
+ Amazonka.ECS.Types.ClusterSettingName: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance GHC.Classes.Eq Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance GHC.Classes.Ord Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance GHC.Generics.Generic Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance GHC.Read.Read Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: instance GHC.Show.Show Amazonka.ECS.Types.ClusterSettingName.ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: newtype ClusterSettingName
+ Amazonka.ECS.Types.ClusterSettingName: pattern ClusterSettingName_ContainerInsights :: ClusterSettingName
+ Amazonka.ECS.Types.Compatibility: Compatibility' :: Text -> Compatibility
+ Amazonka.ECS.Types.Compatibility: [fromCompatibility] :: Compatibility -> Text
+ Amazonka.ECS.Types.Compatibility: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance GHC.Classes.Eq Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance GHC.Classes.Ord Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance GHC.Generics.Generic Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance GHC.Read.Read Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: instance GHC.Show.Show Amazonka.ECS.Types.Compatibility.Compatibility
+ Amazonka.ECS.Types.Compatibility: newtype Compatibility
+ Amazonka.ECS.Types.Compatibility: pattern Compatibility_EC2 :: Compatibility
+ Amazonka.ECS.Types.Compatibility: pattern Compatibility_EXTERNAL :: Compatibility
+ Amazonka.ECS.Types.Compatibility: pattern Compatibility_FARGATE :: Compatibility
+ Amazonka.ECS.Types.Connectivity: Connectivity' :: Text -> Connectivity
+ Amazonka.ECS.Types.Connectivity: [fromConnectivity] :: Connectivity -> Text
+ Amazonka.ECS.Types.Connectivity: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance GHC.Classes.Eq Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance GHC.Classes.Ord Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance GHC.Generics.Generic Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance GHC.Read.Read Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: instance GHC.Show.Show Amazonka.ECS.Types.Connectivity.Connectivity
+ Amazonka.ECS.Types.Connectivity: newtype Connectivity
+ Amazonka.ECS.Types.Connectivity: pattern Connectivity_CONNECTED :: Connectivity
+ Amazonka.ECS.Types.Connectivity: pattern Connectivity_DISCONNECTED :: Connectivity
+ Amazonka.ECS.Types.Container: Container' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe HealthStatus -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [ManagedAgent] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [NetworkBinding] -> Maybe [NetworkInterface] -> Maybe Text -> Maybe Text -> Maybe Text -> Container
+ Amazonka.ECS.Types.Container: [$sel:containerArn:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types.Container: [$sel:cpu:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types.Container: [$sel:exitCode:Container'] :: Container -> Maybe Int
+ Amazonka.ECS.Types.Container: [$sel:gpuIds:Container'] :: Container -> Maybe [Text]
+ Amazonka.ECS.Types.Container: [$sel:healthStatus:Container'] :: Container -> Maybe HealthStatus
+ Amazonka.ECS.Types.Container: [$sel:image:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types.Container: [$sel:imageDigest:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types.Container: [$sel:lastStatus:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types.Container: [$sel:managedAgents:Container'] :: Container -> Maybe [ManagedAgent]
+ Amazonka.ECS.Types.Container: [$sel:memory:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types.Container: [$sel:memoryReservation:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types.Container: [$sel:name:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types.Container: [$sel:networkBindings:Container'] :: Container -> Maybe [NetworkBinding]
+ Amazonka.ECS.Types.Container: [$sel:networkInterfaces:Container'] :: Container -> Maybe [NetworkInterface]
+ Amazonka.ECS.Types.Container: [$sel:reason:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types.Container: [$sel:runtimeId:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types.Container: [$sel:taskArn:Container'] :: Container -> Maybe Text
+ Amazonka.ECS.Types.Container: container_containerArn :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types.Container: container_cpu :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types.Container: container_exitCode :: Lens' Container (Maybe Int)
+ Amazonka.ECS.Types.Container: container_gpuIds :: Lens' Container (Maybe [Text])
+ Amazonka.ECS.Types.Container: container_healthStatus :: Lens' Container (Maybe HealthStatus)
+ Amazonka.ECS.Types.Container: container_image :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types.Container: container_imageDigest :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types.Container: container_lastStatus :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types.Container: container_managedAgents :: Lens' Container (Maybe [ManagedAgent])
+ Amazonka.ECS.Types.Container: container_memory :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types.Container: container_memoryReservation :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types.Container: container_name :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types.Container: container_networkBindings :: Lens' Container (Maybe [NetworkBinding])
+ Amazonka.ECS.Types.Container: container_networkInterfaces :: Lens' Container (Maybe [NetworkInterface])
+ Amazonka.ECS.Types.Container: container_reason :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types.Container: container_runtimeId :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types.Container: container_taskArn :: Lens' Container (Maybe Text)
+ Amazonka.ECS.Types.Container: data Container
+ Amazonka.ECS.Types.Container: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Container.Container
+ Amazonka.ECS.Types.Container: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Container.Container
+ Amazonka.ECS.Types.Container: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Container.Container
+ Amazonka.ECS.Types.Container: instance GHC.Classes.Eq Amazonka.ECS.Types.Container.Container
+ Amazonka.ECS.Types.Container: instance GHC.Generics.Generic Amazonka.ECS.Types.Container.Container
+ Amazonka.ECS.Types.Container: instance GHC.Read.Read Amazonka.ECS.Types.Container.Container
+ Amazonka.ECS.Types.Container: instance GHC.Show.Show Amazonka.ECS.Types.Container.Container
+ Amazonka.ECS.Types.Container: newContainer :: Container
+ Amazonka.ECS.Types.ContainerCondition: ContainerCondition' :: Text -> ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: [fromContainerCondition] :: ContainerCondition -> Text
+ Amazonka.ECS.Types.ContainerCondition: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance GHC.Classes.Eq Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance GHC.Classes.Ord Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance GHC.Generics.Generic Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance GHC.Read.Read Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: instance GHC.Show.Show Amazonka.ECS.Types.ContainerCondition.ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: newtype ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: pattern ContainerCondition_COMPLETE :: ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: pattern ContainerCondition_HEALTHY :: ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: pattern ContainerCondition_START :: ContainerCondition
+ Amazonka.ECS.Types.ContainerCondition: pattern ContainerCondition_SUCCESS :: ContainerCondition
+ Amazonka.ECS.Types.ContainerDefinition: ContainerDefinition' :: Maybe [Text] -> Maybe Int -> Maybe [ContainerDependency] -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe [KeyValuePair] -> Maybe [EnvironmentFile] -> Maybe Bool -> Maybe [HostEntry] -> Maybe FirelensConfiguration -> Maybe HealthCheck -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe [Text] -> Maybe LinuxParameters -> Maybe LogConfiguration -> Maybe Int -> Maybe Int -> Maybe [MountPoint] -> Maybe Text -> Maybe [PortMapping] -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe RepositoryCredentials -> Maybe [ResourceRequirement] -> Maybe [Secret] -> Maybe Int -> Maybe Int -> Maybe [SystemControl] -> Maybe [Ulimit] -> Maybe Text -> Maybe [VolumeFrom] -> Maybe Text -> ContainerDefinition
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:command:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:cpu:ContainerDefinition'] :: ContainerDefinition -> Maybe Int
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:dependsOn:ContainerDefinition'] :: ContainerDefinition -> Maybe [ContainerDependency]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:disableNetworking:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:dnsSearchDomains:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:dnsServers:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:dockerLabels:ContainerDefinition'] :: ContainerDefinition -> Maybe (HashMap Text Text)
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:dockerSecurityOptions:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:entryPoint:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:environment:ContainerDefinition'] :: ContainerDefinition -> Maybe [KeyValuePair]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:environmentFiles:ContainerDefinition'] :: ContainerDefinition -> Maybe [EnvironmentFile]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:essential:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:extraHosts:ContainerDefinition'] :: ContainerDefinition -> Maybe [HostEntry]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:firelensConfiguration:ContainerDefinition'] :: ContainerDefinition -> Maybe FirelensConfiguration
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:healthCheck:ContainerDefinition'] :: ContainerDefinition -> Maybe HealthCheck
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:hostname:ContainerDefinition'] :: ContainerDefinition -> Maybe Text
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:image:ContainerDefinition'] :: ContainerDefinition -> Maybe Text
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:interactive:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:links:ContainerDefinition'] :: ContainerDefinition -> Maybe [Text]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:linuxParameters:ContainerDefinition'] :: ContainerDefinition -> Maybe LinuxParameters
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:logConfiguration:ContainerDefinition'] :: ContainerDefinition -> Maybe LogConfiguration
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:memory:ContainerDefinition'] :: ContainerDefinition -> Maybe Int
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:memoryReservation:ContainerDefinition'] :: ContainerDefinition -> Maybe Int
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:mountPoints:ContainerDefinition'] :: ContainerDefinition -> Maybe [MountPoint]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:name:ContainerDefinition'] :: ContainerDefinition -> Maybe Text
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:portMappings:ContainerDefinition'] :: ContainerDefinition -> Maybe [PortMapping]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:privileged:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:pseudoTerminal:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:readonlyRootFilesystem:ContainerDefinition'] :: ContainerDefinition -> Maybe Bool
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:repositoryCredentials:ContainerDefinition'] :: ContainerDefinition -> Maybe RepositoryCredentials
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:resourceRequirements:ContainerDefinition'] :: ContainerDefinition -> Maybe [ResourceRequirement]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:secrets:ContainerDefinition'] :: ContainerDefinition -> Maybe [Secret]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:startTimeout:ContainerDefinition'] :: ContainerDefinition -> Maybe Int
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:stopTimeout:ContainerDefinition'] :: ContainerDefinition -> Maybe Int
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:systemControls:ContainerDefinition'] :: ContainerDefinition -> Maybe [SystemControl]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:ulimits:ContainerDefinition'] :: ContainerDefinition -> Maybe [Ulimit]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:user:ContainerDefinition'] :: ContainerDefinition -> Maybe Text
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:volumesFrom:ContainerDefinition'] :: ContainerDefinition -> Maybe [VolumeFrom]
+ Amazonka.ECS.Types.ContainerDefinition: [$sel:workingDirectory:ContainerDefinition'] :: ContainerDefinition -> Maybe Text
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_command :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_cpu :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_dependsOn :: Lens' ContainerDefinition (Maybe [ContainerDependency])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_disableNetworking :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_dnsSearchDomains :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_dnsServers :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_dockerLabels :: Lens' ContainerDefinition (Maybe (HashMap Text Text))
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_dockerSecurityOptions :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_entryPoint :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_environment :: Lens' ContainerDefinition (Maybe [KeyValuePair])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_environmentFiles :: Lens' ContainerDefinition (Maybe [EnvironmentFile])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_essential :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_extraHosts :: Lens' ContainerDefinition (Maybe [HostEntry])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_firelensConfiguration :: Lens' ContainerDefinition (Maybe FirelensConfiguration)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_healthCheck :: Lens' ContainerDefinition (Maybe HealthCheck)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_hostname :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_image :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_interactive :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_links :: Lens' ContainerDefinition (Maybe [Text])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_linuxParameters :: Lens' ContainerDefinition (Maybe LinuxParameters)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_logConfiguration :: Lens' ContainerDefinition (Maybe LogConfiguration)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_memory :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_memoryReservation :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_mountPoints :: Lens' ContainerDefinition (Maybe [MountPoint])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_name :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_portMappings :: Lens' ContainerDefinition (Maybe [PortMapping])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_privileged :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_pseudoTerminal :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_readonlyRootFilesystem :: Lens' ContainerDefinition (Maybe Bool)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_repositoryCredentials :: Lens' ContainerDefinition (Maybe RepositoryCredentials)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_resourceRequirements :: Lens' ContainerDefinition (Maybe [ResourceRequirement])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_secrets :: Lens' ContainerDefinition (Maybe [Secret])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_startTimeout :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_stopTimeout :: Lens' ContainerDefinition (Maybe Int)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_systemControls :: Lens' ContainerDefinition (Maybe [SystemControl])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_ulimits :: Lens' ContainerDefinition (Maybe [Ulimit])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_user :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_volumesFrom :: Lens' ContainerDefinition (Maybe [VolumeFrom])
+ Amazonka.ECS.Types.ContainerDefinition: containerDefinition_workingDirectory :: Lens' ContainerDefinition (Maybe Text)
+ Amazonka.ECS.Types.ContainerDefinition: data ContainerDefinition
+ Amazonka.ECS.Types.ContainerDefinition: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ContainerDefinition.ContainerDefinition
+ Amazonka.ECS.Types.ContainerDefinition: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ContainerDefinition.ContainerDefinition
+ Amazonka.ECS.Types.ContainerDefinition: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ContainerDefinition.ContainerDefinition
+ Amazonka.ECS.Types.ContainerDefinition: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ContainerDefinition.ContainerDefinition
+ Amazonka.ECS.Types.ContainerDefinition: instance GHC.Classes.Eq Amazonka.ECS.Types.ContainerDefinition.ContainerDefinition
+ Amazonka.ECS.Types.ContainerDefinition: instance GHC.Generics.Generic Amazonka.ECS.Types.ContainerDefinition.ContainerDefinition
+ Amazonka.ECS.Types.ContainerDefinition: instance GHC.Read.Read Amazonka.ECS.Types.ContainerDefinition.ContainerDefinition
+ Amazonka.ECS.Types.ContainerDefinition: instance GHC.Show.Show Amazonka.ECS.Types.ContainerDefinition.ContainerDefinition
+ Amazonka.ECS.Types.ContainerDefinition: newContainerDefinition :: ContainerDefinition
+ Amazonka.ECS.Types.ContainerDependency: ContainerDependency' :: Text -> ContainerCondition -> ContainerDependency
+ Amazonka.ECS.Types.ContainerDependency: [$sel:condition:ContainerDependency'] :: ContainerDependency -> ContainerCondition
+ Amazonka.ECS.Types.ContainerDependency: [$sel:containerName:ContainerDependency'] :: ContainerDependency -> Text
+ Amazonka.ECS.Types.ContainerDependency: containerDependency_condition :: Lens' ContainerDependency ContainerCondition
+ Amazonka.ECS.Types.ContainerDependency: containerDependency_containerName :: Lens' ContainerDependency Text
+ Amazonka.ECS.Types.ContainerDependency: data ContainerDependency
+ Amazonka.ECS.Types.ContainerDependency: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ContainerDependency.ContainerDependency
+ Amazonka.ECS.Types.ContainerDependency: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ContainerDependency.ContainerDependency
+ Amazonka.ECS.Types.ContainerDependency: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ContainerDependency.ContainerDependency
+ Amazonka.ECS.Types.ContainerDependency: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ContainerDependency.ContainerDependency
+ Amazonka.ECS.Types.ContainerDependency: instance GHC.Classes.Eq Amazonka.ECS.Types.ContainerDependency.ContainerDependency
+ Amazonka.ECS.Types.ContainerDependency: instance GHC.Generics.Generic Amazonka.ECS.Types.ContainerDependency.ContainerDependency
+ Amazonka.ECS.Types.ContainerDependency: instance GHC.Read.Read Amazonka.ECS.Types.ContainerDependency.ContainerDependency
+ Amazonka.ECS.Types.ContainerDependency: instance GHC.Show.Show Amazonka.ECS.Types.ContainerDependency.ContainerDependency
+ Amazonka.ECS.Types.ContainerDependency: newContainerDependency :: Text -> ContainerCondition -> ContainerDependency
+ Amazonka.ECS.Types.ContainerInstance: ContainerInstance' :: Maybe Bool -> Maybe AgentUpdateStatus -> Maybe [Attachment] -> Maybe [Attribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ContainerInstanceHealthStatus -> Maybe Int -> Maybe POSIX -> Maybe [Resource] -> Maybe [Resource] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Maybe Integer -> Maybe VersionInfo -> ContainerInstance
+ Amazonka.ECS.Types.ContainerInstance: [$sel:agentConnected:ContainerInstance'] :: ContainerInstance -> Maybe Bool
+ Amazonka.ECS.Types.ContainerInstance: [$sel:agentUpdateStatus:ContainerInstance'] :: ContainerInstance -> Maybe AgentUpdateStatus
+ Amazonka.ECS.Types.ContainerInstance: [$sel:attachments:ContainerInstance'] :: ContainerInstance -> Maybe [Attachment]
+ Amazonka.ECS.Types.ContainerInstance: [$sel:attributes:ContainerInstance'] :: ContainerInstance -> Maybe [Attribute]
+ Amazonka.ECS.Types.ContainerInstance: [$sel:capacityProviderName:ContainerInstance'] :: ContainerInstance -> Maybe Text
+ Amazonka.ECS.Types.ContainerInstance: [$sel:containerInstanceArn:ContainerInstance'] :: ContainerInstance -> Maybe Text
+ Amazonka.ECS.Types.ContainerInstance: [$sel:ec2InstanceId:ContainerInstance'] :: ContainerInstance -> Maybe Text
+ Amazonka.ECS.Types.ContainerInstance: [$sel:healthStatus:ContainerInstance'] :: ContainerInstance -> Maybe ContainerInstanceHealthStatus
+ Amazonka.ECS.Types.ContainerInstance: [$sel:pendingTasksCount:ContainerInstance'] :: ContainerInstance -> Maybe Int
+ Amazonka.ECS.Types.ContainerInstance: [$sel:registeredAt:ContainerInstance'] :: ContainerInstance -> Maybe POSIX
+ Amazonka.ECS.Types.ContainerInstance: [$sel:registeredResources:ContainerInstance'] :: ContainerInstance -> Maybe [Resource]
+ Amazonka.ECS.Types.ContainerInstance: [$sel:remainingResources:ContainerInstance'] :: ContainerInstance -> Maybe [Resource]
+ Amazonka.ECS.Types.ContainerInstance: [$sel:runningTasksCount:ContainerInstance'] :: ContainerInstance -> Maybe Int
+ Amazonka.ECS.Types.ContainerInstance: [$sel:status:ContainerInstance'] :: ContainerInstance -> Maybe Text
+ Amazonka.ECS.Types.ContainerInstance: [$sel:statusReason:ContainerInstance'] :: ContainerInstance -> Maybe Text
+ Amazonka.ECS.Types.ContainerInstance: [$sel:tags:ContainerInstance'] :: ContainerInstance -> Maybe [Tag]
+ Amazonka.ECS.Types.ContainerInstance: [$sel:version:ContainerInstance'] :: ContainerInstance -> Maybe Integer
+ Amazonka.ECS.Types.ContainerInstance: [$sel:versionInfo:ContainerInstance'] :: ContainerInstance -> Maybe VersionInfo
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_agentConnected :: Lens' ContainerInstance (Maybe Bool)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_agentUpdateStatus :: Lens' ContainerInstance (Maybe AgentUpdateStatus)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_attachments :: Lens' ContainerInstance (Maybe [Attachment])
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_attributes :: Lens' ContainerInstance (Maybe [Attribute])
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_capacityProviderName :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_containerInstanceArn :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_ec2InstanceId :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_healthStatus :: Lens' ContainerInstance (Maybe ContainerInstanceHealthStatus)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_pendingTasksCount :: Lens' ContainerInstance (Maybe Int)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_registeredAt :: Lens' ContainerInstance (Maybe UTCTime)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_registeredResources :: Lens' ContainerInstance (Maybe [Resource])
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_remainingResources :: Lens' ContainerInstance (Maybe [Resource])
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_runningTasksCount :: Lens' ContainerInstance (Maybe Int)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_status :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_statusReason :: Lens' ContainerInstance (Maybe Text)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_tags :: Lens' ContainerInstance (Maybe [Tag])
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_version :: Lens' ContainerInstance (Maybe Integer)
+ Amazonka.ECS.Types.ContainerInstance: containerInstance_versionInfo :: Lens' ContainerInstance (Maybe VersionInfo)
+ Amazonka.ECS.Types.ContainerInstance: data ContainerInstance
+ Amazonka.ECS.Types.ContainerInstance: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ContainerInstance.ContainerInstance
+ Amazonka.ECS.Types.ContainerInstance: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ContainerInstance.ContainerInstance
+ Amazonka.ECS.Types.ContainerInstance: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ContainerInstance.ContainerInstance
+ Amazonka.ECS.Types.ContainerInstance: instance GHC.Classes.Eq Amazonka.ECS.Types.ContainerInstance.ContainerInstance
+ Amazonka.ECS.Types.ContainerInstance: instance GHC.Generics.Generic Amazonka.ECS.Types.ContainerInstance.ContainerInstance
+ Amazonka.ECS.Types.ContainerInstance: instance GHC.Read.Read Amazonka.ECS.Types.ContainerInstance.ContainerInstance
+ Amazonka.ECS.Types.ContainerInstance: instance GHC.Show.Show Amazonka.ECS.Types.ContainerInstance.ContainerInstance
+ Amazonka.ECS.Types.ContainerInstance: newContainerInstance :: ContainerInstance
+ Amazonka.ECS.Types.ContainerInstanceField: ContainerInstanceField' :: Text -> ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: [fromContainerInstanceField] :: ContainerInstanceField -> Text
+ Amazonka.ECS.Types.ContainerInstanceField: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance GHC.Classes.Eq Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance GHC.Classes.Ord Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance GHC.Generics.Generic Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance GHC.Read.Read Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: instance GHC.Show.Show Amazonka.ECS.Types.ContainerInstanceField.ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: newtype ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: pattern ContainerInstanceField_CONTAINER_INSTANCE_HEALTH :: ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceField: pattern ContainerInstanceField_TAGS :: ContainerInstanceField
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: ContainerInstanceHealthStatus' :: Maybe [InstanceHealthCheckResult] -> Maybe InstanceHealthCheckState -> ContainerInstanceHealthStatus
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: [$sel:details:ContainerInstanceHealthStatus'] :: ContainerInstanceHealthStatus -> Maybe [InstanceHealthCheckResult]
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: [$sel:overallStatus:ContainerInstanceHealthStatus'] :: ContainerInstanceHealthStatus -> Maybe InstanceHealthCheckState
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: containerInstanceHealthStatus_details :: Lens' ContainerInstanceHealthStatus (Maybe [InstanceHealthCheckResult])
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: containerInstanceHealthStatus_overallStatus :: Lens' ContainerInstanceHealthStatus (Maybe InstanceHealthCheckState)
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: data ContainerInstanceHealthStatus
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ContainerInstanceHealthStatus.ContainerInstanceHealthStatus
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ContainerInstanceHealthStatus.ContainerInstanceHealthStatus
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ContainerInstanceHealthStatus.ContainerInstanceHealthStatus
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: instance GHC.Classes.Eq Amazonka.ECS.Types.ContainerInstanceHealthStatus.ContainerInstanceHealthStatus
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: instance GHC.Generics.Generic Amazonka.ECS.Types.ContainerInstanceHealthStatus.ContainerInstanceHealthStatus
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: instance GHC.Read.Read Amazonka.ECS.Types.ContainerInstanceHealthStatus.ContainerInstanceHealthStatus
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: instance GHC.Show.Show Amazonka.ECS.Types.ContainerInstanceHealthStatus.ContainerInstanceHealthStatus
+ Amazonka.ECS.Types.ContainerInstanceHealthStatus: newContainerInstanceHealthStatus :: ContainerInstanceHealthStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: ContainerInstanceStatus' :: Text -> ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: [fromContainerInstanceStatus] :: ContainerInstanceStatus -> Text
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance GHC.Classes.Eq Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance GHC.Classes.Ord Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance GHC.Generics.Generic Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance GHC.Read.Read Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: instance GHC.Show.Show Amazonka.ECS.Types.ContainerInstanceStatus.ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: newtype ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: pattern ContainerInstanceStatus_ACTIVE :: ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: pattern ContainerInstanceStatus_DEREGISTERING :: ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: pattern ContainerInstanceStatus_DRAINING :: ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: pattern ContainerInstanceStatus_REGISTERING :: ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerInstanceStatus: pattern ContainerInstanceStatus_REGISTRATION_FAILED :: ContainerInstanceStatus
+ Amazonka.ECS.Types.ContainerOverride: ContainerOverride' :: Maybe [Text] -> Maybe Int -> Maybe [KeyValuePair] -> Maybe [EnvironmentFile] -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe [ResourceRequirement] -> ContainerOverride
+ Amazonka.ECS.Types.ContainerOverride: [$sel:command:ContainerOverride'] :: ContainerOverride -> Maybe [Text]
+ Amazonka.ECS.Types.ContainerOverride: [$sel:cpu:ContainerOverride'] :: ContainerOverride -> Maybe Int
+ Amazonka.ECS.Types.ContainerOverride: [$sel:environment:ContainerOverride'] :: ContainerOverride -> Maybe [KeyValuePair]
+ Amazonka.ECS.Types.ContainerOverride: [$sel:environmentFiles:ContainerOverride'] :: ContainerOverride -> Maybe [EnvironmentFile]
+ Amazonka.ECS.Types.ContainerOverride: [$sel:memory:ContainerOverride'] :: ContainerOverride -> Maybe Int
+ Amazonka.ECS.Types.ContainerOverride: [$sel:memoryReservation:ContainerOverride'] :: ContainerOverride -> Maybe Int
+ Amazonka.ECS.Types.ContainerOverride: [$sel:name:ContainerOverride'] :: ContainerOverride -> Maybe Text
+ Amazonka.ECS.Types.ContainerOverride: [$sel:resourceRequirements:ContainerOverride'] :: ContainerOverride -> Maybe [ResourceRequirement]
+ Amazonka.ECS.Types.ContainerOverride: containerOverride_command :: Lens' ContainerOverride (Maybe [Text])
+ Amazonka.ECS.Types.ContainerOverride: containerOverride_cpu :: Lens' ContainerOverride (Maybe Int)
+ Amazonka.ECS.Types.ContainerOverride: containerOverride_environment :: Lens' ContainerOverride (Maybe [KeyValuePair])
+ Amazonka.ECS.Types.ContainerOverride: containerOverride_environmentFiles :: Lens' ContainerOverride (Maybe [EnvironmentFile])
+ Amazonka.ECS.Types.ContainerOverride: containerOverride_memory :: Lens' ContainerOverride (Maybe Int)
+ Amazonka.ECS.Types.ContainerOverride: containerOverride_memoryReservation :: Lens' ContainerOverride (Maybe Int)
+ Amazonka.ECS.Types.ContainerOverride: containerOverride_name :: Lens' ContainerOverride (Maybe Text)
+ Amazonka.ECS.Types.ContainerOverride: containerOverride_resourceRequirements :: Lens' ContainerOverride (Maybe [ResourceRequirement])
+ Amazonka.ECS.Types.ContainerOverride: data ContainerOverride
+ Amazonka.ECS.Types.ContainerOverride: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ContainerOverride.ContainerOverride
+ Amazonka.ECS.Types.ContainerOverride: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ContainerOverride.ContainerOverride
+ Amazonka.ECS.Types.ContainerOverride: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ContainerOverride.ContainerOverride
+ Amazonka.ECS.Types.ContainerOverride: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ContainerOverride.ContainerOverride
+ Amazonka.ECS.Types.ContainerOverride: instance GHC.Classes.Eq Amazonka.ECS.Types.ContainerOverride.ContainerOverride
+ Amazonka.ECS.Types.ContainerOverride: instance GHC.Generics.Generic Amazonka.ECS.Types.ContainerOverride.ContainerOverride
+ Amazonka.ECS.Types.ContainerOverride: instance GHC.Read.Read Amazonka.ECS.Types.ContainerOverride.ContainerOverride
+ Amazonka.ECS.Types.ContainerOverride: instance GHC.Show.Show Amazonka.ECS.Types.ContainerOverride.ContainerOverride
+ Amazonka.ECS.Types.ContainerOverride: newContainerOverride :: ContainerOverride
+ Amazonka.ECS.Types.ContainerService: ContainerService' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe DeploymentConfiguration -> Maybe DeploymentController -> Maybe [Deployment] -> Maybe Int -> Maybe Bool -> Maybe Bool -> Maybe [ServiceEvent] -> Maybe Int -> Maybe LaunchType -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe Int -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe Text -> Maybe PropagateTags -> Maybe Text -> Maybe Int -> Maybe SchedulingStrategy -> Maybe Text -> Maybe Text -> Maybe [ServiceRegistry] -> Maybe Text -> Maybe [Tag] -> Maybe Text -> Maybe [TaskSet] -> ContainerService
+ Amazonka.ECS.Types.ContainerService: [$sel:capacityProviderStrategy:ContainerService'] :: ContainerService -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.Types.ContainerService: [$sel:clusterArn:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types.ContainerService: [$sel:createdAt:ContainerService'] :: ContainerService -> Maybe POSIX
+ Amazonka.ECS.Types.ContainerService: [$sel:createdBy:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types.ContainerService: [$sel:deploymentConfiguration:ContainerService'] :: ContainerService -> Maybe DeploymentConfiguration
+ Amazonka.ECS.Types.ContainerService: [$sel:deploymentController:ContainerService'] :: ContainerService -> Maybe DeploymentController
+ Amazonka.ECS.Types.ContainerService: [$sel:deployments:ContainerService'] :: ContainerService -> Maybe [Deployment]
+ Amazonka.ECS.Types.ContainerService: [$sel:desiredCount:ContainerService'] :: ContainerService -> Maybe Int
+ Amazonka.ECS.Types.ContainerService: [$sel:enableECSManagedTags:ContainerService'] :: ContainerService -> Maybe Bool
+ Amazonka.ECS.Types.ContainerService: [$sel:enableExecuteCommand:ContainerService'] :: ContainerService -> Maybe Bool
+ Amazonka.ECS.Types.ContainerService: [$sel:events:ContainerService'] :: ContainerService -> Maybe [ServiceEvent]
+ Amazonka.ECS.Types.ContainerService: [$sel:healthCheckGracePeriodSeconds:ContainerService'] :: ContainerService -> Maybe Int
+ Amazonka.ECS.Types.ContainerService: [$sel:launchType:ContainerService'] :: ContainerService -> Maybe LaunchType
+ Amazonka.ECS.Types.ContainerService: [$sel:loadBalancers:ContainerService'] :: ContainerService -> Maybe [LoadBalancer]
+ Amazonka.ECS.Types.ContainerService: [$sel:networkConfiguration:ContainerService'] :: ContainerService -> Maybe NetworkConfiguration
+ Amazonka.ECS.Types.ContainerService: [$sel:pendingCount:ContainerService'] :: ContainerService -> Maybe Int
+ Amazonka.ECS.Types.ContainerService: [$sel:placementConstraints:ContainerService'] :: ContainerService -> Maybe [PlacementConstraint]
+ Amazonka.ECS.Types.ContainerService: [$sel:placementStrategy:ContainerService'] :: ContainerService -> Maybe [PlacementStrategy]
+ Amazonka.ECS.Types.ContainerService: [$sel:platformFamily:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types.ContainerService: [$sel:platformVersion:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types.ContainerService: [$sel:propagateTags:ContainerService'] :: ContainerService -> Maybe PropagateTags
+ Amazonka.ECS.Types.ContainerService: [$sel:roleArn:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types.ContainerService: [$sel:runningCount:ContainerService'] :: ContainerService -> Maybe Int
+ Amazonka.ECS.Types.ContainerService: [$sel:schedulingStrategy:ContainerService'] :: ContainerService -> Maybe SchedulingStrategy
+ Amazonka.ECS.Types.ContainerService: [$sel:serviceArn:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types.ContainerService: [$sel:serviceName:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types.ContainerService: [$sel:serviceRegistries:ContainerService'] :: ContainerService -> Maybe [ServiceRegistry]
+ Amazonka.ECS.Types.ContainerService: [$sel:status:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types.ContainerService: [$sel:tags:ContainerService'] :: ContainerService -> Maybe [Tag]
+ Amazonka.ECS.Types.ContainerService: [$sel:taskDefinition:ContainerService'] :: ContainerService -> Maybe Text
+ Amazonka.ECS.Types.ContainerService: [$sel:taskSets:ContainerService'] :: ContainerService -> Maybe [TaskSet]
+ Amazonka.ECS.Types.ContainerService: containerService_capacityProviderStrategy :: Lens' ContainerService (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Types.ContainerService: containerService_clusterArn :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types.ContainerService: containerService_createdAt :: Lens' ContainerService (Maybe UTCTime)
+ Amazonka.ECS.Types.ContainerService: containerService_createdBy :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types.ContainerService: containerService_deploymentConfiguration :: Lens' ContainerService (Maybe DeploymentConfiguration)
+ Amazonka.ECS.Types.ContainerService: containerService_deploymentController :: Lens' ContainerService (Maybe DeploymentController)
+ Amazonka.ECS.Types.ContainerService: containerService_deployments :: Lens' ContainerService (Maybe [Deployment])
+ Amazonka.ECS.Types.ContainerService: containerService_desiredCount :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Types.ContainerService: containerService_enableECSManagedTags :: Lens' ContainerService (Maybe Bool)
+ Amazonka.ECS.Types.ContainerService: containerService_enableExecuteCommand :: Lens' ContainerService (Maybe Bool)
+ Amazonka.ECS.Types.ContainerService: containerService_events :: Lens' ContainerService (Maybe [ServiceEvent])
+ Amazonka.ECS.Types.ContainerService: containerService_healthCheckGracePeriodSeconds :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Types.ContainerService: containerService_launchType :: Lens' ContainerService (Maybe LaunchType)
+ Amazonka.ECS.Types.ContainerService: containerService_loadBalancers :: Lens' ContainerService (Maybe [LoadBalancer])
+ Amazonka.ECS.Types.ContainerService: containerService_networkConfiguration :: Lens' ContainerService (Maybe NetworkConfiguration)
+ Amazonka.ECS.Types.ContainerService: containerService_pendingCount :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Types.ContainerService: containerService_placementConstraints :: Lens' ContainerService (Maybe [PlacementConstraint])
+ Amazonka.ECS.Types.ContainerService: containerService_placementStrategy :: Lens' ContainerService (Maybe [PlacementStrategy])
+ Amazonka.ECS.Types.ContainerService: containerService_platformFamily :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types.ContainerService: containerService_platformVersion :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types.ContainerService: containerService_propagateTags :: Lens' ContainerService (Maybe PropagateTags)
+ Amazonka.ECS.Types.ContainerService: containerService_roleArn :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types.ContainerService: containerService_runningCount :: Lens' ContainerService (Maybe Int)
+ Amazonka.ECS.Types.ContainerService: containerService_schedulingStrategy :: Lens' ContainerService (Maybe SchedulingStrategy)
+ Amazonka.ECS.Types.ContainerService: containerService_serviceArn :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types.ContainerService: containerService_serviceName :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types.ContainerService: containerService_serviceRegistries :: Lens' ContainerService (Maybe [ServiceRegistry])
+ Amazonka.ECS.Types.ContainerService: containerService_status :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types.ContainerService: containerService_tags :: Lens' ContainerService (Maybe [Tag])
+ Amazonka.ECS.Types.ContainerService: containerService_taskDefinition :: Lens' ContainerService (Maybe Text)
+ Amazonka.ECS.Types.ContainerService: containerService_taskSets :: Lens' ContainerService (Maybe [TaskSet])
+ Amazonka.ECS.Types.ContainerService: data ContainerService
+ Amazonka.ECS.Types.ContainerService: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ContainerService.ContainerService
+ Amazonka.ECS.Types.ContainerService: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ContainerService.ContainerService
+ Amazonka.ECS.Types.ContainerService: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ContainerService.ContainerService
+ Amazonka.ECS.Types.ContainerService: instance GHC.Classes.Eq Amazonka.ECS.Types.ContainerService.ContainerService
+ Amazonka.ECS.Types.ContainerService: instance GHC.Generics.Generic Amazonka.ECS.Types.ContainerService.ContainerService
+ Amazonka.ECS.Types.ContainerService: instance GHC.Read.Read Amazonka.ECS.Types.ContainerService.ContainerService
+ Amazonka.ECS.Types.ContainerService: instance GHC.Show.Show Amazonka.ECS.Types.ContainerService.ContainerService
+ Amazonka.ECS.Types.ContainerService: newContainerService :: ContainerService
+ Amazonka.ECS.Types.ContainerStateChange: ContainerStateChange' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [NetworkBinding] -> Maybe Text -> Maybe Text -> Maybe Text -> ContainerStateChange
+ Amazonka.ECS.Types.ContainerStateChange: [$sel:containerName:ContainerStateChange'] :: ContainerStateChange -> Maybe Text
+ Amazonka.ECS.Types.ContainerStateChange: [$sel:exitCode:ContainerStateChange'] :: ContainerStateChange -> Maybe Int
+ Amazonka.ECS.Types.ContainerStateChange: [$sel:imageDigest:ContainerStateChange'] :: ContainerStateChange -> Maybe Text
+ Amazonka.ECS.Types.ContainerStateChange: [$sel:networkBindings:ContainerStateChange'] :: ContainerStateChange -> Maybe [NetworkBinding]
+ Amazonka.ECS.Types.ContainerStateChange: [$sel:reason:ContainerStateChange'] :: ContainerStateChange -> Maybe Text
+ Amazonka.ECS.Types.ContainerStateChange: [$sel:runtimeId:ContainerStateChange'] :: ContainerStateChange -> Maybe Text
+ Amazonka.ECS.Types.ContainerStateChange: [$sel:status:ContainerStateChange'] :: ContainerStateChange -> Maybe Text
+ Amazonka.ECS.Types.ContainerStateChange: containerStateChange_containerName :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Types.ContainerStateChange: containerStateChange_exitCode :: Lens' ContainerStateChange (Maybe Int)
+ Amazonka.ECS.Types.ContainerStateChange: containerStateChange_imageDigest :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Types.ContainerStateChange: containerStateChange_networkBindings :: Lens' ContainerStateChange (Maybe [NetworkBinding])
+ Amazonka.ECS.Types.ContainerStateChange: containerStateChange_reason :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Types.ContainerStateChange: containerStateChange_runtimeId :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Types.ContainerStateChange: containerStateChange_status :: Lens' ContainerStateChange (Maybe Text)
+ Amazonka.ECS.Types.ContainerStateChange: data ContainerStateChange
+ Amazonka.ECS.Types.ContainerStateChange: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ContainerStateChange.ContainerStateChange
+ Amazonka.ECS.Types.ContainerStateChange: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ContainerStateChange.ContainerStateChange
+ Amazonka.ECS.Types.ContainerStateChange: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ContainerStateChange.ContainerStateChange
+ Amazonka.ECS.Types.ContainerStateChange: instance GHC.Classes.Eq Amazonka.ECS.Types.ContainerStateChange.ContainerStateChange
+ Amazonka.ECS.Types.ContainerStateChange: instance GHC.Generics.Generic Amazonka.ECS.Types.ContainerStateChange.ContainerStateChange
+ Amazonka.ECS.Types.ContainerStateChange: instance GHC.Read.Read Amazonka.ECS.Types.ContainerStateChange.ContainerStateChange
+ Amazonka.ECS.Types.ContainerStateChange: instance GHC.Show.Show Amazonka.ECS.Types.ContainerStateChange.ContainerStateChange
+ Amazonka.ECS.Types.ContainerStateChange: newContainerStateChange :: ContainerStateChange
+ Amazonka.ECS.Types.Deployment: Deployment' :: Maybe [CapacityProviderStrategyItem] -> Maybe POSIX -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe LaunchType -> Maybe NetworkConfiguration -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe DeploymentRolloutState -> Maybe Text -> Maybe Int -> Maybe ServiceConnectConfiguration -> Maybe [ServiceConnectServiceResource] -> Maybe Text -> Maybe Text -> Maybe POSIX -> Deployment
+ Amazonka.ECS.Types.Deployment: [$sel:capacityProviderStrategy:Deployment'] :: Deployment -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.Types.Deployment: [$sel:createdAt:Deployment'] :: Deployment -> Maybe POSIX
+ Amazonka.ECS.Types.Deployment: [$sel:desiredCount:Deployment'] :: Deployment -> Maybe Int
+ Amazonka.ECS.Types.Deployment: [$sel:failedTasks:Deployment'] :: Deployment -> Maybe Int
+ Amazonka.ECS.Types.Deployment: [$sel:id:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types.Deployment: [$sel:launchType:Deployment'] :: Deployment -> Maybe LaunchType
+ Amazonka.ECS.Types.Deployment: [$sel:networkConfiguration:Deployment'] :: Deployment -> Maybe NetworkConfiguration
+ Amazonka.ECS.Types.Deployment: [$sel:pendingCount:Deployment'] :: Deployment -> Maybe Int
+ Amazonka.ECS.Types.Deployment: [$sel:platformFamily:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types.Deployment: [$sel:platformVersion:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types.Deployment: [$sel:rolloutState:Deployment'] :: Deployment -> Maybe DeploymentRolloutState
+ Amazonka.ECS.Types.Deployment: [$sel:rolloutStateReason:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types.Deployment: [$sel:runningCount:Deployment'] :: Deployment -> Maybe Int
+ Amazonka.ECS.Types.Deployment: [$sel:serviceConnectConfiguration:Deployment'] :: Deployment -> Maybe ServiceConnectConfiguration
+ Amazonka.ECS.Types.Deployment: [$sel:serviceConnectResources:Deployment'] :: Deployment -> Maybe [ServiceConnectServiceResource]
+ Amazonka.ECS.Types.Deployment: [$sel:status:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types.Deployment: [$sel:taskDefinition:Deployment'] :: Deployment -> Maybe Text
+ Amazonka.ECS.Types.Deployment: [$sel:updatedAt:Deployment'] :: Deployment -> Maybe POSIX
+ Amazonka.ECS.Types.Deployment: data Deployment
+ Amazonka.ECS.Types.Deployment: deployment_capacityProviderStrategy :: Lens' Deployment (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Types.Deployment: deployment_createdAt :: Lens' Deployment (Maybe UTCTime)
+ Amazonka.ECS.Types.Deployment: deployment_desiredCount :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Types.Deployment: deployment_failedTasks :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Types.Deployment: deployment_id :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types.Deployment: deployment_launchType :: Lens' Deployment (Maybe LaunchType)
+ Amazonka.ECS.Types.Deployment: deployment_networkConfiguration :: Lens' Deployment (Maybe NetworkConfiguration)
+ Amazonka.ECS.Types.Deployment: deployment_pendingCount :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Types.Deployment: deployment_platformFamily :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types.Deployment: deployment_platformVersion :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types.Deployment: deployment_rolloutState :: Lens' Deployment (Maybe DeploymentRolloutState)
+ Amazonka.ECS.Types.Deployment: deployment_rolloutStateReason :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types.Deployment: deployment_runningCount :: Lens' Deployment (Maybe Int)
+ Amazonka.ECS.Types.Deployment: deployment_serviceConnectConfiguration :: Lens' Deployment (Maybe ServiceConnectConfiguration)
+ Amazonka.ECS.Types.Deployment: deployment_serviceConnectResources :: Lens' Deployment (Maybe [ServiceConnectServiceResource])
+ Amazonka.ECS.Types.Deployment: deployment_status :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types.Deployment: deployment_taskDefinition :: Lens' Deployment (Maybe Text)
+ Amazonka.ECS.Types.Deployment: deployment_updatedAt :: Lens' Deployment (Maybe UTCTime)
+ Amazonka.ECS.Types.Deployment: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Deployment.Deployment
+ Amazonka.ECS.Types.Deployment: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Deployment.Deployment
+ Amazonka.ECS.Types.Deployment: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Deployment.Deployment
+ Amazonka.ECS.Types.Deployment: instance GHC.Classes.Eq Amazonka.ECS.Types.Deployment.Deployment
+ Amazonka.ECS.Types.Deployment: instance GHC.Generics.Generic Amazonka.ECS.Types.Deployment.Deployment
+ Amazonka.ECS.Types.Deployment: instance GHC.Read.Read Amazonka.ECS.Types.Deployment.Deployment
+ Amazonka.ECS.Types.Deployment: instance GHC.Show.Show Amazonka.ECS.Types.Deployment.Deployment
+ Amazonka.ECS.Types.Deployment: newDeployment :: Deployment
+ Amazonka.ECS.Types.DeploymentAlarms: DeploymentAlarms' :: [Text] -> Bool -> Bool -> DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentAlarms: [$sel:alarmNames:DeploymentAlarms'] :: DeploymentAlarms -> [Text]
+ Amazonka.ECS.Types.DeploymentAlarms: [$sel:enable:DeploymentAlarms'] :: DeploymentAlarms -> Bool
+ Amazonka.ECS.Types.DeploymentAlarms: [$sel:rollback:DeploymentAlarms'] :: DeploymentAlarms -> Bool
+ Amazonka.ECS.Types.DeploymentAlarms: data DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentAlarms: deploymentAlarms_alarmNames :: Lens' DeploymentAlarms [Text]
+ Amazonka.ECS.Types.DeploymentAlarms: deploymentAlarms_enable :: Lens' DeploymentAlarms Bool
+ Amazonka.ECS.Types.DeploymentAlarms: deploymentAlarms_rollback :: Lens' DeploymentAlarms Bool
+ Amazonka.ECS.Types.DeploymentAlarms: instance Control.DeepSeq.NFData Amazonka.ECS.Types.DeploymentAlarms.DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentAlarms: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.DeploymentAlarms.DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentAlarms: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.DeploymentAlarms.DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentAlarms: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.DeploymentAlarms.DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentAlarms: instance GHC.Classes.Eq Amazonka.ECS.Types.DeploymentAlarms.DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentAlarms: instance GHC.Generics.Generic Amazonka.ECS.Types.DeploymentAlarms.DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentAlarms: instance GHC.Read.Read Amazonka.ECS.Types.DeploymentAlarms.DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentAlarms: instance GHC.Show.Show Amazonka.ECS.Types.DeploymentAlarms.DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentAlarms: newDeploymentAlarms :: Bool -> Bool -> DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: DeploymentCircuitBreaker' :: Bool -> Bool -> DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: [$sel:enable:DeploymentCircuitBreaker'] :: DeploymentCircuitBreaker -> Bool
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: [$sel:rollback:DeploymentCircuitBreaker'] :: DeploymentCircuitBreaker -> Bool
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: data DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: deploymentCircuitBreaker_enable :: Lens' DeploymentCircuitBreaker Bool
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: deploymentCircuitBreaker_rollback :: Lens' DeploymentCircuitBreaker Bool
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: instance Control.DeepSeq.NFData Amazonka.ECS.Types.DeploymentCircuitBreaker.DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.DeploymentCircuitBreaker.DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.DeploymentCircuitBreaker.DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.DeploymentCircuitBreaker.DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: instance GHC.Classes.Eq Amazonka.ECS.Types.DeploymentCircuitBreaker.DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: instance GHC.Generics.Generic Amazonka.ECS.Types.DeploymentCircuitBreaker.DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: instance GHC.Read.Read Amazonka.ECS.Types.DeploymentCircuitBreaker.DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: instance GHC.Show.Show Amazonka.ECS.Types.DeploymentCircuitBreaker.DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentCircuitBreaker: newDeploymentCircuitBreaker :: Bool -> Bool -> DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentConfiguration: DeploymentConfiguration' :: Maybe DeploymentAlarms -> Maybe DeploymentCircuitBreaker -> Maybe Int -> Maybe Int -> DeploymentConfiguration
+ Amazonka.ECS.Types.DeploymentConfiguration: [$sel:alarms:DeploymentConfiguration'] :: DeploymentConfiguration -> Maybe DeploymentAlarms
+ Amazonka.ECS.Types.DeploymentConfiguration: [$sel:deploymentCircuitBreaker:DeploymentConfiguration'] :: DeploymentConfiguration -> Maybe DeploymentCircuitBreaker
+ Amazonka.ECS.Types.DeploymentConfiguration: [$sel:maximumPercent:DeploymentConfiguration'] :: DeploymentConfiguration -> Maybe Int
+ Amazonka.ECS.Types.DeploymentConfiguration: [$sel:minimumHealthyPercent:DeploymentConfiguration'] :: DeploymentConfiguration -> Maybe Int
+ Amazonka.ECS.Types.DeploymentConfiguration: data DeploymentConfiguration
+ Amazonka.ECS.Types.DeploymentConfiguration: deploymentConfiguration_alarms :: Lens' DeploymentConfiguration (Maybe DeploymentAlarms)
+ Amazonka.ECS.Types.DeploymentConfiguration: deploymentConfiguration_deploymentCircuitBreaker :: Lens' DeploymentConfiguration (Maybe DeploymentCircuitBreaker)
+ Amazonka.ECS.Types.DeploymentConfiguration: deploymentConfiguration_maximumPercent :: Lens' DeploymentConfiguration (Maybe Int)
+ Amazonka.ECS.Types.DeploymentConfiguration: deploymentConfiguration_minimumHealthyPercent :: Lens' DeploymentConfiguration (Maybe Int)
+ Amazonka.ECS.Types.DeploymentConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.DeploymentConfiguration.DeploymentConfiguration
+ Amazonka.ECS.Types.DeploymentConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.DeploymentConfiguration.DeploymentConfiguration
+ Amazonka.ECS.Types.DeploymentConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.DeploymentConfiguration.DeploymentConfiguration
+ Amazonka.ECS.Types.DeploymentConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.DeploymentConfiguration.DeploymentConfiguration
+ Amazonka.ECS.Types.DeploymentConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.DeploymentConfiguration.DeploymentConfiguration
+ Amazonka.ECS.Types.DeploymentConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.DeploymentConfiguration.DeploymentConfiguration
+ Amazonka.ECS.Types.DeploymentConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.DeploymentConfiguration.DeploymentConfiguration
+ Amazonka.ECS.Types.DeploymentConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.DeploymentConfiguration.DeploymentConfiguration
+ Amazonka.ECS.Types.DeploymentConfiguration: newDeploymentConfiguration :: DeploymentConfiguration
+ Amazonka.ECS.Types.DeploymentController: DeploymentController' :: DeploymentControllerType -> DeploymentController
+ Amazonka.ECS.Types.DeploymentController: [$sel:type':DeploymentController'] :: DeploymentController -> DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentController: data DeploymentController
+ Amazonka.ECS.Types.DeploymentController: deploymentController_type :: Lens' DeploymentController DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentController: instance Control.DeepSeq.NFData Amazonka.ECS.Types.DeploymentController.DeploymentController
+ Amazonka.ECS.Types.DeploymentController: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.DeploymentController.DeploymentController
+ Amazonka.ECS.Types.DeploymentController: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.DeploymentController.DeploymentController
+ Amazonka.ECS.Types.DeploymentController: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.DeploymentController.DeploymentController
+ Amazonka.ECS.Types.DeploymentController: instance GHC.Classes.Eq Amazonka.ECS.Types.DeploymentController.DeploymentController
+ Amazonka.ECS.Types.DeploymentController: instance GHC.Generics.Generic Amazonka.ECS.Types.DeploymentController.DeploymentController
+ Amazonka.ECS.Types.DeploymentController: instance GHC.Read.Read Amazonka.ECS.Types.DeploymentController.DeploymentController
+ Amazonka.ECS.Types.DeploymentController: instance GHC.Show.Show Amazonka.ECS.Types.DeploymentController.DeploymentController
+ Amazonka.ECS.Types.DeploymentController: newDeploymentController :: DeploymentControllerType -> DeploymentController
+ Amazonka.ECS.Types.DeploymentControllerType: DeploymentControllerType' :: Text -> DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: [fromDeploymentControllerType] :: DeploymentControllerType -> Text
+ Amazonka.ECS.Types.DeploymentControllerType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance GHC.Classes.Eq Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance GHC.Classes.Ord Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance GHC.Generics.Generic Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance GHC.Read.Read Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: instance GHC.Show.Show Amazonka.ECS.Types.DeploymentControllerType.DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: newtype DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: pattern DeploymentControllerType_CODE_DEPLOY :: DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: pattern DeploymentControllerType_ECS :: DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentControllerType: pattern DeploymentControllerType_EXTERNAL :: DeploymentControllerType
+ Amazonka.ECS.Types.DeploymentRolloutState: DeploymentRolloutState' :: Text -> DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: [fromDeploymentRolloutState] :: DeploymentRolloutState -> Text
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Control.DeepSeq.NFData Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance GHC.Classes.Eq Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance GHC.Classes.Ord Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance GHC.Generics.Generic Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance GHC.Read.Read Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: instance GHC.Show.Show Amazonka.ECS.Types.DeploymentRolloutState.DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: newtype DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: pattern DeploymentRolloutState_COMPLETED :: DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: pattern DeploymentRolloutState_FAILED :: DeploymentRolloutState
+ Amazonka.ECS.Types.DeploymentRolloutState: pattern DeploymentRolloutState_IN_PROGRESS :: DeploymentRolloutState
+ Amazonka.ECS.Types.DesiredStatus: DesiredStatus' :: Text -> DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: [fromDesiredStatus] :: DesiredStatus -> Text
+ Amazonka.ECS.Types.DesiredStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Control.DeepSeq.NFData Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance GHC.Classes.Eq Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance GHC.Classes.Ord Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance GHC.Generics.Generic Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance GHC.Read.Read Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: instance GHC.Show.Show Amazonka.ECS.Types.DesiredStatus.DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: newtype DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: pattern DesiredStatus_PENDING :: DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: pattern DesiredStatus_RUNNING :: DesiredStatus
+ Amazonka.ECS.Types.DesiredStatus: pattern DesiredStatus_STOPPED :: DesiredStatus
+ Amazonka.ECS.Types.Device: Device' :: Maybe Text -> Maybe [DeviceCgroupPermission] -> Text -> Device
+ Amazonka.ECS.Types.Device: [$sel:containerPath:Device'] :: Device -> Maybe Text
+ Amazonka.ECS.Types.Device: [$sel:hostPath:Device'] :: Device -> Text
+ Amazonka.ECS.Types.Device: [$sel:permissions:Device'] :: Device -> Maybe [DeviceCgroupPermission]
+ Amazonka.ECS.Types.Device: data Device
+ Amazonka.ECS.Types.Device: device_containerPath :: Lens' Device (Maybe Text)
+ Amazonka.ECS.Types.Device: device_hostPath :: Lens' Device Text
+ Amazonka.ECS.Types.Device: device_permissions :: Lens' Device (Maybe [DeviceCgroupPermission])
+ Amazonka.ECS.Types.Device: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Device.Device
+ Amazonka.ECS.Types.Device: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Device.Device
+ Amazonka.ECS.Types.Device: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Device.Device
+ Amazonka.ECS.Types.Device: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Device.Device
+ Amazonka.ECS.Types.Device: instance GHC.Classes.Eq Amazonka.ECS.Types.Device.Device
+ Amazonka.ECS.Types.Device: instance GHC.Generics.Generic Amazonka.ECS.Types.Device.Device
+ Amazonka.ECS.Types.Device: instance GHC.Read.Read Amazonka.ECS.Types.Device.Device
+ Amazonka.ECS.Types.Device: instance GHC.Show.Show Amazonka.ECS.Types.Device.Device
+ Amazonka.ECS.Types.Device: newDevice :: Text -> Device
+ Amazonka.ECS.Types.DeviceCgroupPermission: DeviceCgroupPermission' :: Text -> DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: [fromDeviceCgroupPermission] :: DeviceCgroupPermission -> Text
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Control.DeepSeq.NFData Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance GHC.Classes.Eq Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance GHC.Classes.Ord Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance GHC.Generics.Generic Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance GHC.Read.Read Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: instance GHC.Show.Show Amazonka.ECS.Types.DeviceCgroupPermission.DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: newtype DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: pattern DeviceCgroupPermission_Mknod :: DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: pattern DeviceCgroupPermission_Read :: DeviceCgroupPermission
+ Amazonka.ECS.Types.DeviceCgroupPermission: pattern DeviceCgroupPermission_Write :: DeviceCgroupPermission
+ Amazonka.ECS.Types.DockerVolumeConfiguration: DockerVolumeConfiguration' :: Maybe Bool -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> Maybe Scope -> DockerVolumeConfiguration
+ Amazonka.ECS.Types.DockerVolumeConfiguration: [$sel:autoprovision:DockerVolumeConfiguration'] :: DockerVolumeConfiguration -> Maybe Bool
+ Amazonka.ECS.Types.DockerVolumeConfiguration: [$sel:driver:DockerVolumeConfiguration'] :: DockerVolumeConfiguration -> Maybe Text
+ Amazonka.ECS.Types.DockerVolumeConfiguration: [$sel:driverOpts:DockerVolumeConfiguration'] :: DockerVolumeConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.ECS.Types.DockerVolumeConfiguration: [$sel:labels:DockerVolumeConfiguration'] :: DockerVolumeConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.ECS.Types.DockerVolumeConfiguration: [$sel:scope:DockerVolumeConfiguration'] :: DockerVolumeConfiguration -> Maybe Scope
+ Amazonka.ECS.Types.DockerVolumeConfiguration: data DockerVolumeConfiguration
+ Amazonka.ECS.Types.DockerVolumeConfiguration: dockerVolumeConfiguration_autoprovision :: Lens' DockerVolumeConfiguration (Maybe Bool)
+ Amazonka.ECS.Types.DockerVolumeConfiguration: dockerVolumeConfiguration_driver :: Lens' DockerVolumeConfiguration (Maybe Text)
+ Amazonka.ECS.Types.DockerVolumeConfiguration: dockerVolumeConfiguration_driverOpts :: Lens' DockerVolumeConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Types.DockerVolumeConfiguration: dockerVolumeConfiguration_labels :: Lens' DockerVolumeConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Types.DockerVolumeConfiguration: dockerVolumeConfiguration_scope :: Lens' DockerVolumeConfiguration (Maybe Scope)
+ Amazonka.ECS.Types.DockerVolumeConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.DockerVolumeConfiguration.DockerVolumeConfiguration
+ Amazonka.ECS.Types.DockerVolumeConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.DockerVolumeConfiguration.DockerVolumeConfiguration
+ Amazonka.ECS.Types.DockerVolumeConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.DockerVolumeConfiguration.DockerVolumeConfiguration
+ Amazonka.ECS.Types.DockerVolumeConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.DockerVolumeConfiguration.DockerVolumeConfiguration
+ Amazonka.ECS.Types.DockerVolumeConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.DockerVolumeConfiguration.DockerVolumeConfiguration
+ Amazonka.ECS.Types.DockerVolumeConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.DockerVolumeConfiguration.DockerVolumeConfiguration
+ Amazonka.ECS.Types.DockerVolumeConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.DockerVolumeConfiguration.DockerVolumeConfiguration
+ Amazonka.ECS.Types.DockerVolumeConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.DockerVolumeConfiguration.DockerVolumeConfiguration
+ Amazonka.ECS.Types.DockerVolumeConfiguration: newDockerVolumeConfiguration :: DockerVolumeConfiguration
+ Amazonka.ECS.Types.EFSAuthorizationConfig: EFSAuthorizationConfig' :: Maybe Text -> Maybe EFSAuthorizationConfigIAM -> EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSAuthorizationConfig: [$sel:accessPointId:EFSAuthorizationConfig'] :: EFSAuthorizationConfig -> Maybe Text
+ Amazonka.ECS.Types.EFSAuthorizationConfig: [$sel:iam:EFSAuthorizationConfig'] :: EFSAuthorizationConfig -> Maybe EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfig: data EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSAuthorizationConfig: eFSAuthorizationConfig_accessPointId :: Lens' EFSAuthorizationConfig (Maybe Text)
+ Amazonka.ECS.Types.EFSAuthorizationConfig: eFSAuthorizationConfig_iam :: Lens' EFSAuthorizationConfig (Maybe EFSAuthorizationConfigIAM)
+ Amazonka.ECS.Types.EFSAuthorizationConfig: instance Control.DeepSeq.NFData Amazonka.ECS.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSAuthorizationConfig: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSAuthorizationConfig: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSAuthorizationConfig: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSAuthorizationConfig: instance GHC.Classes.Eq Amazonka.ECS.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSAuthorizationConfig: instance GHC.Generics.Generic Amazonka.ECS.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSAuthorizationConfig: instance GHC.Read.Read Amazonka.ECS.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSAuthorizationConfig: instance GHC.Show.Show Amazonka.ECS.Types.EFSAuthorizationConfig.EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSAuthorizationConfig: newEFSAuthorizationConfig :: EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: EFSAuthorizationConfigIAM' :: Text -> EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: [fromEFSAuthorizationConfigIAM] :: EFSAuthorizationConfigIAM -> Text
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Control.DeepSeq.NFData Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance GHC.Classes.Eq Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance GHC.Classes.Ord Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance GHC.Generics.Generic Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance GHC.Read.Read Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: instance GHC.Show.Show Amazonka.ECS.Types.EFSAuthorizationConfigIAM.EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: newtype EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: pattern EFSAuthorizationConfigIAM_DISABLED :: EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM: pattern EFSAuthorizationConfigIAM_ENABLED :: EFSAuthorizationConfigIAM
+ Amazonka.ECS.Types.EFSTransitEncryption: EFSTransitEncryption' :: Text -> EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: [fromEFSTransitEncryption] :: EFSTransitEncryption -> Text
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Control.DeepSeq.NFData Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance GHC.Classes.Eq Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance GHC.Classes.Ord Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance GHC.Generics.Generic Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance GHC.Read.Read Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: instance GHC.Show.Show Amazonka.ECS.Types.EFSTransitEncryption.EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: newtype EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: pattern EFSTransitEncryption_DISABLED :: EFSTransitEncryption
+ Amazonka.ECS.Types.EFSTransitEncryption: pattern EFSTransitEncryption_ENABLED :: EFSTransitEncryption
+ Amazonka.ECS.Types.EFSVolumeConfiguration: EFSVolumeConfiguration' :: Maybe EFSAuthorizationConfig -> Maybe Text -> Maybe EFSTransitEncryption -> Maybe Int -> Text -> EFSVolumeConfiguration
+ Amazonka.ECS.Types.EFSVolumeConfiguration: [$sel:authorizationConfig:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe EFSAuthorizationConfig
+ Amazonka.ECS.Types.EFSVolumeConfiguration: [$sel:fileSystemId:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Text
+ Amazonka.ECS.Types.EFSVolumeConfiguration: [$sel:rootDirectory:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe Text
+ Amazonka.ECS.Types.EFSVolumeConfiguration: [$sel:transitEncryption:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe EFSTransitEncryption
+ Amazonka.ECS.Types.EFSVolumeConfiguration: [$sel:transitEncryptionPort:EFSVolumeConfiguration'] :: EFSVolumeConfiguration -> Maybe Int
+ Amazonka.ECS.Types.EFSVolumeConfiguration: data EFSVolumeConfiguration
+ Amazonka.ECS.Types.EFSVolumeConfiguration: eFSVolumeConfiguration_authorizationConfig :: Lens' EFSVolumeConfiguration (Maybe EFSAuthorizationConfig)
+ Amazonka.ECS.Types.EFSVolumeConfiguration: eFSVolumeConfiguration_fileSystemId :: Lens' EFSVolumeConfiguration Text
+ Amazonka.ECS.Types.EFSVolumeConfiguration: eFSVolumeConfiguration_rootDirectory :: Lens' EFSVolumeConfiguration (Maybe Text)
+ Amazonka.ECS.Types.EFSVolumeConfiguration: eFSVolumeConfiguration_transitEncryption :: Lens' EFSVolumeConfiguration (Maybe EFSTransitEncryption)
+ Amazonka.ECS.Types.EFSVolumeConfiguration: eFSVolumeConfiguration_transitEncryptionPort :: Lens' EFSVolumeConfiguration (Maybe Int)
+ Amazonka.ECS.Types.EFSVolumeConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.ECS.Types.EFSVolumeConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.ECS.Types.EFSVolumeConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.ECS.Types.EFSVolumeConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.ECS.Types.EFSVolumeConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.ECS.Types.EFSVolumeConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.ECS.Types.EFSVolumeConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.ECS.Types.EFSVolumeConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.EFSVolumeConfiguration.EFSVolumeConfiguration
+ Amazonka.ECS.Types.EFSVolumeConfiguration: newEFSVolumeConfiguration :: Text -> EFSVolumeConfiguration
+ Amazonka.ECS.Types.EnvironmentFile: EnvironmentFile' :: Text -> EnvironmentFileType -> EnvironmentFile
+ Amazonka.ECS.Types.EnvironmentFile: [$sel:type':EnvironmentFile'] :: EnvironmentFile -> EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFile: [$sel:value:EnvironmentFile'] :: EnvironmentFile -> Text
+ Amazonka.ECS.Types.EnvironmentFile: data EnvironmentFile
+ Amazonka.ECS.Types.EnvironmentFile: environmentFile_type :: Lens' EnvironmentFile EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFile: environmentFile_value :: Lens' EnvironmentFile Text
+ Amazonka.ECS.Types.EnvironmentFile: instance Control.DeepSeq.NFData Amazonka.ECS.Types.EnvironmentFile.EnvironmentFile
+ Amazonka.ECS.Types.EnvironmentFile: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.EnvironmentFile.EnvironmentFile
+ Amazonka.ECS.Types.EnvironmentFile: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.EnvironmentFile.EnvironmentFile
+ Amazonka.ECS.Types.EnvironmentFile: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.EnvironmentFile.EnvironmentFile
+ Amazonka.ECS.Types.EnvironmentFile: instance GHC.Classes.Eq Amazonka.ECS.Types.EnvironmentFile.EnvironmentFile
+ Amazonka.ECS.Types.EnvironmentFile: instance GHC.Generics.Generic Amazonka.ECS.Types.EnvironmentFile.EnvironmentFile
+ Amazonka.ECS.Types.EnvironmentFile: instance GHC.Read.Read Amazonka.ECS.Types.EnvironmentFile.EnvironmentFile
+ Amazonka.ECS.Types.EnvironmentFile: instance GHC.Show.Show Amazonka.ECS.Types.EnvironmentFile.EnvironmentFile
+ Amazonka.ECS.Types.EnvironmentFile: newEnvironmentFile :: Text -> EnvironmentFileType -> EnvironmentFile
+ Amazonka.ECS.Types.EnvironmentFileType: EnvironmentFileType' :: Text -> EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: [fromEnvironmentFileType] :: EnvironmentFileType -> Text
+ Amazonka.ECS.Types.EnvironmentFileType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance GHC.Classes.Eq Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance GHC.Classes.Ord Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance GHC.Generics.Generic Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance GHC.Read.Read Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: instance GHC.Show.Show Amazonka.ECS.Types.EnvironmentFileType.EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: newtype EnvironmentFileType
+ Amazonka.ECS.Types.EnvironmentFileType: pattern EnvironmentFileType_S3 :: EnvironmentFileType
+ Amazonka.ECS.Types.EphemeralStorage: EphemeralStorage' :: Int -> EphemeralStorage
+ Amazonka.ECS.Types.EphemeralStorage: [$sel:sizeInGiB:EphemeralStorage'] :: EphemeralStorage -> Int
+ Amazonka.ECS.Types.EphemeralStorage: data EphemeralStorage
+ Amazonka.ECS.Types.EphemeralStorage: ephemeralStorage_sizeInGiB :: Lens' EphemeralStorage Int
+ Amazonka.ECS.Types.EphemeralStorage: instance Control.DeepSeq.NFData Amazonka.ECS.Types.EphemeralStorage.EphemeralStorage
+ Amazonka.ECS.Types.EphemeralStorage: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.EphemeralStorage.EphemeralStorage
+ Amazonka.ECS.Types.EphemeralStorage: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.EphemeralStorage.EphemeralStorage
+ Amazonka.ECS.Types.EphemeralStorage: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.EphemeralStorage.EphemeralStorage
+ Amazonka.ECS.Types.EphemeralStorage: instance GHC.Classes.Eq Amazonka.ECS.Types.EphemeralStorage.EphemeralStorage
+ Amazonka.ECS.Types.EphemeralStorage: instance GHC.Generics.Generic Amazonka.ECS.Types.EphemeralStorage.EphemeralStorage
+ Amazonka.ECS.Types.EphemeralStorage: instance GHC.Read.Read Amazonka.ECS.Types.EphemeralStorage.EphemeralStorage
+ Amazonka.ECS.Types.EphemeralStorage: instance GHC.Show.Show Amazonka.ECS.Types.EphemeralStorage.EphemeralStorage
+ Amazonka.ECS.Types.EphemeralStorage: newEphemeralStorage :: Int -> EphemeralStorage
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: ExecuteCommandConfiguration' :: Maybe Text -> Maybe ExecuteCommandLogConfiguration -> Maybe ExecuteCommandLogging -> ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: [$sel:kmsKeyId:ExecuteCommandConfiguration'] :: ExecuteCommandConfiguration -> Maybe Text
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: [$sel:logConfiguration:ExecuteCommandConfiguration'] :: ExecuteCommandConfiguration -> Maybe ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: [$sel:logging:ExecuteCommandConfiguration'] :: ExecuteCommandConfiguration -> Maybe ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: data ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: executeCommandConfiguration_kmsKeyId :: Lens' ExecuteCommandConfiguration (Maybe Text)
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: executeCommandConfiguration_logConfiguration :: Lens' ExecuteCommandConfiguration (Maybe ExecuteCommandLogConfiguration)
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: executeCommandConfiguration_logging :: Lens' ExecuteCommandConfiguration (Maybe ExecuteCommandLogging)
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ExecuteCommandConfiguration.ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ExecuteCommandConfiguration.ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ExecuteCommandConfiguration.ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ExecuteCommandConfiguration.ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.ExecuteCommandConfiguration.ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.ExecuteCommandConfiguration.ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.ExecuteCommandConfiguration.ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.ExecuteCommandConfiguration.ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ExecuteCommandConfiguration: newExecuteCommandConfiguration :: ExecuteCommandConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: ExecuteCommandLogConfiguration' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: [$sel:cloudWatchEncryptionEnabled:ExecuteCommandLogConfiguration'] :: ExecuteCommandLogConfiguration -> Maybe Bool
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: [$sel:cloudWatchLogGroupName:ExecuteCommandLogConfiguration'] :: ExecuteCommandLogConfiguration -> Maybe Text
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: [$sel:s3BucketName:ExecuteCommandLogConfiguration'] :: ExecuteCommandLogConfiguration -> Maybe Text
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: [$sel:s3EncryptionEnabled:ExecuteCommandLogConfiguration'] :: ExecuteCommandLogConfiguration -> Maybe Bool
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: [$sel:s3KeyPrefix:ExecuteCommandLogConfiguration'] :: ExecuteCommandLogConfiguration -> Maybe Text
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: data ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: executeCommandLogConfiguration_cloudWatchEncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool)
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: executeCommandLogConfiguration_cloudWatchLogGroupName :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: executeCommandLogConfiguration_s3BucketName :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: executeCommandLogConfiguration_s3EncryptionEnabled :: Lens' ExecuteCommandLogConfiguration (Maybe Bool)
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: executeCommandLogConfiguration_s3KeyPrefix :: Lens' ExecuteCommandLogConfiguration (Maybe Text)
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ExecuteCommandLogConfiguration.ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ExecuteCommandLogConfiguration.ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ExecuteCommandLogConfiguration.ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ExecuteCommandLogConfiguration.ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.ExecuteCommandLogConfiguration.ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.ExecuteCommandLogConfiguration.ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.ExecuteCommandLogConfiguration.ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.ExecuteCommandLogConfiguration.ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration: newExecuteCommandLogConfiguration :: ExecuteCommandLogConfiguration
+ Amazonka.ECS.Types.ExecuteCommandLogging: ExecuteCommandLogging' :: Text -> ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: [fromExecuteCommandLogging] :: ExecuteCommandLogging -> Text
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance GHC.Classes.Eq Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance GHC.Classes.Ord Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance GHC.Generics.Generic Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance GHC.Read.Read Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: instance GHC.Show.Show Amazonka.ECS.Types.ExecuteCommandLogging.ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: newtype ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: pattern ExecuteCommandLogging_DEFAULT :: ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: pattern ExecuteCommandLogging_NONE :: ExecuteCommandLogging
+ Amazonka.ECS.Types.ExecuteCommandLogging: pattern ExecuteCommandLogging_OVERRIDE :: ExecuteCommandLogging
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: FSxWindowsFileServerAuthorizationConfig' :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: [$sel:credentialsParameter:FSxWindowsFileServerAuthorizationConfig'] :: FSxWindowsFileServerAuthorizationConfig -> Text
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: [$sel:domain:FSxWindowsFileServerAuthorizationConfig'] :: FSxWindowsFileServerAuthorizationConfig -> Text
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: data FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: fSxWindowsFileServerAuthorizationConfig_credentialsParameter :: Lens' FSxWindowsFileServerAuthorizationConfig Text
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: fSxWindowsFileServerAuthorizationConfig_domain :: Lens' FSxWindowsFileServerAuthorizationConfig Text
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: instance Control.DeepSeq.NFData Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig.FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig.FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig.FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig.FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: instance GHC.Classes.Eq Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig.FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: instance GHC.Generics.Generic Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig.FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: instance GHC.Read.Read Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig.FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: instance GHC.Show.Show Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig.FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig: newFSxWindowsFileServerAuthorizationConfig :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: FSxWindowsFileServerVolumeConfiguration' :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig -> FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: [$sel:authorizationConfig:FSxWindowsFileServerVolumeConfiguration'] :: FSxWindowsFileServerVolumeConfiguration -> FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: [$sel:fileSystemId:FSxWindowsFileServerVolumeConfiguration'] :: FSxWindowsFileServerVolumeConfiguration -> Text
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: [$sel:rootDirectory:FSxWindowsFileServerVolumeConfiguration'] :: FSxWindowsFileServerVolumeConfiguration -> Text
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: data FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: fSxWindowsFileServerVolumeConfiguration_authorizationConfig :: Lens' FSxWindowsFileServerVolumeConfiguration FSxWindowsFileServerAuthorizationConfig
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: fSxWindowsFileServerVolumeConfiguration_fileSystemId :: Lens' FSxWindowsFileServerVolumeConfiguration Text
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: fSxWindowsFileServerVolumeConfiguration_rootDirectory :: Lens' FSxWindowsFileServerVolumeConfiguration Text
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration.FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration.FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration.FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration.FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration.FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration.FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration.FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration.FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration: newFSxWindowsFileServerVolumeConfiguration :: Text -> Text -> FSxWindowsFileServerAuthorizationConfig -> FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.Failure: Failure' :: Maybe Text -> Maybe Text -> Maybe Text -> Failure
+ Amazonka.ECS.Types.Failure: [$sel:arn:Failure'] :: Failure -> Maybe Text
+ Amazonka.ECS.Types.Failure: [$sel:detail:Failure'] :: Failure -> Maybe Text
+ Amazonka.ECS.Types.Failure: [$sel:reason:Failure'] :: Failure -> Maybe Text
+ Amazonka.ECS.Types.Failure: data Failure
+ Amazonka.ECS.Types.Failure: failure_arn :: Lens' Failure (Maybe Text)
+ Amazonka.ECS.Types.Failure: failure_detail :: Lens' Failure (Maybe Text)
+ Amazonka.ECS.Types.Failure: failure_reason :: Lens' Failure (Maybe Text)
+ Amazonka.ECS.Types.Failure: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Failure.Failure
+ Amazonka.ECS.Types.Failure: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Failure.Failure
+ Amazonka.ECS.Types.Failure: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Failure.Failure
+ Amazonka.ECS.Types.Failure: instance GHC.Classes.Eq Amazonka.ECS.Types.Failure.Failure
+ Amazonka.ECS.Types.Failure: instance GHC.Generics.Generic Amazonka.ECS.Types.Failure.Failure
+ Amazonka.ECS.Types.Failure: instance GHC.Read.Read Amazonka.ECS.Types.Failure.Failure
+ Amazonka.ECS.Types.Failure: instance GHC.Show.Show Amazonka.ECS.Types.Failure.Failure
+ Amazonka.ECS.Types.Failure: newFailure :: Failure
+ Amazonka.ECS.Types.FirelensConfiguration: FirelensConfiguration' :: Maybe (HashMap Text Text) -> FirelensConfigurationType -> FirelensConfiguration
+ Amazonka.ECS.Types.FirelensConfiguration: [$sel:options:FirelensConfiguration'] :: FirelensConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.ECS.Types.FirelensConfiguration: [$sel:type':FirelensConfiguration'] :: FirelensConfiguration -> FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfiguration: data FirelensConfiguration
+ Amazonka.ECS.Types.FirelensConfiguration: firelensConfiguration_options :: Lens' FirelensConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Types.FirelensConfiguration: firelensConfiguration_type :: Lens' FirelensConfiguration FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.FirelensConfiguration.FirelensConfiguration
+ Amazonka.ECS.Types.FirelensConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.FirelensConfiguration.FirelensConfiguration
+ Amazonka.ECS.Types.FirelensConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.FirelensConfiguration.FirelensConfiguration
+ Amazonka.ECS.Types.FirelensConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.FirelensConfiguration.FirelensConfiguration
+ Amazonka.ECS.Types.FirelensConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.FirelensConfiguration.FirelensConfiguration
+ Amazonka.ECS.Types.FirelensConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.FirelensConfiguration.FirelensConfiguration
+ Amazonka.ECS.Types.FirelensConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.FirelensConfiguration.FirelensConfiguration
+ Amazonka.ECS.Types.FirelensConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.FirelensConfiguration.FirelensConfiguration
+ Amazonka.ECS.Types.FirelensConfiguration: newFirelensConfiguration :: FirelensConfigurationType -> FirelensConfiguration
+ Amazonka.ECS.Types.FirelensConfigurationType: FirelensConfigurationType' :: Text -> FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: [fromFirelensConfigurationType] :: FirelensConfigurationType -> Text
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance GHC.Classes.Eq Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance GHC.Classes.Ord Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance GHC.Generics.Generic Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance GHC.Read.Read Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: instance GHC.Show.Show Amazonka.ECS.Types.FirelensConfigurationType.FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: newtype FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: pattern FirelensConfigurationType_Fluentbit :: FirelensConfigurationType
+ Amazonka.ECS.Types.FirelensConfigurationType: pattern FirelensConfigurationType_Fluentd :: FirelensConfigurationType
+ Amazonka.ECS.Types.HealthCheck: HealthCheck' :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> [Text] -> HealthCheck
+ Amazonka.ECS.Types.HealthCheck: [$sel:command:HealthCheck'] :: HealthCheck -> [Text]
+ Amazonka.ECS.Types.HealthCheck: [$sel:interval:HealthCheck'] :: HealthCheck -> Maybe Int
+ Amazonka.ECS.Types.HealthCheck: [$sel:retries:HealthCheck'] :: HealthCheck -> Maybe Int
+ Amazonka.ECS.Types.HealthCheck: [$sel:startPeriod:HealthCheck'] :: HealthCheck -> Maybe Int
+ Amazonka.ECS.Types.HealthCheck: [$sel:timeout:HealthCheck'] :: HealthCheck -> Maybe Int
+ Amazonka.ECS.Types.HealthCheck: data HealthCheck
+ Amazonka.ECS.Types.HealthCheck: healthCheck_command :: Lens' HealthCheck [Text]
+ Amazonka.ECS.Types.HealthCheck: healthCheck_interval :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Types.HealthCheck: healthCheck_retries :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Types.HealthCheck: healthCheck_startPeriod :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Types.HealthCheck: healthCheck_timeout :: Lens' HealthCheck (Maybe Int)
+ Amazonka.ECS.Types.HealthCheck: instance Control.DeepSeq.NFData Amazonka.ECS.Types.HealthCheck.HealthCheck
+ Amazonka.ECS.Types.HealthCheck: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.HealthCheck.HealthCheck
+ Amazonka.ECS.Types.HealthCheck: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.HealthCheck.HealthCheck
+ Amazonka.ECS.Types.HealthCheck: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.HealthCheck.HealthCheck
+ Amazonka.ECS.Types.HealthCheck: instance GHC.Classes.Eq Amazonka.ECS.Types.HealthCheck.HealthCheck
+ Amazonka.ECS.Types.HealthCheck: instance GHC.Generics.Generic Amazonka.ECS.Types.HealthCheck.HealthCheck
+ Amazonka.ECS.Types.HealthCheck: instance GHC.Read.Read Amazonka.ECS.Types.HealthCheck.HealthCheck
+ Amazonka.ECS.Types.HealthCheck: instance GHC.Show.Show Amazonka.ECS.Types.HealthCheck.HealthCheck
+ Amazonka.ECS.Types.HealthCheck: newHealthCheck :: HealthCheck
+ Amazonka.ECS.Types.HealthStatus: HealthStatus' :: Text -> HealthStatus
+ Amazonka.ECS.Types.HealthStatus: [fromHealthStatus] :: HealthStatus -> Text
+ Amazonka.ECS.Types.HealthStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Control.DeepSeq.NFData Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance GHC.Classes.Eq Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance GHC.Classes.Ord Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance GHC.Generics.Generic Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance GHC.Read.Read Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: instance GHC.Show.Show Amazonka.ECS.Types.HealthStatus.HealthStatus
+ Amazonka.ECS.Types.HealthStatus: newtype HealthStatus
+ Amazonka.ECS.Types.HealthStatus: pattern HealthStatus_HEALTHY :: HealthStatus
+ Amazonka.ECS.Types.HealthStatus: pattern HealthStatus_UNHEALTHY :: HealthStatus
+ Amazonka.ECS.Types.HealthStatus: pattern HealthStatus_UNKNOWN :: HealthStatus
+ Amazonka.ECS.Types.HostEntry: HostEntry' :: Text -> Text -> HostEntry
+ Amazonka.ECS.Types.HostEntry: [$sel:hostname:HostEntry'] :: HostEntry -> Text
+ Amazonka.ECS.Types.HostEntry: [$sel:ipAddress:HostEntry'] :: HostEntry -> Text
+ Amazonka.ECS.Types.HostEntry: data HostEntry
+ Amazonka.ECS.Types.HostEntry: hostEntry_hostname :: Lens' HostEntry Text
+ Amazonka.ECS.Types.HostEntry: hostEntry_ipAddress :: Lens' HostEntry Text
+ Amazonka.ECS.Types.HostEntry: instance Control.DeepSeq.NFData Amazonka.ECS.Types.HostEntry.HostEntry
+ Amazonka.ECS.Types.HostEntry: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.HostEntry.HostEntry
+ Amazonka.ECS.Types.HostEntry: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.HostEntry.HostEntry
+ Amazonka.ECS.Types.HostEntry: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.HostEntry.HostEntry
+ Amazonka.ECS.Types.HostEntry: instance GHC.Classes.Eq Amazonka.ECS.Types.HostEntry.HostEntry
+ Amazonka.ECS.Types.HostEntry: instance GHC.Generics.Generic Amazonka.ECS.Types.HostEntry.HostEntry
+ Amazonka.ECS.Types.HostEntry: instance GHC.Read.Read Amazonka.ECS.Types.HostEntry.HostEntry
+ Amazonka.ECS.Types.HostEntry: instance GHC.Show.Show Amazonka.ECS.Types.HostEntry.HostEntry
+ Amazonka.ECS.Types.HostEntry: newHostEntry :: Text -> Text -> HostEntry
+ Amazonka.ECS.Types.HostVolumeProperties: HostVolumeProperties' :: Maybe Text -> HostVolumeProperties
+ Amazonka.ECS.Types.HostVolumeProperties: [$sel:sourcePath:HostVolumeProperties'] :: HostVolumeProperties -> Maybe Text
+ Amazonka.ECS.Types.HostVolumeProperties: data HostVolumeProperties
+ Amazonka.ECS.Types.HostVolumeProperties: hostVolumeProperties_sourcePath :: Lens' HostVolumeProperties (Maybe Text)
+ Amazonka.ECS.Types.HostVolumeProperties: instance Control.DeepSeq.NFData Amazonka.ECS.Types.HostVolumeProperties.HostVolumeProperties
+ Amazonka.ECS.Types.HostVolumeProperties: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.HostVolumeProperties.HostVolumeProperties
+ Amazonka.ECS.Types.HostVolumeProperties: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.HostVolumeProperties.HostVolumeProperties
+ Amazonka.ECS.Types.HostVolumeProperties: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.HostVolumeProperties.HostVolumeProperties
+ Amazonka.ECS.Types.HostVolumeProperties: instance GHC.Classes.Eq Amazonka.ECS.Types.HostVolumeProperties.HostVolumeProperties
+ Amazonka.ECS.Types.HostVolumeProperties: instance GHC.Generics.Generic Amazonka.ECS.Types.HostVolumeProperties.HostVolumeProperties
+ Amazonka.ECS.Types.HostVolumeProperties: instance GHC.Read.Read Amazonka.ECS.Types.HostVolumeProperties.HostVolumeProperties
+ Amazonka.ECS.Types.HostVolumeProperties: instance GHC.Show.Show Amazonka.ECS.Types.HostVolumeProperties.HostVolumeProperties
+ Amazonka.ECS.Types.HostVolumeProperties: newHostVolumeProperties :: HostVolumeProperties
+ Amazonka.ECS.Types.InferenceAccelerator: InferenceAccelerator' :: Text -> Text -> InferenceAccelerator
+ Amazonka.ECS.Types.InferenceAccelerator: [$sel:deviceName:InferenceAccelerator'] :: InferenceAccelerator -> Text
+ Amazonka.ECS.Types.InferenceAccelerator: [$sel:deviceType:InferenceAccelerator'] :: InferenceAccelerator -> Text
+ Amazonka.ECS.Types.InferenceAccelerator: data InferenceAccelerator
+ Amazonka.ECS.Types.InferenceAccelerator: inferenceAccelerator_deviceName :: Lens' InferenceAccelerator Text
+ Amazonka.ECS.Types.InferenceAccelerator: inferenceAccelerator_deviceType :: Lens' InferenceAccelerator Text
+ Amazonka.ECS.Types.InferenceAccelerator: instance Control.DeepSeq.NFData Amazonka.ECS.Types.InferenceAccelerator.InferenceAccelerator
+ Amazonka.ECS.Types.InferenceAccelerator: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.InferenceAccelerator.InferenceAccelerator
+ Amazonka.ECS.Types.InferenceAccelerator: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.InferenceAccelerator.InferenceAccelerator
+ Amazonka.ECS.Types.InferenceAccelerator: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.InferenceAccelerator.InferenceAccelerator
+ Amazonka.ECS.Types.InferenceAccelerator: instance GHC.Classes.Eq Amazonka.ECS.Types.InferenceAccelerator.InferenceAccelerator
+ Amazonka.ECS.Types.InferenceAccelerator: instance GHC.Generics.Generic Amazonka.ECS.Types.InferenceAccelerator.InferenceAccelerator
+ Amazonka.ECS.Types.InferenceAccelerator: instance GHC.Read.Read Amazonka.ECS.Types.InferenceAccelerator.InferenceAccelerator
+ Amazonka.ECS.Types.InferenceAccelerator: instance GHC.Show.Show Amazonka.ECS.Types.InferenceAccelerator.InferenceAccelerator
+ Amazonka.ECS.Types.InferenceAccelerator: newInferenceAccelerator :: Text -> Text -> InferenceAccelerator
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: InferenceAcceleratorOverride' :: Maybe Text -> Maybe Text -> InferenceAcceleratorOverride
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: [$sel:deviceName:InferenceAcceleratorOverride'] :: InferenceAcceleratorOverride -> Maybe Text
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: [$sel:deviceType:InferenceAcceleratorOverride'] :: InferenceAcceleratorOverride -> Maybe Text
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: data InferenceAcceleratorOverride
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: inferenceAcceleratorOverride_deviceName :: Lens' InferenceAcceleratorOverride (Maybe Text)
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: inferenceAcceleratorOverride_deviceType :: Lens' InferenceAcceleratorOverride (Maybe Text)
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: instance Control.DeepSeq.NFData Amazonka.ECS.Types.InferenceAcceleratorOverride.InferenceAcceleratorOverride
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.InferenceAcceleratorOverride.InferenceAcceleratorOverride
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.InferenceAcceleratorOverride.InferenceAcceleratorOverride
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.InferenceAcceleratorOverride.InferenceAcceleratorOverride
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: instance GHC.Classes.Eq Amazonka.ECS.Types.InferenceAcceleratorOverride.InferenceAcceleratorOverride
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: instance GHC.Generics.Generic Amazonka.ECS.Types.InferenceAcceleratorOverride.InferenceAcceleratorOverride
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: instance GHC.Read.Read Amazonka.ECS.Types.InferenceAcceleratorOverride.InferenceAcceleratorOverride
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: instance GHC.Show.Show Amazonka.ECS.Types.InferenceAcceleratorOverride.InferenceAcceleratorOverride
+ Amazonka.ECS.Types.InferenceAcceleratorOverride: newInferenceAcceleratorOverride :: InferenceAcceleratorOverride
+ Amazonka.ECS.Types.InstanceHealthCheckResult: InstanceHealthCheckResult' :: Maybe POSIX -> Maybe POSIX -> Maybe InstanceHealthCheckState -> Maybe InstanceHealthCheckType -> InstanceHealthCheckResult
+ Amazonka.ECS.Types.InstanceHealthCheckResult: [$sel:lastStatusChange:InstanceHealthCheckResult'] :: InstanceHealthCheckResult -> Maybe POSIX
+ Amazonka.ECS.Types.InstanceHealthCheckResult: [$sel:lastUpdated:InstanceHealthCheckResult'] :: InstanceHealthCheckResult -> Maybe POSIX
+ Amazonka.ECS.Types.InstanceHealthCheckResult: [$sel:status:InstanceHealthCheckResult'] :: InstanceHealthCheckResult -> Maybe InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckResult: [$sel:type':InstanceHealthCheckResult'] :: InstanceHealthCheckResult -> Maybe InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckResult: data InstanceHealthCheckResult
+ Amazonka.ECS.Types.InstanceHealthCheckResult: instance Control.DeepSeq.NFData Amazonka.ECS.Types.InstanceHealthCheckResult.InstanceHealthCheckResult
+ Amazonka.ECS.Types.InstanceHealthCheckResult: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.InstanceHealthCheckResult.InstanceHealthCheckResult
+ Amazonka.ECS.Types.InstanceHealthCheckResult: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.InstanceHealthCheckResult.InstanceHealthCheckResult
+ Amazonka.ECS.Types.InstanceHealthCheckResult: instance GHC.Classes.Eq Amazonka.ECS.Types.InstanceHealthCheckResult.InstanceHealthCheckResult
+ Amazonka.ECS.Types.InstanceHealthCheckResult: instance GHC.Generics.Generic Amazonka.ECS.Types.InstanceHealthCheckResult.InstanceHealthCheckResult
+ Amazonka.ECS.Types.InstanceHealthCheckResult: instance GHC.Read.Read Amazonka.ECS.Types.InstanceHealthCheckResult.InstanceHealthCheckResult
+ Amazonka.ECS.Types.InstanceHealthCheckResult: instance GHC.Show.Show Amazonka.ECS.Types.InstanceHealthCheckResult.InstanceHealthCheckResult
+ Amazonka.ECS.Types.InstanceHealthCheckResult: instanceHealthCheckResult_lastStatusChange :: Lens' InstanceHealthCheckResult (Maybe UTCTime)
+ Amazonka.ECS.Types.InstanceHealthCheckResult: instanceHealthCheckResult_lastUpdated :: Lens' InstanceHealthCheckResult (Maybe UTCTime)
+ Amazonka.ECS.Types.InstanceHealthCheckResult: instanceHealthCheckResult_status :: Lens' InstanceHealthCheckResult (Maybe InstanceHealthCheckState)
+ Amazonka.ECS.Types.InstanceHealthCheckResult: instanceHealthCheckResult_type :: Lens' InstanceHealthCheckResult (Maybe InstanceHealthCheckType)
+ Amazonka.ECS.Types.InstanceHealthCheckResult: newInstanceHealthCheckResult :: InstanceHealthCheckResult
+ Amazonka.ECS.Types.InstanceHealthCheckState: InstanceHealthCheckState' :: Text -> InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: [fromInstanceHealthCheckState] :: InstanceHealthCheckState -> Text
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Control.DeepSeq.NFData Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance GHC.Classes.Eq Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance GHC.Classes.Ord Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance GHC.Generics.Generic Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance GHC.Read.Read Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: instance GHC.Show.Show Amazonka.ECS.Types.InstanceHealthCheckState.InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: newtype InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: pattern InstanceHealthCheckState_IMPAIRED :: InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: pattern InstanceHealthCheckState_INITIALIZING :: InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: pattern InstanceHealthCheckState_INSUFFICIENT_DATA :: InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckState: pattern InstanceHealthCheckState_OK :: InstanceHealthCheckState
+ Amazonka.ECS.Types.InstanceHealthCheckType: InstanceHealthCheckType' :: Text -> InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: [fromInstanceHealthCheckType] :: InstanceHealthCheckType -> Text
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance GHC.Classes.Eq Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance GHC.Classes.Ord Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance GHC.Generics.Generic Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance GHC.Read.Read Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: instance GHC.Show.Show Amazonka.ECS.Types.InstanceHealthCheckType.InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: newtype InstanceHealthCheckType
+ Amazonka.ECS.Types.InstanceHealthCheckType: pattern InstanceHealthCheckType_CONTAINER_RUNTIME :: InstanceHealthCheckType
+ Amazonka.ECS.Types.IpcMode: IpcMode' :: Text -> IpcMode
+ Amazonka.ECS.Types.IpcMode: [fromIpcMode] :: IpcMode -> Text
+ Amazonka.ECS.Types.IpcMode: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Control.DeepSeq.NFData Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance GHC.Classes.Eq Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance GHC.Classes.Ord Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance GHC.Generics.Generic Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance GHC.Read.Read Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: instance GHC.Show.Show Amazonka.ECS.Types.IpcMode.IpcMode
+ Amazonka.ECS.Types.IpcMode: newtype IpcMode
+ Amazonka.ECS.Types.IpcMode: pattern IpcMode_Host :: IpcMode
+ Amazonka.ECS.Types.IpcMode: pattern IpcMode_None :: IpcMode
+ Amazonka.ECS.Types.IpcMode: pattern IpcMode_Task :: IpcMode
+ Amazonka.ECS.Types.KernelCapabilities: KernelCapabilities' :: Maybe [Text] -> Maybe [Text] -> KernelCapabilities
+ Amazonka.ECS.Types.KernelCapabilities: [$sel:add:KernelCapabilities'] :: KernelCapabilities -> Maybe [Text]
+ Amazonka.ECS.Types.KernelCapabilities: [$sel:drop:KernelCapabilities'] :: KernelCapabilities -> Maybe [Text]
+ Amazonka.ECS.Types.KernelCapabilities: data KernelCapabilities
+ Amazonka.ECS.Types.KernelCapabilities: instance Control.DeepSeq.NFData Amazonka.ECS.Types.KernelCapabilities.KernelCapabilities
+ Amazonka.ECS.Types.KernelCapabilities: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.KernelCapabilities.KernelCapabilities
+ Amazonka.ECS.Types.KernelCapabilities: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.KernelCapabilities.KernelCapabilities
+ Amazonka.ECS.Types.KernelCapabilities: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.KernelCapabilities.KernelCapabilities
+ Amazonka.ECS.Types.KernelCapabilities: instance GHC.Classes.Eq Amazonka.ECS.Types.KernelCapabilities.KernelCapabilities
+ Amazonka.ECS.Types.KernelCapabilities: instance GHC.Generics.Generic Amazonka.ECS.Types.KernelCapabilities.KernelCapabilities
+ Amazonka.ECS.Types.KernelCapabilities: instance GHC.Read.Read Amazonka.ECS.Types.KernelCapabilities.KernelCapabilities
+ Amazonka.ECS.Types.KernelCapabilities: instance GHC.Show.Show Amazonka.ECS.Types.KernelCapabilities.KernelCapabilities
+ Amazonka.ECS.Types.KernelCapabilities: kernelCapabilities_add :: Lens' KernelCapabilities (Maybe [Text])
+ Amazonka.ECS.Types.KernelCapabilities: kernelCapabilities_drop :: Lens' KernelCapabilities (Maybe [Text])
+ Amazonka.ECS.Types.KernelCapabilities: newKernelCapabilities :: KernelCapabilities
+ Amazonka.ECS.Types.KeyValuePair: KeyValuePair' :: Maybe Text -> Maybe Text -> KeyValuePair
+ Amazonka.ECS.Types.KeyValuePair: [$sel:name:KeyValuePair'] :: KeyValuePair -> Maybe Text
+ Amazonka.ECS.Types.KeyValuePair: [$sel:value:KeyValuePair'] :: KeyValuePair -> Maybe Text
+ Amazonka.ECS.Types.KeyValuePair: data KeyValuePair
+ Amazonka.ECS.Types.KeyValuePair: instance Control.DeepSeq.NFData Amazonka.ECS.Types.KeyValuePair.KeyValuePair
+ Amazonka.ECS.Types.KeyValuePair: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.KeyValuePair.KeyValuePair
+ Amazonka.ECS.Types.KeyValuePair: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.KeyValuePair.KeyValuePair
+ Amazonka.ECS.Types.KeyValuePair: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.KeyValuePair.KeyValuePair
+ Amazonka.ECS.Types.KeyValuePair: instance GHC.Classes.Eq Amazonka.ECS.Types.KeyValuePair.KeyValuePair
+ Amazonka.ECS.Types.KeyValuePair: instance GHC.Generics.Generic Amazonka.ECS.Types.KeyValuePair.KeyValuePair
+ Amazonka.ECS.Types.KeyValuePair: instance GHC.Read.Read Amazonka.ECS.Types.KeyValuePair.KeyValuePair
+ Amazonka.ECS.Types.KeyValuePair: instance GHC.Show.Show Amazonka.ECS.Types.KeyValuePair.KeyValuePair
+ Amazonka.ECS.Types.KeyValuePair: keyValuePair_name :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.ECS.Types.KeyValuePair: keyValuePair_value :: Lens' KeyValuePair (Maybe Text)
+ Amazonka.ECS.Types.KeyValuePair: newKeyValuePair :: KeyValuePair
+ Amazonka.ECS.Types.LaunchType: LaunchType' :: Text -> LaunchType
+ Amazonka.ECS.Types.LaunchType: [fromLaunchType] :: LaunchType -> Text
+ Amazonka.ECS.Types.LaunchType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance GHC.Classes.Eq Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance GHC.Classes.Ord Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance GHC.Generics.Generic Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance GHC.Read.Read Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: instance GHC.Show.Show Amazonka.ECS.Types.LaunchType.LaunchType
+ Amazonka.ECS.Types.LaunchType: newtype LaunchType
+ Amazonka.ECS.Types.LaunchType: pattern LaunchType_EC2 :: LaunchType
+ Amazonka.ECS.Types.LaunchType: pattern LaunchType_EXTERNAL :: LaunchType
+ Amazonka.ECS.Types.LaunchType: pattern LaunchType_FARGATE :: LaunchType
+ Amazonka.ECS.Types.LinuxParameters: LinuxParameters' :: Maybe KernelCapabilities -> Maybe [Device] -> Maybe Bool -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe [Tmpfs] -> LinuxParameters
+ Amazonka.ECS.Types.LinuxParameters: [$sel:capabilities:LinuxParameters'] :: LinuxParameters -> Maybe KernelCapabilities
+ Amazonka.ECS.Types.LinuxParameters: [$sel:devices:LinuxParameters'] :: LinuxParameters -> Maybe [Device]
+ Amazonka.ECS.Types.LinuxParameters: [$sel:initProcessEnabled:LinuxParameters'] :: LinuxParameters -> Maybe Bool
+ Amazonka.ECS.Types.LinuxParameters: [$sel:maxSwap:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.ECS.Types.LinuxParameters: [$sel:sharedMemorySize:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.ECS.Types.LinuxParameters: [$sel:swappiness:LinuxParameters'] :: LinuxParameters -> Maybe Int
+ Amazonka.ECS.Types.LinuxParameters: [$sel:tmpfs:LinuxParameters'] :: LinuxParameters -> Maybe [Tmpfs]
+ Amazonka.ECS.Types.LinuxParameters: data LinuxParameters
+ Amazonka.ECS.Types.LinuxParameters: instance Control.DeepSeq.NFData Amazonka.ECS.Types.LinuxParameters.LinuxParameters
+ Amazonka.ECS.Types.LinuxParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.LinuxParameters.LinuxParameters
+ Amazonka.ECS.Types.LinuxParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.LinuxParameters.LinuxParameters
+ Amazonka.ECS.Types.LinuxParameters: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.LinuxParameters.LinuxParameters
+ Amazonka.ECS.Types.LinuxParameters: instance GHC.Classes.Eq Amazonka.ECS.Types.LinuxParameters.LinuxParameters
+ Amazonka.ECS.Types.LinuxParameters: instance GHC.Generics.Generic Amazonka.ECS.Types.LinuxParameters.LinuxParameters
+ Amazonka.ECS.Types.LinuxParameters: instance GHC.Read.Read Amazonka.ECS.Types.LinuxParameters.LinuxParameters
+ Amazonka.ECS.Types.LinuxParameters: instance GHC.Show.Show Amazonka.ECS.Types.LinuxParameters.LinuxParameters
+ Amazonka.ECS.Types.LinuxParameters: linuxParameters_capabilities :: Lens' LinuxParameters (Maybe KernelCapabilities)
+ Amazonka.ECS.Types.LinuxParameters: linuxParameters_devices :: Lens' LinuxParameters (Maybe [Device])
+ Amazonka.ECS.Types.LinuxParameters: linuxParameters_initProcessEnabled :: Lens' LinuxParameters (Maybe Bool)
+ Amazonka.ECS.Types.LinuxParameters: linuxParameters_maxSwap :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.ECS.Types.LinuxParameters: linuxParameters_sharedMemorySize :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.ECS.Types.LinuxParameters: linuxParameters_swappiness :: Lens' LinuxParameters (Maybe Int)
+ Amazonka.ECS.Types.LinuxParameters: linuxParameters_tmpfs :: Lens' LinuxParameters (Maybe [Tmpfs])
+ Amazonka.ECS.Types.LinuxParameters: newLinuxParameters :: LinuxParameters
+ Amazonka.ECS.Types.LoadBalancer: LoadBalancer' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> LoadBalancer
+ Amazonka.ECS.Types.LoadBalancer: [$sel:containerName:LoadBalancer'] :: LoadBalancer -> Maybe Text
+ Amazonka.ECS.Types.LoadBalancer: [$sel:containerPort:LoadBalancer'] :: LoadBalancer -> Maybe Int
+ Amazonka.ECS.Types.LoadBalancer: [$sel:loadBalancerName:LoadBalancer'] :: LoadBalancer -> Maybe Text
+ Amazonka.ECS.Types.LoadBalancer: [$sel:targetGroupArn:LoadBalancer'] :: LoadBalancer -> Maybe Text
+ Amazonka.ECS.Types.LoadBalancer: data LoadBalancer
+ Amazonka.ECS.Types.LoadBalancer: instance Control.DeepSeq.NFData Amazonka.ECS.Types.LoadBalancer.LoadBalancer
+ Amazonka.ECS.Types.LoadBalancer: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.LoadBalancer.LoadBalancer
+ Amazonka.ECS.Types.LoadBalancer: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.LoadBalancer.LoadBalancer
+ Amazonka.ECS.Types.LoadBalancer: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.LoadBalancer.LoadBalancer
+ Amazonka.ECS.Types.LoadBalancer: instance GHC.Classes.Eq Amazonka.ECS.Types.LoadBalancer.LoadBalancer
+ Amazonka.ECS.Types.LoadBalancer: instance GHC.Generics.Generic Amazonka.ECS.Types.LoadBalancer.LoadBalancer
+ Amazonka.ECS.Types.LoadBalancer: instance GHC.Read.Read Amazonka.ECS.Types.LoadBalancer.LoadBalancer
+ Amazonka.ECS.Types.LoadBalancer: instance GHC.Show.Show Amazonka.ECS.Types.LoadBalancer.LoadBalancer
+ Amazonka.ECS.Types.LoadBalancer: loadBalancer_containerName :: Lens' LoadBalancer (Maybe Text)
+ Amazonka.ECS.Types.LoadBalancer: loadBalancer_containerPort :: Lens' LoadBalancer (Maybe Int)
+ Amazonka.ECS.Types.LoadBalancer: loadBalancer_loadBalancerName :: Lens' LoadBalancer (Maybe Text)
+ Amazonka.ECS.Types.LoadBalancer: loadBalancer_targetGroupArn :: Lens' LoadBalancer (Maybe Text)
+ Amazonka.ECS.Types.LoadBalancer: newLoadBalancer :: LoadBalancer
+ Amazonka.ECS.Types.LogConfiguration: LogConfiguration' :: Maybe (HashMap Text Text) -> Maybe [Secret] -> LogDriver -> LogConfiguration
+ Amazonka.ECS.Types.LogConfiguration: [$sel:logDriver:LogConfiguration'] :: LogConfiguration -> LogDriver
+ Amazonka.ECS.Types.LogConfiguration: [$sel:options:LogConfiguration'] :: LogConfiguration -> Maybe (HashMap Text Text)
+ Amazonka.ECS.Types.LogConfiguration: [$sel:secretOptions:LogConfiguration'] :: LogConfiguration -> Maybe [Secret]
+ Amazonka.ECS.Types.LogConfiguration: data LogConfiguration
+ Amazonka.ECS.Types.LogConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.LogConfiguration.LogConfiguration
+ Amazonka.ECS.Types.LogConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.LogConfiguration.LogConfiguration
+ Amazonka.ECS.Types.LogConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.LogConfiguration.LogConfiguration
+ Amazonka.ECS.Types.LogConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.LogConfiguration.LogConfiguration
+ Amazonka.ECS.Types.LogConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.LogConfiguration.LogConfiguration
+ Amazonka.ECS.Types.LogConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.LogConfiguration.LogConfiguration
+ Amazonka.ECS.Types.LogConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.LogConfiguration.LogConfiguration
+ Amazonka.ECS.Types.LogConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.LogConfiguration.LogConfiguration
+ Amazonka.ECS.Types.LogConfiguration: logConfiguration_logDriver :: Lens' LogConfiguration LogDriver
+ Amazonka.ECS.Types.LogConfiguration: logConfiguration_options :: Lens' LogConfiguration (Maybe (HashMap Text Text))
+ Amazonka.ECS.Types.LogConfiguration: logConfiguration_secretOptions :: Lens' LogConfiguration (Maybe [Secret])
+ Amazonka.ECS.Types.LogConfiguration: newLogConfiguration :: LogDriver -> LogConfiguration
+ Amazonka.ECS.Types.LogDriver: LogDriver' :: Text -> LogDriver
+ Amazonka.ECS.Types.LogDriver: [fromLogDriver] :: LogDriver -> Text
+ Amazonka.ECS.Types.LogDriver: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Control.DeepSeq.NFData Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance GHC.Classes.Eq Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance GHC.Classes.Ord Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance GHC.Generics.Generic Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance GHC.Read.Read Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: instance GHC.Show.Show Amazonka.ECS.Types.LogDriver.LogDriver
+ Amazonka.ECS.Types.LogDriver: newtype LogDriver
+ Amazonka.ECS.Types.LogDriver: pattern LogDriver_Awsfirelens :: LogDriver
+ Amazonka.ECS.Types.LogDriver: pattern LogDriver_Awslogs :: LogDriver
+ Amazonka.ECS.Types.LogDriver: pattern LogDriver_Fluentd :: LogDriver
+ Amazonka.ECS.Types.LogDriver: pattern LogDriver_Gelf :: LogDriver
+ Amazonka.ECS.Types.LogDriver: pattern LogDriver_Journald :: LogDriver
+ Amazonka.ECS.Types.LogDriver: pattern LogDriver_Json_file :: LogDriver
+ Amazonka.ECS.Types.LogDriver: pattern LogDriver_Splunk :: LogDriver
+ Amazonka.ECS.Types.LogDriver: pattern LogDriver_Syslog :: LogDriver
+ Amazonka.ECS.Types.ManagedAgent: ManagedAgent' :: Maybe POSIX -> Maybe Text -> Maybe ManagedAgentName -> Maybe Text -> ManagedAgent
+ Amazonka.ECS.Types.ManagedAgent: [$sel:lastStartedAt:ManagedAgent'] :: ManagedAgent -> Maybe POSIX
+ Amazonka.ECS.Types.ManagedAgent: [$sel:lastStatus:ManagedAgent'] :: ManagedAgent -> Maybe Text
+ Amazonka.ECS.Types.ManagedAgent: [$sel:name:ManagedAgent'] :: ManagedAgent -> Maybe ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgent: [$sel:reason:ManagedAgent'] :: ManagedAgent -> Maybe Text
+ Amazonka.ECS.Types.ManagedAgent: data ManagedAgent
+ Amazonka.ECS.Types.ManagedAgent: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ManagedAgent.ManagedAgent
+ Amazonka.ECS.Types.ManagedAgent: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ManagedAgent.ManagedAgent
+ Amazonka.ECS.Types.ManagedAgent: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ManagedAgent.ManagedAgent
+ Amazonka.ECS.Types.ManagedAgent: instance GHC.Classes.Eq Amazonka.ECS.Types.ManagedAgent.ManagedAgent
+ Amazonka.ECS.Types.ManagedAgent: instance GHC.Generics.Generic Amazonka.ECS.Types.ManagedAgent.ManagedAgent
+ Amazonka.ECS.Types.ManagedAgent: instance GHC.Read.Read Amazonka.ECS.Types.ManagedAgent.ManagedAgent
+ Amazonka.ECS.Types.ManagedAgent: instance GHC.Show.Show Amazonka.ECS.Types.ManagedAgent.ManagedAgent
+ Amazonka.ECS.Types.ManagedAgent: managedAgent_lastStartedAt :: Lens' ManagedAgent (Maybe UTCTime)
+ Amazonka.ECS.Types.ManagedAgent: managedAgent_lastStatus :: Lens' ManagedAgent (Maybe Text)
+ Amazonka.ECS.Types.ManagedAgent: managedAgent_name :: Lens' ManagedAgent (Maybe ManagedAgentName)
+ Amazonka.ECS.Types.ManagedAgent: managedAgent_reason :: Lens' ManagedAgent (Maybe Text)
+ Amazonka.ECS.Types.ManagedAgent: newManagedAgent :: ManagedAgent
+ Amazonka.ECS.Types.ManagedAgentName: ManagedAgentName' :: Text -> ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: [fromManagedAgentName] :: ManagedAgentName -> Text
+ Amazonka.ECS.Types.ManagedAgentName: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance GHC.Classes.Eq Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance GHC.Classes.Ord Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance GHC.Generics.Generic Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance GHC.Read.Read Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: instance GHC.Show.Show Amazonka.ECS.Types.ManagedAgentName.ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: newtype ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentName: pattern ManagedAgentName_ExecuteCommandAgent :: ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentStateChange: ManagedAgentStateChange' :: Maybe Text -> Text -> ManagedAgentName -> Text -> ManagedAgentStateChange
+ Amazonka.ECS.Types.ManagedAgentStateChange: [$sel:containerName:ManagedAgentStateChange'] :: ManagedAgentStateChange -> Text
+ Amazonka.ECS.Types.ManagedAgentStateChange: [$sel:managedAgentName:ManagedAgentStateChange'] :: ManagedAgentStateChange -> ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentStateChange: [$sel:reason:ManagedAgentStateChange'] :: ManagedAgentStateChange -> Maybe Text
+ Amazonka.ECS.Types.ManagedAgentStateChange: [$sel:status:ManagedAgentStateChange'] :: ManagedAgentStateChange -> Text
+ Amazonka.ECS.Types.ManagedAgentStateChange: data ManagedAgentStateChange
+ Amazonka.ECS.Types.ManagedAgentStateChange: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ManagedAgentStateChange.ManagedAgentStateChange
+ Amazonka.ECS.Types.ManagedAgentStateChange: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ManagedAgentStateChange.ManagedAgentStateChange
+ Amazonka.ECS.Types.ManagedAgentStateChange: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ManagedAgentStateChange.ManagedAgentStateChange
+ Amazonka.ECS.Types.ManagedAgentStateChange: instance GHC.Classes.Eq Amazonka.ECS.Types.ManagedAgentStateChange.ManagedAgentStateChange
+ Amazonka.ECS.Types.ManagedAgentStateChange: instance GHC.Generics.Generic Amazonka.ECS.Types.ManagedAgentStateChange.ManagedAgentStateChange
+ Amazonka.ECS.Types.ManagedAgentStateChange: instance GHC.Read.Read Amazonka.ECS.Types.ManagedAgentStateChange.ManagedAgentStateChange
+ Amazonka.ECS.Types.ManagedAgentStateChange: instance GHC.Show.Show Amazonka.ECS.Types.ManagedAgentStateChange.ManagedAgentStateChange
+ Amazonka.ECS.Types.ManagedAgentStateChange: managedAgentStateChange_containerName :: Lens' ManagedAgentStateChange Text
+ Amazonka.ECS.Types.ManagedAgentStateChange: managedAgentStateChange_managedAgentName :: Lens' ManagedAgentStateChange ManagedAgentName
+ Amazonka.ECS.Types.ManagedAgentStateChange: managedAgentStateChange_reason :: Lens' ManagedAgentStateChange (Maybe Text)
+ Amazonka.ECS.Types.ManagedAgentStateChange: managedAgentStateChange_status :: Lens' ManagedAgentStateChange Text
+ Amazonka.ECS.Types.ManagedAgentStateChange: newManagedAgentStateChange :: Text -> ManagedAgentName -> Text -> ManagedAgentStateChange
+ Amazonka.ECS.Types.ManagedScaling: ManagedScaling' :: Maybe Natural -> Maybe Natural -> Maybe Natural -> Maybe ManagedScalingStatus -> Maybe Natural -> ManagedScaling
+ Amazonka.ECS.Types.ManagedScaling: [$sel:instanceWarmupPeriod:ManagedScaling'] :: ManagedScaling -> Maybe Natural
+ Amazonka.ECS.Types.ManagedScaling: [$sel:maximumScalingStepSize:ManagedScaling'] :: ManagedScaling -> Maybe Natural
+ Amazonka.ECS.Types.ManagedScaling: [$sel:minimumScalingStepSize:ManagedScaling'] :: ManagedScaling -> Maybe Natural
+ Amazonka.ECS.Types.ManagedScaling: [$sel:status:ManagedScaling'] :: ManagedScaling -> Maybe ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScaling: [$sel:targetCapacity:ManagedScaling'] :: ManagedScaling -> Maybe Natural
+ Amazonka.ECS.Types.ManagedScaling: data ManagedScaling
+ Amazonka.ECS.Types.ManagedScaling: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ManagedScaling.ManagedScaling
+ Amazonka.ECS.Types.ManagedScaling: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ManagedScaling.ManagedScaling
+ Amazonka.ECS.Types.ManagedScaling: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ManagedScaling.ManagedScaling
+ Amazonka.ECS.Types.ManagedScaling: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ManagedScaling.ManagedScaling
+ Amazonka.ECS.Types.ManagedScaling: instance GHC.Classes.Eq Amazonka.ECS.Types.ManagedScaling.ManagedScaling
+ Amazonka.ECS.Types.ManagedScaling: instance GHC.Generics.Generic Amazonka.ECS.Types.ManagedScaling.ManagedScaling
+ Amazonka.ECS.Types.ManagedScaling: instance GHC.Read.Read Amazonka.ECS.Types.ManagedScaling.ManagedScaling
+ Amazonka.ECS.Types.ManagedScaling: instance GHC.Show.Show Amazonka.ECS.Types.ManagedScaling.ManagedScaling
+ Amazonka.ECS.Types.ManagedScaling: managedScaling_instanceWarmupPeriod :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Types.ManagedScaling: managedScaling_maximumScalingStepSize :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Types.ManagedScaling: managedScaling_minimumScalingStepSize :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Types.ManagedScaling: managedScaling_status :: Lens' ManagedScaling (Maybe ManagedScalingStatus)
+ Amazonka.ECS.Types.ManagedScaling: managedScaling_targetCapacity :: Lens' ManagedScaling (Maybe Natural)
+ Amazonka.ECS.Types.ManagedScaling: newManagedScaling :: ManagedScaling
+ Amazonka.ECS.Types.ManagedScalingStatus: ManagedScalingStatus' :: Text -> ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: [fromManagedScalingStatus] :: ManagedScalingStatus -> Text
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance GHC.Classes.Eq Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance GHC.Classes.Ord Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance GHC.Generics.Generic Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance GHC.Read.Read Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: instance GHC.Show.Show Amazonka.ECS.Types.ManagedScalingStatus.ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: newtype ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: pattern ManagedScalingStatus_DISABLED :: ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedScalingStatus: pattern ManagedScalingStatus_ENABLED :: ManagedScalingStatus
+ Amazonka.ECS.Types.ManagedTerminationProtection: ManagedTerminationProtection' :: Text -> ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: [fromManagedTerminationProtection] :: ManagedTerminationProtection -> Text
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance GHC.Classes.Eq Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance GHC.Classes.Ord Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance GHC.Generics.Generic Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance GHC.Read.Read Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: instance GHC.Show.Show Amazonka.ECS.Types.ManagedTerminationProtection.ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: newtype ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: pattern ManagedTerminationProtection_DISABLED :: ManagedTerminationProtection
+ Amazonka.ECS.Types.ManagedTerminationProtection: pattern ManagedTerminationProtection_ENABLED :: ManagedTerminationProtection
+ Amazonka.ECS.Types.MountPoint: MountPoint' :: Maybe Text -> Maybe Bool -> Maybe Text -> MountPoint
+ Amazonka.ECS.Types.MountPoint: [$sel:containerPath:MountPoint'] :: MountPoint -> Maybe Text
+ Amazonka.ECS.Types.MountPoint: [$sel:readOnly:MountPoint'] :: MountPoint -> Maybe Bool
+ Amazonka.ECS.Types.MountPoint: [$sel:sourceVolume:MountPoint'] :: MountPoint -> Maybe Text
+ Amazonka.ECS.Types.MountPoint: data MountPoint
+ Amazonka.ECS.Types.MountPoint: instance Control.DeepSeq.NFData Amazonka.ECS.Types.MountPoint.MountPoint
+ Amazonka.ECS.Types.MountPoint: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.MountPoint.MountPoint
+ Amazonka.ECS.Types.MountPoint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.MountPoint.MountPoint
+ Amazonka.ECS.Types.MountPoint: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.MountPoint.MountPoint
+ Amazonka.ECS.Types.MountPoint: instance GHC.Classes.Eq Amazonka.ECS.Types.MountPoint.MountPoint
+ Amazonka.ECS.Types.MountPoint: instance GHC.Generics.Generic Amazonka.ECS.Types.MountPoint.MountPoint
+ Amazonka.ECS.Types.MountPoint: instance GHC.Read.Read Amazonka.ECS.Types.MountPoint.MountPoint
+ Amazonka.ECS.Types.MountPoint: instance GHC.Show.Show Amazonka.ECS.Types.MountPoint.MountPoint
+ Amazonka.ECS.Types.MountPoint: mountPoint_containerPath :: Lens' MountPoint (Maybe Text)
+ Amazonka.ECS.Types.MountPoint: mountPoint_readOnly :: Lens' MountPoint (Maybe Bool)
+ Amazonka.ECS.Types.MountPoint: mountPoint_sourceVolume :: Lens' MountPoint (Maybe Text)
+ Amazonka.ECS.Types.MountPoint: newMountPoint :: MountPoint
+ Amazonka.ECS.Types.NetworkBinding: NetworkBinding' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe TransportProtocol -> NetworkBinding
+ Amazonka.ECS.Types.NetworkBinding: [$sel:bindIP:NetworkBinding'] :: NetworkBinding -> Maybe Text
+ Amazonka.ECS.Types.NetworkBinding: [$sel:containerPort:NetworkBinding'] :: NetworkBinding -> Maybe Int
+ Amazonka.ECS.Types.NetworkBinding: [$sel:containerPortRange:NetworkBinding'] :: NetworkBinding -> Maybe Text
+ Amazonka.ECS.Types.NetworkBinding: [$sel:hostPort:NetworkBinding'] :: NetworkBinding -> Maybe Int
+ Amazonka.ECS.Types.NetworkBinding: [$sel:hostPortRange:NetworkBinding'] :: NetworkBinding -> Maybe Text
+ Amazonka.ECS.Types.NetworkBinding: [$sel:protocol:NetworkBinding'] :: NetworkBinding -> Maybe TransportProtocol
+ Amazonka.ECS.Types.NetworkBinding: data NetworkBinding
+ Amazonka.ECS.Types.NetworkBinding: instance Control.DeepSeq.NFData Amazonka.ECS.Types.NetworkBinding.NetworkBinding
+ Amazonka.ECS.Types.NetworkBinding: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.NetworkBinding.NetworkBinding
+ Amazonka.ECS.Types.NetworkBinding: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.NetworkBinding.NetworkBinding
+ Amazonka.ECS.Types.NetworkBinding: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.NetworkBinding.NetworkBinding
+ Amazonka.ECS.Types.NetworkBinding: instance GHC.Classes.Eq Amazonka.ECS.Types.NetworkBinding.NetworkBinding
+ Amazonka.ECS.Types.NetworkBinding: instance GHC.Generics.Generic Amazonka.ECS.Types.NetworkBinding.NetworkBinding
+ Amazonka.ECS.Types.NetworkBinding: instance GHC.Read.Read Amazonka.ECS.Types.NetworkBinding.NetworkBinding
+ Amazonka.ECS.Types.NetworkBinding: instance GHC.Show.Show Amazonka.ECS.Types.NetworkBinding.NetworkBinding
+ Amazonka.ECS.Types.NetworkBinding: networkBinding_bindIP :: Lens' NetworkBinding (Maybe Text)
+ Amazonka.ECS.Types.NetworkBinding: networkBinding_containerPort :: Lens' NetworkBinding (Maybe Int)
+ Amazonka.ECS.Types.NetworkBinding: networkBinding_containerPortRange :: Lens' NetworkBinding (Maybe Text)
+ Amazonka.ECS.Types.NetworkBinding: networkBinding_hostPort :: Lens' NetworkBinding (Maybe Int)
+ Amazonka.ECS.Types.NetworkBinding: networkBinding_hostPortRange :: Lens' NetworkBinding (Maybe Text)
+ Amazonka.ECS.Types.NetworkBinding: networkBinding_protocol :: Lens' NetworkBinding (Maybe TransportProtocol)
+ Amazonka.ECS.Types.NetworkBinding: newNetworkBinding :: NetworkBinding
+ Amazonka.ECS.Types.NetworkConfiguration: NetworkConfiguration' :: Maybe AwsVpcConfiguration -> NetworkConfiguration
+ Amazonka.ECS.Types.NetworkConfiguration: [$sel:awsvpcConfiguration:NetworkConfiguration'] :: NetworkConfiguration -> Maybe AwsVpcConfiguration
+ Amazonka.ECS.Types.NetworkConfiguration: data NetworkConfiguration
+ Amazonka.ECS.Types.NetworkConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.ECS.Types.NetworkConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.ECS.Types.NetworkConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.ECS.Types.NetworkConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.ECS.Types.NetworkConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.ECS.Types.NetworkConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.ECS.Types.NetworkConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.ECS.Types.NetworkConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.ECS.Types.NetworkConfiguration: networkConfiguration_awsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AwsVpcConfiguration)
+ Amazonka.ECS.Types.NetworkConfiguration: newNetworkConfiguration :: NetworkConfiguration
+ Amazonka.ECS.Types.NetworkInterface: NetworkInterface' :: Maybe Text -> Maybe Text -> Maybe Text -> NetworkInterface
+ Amazonka.ECS.Types.NetworkInterface: [$sel:attachmentId:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.ECS.Types.NetworkInterface: [$sel:ipv6Address:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.ECS.Types.NetworkInterface: [$sel:privateIpv4Address:NetworkInterface'] :: NetworkInterface -> Maybe Text
+ Amazonka.ECS.Types.NetworkInterface: data NetworkInterface
+ Amazonka.ECS.Types.NetworkInterface: instance Control.DeepSeq.NFData Amazonka.ECS.Types.NetworkInterface.NetworkInterface
+ Amazonka.ECS.Types.NetworkInterface: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.NetworkInterface.NetworkInterface
+ Amazonka.ECS.Types.NetworkInterface: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.NetworkInterface.NetworkInterface
+ Amazonka.ECS.Types.NetworkInterface: instance GHC.Classes.Eq Amazonka.ECS.Types.NetworkInterface.NetworkInterface
+ Amazonka.ECS.Types.NetworkInterface: instance GHC.Generics.Generic Amazonka.ECS.Types.NetworkInterface.NetworkInterface
+ Amazonka.ECS.Types.NetworkInterface: instance GHC.Read.Read Amazonka.ECS.Types.NetworkInterface.NetworkInterface
+ Amazonka.ECS.Types.NetworkInterface: instance GHC.Show.Show Amazonka.ECS.Types.NetworkInterface.NetworkInterface
+ Amazonka.ECS.Types.NetworkInterface: networkInterface_attachmentId :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.ECS.Types.NetworkInterface: networkInterface_ipv6Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.ECS.Types.NetworkInterface: networkInterface_privateIpv4Address :: Lens' NetworkInterface (Maybe Text)
+ Amazonka.ECS.Types.NetworkInterface: newNetworkInterface :: NetworkInterface
+ Amazonka.ECS.Types.NetworkMode: NetworkMode' :: Text -> NetworkMode
+ Amazonka.ECS.Types.NetworkMode: [fromNetworkMode] :: NetworkMode -> Text
+ Amazonka.ECS.Types.NetworkMode: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Control.DeepSeq.NFData Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance GHC.Classes.Eq Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance GHC.Classes.Ord Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance GHC.Generics.Generic Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance GHC.Read.Read Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: instance GHC.Show.Show Amazonka.ECS.Types.NetworkMode.NetworkMode
+ Amazonka.ECS.Types.NetworkMode: newtype NetworkMode
+ Amazonka.ECS.Types.NetworkMode: pattern NetworkMode_Awsvpc :: NetworkMode
+ Amazonka.ECS.Types.NetworkMode: pattern NetworkMode_Bridge :: NetworkMode
+ Amazonka.ECS.Types.NetworkMode: pattern NetworkMode_Host :: NetworkMode
+ Amazonka.ECS.Types.NetworkMode: pattern NetworkMode_None :: NetworkMode
+ Amazonka.ECS.Types.OSFamily: OSFamily' :: Text -> OSFamily
+ Amazonka.ECS.Types.OSFamily: [fromOSFamily] :: OSFamily -> Text
+ Amazonka.ECS.Types.OSFamily: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Control.DeepSeq.NFData Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance GHC.Classes.Eq Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance GHC.Classes.Ord Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance GHC.Generics.Generic Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance GHC.Read.Read Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: instance GHC.Show.Show Amazonka.ECS.Types.OSFamily.OSFamily
+ Amazonka.ECS.Types.OSFamily: newtype OSFamily
+ Amazonka.ECS.Types.OSFamily: pattern OSFamily_LINUX :: OSFamily
+ Amazonka.ECS.Types.OSFamily: pattern OSFamily_WINDOWS_SERVER_2004_CORE :: OSFamily
+ Amazonka.ECS.Types.OSFamily: pattern OSFamily_WINDOWS_SERVER_2016_FULL :: OSFamily
+ Amazonka.ECS.Types.OSFamily: pattern OSFamily_WINDOWS_SERVER_2019_CORE :: OSFamily
+ Amazonka.ECS.Types.OSFamily: pattern OSFamily_WINDOWS_SERVER_2019_FULL :: OSFamily
+ Amazonka.ECS.Types.OSFamily: pattern OSFamily_WINDOWS_SERVER_2022_CORE :: OSFamily
+ Amazonka.ECS.Types.OSFamily: pattern OSFamily_WINDOWS_SERVER_2022_FULL :: OSFamily
+ Amazonka.ECS.Types.OSFamily: pattern OSFamily_WINDOWS_SERVER_20H2_CORE :: OSFamily
+ Amazonka.ECS.Types.PidMode: PidMode' :: Text -> PidMode
+ Amazonka.ECS.Types.PidMode: [fromPidMode] :: PidMode -> Text
+ Amazonka.ECS.Types.PidMode: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Control.DeepSeq.NFData Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance GHC.Classes.Eq Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance GHC.Classes.Ord Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance GHC.Generics.Generic Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance GHC.Read.Read Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: instance GHC.Show.Show Amazonka.ECS.Types.PidMode.PidMode
+ Amazonka.ECS.Types.PidMode: newtype PidMode
+ Amazonka.ECS.Types.PidMode: pattern PidMode_Host :: PidMode
+ Amazonka.ECS.Types.PidMode: pattern PidMode_Task :: PidMode
+ Amazonka.ECS.Types.PlacementConstraint: PlacementConstraint' :: Maybe Text -> Maybe PlacementConstraintType -> PlacementConstraint
+ Amazonka.ECS.Types.PlacementConstraint: [$sel:expression:PlacementConstraint'] :: PlacementConstraint -> Maybe Text
+ Amazonka.ECS.Types.PlacementConstraint: [$sel:type':PlacementConstraint'] :: PlacementConstraint -> Maybe PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraint: data PlacementConstraint
+ Amazonka.ECS.Types.PlacementConstraint: instance Control.DeepSeq.NFData Amazonka.ECS.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.ECS.Types.PlacementConstraint: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.ECS.Types.PlacementConstraint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.ECS.Types.PlacementConstraint: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.ECS.Types.PlacementConstraint: instance GHC.Classes.Eq Amazonka.ECS.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.ECS.Types.PlacementConstraint: instance GHC.Generics.Generic Amazonka.ECS.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.ECS.Types.PlacementConstraint: instance GHC.Read.Read Amazonka.ECS.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.ECS.Types.PlacementConstraint: instance GHC.Show.Show Amazonka.ECS.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.ECS.Types.PlacementConstraint: newPlacementConstraint :: PlacementConstraint
+ Amazonka.ECS.Types.PlacementConstraint: placementConstraint_expression :: Lens' PlacementConstraint (Maybe Text)
+ Amazonka.ECS.Types.PlacementConstraint: placementConstraint_type :: Lens' PlacementConstraint (Maybe PlacementConstraintType)
+ Amazonka.ECS.Types.PlacementConstraintType: PlacementConstraintType' :: Text -> PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: [fromPlacementConstraintType] :: PlacementConstraintType -> Text
+ Amazonka.ECS.Types.PlacementConstraintType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance GHC.Classes.Eq Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance GHC.Classes.Ord Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance GHC.Generics.Generic Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance GHC.Read.Read Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: instance GHC.Show.Show Amazonka.ECS.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: newtype PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: pattern PlacementConstraintType_DistinctInstance :: PlacementConstraintType
+ Amazonka.ECS.Types.PlacementConstraintType: pattern PlacementConstraintType_MemberOf :: PlacementConstraintType
+ Amazonka.ECS.Types.PlacementStrategy: PlacementStrategy' :: Maybe Text -> Maybe PlacementStrategyType -> PlacementStrategy
+ Amazonka.ECS.Types.PlacementStrategy: [$sel:field:PlacementStrategy'] :: PlacementStrategy -> Maybe Text
+ Amazonka.ECS.Types.PlacementStrategy: [$sel:type':PlacementStrategy'] :: PlacementStrategy -> Maybe PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategy: data PlacementStrategy
+ Amazonka.ECS.Types.PlacementStrategy: instance Control.DeepSeq.NFData Amazonka.ECS.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.ECS.Types.PlacementStrategy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.ECS.Types.PlacementStrategy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.ECS.Types.PlacementStrategy: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.ECS.Types.PlacementStrategy: instance GHC.Classes.Eq Amazonka.ECS.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.ECS.Types.PlacementStrategy: instance GHC.Generics.Generic Amazonka.ECS.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.ECS.Types.PlacementStrategy: instance GHC.Read.Read Amazonka.ECS.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.ECS.Types.PlacementStrategy: instance GHC.Show.Show Amazonka.ECS.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.ECS.Types.PlacementStrategy: newPlacementStrategy :: PlacementStrategy
+ Amazonka.ECS.Types.PlacementStrategy: placementStrategy_field :: Lens' PlacementStrategy (Maybe Text)
+ Amazonka.ECS.Types.PlacementStrategy: placementStrategy_type :: Lens' PlacementStrategy (Maybe PlacementStrategyType)
+ Amazonka.ECS.Types.PlacementStrategyType: PlacementStrategyType' :: Text -> PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: [fromPlacementStrategyType] :: PlacementStrategyType -> Text
+ Amazonka.ECS.Types.PlacementStrategyType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance GHC.Classes.Eq Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance GHC.Classes.Ord Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance GHC.Generics.Generic Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance GHC.Read.Read Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: instance GHC.Show.Show Amazonka.ECS.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: newtype PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: pattern PlacementStrategyType_Binpack :: PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: pattern PlacementStrategyType_Random :: PlacementStrategyType
+ Amazonka.ECS.Types.PlacementStrategyType: pattern PlacementStrategyType_Spread :: PlacementStrategyType
+ Amazonka.ECS.Types.PlatformDevice: PlatformDevice' :: Text -> PlatformDeviceType -> PlatformDevice
+ Amazonka.ECS.Types.PlatformDevice: [$sel:id:PlatformDevice'] :: PlatformDevice -> Text
+ Amazonka.ECS.Types.PlatformDevice: [$sel:type':PlatformDevice'] :: PlatformDevice -> PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDevice: data PlatformDevice
+ Amazonka.ECS.Types.PlatformDevice: instance Control.DeepSeq.NFData Amazonka.ECS.Types.PlatformDevice.PlatformDevice
+ Amazonka.ECS.Types.PlatformDevice: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.PlatformDevice.PlatformDevice
+ Amazonka.ECS.Types.PlatformDevice: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.PlatformDevice.PlatformDevice
+ Amazonka.ECS.Types.PlatformDevice: instance GHC.Classes.Eq Amazonka.ECS.Types.PlatformDevice.PlatformDevice
+ Amazonka.ECS.Types.PlatformDevice: instance GHC.Generics.Generic Amazonka.ECS.Types.PlatformDevice.PlatformDevice
+ Amazonka.ECS.Types.PlatformDevice: instance GHC.Read.Read Amazonka.ECS.Types.PlatformDevice.PlatformDevice
+ Amazonka.ECS.Types.PlatformDevice: instance GHC.Show.Show Amazonka.ECS.Types.PlatformDevice.PlatformDevice
+ Amazonka.ECS.Types.PlatformDevice: newPlatformDevice :: Text -> PlatformDeviceType -> PlatformDevice
+ Amazonka.ECS.Types.PlatformDevice: platformDevice_id :: Lens' PlatformDevice Text
+ Amazonka.ECS.Types.PlatformDevice: platformDevice_type :: Lens' PlatformDevice PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: PlatformDeviceType' :: Text -> PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: [fromPlatformDeviceType] :: PlatformDeviceType -> Text
+ Amazonka.ECS.Types.PlatformDeviceType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance GHC.Classes.Eq Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance GHC.Classes.Ord Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance GHC.Generics.Generic Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance GHC.Read.Read Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: instance GHC.Show.Show Amazonka.ECS.Types.PlatformDeviceType.PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: newtype PlatformDeviceType
+ Amazonka.ECS.Types.PlatformDeviceType: pattern PlatformDeviceType_GPU :: PlatformDeviceType
+ Amazonka.ECS.Types.PortMapping: PortMapping' :: Maybe ApplicationProtocol -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe TransportProtocol -> PortMapping
+ Amazonka.ECS.Types.PortMapping: [$sel:appProtocol:PortMapping'] :: PortMapping -> Maybe ApplicationProtocol
+ Amazonka.ECS.Types.PortMapping: [$sel:containerPort:PortMapping'] :: PortMapping -> Maybe Int
+ Amazonka.ECS.Types.PortMapping: [$sel:containerPortRange:PortMapping'] :: PortMapping -> Maybe Text
+ Amazonka.ECS.Types.PortMapping: [$sel:hostPort:PortMapping'] :: PortMapping -> Maybe Int
+ Amazonka.ECS.Types.PortMapping: [$sel:name:PortMapping'] :: PortMapping -> Maybe Text
+ Amazonka.ECS.Types.PortMapping: [$sel:protocol:PortMapping'] :: PortMapping -> Maybe TransportProtocol
+ Amazonka.ECS.Types.PortMapping: data PortMapping
+ Amazonka.ECS.Types.PortMapping: instance Control.DeepSeq.NFData Amazonka.ECS.Types.PortMapping.PortMapping
+ Amazonka.ECS.Types.PortMapping: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.PortMapping.PortMapping
+ Amazonka.ECS.Types.PortMapping: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.PortMapping.PortMapping
+ Amazonka.ECS.Types.PortMapping: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.PortMapping.PortMapping
+ Amazonka.ECS.Types.PortMapping: instance GHC.Classes.Eq Amazonka.ECS.Types.PortMapping.PortMapping
+ Amazonka.ECS.Types.PortMapping: instance GHC.Generics.Generic Amazonka.ECS.Types.PortMapping.PortMapping
+ Amazonka.ECS.Types.PortMapping: instance GHC.Read.Read Amazonka.ECS.Types.PortMapping.PortMapping
+ Amazonka.ECS.Types.PortMapping: instance GHC.Show.Show Amazonka.ECS.Types.PortMapping.PortMapping
+ Amazonka.ECS.Types.PortMapping: newPortMapping :: PortMapping
+ Amazonka.ECS.Types.PortMapping: portMapping_appProtocol :: Lens' PortMapping (Maybe ApplicationProtocol)
+ Amazonka.ECS.Types.PortMapping: portMapping_containerPort :: Lens' PortMapping (Maybe Int)
+ Amazonka.ECS.Types.PortMapping: portMapping_containerPortRange :: Lens' PortMapping (Maybe Text)
+ Amazonka.ECS.Types.PortMapping: portMapping_hostPort :: Lens' PortMapping (Maybe Int)
+ Amazonka.ECS.Types.PortMapping: portMapping_name :: Lens' PortMapping (Maybe Text)
+ Amazonka.ECS.Types.PortMapping: portMapping_protocol :: Lens' PortMapping (Maybe TransportProtocol)
+ Amazonka.ECS.Types.PropagateTags: PropagateTags' :: Text -> PropagateTags
+ Amazonka.ECS.Types.PropagateTags: [fromPropagateTags] :: PropagateTags -> Text
+ Amazonka.ECS.Types.PropagateTags: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Control.DeepSeq.NFData Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance GHC.Classes.Eq Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance GHC.Classes.Ord Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance GHC.Generics.Generic Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance GHC.Read.Read Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: instance GHC.Show.Show Amazonka.ECS.Types.PropagateTags.PropagateTags
+ Amazonka.ECS.Types.PropagateTags: newtype PropagateTags
+ Amazonka.ECS.Types.PropagateTags: pattern PropagateTags_NONE :: PropagateTags
+ Amazonka.ECS.Types.PropagateTags: pattern PropagateTags_SERVICE :: PropagateTags
+ Amazonka.ECS.Types.PropagateTags: pattern PropagateTags_TASK_DEFINITION :: PropagateTags
+ Amazonka.ECS.Types.ProtectedTask: ProtectedTask' :: Maybe POSIX -> Maybe Bool -> Maybe Text -> ProtectedTask
+ Amazonka.ECS.Types.ProtectedTask: [$sel:expirationDate:ProtectedTask'] :: ProtectedTask -> Maybe POSIX
+ Amazonka.ECS.Types.ProtectedTask: [$sel:protectionEnabled:ProtectedTask'] :: ProtectedTask -> Maybe Bool
+ Amazonka.ECS.Types.ProtectedTask: [$sel:taskArn:ProtectedTask'] :: ProtectedTask -> Maybe Text
+ Amazonka.ECS.Types.ProtectedTask: data ProtectedTask
+ Amazonka.ECS.Types.ProtectedTask: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ProtectedTask.ProtectedTask
+ Amazonka.ECS.Types.ProtectedTask: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ProtectedTask.ProtectedTask
+ Amazonka.ECS.Types.ProtectedTask: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ProtectedTask.ProtectedTask
+ Amazonka.ECS.Types.ProtectedTask: instance GHC.Classes.Eq Amazonka.ECS.Types.ProtectedTask.ProtectedTask
+ Amazonka.ECS.Types.ProtectedTask: instance GHC.Generics.Generic Amazonka.ECS.Types.ProtectedTask.ProtectedTask
+ Amazonka.ECS.Types.ProtectedTask: instance GHC.Read.Read Amazonka.ECS.Types.ProtectedTask.ProtectedTask
+ Amazonka.ECS.Types.ProtectedTask: instance GHC.Show.Show Amazonka.ECS.Types.ProtectedTask.ProtectedTask
+ Amazonka.ECS.Types.ProtectedTask: newProtectedTask :: ProtectedTask
+ Amazonka.ECS.Types.ProtectedTask: protectedTask_expirationDate :: Lens' ProtectedTask (Maybe UTCTime)
+ Amazonka.ECS.Types.ProtectedTask: protectedTask_protectionEnabled :: Lens' ProtectedTask (Maybe Bool)
+ Amazonka.ECS.Types.ProtectedTask: protectedTask_taskArn :: Lens' ProtectedTask (Maybe Text)
+ Amazonka.ECS.Types.ProxyConfiguration: ProxyConfiguration' :: Maybe [KeyValuePair] -> Maybe ProxyConfigurationType -> Text -> ProxyConfiguration
+ Amazonka.ECS.Types.ProxyConfiguration: [$sel:containerName:ProxyConfiguration'] :: ProxyConfiguration -> Text
+ Amazonka.ECS.Types.ProxyConfiguration: [$sel:properties:ProxyConfiguration'] :: ProxyConfiguration -> Maybe [KeyValuePair]
+ Amazonka.ECS.Types.ProxyConfiguration: [$sel:type':ProxyConfiguration'] :: ProxyConfiguration -> Maybe ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfiguration: data ProxyConfiguration
+ Amazonka.ECS.Types.ProxyConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ProxyConfiguration.ProxyConfiguration
+ Amazonka.ECS.Types.ProxyConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ProxyConfiguration.ProxyConfiguration
+ Amazonka.ECS.Types.ProxyConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ProxyConfiguration.ProxyConfiguration
+ Amazonka.ECS.Types.ProxyConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ProxyConfiguration.ProxyConfiguration
+ Amazonka.ECS.Types.ProxyConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.ProxyConfiguration.ProxyConfiguration
+ Amazonka.ECS.Types.ProxyConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.ProxyConfiguration.ProxyConfiguration
+ Amazonka.ECS.Types.ProxyConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.ProxyConfiguration.ProxyConfiguration
+ Amazonka.ECS.Types.ProxyConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.ProxyConfiguration.ProxyConfiguration
+ Amazonka.ECS.Types.ProxyConfiguration: newProxyConfiguration :: Text -> ProxyConfiguration
+ Amazonka.ECS.Types.ProxyConfiguration: proxyConfiguration_containerName :: Lens' ProxyConfiguration Text
+ Amazonka.ECS.Types.ProxyConfiguration: proxyConfiguration_properties :: Lens' ProxyConfiguration (Maybe [KeyValuePair])
+ Amazonka.ECS.Types.ProxyConfiguration: proxyConfiguration_type :: Lens' ProxyConfiguration (Maybe ProxyConfigurationType)
+ Amazonka.ECS.Types.ProxyConfigurationType: ProxyConfigurationType' :: Text -> ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: [fromProxyConfigurationType] :: ProxyConfigurationType -> Text
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance GHC.Classes.Eq Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance GHC.Classes.Ord Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance GHC.Generics.Generic Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance GHC.Read.Read Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: instance GHC.Show.Show Amazonka.ECS.Types.ProxyConfigurationType.ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: newtype ProxyConfigurationType
+ Amazonka.ECS.Types.ProxyConfigurationType: pattern ProxyConfigurationType_APPMESH :: ProxyConfigurationType
+ Amazonka.ECS.Types.RepositoryCredentials: RepositoryCredentials' :: Text -> RepositoryCredentials
+ Amazonka.ECS.Types.RepositoryCredentials: [$sel:credentialsParameter:RepositoryCredentials'] :: RepositoryCredentials -> Text
+ Amazonka.ECS.Types.RepositoryCredentials: data RepositoryCredentials
+ Amazonka.ECS.Types.RepositoryCredentials: instance Control.DeepSeq.NFData Amazonka.ECS.Types.RepositoryCredentials.RepositoryCredentials
+ Amazonka.ECS.Types.RepositoryCredentials: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.RepositoryCredentials.RepositoryCredentials
+ Amazonka.ECS.Types.RepositoryCredentials: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.RepositoryCredentials.RepositoryCredentials
+ Amazonka.ECS.Types.RepositoryCredentials: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.RepositoryCredentials.RepositoryCredentials
+ Amazonka.ECS.Types.RepositoryCredentials: instance GHC.Classes.Eq Amazonka.ECS.Types.RepositoryCredentials.RepositoryCredentials
+ Amazonka.ECS.Types.RepositoryCredentials: instance GHC.Generics.Generic Amazonka.ECS.Types.RepositoryCredentials.RepositoryCredentials
+ Amazonka.ECS.Types.RepositoryCredentials: instance GHC.Read.Read Amazonka.ECS.Types.RepositoryCredentials.RepositoryCredentials
+ Amazonka.ECS.Types.RepositoryCredentials: instance GHC.Show.Show Amazonka.ECS.Types.RepositoryCredentials.RepositoryCredentials
+ Amazonka.ECS.Types.RepositoryCredentials: newRepositoryCredentials :: Text -> RepositoryCredentials
+ Amazonka.ECS.Types.RepositoryCredentials: repositoryCredentials_credentialsParameter :: Lens' RepositoryCredentials Text
+ Amazonka.ECS.Types.Resource: Resource' :: Maybe Double -> Maybe Int -> Maybe Integer -> Maybe Text -> Maybe [Text] -> Maybe Text -> Resource
+ Amazonka.ECS.Types.Resource: [$sel:doubleValue:Resource'] :: Resource -> Maybe Double
+ Amazonka.ECS.Types.Resource: [$sel:integerValue:Resource'] :: Resource -> Maybe Int
+ Amazonka.ECS.Types.Resource: [$sel:longValue:Resource'] :: Resource -> Maybe Integer
+ Amazonka.ECS.Types.Resource: [$sel:name:Resource'] :: Resource -> Maybe Text
+ Amazonka.ECS.Types.Resource: [$sel:stringSetValue:Resource'] :: Resource -> Maybe [Text]
+ Amazonka.ECS.Types.Resource: [$sel:type':Resource'] :: Resource -> Maybe Text
+ Amazonka.ECS.Types.Resource: data Resource
+ Amazonka.ECS.Types.Resource: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Resource.Resource
+ Amazonka.ECS.Types.Resource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Resource.Resource
+ Amazonka.ECS.Types.Resource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Resource.Resource
+ Amazonka.ECS.Types.Resource: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Resource.Resource
+ Amazonka.ECS.Types.Resource: instance GHC.Classes.Eq Amazonka.ECS.Types.Resource.Resource
+ Amazonka.ECS.Types.Resource: instance GHC.Generics.Generic Amazonka.ECS.Types.Resource.Resource
+ Amazonka.ECS.Types.Resource: instance GHC.Read.Read Amazonka.ECS.Types.Resource.Resource
+ Amazonka.ECS.Types.Resource: instance GHC.Show.Show Amazonka.ECS.Types.Resource.Resource
+ Amazonka.ECS.Types.Resource: newResource :: Resource
+ Amazonka.ECS.Types.Resource: resource_doubleValue :: Lens' Resource (Maybe Double)
+ Amazonka.ECS.Types.Resource: resource_integerValue :: Lens' Resource (Maybe Int)
+ Amazonka.ECS.Types.Resource: resource_longValue :: Lens' Resource (Maybe Integer)
+ Amazonka.ECS.Types.Resource: resource_name :: Lens' Resource (Maybe Text)
+ Amazonka.ECS.Types.Resource: resource_stringSetValue :: Lens' Resource (Maybe [Text])
+ Amazonka.ECS.Types.Resource: resource_type :: Lens' Resource (Maybe Text)
+ Amazonka.ECS.Types.ResourceRequirement: ResourceRequirement' :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.ECS.Types.ResourceRequirement: [$sel:type':ResourceRequirement'] :: ResourceRequirement -> ResourceType
+ Amazonka.ECS.Types.ResourceRequirement: [$sel:value:ResourceRequirement'] :: ResourceRequirement -> Text
+ Amazonka.ECS.Types.ResourceRequirement: data ResourceRequirement
+ Amazonka.ECS.Types.ResourceRequirement: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.ECS.Types.ResourceRequirement: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.ECS.Types.ResourceRequirement: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.ECS.Types.ResourceRequirement: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.ECS.Types.ResourceRequirement: instance GHC.Classes.Eq Amazonka.ECS.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.ECS.Types.ResourceRequirement: instance GHC.Generics.Generic Amazonka.ECS.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.ECS.Types.ResourceRequirement: instance GHC.Read.Read Amazonka.ECS.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.ECS.Types.ResourceRequirement: instance GHC.Show.Show Amazonka.ECS.Types.ResourceRequirement.ResourceRequirement
+ Amazonka.ECS.Types.ResourceRequirement: newResourceRequirement :: Text -> ResourceType -> ResourceRequirement
+ Amazonka.ECS.Types.ResourceRequirement: resourceRequirement_type :: Lens' ResourceRequirement ResourceType
+ Amazonka.ECS.Types.ResourceRequirement: resourceRequirement_value :: Lens' ResourceRequirement Text
+ Amazonka.ECS.Types.ResourceType: ResourceType' :: Text -> ResourceType
+ Amazonka.ECS.Types.ResourceType: [fromResourceType] :: ResourceType -> Text
+ Amazonka.ECS.Types.ResourceType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance GHC.Classes.Eq Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance GHC.Classes.Ord Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance GHC.Generics.Generic Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance GHC.Read.Read Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: instance GHC.Show.Show Amazonka.ECS.Types.ResourceType.ResourceType
+ Amazonka.ECS.Types.ResourceType: newtype ResourceType
+ Amazonka.ECS.Types.ResourceType: pattern ResourceType_GPU :: ResourceType
+ Amazonka.ECS.Types.ResourceType: pattern ResourceType_InferenceAccelerator :: ResourceType
+ Amazonka.ECS.Types.RuntimePlatform: RuntimePlatform' :: Maybe CPUArchitecture -> Maybe OSFamily -> RuntimePlatform
+ Amazonka.ECS.Types.RuntimePlatform: [$sel:cpuArchitecture:RuntimePlatform'] :: RuntimePlatform -> Maybe CPUArchitecture
+ Amazonka.ECS.Types.RuntimePlatform: [$sel:operatingSystemFamily:RuntimePlatform'] :: RuntimePlatform -> Maybe OSFamily
+ Amazonka.ECS.Types.RuntimePlatform: data RuntimePlatform
+ Amazonka.ECS.Types.RuntimePlatform: instance Control.DeepSeq.NFData Amazonka.ECS.Types.RuntimePlatform.RuntimePlatform
+ Amazonka.ECS.Types.RuntimePlatform: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.RuntimePlatform.RuntimePlatform
+ Amazonka.ECS.Types.RuntimePlatform: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.RuntimePlatform.RuntimePlatform
+ Amazonka.ECS.Types.RuntimePlatform: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.RuntimePlatform.RuntimePlatform
+ Amazonka.ECS.Types.RuntimePlatform: instance GHC.Classes.Eq Amazonka.ECS.Types.RuntimePlatform.RuntimePlatform
+ Amazonka.ECS.Types.RuntimePlatform: instance GHC.Generics.Generic Amazonka.ECS.Types.RuntimePlatform.RuntimePlatform
+ Amazonka.ECS.Types.RuntimePlatform: instance GHC.Read.Read Amazonka.ECS.Types.RuntimePlatform.RuntimePlatform
+ Amazonka.ECS.Types.RuntimePlatform: instance GHC.Show.Show Amazonka.ECS.Types.RuntimePlatform.RuntimePlatform
+ Amazonka.ECS.Types.RuntimePlatform: newRuntimePlatform :: RuntimePlatform
+ Amazonka.ECS.Types.RuntimePlatform: runtimePlatform_cpuArchitecture :: Lens' RuntimePlatform (Maybe CPUArchitecture)
+ Amazonka.ECS.Types.RuntimePlatform: runtimePlatform_operatingSystemFamily :: Lens' RuntimePlatform (Maybe OSFamily)
+ Amazonka.ECS.Types.Scale: Scale' :: Maybe ScaleUnit -> Maybe Double -> Scale
+ Amazonka.ECS.Types.Scale: [$sel:unit:Scale'] :: Scale -> Maybe ScaleUnit
+ Amazonka.ECS.Types.Scale: [$sel:value:Scale'] :: Scale -> Maybe Double
+ Amazonka.ECS.Types.Scale: data Scale
+ Amazonka.ECS.Types.Scale: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Scale.Scale
+ Amazonka.ECS.Types.Scale: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Scale.Scale
+ Amazonka.ECS.Types.Scale: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Scale.Scale
+ Amazonka.ECS.Types.Scale: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Scale.Scale
+ Amazonka.ECS.Types.Scale: instance GHC.Classes.Eq Amazonka.ECS.Types.Scale.Scale
+ Amazonka.ECS.Types.Scale: instance GHC.Generics.Generic Amazonka.ECS.Types.Scale.Scale
+ Amazonka.ECS.Types.Scale: instance GHC.Read.Read Amazonka.ECS.Types.Scale.Scale
+ Amazonka.ECS.Types.Scale: instance GHC.Show.Show Amazonka.ECS.Types.Scale.Scale
+ Amazonka.ECS.Types.Scale: newScale :: Scale
+ Amazonka.ECS.Types.Scale: scale_unit :: Lens' Scale (Maybe ScaleUnit)
+ Amazonka.ECS.Types.Scale: scale_value :: Lens' Scale (Maybe Double)
+ Amazonka.ECS.Types.ScaleUnit: ScaleUnit' :: Text -> ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: [fromScaleUnit] :: ScaleUnit -> Text
+ Amazonka.ECS.Types.ScaleUnit: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance GHC.Classes.Eq Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance GHC.Classes.Ord Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance GHC.Generics.Generic Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance GHC.Read.Read Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: instance GHC.Show.Show Amazonka.ECS.Types.ScaleUnit.ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: newtype ScaleUnit
+ Amazonka.ECS.Types.ScaleUnit: pattern ScaleUnit_PERCENT :: ScaleUnit
+ Amazonka.ECS.Types.SchedulingStrategy: SchedulingStrategy' :: Text -> SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: [fromSchedulingStrategy] :: SchedulingStrategy -> Text
+ Amazonka.ECS.Types.SchedulingStrategy: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Control.DeepSeq.NFData Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance GHC.Classes.Eq Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance GHC.Classes.Ord Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance GHC.Generics.Generic Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance GHC.Read.Read Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: instance GHC.Show.Show Amazonka.ECS.Types.SchedulingStrategy.SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: newtype SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: pattern SchedulingStrategy_DAEMON :: SchedulingStrategy
+ Amazonka.ECS.Types.SchedulingStrategy: pattern SchedulingStrategy_REPLICA :: SchedulingStrategy
+ Amazonka.ECS.Types.Scope: Scope' :: Text -> Scope
+ Amazonka.ECS.Types.Scope: [fromScope] :: Scope -> Text
+ Amazonka.ECS.Types.Scope: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance GHC.Classes.Eq Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance GHC.Classes.Ord Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance GHC.Generics.Generic Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance GHC.Read.Read Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: instance GHC.Show.Show Amazonka.ECS.Types.Scope.Scope
+ Amazonka.ECS.Types.Scope: newtype Scope
+ Amazonka.ECS.Types.Scope: pattern Scope_Shared :: Scope
+ Amazonka.ECS.Types.Scope: pattern Scope_Task :: Scope
+ Amazonka.ECS.Types.Secret: Secret' :: Text -> Text -> Secret
+ Amazonka.ECS.Types.Secret: [$sel:name:Secret'] :: Secret -> Text
+ Amazonka.ECS.Types.Secret: [$sel:valueFrom:Secret'] :: Secret -> Text
+ Amazonka.ECS.Types.Secret: data Secret
+ Amazonka.ECS.Types.Secret: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Secret.Secret
+ Amazonka.ECS.Types.Secret: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Secret.Secret
+ Amazonka.ECS.Types.Secret: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Secret.Secret
+ Amazonka.ECS.Types.Secret: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Secret.Secret
+ Amazonka.ECS.Types.Secret: instance GHC.Classes.Eq Amazonka.ECS.Types.Secret.Secret
+ Amazonka.ECS.Types.Secret: instance GHC.Generics.Generic Amazonka.ECS.Types.Secret.Secret
+ Amazonka.ECS.Types.Secret: instance GHC.Read.Read Amazonka.ECS.Types.Secret.Secret
+ Amazonka.ECS.Types.Secret: instance GHC.Show.Show Amazonka.ECS.Types.Secret.Secret
+ Amazonka.ECS.Types.Secret: newSecret :: Text -> Text -> Secret
+ Amazonka.ECS.Types.Secret: secret_name :: Lens' Secret Text
+ Amazonka.ECS.Types.Secret: secret_valueFrom :: Lens' Secret Text
+ Amazonka.ECS.Types.ServiceConnectClientAlias: ServiceConnectClientAlias' :: Maybe Text -> Natural -> ServiceConnectClientAlias
+ Amazonka.ECS.Types.ServiceConnectClientAlias: [$sel:dnsName:ServiceConnectClientAlias'] :: ServiceConnectClientAlias -> Maybe Text
+ Amazonka.ECS.Types.ServiceConnectClientAlias: [$sel:port:ServiceConnectClientAlias'] :: ServiceConnectClientAlias -> Natural
+ Amazonka.ECS.Types.ServiceConnectClientAlias: data ServiceConnectClientAlias
+ Amazonka.ECS.Types.ServiceConnectClientAlias: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ServiceConnectClientAlias.ServiceConnectClientAlias
+ Amazonka.ECS.Types.ServiceConnectClientAlias: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ServiceConnectClientAlias.ServiceConnectClientAlias
+ Amazonka.ECS.Types.ServiceConnectClientAlias: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ServiceConnectClientAlias.ServiceConnectClientAlias
+ Amazonka.ECS.Types.ServiceConnectClientAlias: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ServiceConnectClientAlias.ServiceConnectClientAlias
+ Amazonka.ECS.Types.ServiceConnectClientAlias: instance GHC.Classes.Eq Amazonka.ECS.Types.ServiceConnectClientAlias.ServiceConnectClientAlias
+ Amazonka.ECS.Types.ServiceConnectClientAlias: instance GHC.Generics.Generic Amazonka.ECS.Types.ServiceConnectClientAlias.ServiceConnectClientAlias
+ Amazonka.ECS.Types.ServiceConnectClientAlias: instance GHC.Read.Read Amazonka.ECS.Types.ServiceConnectClientAlias.ServiceConnectClientAlias
+ Amazonka.ECS.Types.ServiceConnectClientAlias: instance GHC.Show.Show Amazonka.ECS.Types.ServiceConnectClientAlias.ServiceConnectClientAlias
+ Amazonka.ECS.Types.ServiceConnectClientAlias: newServiceConnectClientAlias :: Natural -> ServiceConnectClientAlias
+ Amazonka.ECS.Types.ServiceConnectClientAlias: serviceConnectClientAlias_dnsName :: Lens' ServiceConnectClientAlias (Maybe Text)
+ Amazonka.ECS.Types.ServiceConnectClientAlias: serviceConnectClientAlias_port :: Lens' ServiceConnectClientAlias Natural
+ Amazonka.ECS.Types.ServiceConnectConfiguration: ServiceConnectConfiguration' :: Maybe LogConfiguration -> Maybe Text -> Maybe [ServiceConnectService] -> Bool -> ServiceConnectConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: [$sel:enabled:ServiceConnectConfiguration'] :: ServiceConnectConfiguration -> Bool
+ Amazonka.ECS.Types.ServiceConnectConfiguration: [$sel:logConfiguration:ServiceConnectConfiguration'] :: ServiceConnectConfiguration -> Maybe LogConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: [$sel:namespace:ServiceConnectConfiguration'] :: ServiceConnectConfiguration -> Maybe Text
+ Amazonka.ECS.Types.ServiceConnectConfiguration: [$sel:services:ServiceConnectConfiguration'] :: ServiceConnectConfiguration -> Maybe [ServiceConnectService]
+ Amazonka.ECS.Types.ServiceConnectConfiguration: data ServiceConnectConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ServiceConnectConfiguration.ServiceConnectConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ServiceConnectConfiguration.ServiceConnectConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ServiceConnectConfiguration.ServiceConnectConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ServiceConnectConfiguration.ServiceConnectConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: instance GHC.Classes.Eq Amazonka.ECS.Types.ServiceConnectConfiguration.ServiceConnectConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: instance GHC.Generics.Generic Amazonka.ECS.Types.ServiceConnectConfiguration.ServiceConnectConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: instance GHC.Read.Read Amazonka.ECS.Types.ServiceConnectConfiguration.ServiceConnectConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: instance GHC.Show.Show Amazonka.ECS.Types.ServiceConnectConfiguration.ServiceConnectConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: newServiceConnectConfiguration :: Bool -> ServiceConnectConfiguration
+ Amazonka.ECS.Types.ServiceConnectConfiguration: serviceConnectConfiguration_enabled :: Lens' ServiceConnectConfiguration Bool
+ Amazonka.ECS.Types.ServiceConnectConfiguration: serviceConnectConfiguration_logConfiguration :: Lens' ServiceConnectConfiguration (Maybe LogConfiguration)
+ Amazonka.ECS.Types.ServiceConnectConfiguration: serviceConnectConfiguration_namespace :: Lens' ServiceConnectConfiguration (Maybe Text)
+ Amazonka.ECS.Types.ServiceConnectConfiguration: serviceConnectConfiguration_services :: Lens' ServiceConnectConfiguration (Maybe [ServiceConnectService])
+ Amazonka.ECS.Types.ServiceConnectService: ServiceConnectService' :: Maybe [ServiceConnectClientAlias] -> Maybe Text -> Maybe Natural -> Text -> ServiceConnectService
+ Amazonka.ECS.Types.ServiceConnectService: [$sel:clientAliases:ServiceConnectService'] :: ServiceConnectService -> Maybe [ServiceConnectClientAlias]
+ Amazonka.ECS.Types.ServiceConnectService: [$sel:discoveryName:ServiceConnectService'] :: ServiceConnectService -> Maybe Text
+ Amazonka.ECS.Types.ServiceConnectService: [$sel:ingressPortOverride:ServiceConnectService'] :: ServiceConnectService -> Maybe Natural
+ Amazonka.ECS.Types.ServiceConnectService: [$sel:portName:ServiceConnectService'] :: ServiceConnectService -> Text
+ Amazonka.ECS.Types.ServiceConnectService: data ServiceConnectService
+ Amazonka.ECS.Types.ServiceConnectService: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ServiceConnectService.ServiceConnectService
+ Amazonka.ECS.Types.ServiceConnectService: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ServiceConnectService.ServiceConnectService
+ Amazonka.ECS.Types.ServiceConnectService: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ServiceConnectService.ServiceConnectService
+ Amazonka.ECS.Types.ServiceConnectService: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ServiceConnectService.ServiceConnectService
+ Amazonka.ECS.Types.ServiceConnectService: instance GHC.Classes.Eq Amazonka.ECS.Types.ServiceConnectService.ServiceConnectService
+ Amazonka.ECS.Types.ServiceConnectService: instance GHC.Generics.Generic Amazonka.ECS.Types.ServiceConnectService.ServiceConnectService
+ Amazonka.ECS.Types.ServiceConnectService: instance GHC.Read.Read Amazonka.ECS.Types.ServiceConnectService.ServiceConnectService
+ Amazonka.ECS.Types.ServiceConnectService: instance GHC.Show.Show Amazonka.ECS.Types.ServiceConnectService.ServiceConnectService
+ Amazonka.ECS.Types.ServiceConnectService: newServiceConnectService :: Text -> ServiceConnectService
+ Amazonka.ECS.Types.ServiceConnectService: serviceConnectService_clientAliases :: Lens' ServiceConnectService (Maybe [ServiceConnectClientAlias])
+ Amazonka.ECS.Types.ServiceConnectService: serviceConnectService_discoveryName :: Lens' ServiceConnectService (Maybe Text)
+ Amazonka.ECS.Types.ServiceConnectService: serviceConnectService_ingressPortOverride :: Lens' ServiceConnectService (Maybe Natural)
+ Amazonka.ECS.Types.ServiceConnectService: serviceConnectService_portName :: Lens' ServiceConnectService Text
+ Amazonka.ECS.Types.ServiceConnectServiceResource: ServiceConnectServiceResource' :: Maybe Text -> Maybe Text -> ServiceConnectServiceResource
+ Amazonka.ECS.Types.ServiceConnectServiceResource: [$sel:discoveryArn:ServiceConnectServiceResource'] :: ServiceConnectServiceResource -> Maybe Text
+ Amazonka.ECS.Types.ServiceConnectServiceResource: [$sel:discoveryName:ServiceConnectServiceResource'] :: ServiceConnectServiceResource -> Maybe Text
+ Amazonka.ECS.Types.ServiceConnectServiceResource: data ServiceConnectServiceResource
+ Amazonka.ECS.Types.ServiceConnectServiceResource: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ServiceConnectServiceResource.ServiceConnectServiceResource
+ Amazonka.ECS.Types.ServiceConnectServiceResource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ServiceConnectServiceResource.ServiceConnectServiceResource
+ Amazonka.ECS.Types.ServiceConnectServiceResource: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ServiceConnectServiceResource.ServiceConnectServiceResource
+ Amazonka.ECS.Types.ServiceConnectServiceResource: instance GHC.Classes.Eq Amazonka.ECS.Types.ServiceConnectServiceResource.ServiceConnectServiceResource
+ Amazonka.ECS.Types.ServiceConnectServiceResource: instance GHC.Generics.Generic Amazonka.ECS.Types.ServiceConnectServiceResource.ServiceConnectServiceResource
+ Amazonka.ECS.Types.ServiceConnectServiceResource: instance GHC.Read.Read Amazonka.ECS.Types.ServiceConnectServiceResource.ServiceConnectServiceResource
+ Amazonka.ECS.Types.ServiceConnectServiceResource: instance GHC.Show.Show Amazonka.ECS.Types.ServiceConnectServiceResource.ServiceConnectServiceResource
+ Amazonka.ECS.Types.ServiceConnectServiceResource: newServiceConnectServiceResource :: ServiceConnectServiceResource
+ Amazonka.ECS.Types.ServiceConnectServiceResource: serviceConnectServiceResource_discoveryArn :: Lens' ServiceConnectServiceResource (Maybe Text)
+ Amazonka.ECS.Types.ServiceConnectServiceResource: serviceConnectServiceResource_discoveryName :: Lens' ServiceConnectServiceResource (Maybe Text)
+ Amazonka.ECS.Types.ServiceEvent: ServiceEvent' :: Maybe POSIX -> Maybe Text -> Maybe Text -> ServiceEvent
+ Amazonka.ECS.Types.ServiceEvent: [$sel:createdAt:ServiceEvent'] :: ServiceEvent -> Maybe POSIX
+ Amazonka.ECS.Types.ServiceEvent: [$sel:id:ServiceEvent'] :: ServiceEvent -> Maybe Text
+ Amazonka.ECS.Types.ServiceEvent: [$sel:message:ServiceEvent'] :: ServiceEvent -> Maybe Text
+ Amazonka.ECS.Types.ServiceEvent: data ServiceEvent
+ Amazonka.ECS.Types.ServiceEvent: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ServiceEvent.ServiceEvent
+ Amazonka.ECS.Types.ServiceEvent: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ServiceEvent.ServiceEvent
+ Amazonka.ECS.Types.ServiceEvent: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ServiceEvent.ServiceEvent
+ Amazonka.ECS.Types.ServiceEvent: instance GHC.Classes.Eq Amazonka.ECS.Types.ServiceEvent.ServiceEvent
+ Amazonka.ECS.Types.ServiceEvent: instance GHC.Generics.Generic Amazonka.ECS.Types.ServiceEvent.ServiceEvent
+ Amazonka.ECS.Types.ServiceEvent: instance GHC.Read.Read Amazonka.ECS.Types.ServiceEvent.ServiceEvent
+ Amazonka.ECS.Types.ServiceEvent: instance GHC.Show.Show Amazonka.ECS.Types.ServiceEvent.ServiceEvent
+ Amazonka.ECS.Types.ServiceEvent: newServiceEvent :: ServiceEvent
+ Amazonka.ECS.Types.ServiceEvent: serviceEvent_createdAt :: Lens' ServiceEvent (Maybe UTCTime)
+ Amazonka.ECS.Types.ServiceEvent: serviceEvent_id :: Lens' ServiceEvent (Maybe Text)
+ Amazonka.ECS.Types.ServiceEvent: serviceEvent_message :: Lens' ServiceEvent (Maybe Text)
+ Amazonka.ECS.Types.ServiceField: ServiceField' :: Text -> ServiceField
+ Amazonka.ECS.Types.ServiceField: [fromServiceField] :: ServiceField -> Text
+ Amazonka.ECS.Types.ServiceField: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance GHC.Classes.Eq Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance GHC.Classes.Ord Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance GHC.Generics.Generic Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance GHC.Read.Read Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: instance GHC.Show.Show Amazonka.ECS.Types.ServiceField.ServiceField
+ Amazonka.ECS.Types.ServiceField: newtype ServiceField
+ Amazonka.ECS.Types.ServiceField: pattern ServiceField_TAGS :: ServiceField
+ Amazonka.ECS.Types.ServiceRegistry: ServiceRegistry' :: Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> ServiceRegistry
+ Amazonka.ECS.Types.ServiceRegistry: [$sel:containerName:ServiceRegistry'] :: ServiceRegistry -> Maybe Text
+ Amazonka.ECS.Types.ServiceRegistry: [$sel:containerPort:ServiceRegistry'] :: ServiceRegistry -> Maybe Int
+ Amazonka.ECS.Types.ServiceRegistry: [$sel:port:ServiceRegistry'] :: ServiceRegistry -> Maybe Int
+ Amazonka.ECS.Types.ServiceRegistry: [$sel:registryArn:ServiceRegistry'] :: ServiceRegistry -> Maybe Text
+ Amazonka.ECS.Types.ServiceRegistry: data ServiceRegistry
+ Amazonka.ECS.Types.ServiceRegistry: instance Control.DeepSeq.NFData Amazonka.ECS.Types.ServiceRegistry.ServiceRegistry
+ Amazonka.ECS.Types.ServiceRegistry: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.ServiceRegistry.ServiceRegistry
+ Amazonka.ECS.Types.ServiceRegistry: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.ServiceRegistry.ServiceRegistry
+ Amazonka.ECS.Types.ServiceRegistry: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.ServiceRegistry.ServiceRegistry
+ Amazonka.ECS.Types.ServiceRegistry: instance GHC.Classes.Eq Amazonka.ECS.Types.ServiceRegistry.ServiceRegistry
+ Amazonka.ECS.Types.ServiceRegistry: instance GHC.Generics.Generic Amazonka.ECS.Types.ServiceRegistry.ServiceRegistry
+ Amazonka.ECS.Types.ServiceRegistry: instance GHC.Read.Read Amazonka.ECS.Types.ServiceRegistry.ServiceRegistry
+ Amazonka.ECS.Types.ServiceRegistry: instance GHC.Show.Show Amazonka.ECS.Types.ServiceRegistry.ServiceRegistry
+ Amazonka.ECS.Types.ServiceRegistry: newServiceRegistry :: ServiceRegistry
+ Amazonka.ECS.Types.ServiceRegistry: serviceRegistry_containerName :: Lens' ServiceRegistry (Maybe Text)
+ Amazonka.ECS.Types.ServiceRegistry: serviceRegistry_containerPort :: Lens' ServiceRegistry (Maybe Int)
+ Amazonka.ECS.Types.ServiceRegistry: serviceRegistry_port :: Lens' ServiceRegistry (Maybe Int)
+ Amazonka.ECS.Types.ServiceRegistry: serviceRegistry_registryArn :: Lens' ServiceRegistry (Maybe Text)
+ Amazonka.ECS.Types.Session: Session' :: Maybe Text -> Maybe Text -> Maybe (Sensitive Text) -> Session
+ Amazonka.ECS.Types.Session: [$sel:sessionId:Session'] :: Session -> Maybe Text
+ Amazonka.ECS.Types.Session: [$sel:streamUrl:Session'] :: Session -> Maybe Text
+ Amazonka.ECS.Types.Session: [$sel:tokenValue:Session'] :: Session -> Maybe (Sensitive Text)
+ Amazonka.ECS.Types.Session: data Session
+ Amazonka.ECS.Types.Session: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Session.Session
+ Amazonka.ECS.Types.Session: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Session.Session
+ Amazonka.ECS.Types.Session: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Session.Session
+ Amazonka.ECS.Types.Session: instance GHC.Classes.Eq Amazonka.ECS.Types.Session.Session
+ Amazonka.ECS.Types.Session: instance GHC.Generics.Generic Amazonka.ECS.Types.Session.Session
+ Amazonka.ECS.Types.Session: instance GHC.Show.Show Amazonka.ECS.Types.Session.Session
+ Amazonka.ECS.Types.Session: newSession :: Session
+ Amazonka.ECS.Types.Session: session_sessionId :: Lens' Session (Maybe Text)
+ Amazonka.ECS.Types.Session: session_streamUrl :: Lens' Session (Maybe Text)
+ Amazonka.ECS.Types.Session: session_tokenValue :: Lens' Session (Maybe Text)
+ Amazonka.ECS.Types.Setting: Setting' :: Maybe SettingName -> Maybe Text -> Maybe Text -> Setting
+ Amazonka.ECS.Types.Setting: [$sel:name:Setting'] :: Setting -> Maybe SettingName
+ Amazonka.ECS.Types.Setting: [$sel:principalArn:Setting'] :: Setting -> Maybe Text
+ Amazonka.ECS.Types.Setting: [$sel:value:Setting'] :: Setting -> Maybe Text
+ Amazonka.ECS.Types.Setting: data Setting
+ Amazonka.ECS.Types.Setting: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Setting.Setting
+ Amazonka.ECS.Types.Setting: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Setting.Setting
+ Amazonka.ECS.Types.Setting: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Setting.Setting
+ Amazonka.ECS.Types.Setting: instance GHC.Classes.Eq Amazonka.ECS.Types.Setting.Setting
+ Amazonka.ECS.Types.Setting: instance GHC.Generics.Generic Amazonka.ECS.Types.Setting.Setting
+ Amazonka.ECS.Types.Setting: instance GHC.Read.Read Amazonka.ECS.Types.Setting.Setting
+ Amazonka.ECS.Types.Setting: instance GHC.Show.Show Amazonka.ECS.Types.Setting.Setting
+ Amazonka.ECS.Types.Setting: newSetting :: Setting
+ Amazonka.ECS.Types.Setting: setting_name :: Lens' Setting (Maybe SettingName)
+ Amazonka.ECS.Types.Setting: setting_principalArn :: Lens' Setting (Maybe Text)
+ Amazonka.ECS.Types.Setting: setting_value :: Lens' Setting (Maybe Text)
+ Amazonka.ECS.Types.SettingName: SettingName' :: Text -> SettingName
+ Amazonka.ECS.Types.SettingName: [fromSettingName] :: SettingName -> Text
+ Amazonka.ECS.Types.SettingName: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Control.DeepSeq.NFData Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance GHC.Classes.Eq Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance GHC.Classes.Ord Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance GHC.Generics.Generic Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance GHC.Read.Read Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: instance GHC.Show.Show Amazonka.ECS.Types.SettingName.SettingName
+ Amazonka.ECS.Types.SettingName: newtype SettingName
+ Amazonka.ECS.Types.SettingName: pattern SettingName_AwsvpcTrunking :: SettingName
+ Amazonka.ECS.Types.SettingName: pattern SettingName_ContainerInsights :: SettingName
+ Amazonka.ECS.Types.SettingName: pattern SettingName_ContainerInstanceLongArnFormat :: SettingName
+ Amazonka.ECS.Types.SettingName: pattern SettingName_ServiceLongArnFormat :: SettingName
+ Amazonka.ECS.Types.SettingName: pattern SettingName_TaskLongArnFormat :: SettingName
+ Amazonka.ECS.Types.SortOrder: SortOrder' :: Text -> SortOrder
+ Amazonka.ECS.Types.SortOrder: [fromSortOrder] :: SortOrder -> Text
+ Amazonka.ECS.Types.SortOrder: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Control.DeepSeq.NFData Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance GHC.Classes.Eq Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance GHC.Classes.Ord Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance GHC.Generics.Generic Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance GHC.Read.Read Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: instance GHC.Show.Show Amazonka.ECS.Types.SortOrder.SortOrder
+ Amazonka.ECS.Types.SortOrder: newtype SortOrder
+ Amazonka.ECS.Types.SortOrder: pattern SortOrder_ASC :: SortOrder
+ Amazonka.ECS.Types.SortOrder: pattern SortOrder_DESC :: SortOrder
+ Amazonka.ECS.Types.StabilityStatus: StabilityStatus' :: Text -> StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: [fromStabilityStatus] :: StabilityStatus -> Text
+ Amazonka.ECS.Types.StabilityStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Control.DeepSeq.NFData Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance GHC.Classes.Eq Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance GHC.Classes.Ord Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance GHC.Generics.Generic Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance GHC.Read.Read Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: instance GHC.Show.Show Amazonka.ECS.Types.StabilityStatus.StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: newtype StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: pattern StabilityStatus_STABILIZING :: StabilityStatus
+ Amazonka.ECS.Types.StabilityStatus: pattern StabilityStatus_STEADY_STATE :: StabilityStatus
+ Amazonka.ECS.Types.SystemControl: SystemControl' :: Maybe Text -> Maybe Text -> SystemControl
+ Amazonka.ECS.Types.SystemControl: [$sel:namespace:SystemControl'] :: SystemControl -> Maybe Text
+ Amazonka.ECS.Types.SystemControl: [$sel:value:SystemControl'] :: SystemControl -> Maybe Text
+ Amazonka.ECS.Types.SystemControl: data SystemControl
+ Amazonka.ECS.Types.SystemControl: instance Control.DeepSeq.NFData Amazonka.ECS.Types.SystemControl.SystemControl
+ Amazonka.ECS.Types.SystemControl: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.SystemControl.SystemControl
+ Amazonka.ECS.Types.SystemControl: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.SystemControl.SystemControl
+ Amazonka.ECS.Types.SystemControl: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.SystemControl.SystemControl
+ Amazonka.ECS.Types.SystemControl: instance GHC.Classes.Eq Amazonka.ECS.Types.SystemControl.SystemControl
+ Amazonka.ECS.Types.SystemControl: instance GHC.Generics.Generic Amazonka.ECS.Types.SystemControl.SystemControl
+ Amazonka.ECS.Types.SystemControl: instance GHC.Read.Read Amazonka.ECS.Types.SystemControl.SystemControl
+ Amazonka.ECS.Types.SystemControl: instance GHC.Show.Show Amazonka.ECS.Types.SystemControl.SystemControl
+ Amazonka.ECS.Types.SystemControl: newSystemControl :: SystemControl
+ Amazonka.ECS.Types.SystemControl: systemControl_namespace :: Lens' SystemControl (Maybe Text)
+ Amazonka.ECS.Types.SystemControl: systemControl_value :: Lens' SystemControl (Maybe Text)
+ Amazonka.ECS.Types.Tag: Tag' :: Maybe Text -> Maybe Text -> Tag
+ Amazonka.ECS.Types.Tag: [$sel:key:Tag'] :: Tag -> Maybe Text
+ Amazonka.ECS.Types.Tag: [$sel:value:Tag'] :: Tag -> Maybe Text
+ Amazonka.ECS.Types.Tag: data Tag
+ Amazonka.ECS.Types.Tag: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Tag.Tag
+ Amazonka.ECS.Types.Tag: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Tag.Tag
+ Amazonka.ECS.Types.Tag: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Tag.Tag
+ Amazonka.ECS.Types.Tag: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Tag.Tag
+ Amazonka.ECS.Types.Tag: instance GHC.Classes.Eq Amazonka.ECS.Types.Tag.Tag
+ Amazonka.ECS.Types.Tag: instance GHC.Generics.Generic Amazonka.ECS.Types.Tag.Tag
+ Amazonka.ECS.Types.Tag: instance GHC.Read.Read Amazonka.ECS.Types.Tag.Tag
+ Amazonka.ECS.Types.Tag: instance GHC.Show.Show Amazonka.ECS.Types.Tag.Tag
+ Amazonka.ECS.Types.Tag: newTag :: Tag
+ Amazonka.ECS.Types.Tag: tag_key :: Lens' Tag (Maybe Text)
+ Amazonka.ECS.Types.Tag: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.ECS.Types.TargetType: TargetType' :: Text -> TargetType
+ Amazonka.ECS.Types.TargetType: [fromTargetType] :: TargetType -> Text
+ Amazonka.ECS.Types.TargetType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance GHC.Classes.Eq Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance GHC.Classes.Ord Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance GHC.Generics.Generic Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance GHC.Read.Read Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: instance GHC.Show.Show Amazonka.ECS.Types.TargetType.TargetType
+ Amazonka.ECS.Types.TargetType: newtype TargetType
+ Amazonka.ECS.Types.TargetType: pattern TargetType_Container_instance :: TargetType
+ Amazonka.ECS.Types.Task: Task' :: Maybe [Attachment] -> Maybe [Attribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Connectivity -> Maybe POSIX -> Maybe Text -> Maybe [Container] -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Bool -> Maybe EphemeralStorage -> Maybe POSIX -> Maybe Text -> Maybe HealthStatus -> Maybe [InferenceAccelerator] -> Maybe Text -> Maybe LaunchType -> Maybe Text -> Maybe TaskOverride -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe TaskStopCode -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe [Tag] -> Maybe Text -> Maybe Text -> Maybe Integer -> Task
+ Amazonka.ECS.Types.Task: [$sel:attachments:Task'] :: Task -> Maybe [Attachment]
+ Amazonka.ECS.Types.Task: [$sel:attributes:Task'] :: Task -> Maybe [Attribute]
+ Amazonka.ECS.Types.Task: [$sel:availabilityZone:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:capacityProviderName:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:clusterArn:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:connectivity:Task'] :: Task -> Maybe Connectivity
+ Amazonka.ECS.Types.Task: [$sel:connectivityAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types.Task: [$sel:containerInstanceArn:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:containers:Task'] :: Task -> Maybe [Container]
+ Amazonka.ECS.Types.Task: [$sel:cpu:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:createdAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types.Task: [$sel:desiredStatus:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:enableExecuteCommand:Task'] :: Task -> Maybe Bool
+ Amazonka.ECS.Types.Task: [$sel:ephemeralStorage:Task'] :: Task -> Maybe EphemeralStorage
+ Amazonka.ECS.Types.Task: [$sel:executionStoppedAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types.Task: [$sel:group':Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:healthStatus:Task'] :: Task -> Maybe HealthStatus
+ Amazonka.ECS.Types.Task: [$sel:inferenceAccelerators:Task'] :: Task -> Maybe [InferenceAccelerator]
+ Amazonka.ECS.Types.Task: [$sel:lastStatus:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:launchType:Task'] :: Task -> Maybe LaunchType
+ Amazonka.ECS.Types.Task: [$sel:memory:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:overrides:Task'] :: Task -> Maybe TaskOverride
+ Amazonka.ECS.Types.Task: [$sel:platformFamily:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:platformVersion:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:pullStartedAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types.Task: [$sel:pullStoppedAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types.Task: [$sel:startedAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types.Task: [$sel:startedBy:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:stopCode:Task'] :: Task -> Maybe TaskStopCode
+ Amazonka.ECS.Types.Task: [$sel:stoppedAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types.Task: [$sel:stoppedReason:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:stoppingAt:Task'] :: Task -> Maybe POSIX
+ Amazonka.ECS.Types.Task: [$sel:tags:Task'] :: Task -> Maybe [Tag]
+ Amazonka.ECS.Types.Task: [$sel:taskArn:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:taskDefinitionArn:Task'] :: Task -> Maybe Text
+ Amazonka.ECS.Types.Task: [$sel:version:Task'] :: Task -> Maybe Integer
+ Amazonka.ECS.Types.Task: data Task
+ Amazonka.ECS.Types.Task: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Task.Task
+ Amazonka.ECS.Types.Task: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Task.Task
+ Amazonka.ECS.Types.Task: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Task.Task
+ Amazonka.ECS.Types.Task: instance GHC.Classes.Eq Amazonka.ECS.Types.Task.Task
+ Amazonka.ECS.Types.Task: instance GHC.Generics.Generic Amazonka.ECS.Types.Task.Task
+ Amazonka.ECS.Types.Task: instance GHC.Read.Read Amazonka.ECS.Types.Task.Task
+ Amazonka.ECS.Types.Task: instance GHC.Show.Show Amazonka.ECS.Types.Task.Task
+ Amazonka.ECS.Types.Task: newTask :: Task
+ Amazonka.ECS.Types.Task: task_attachments :: Lens' Task (Maybe [Attachment])
+ Amazonka.ECS.Types.Task: task_attributes :: Lens' Task (Maybe [Attribute])
+ Amazonka.ECS.Types.Task: task_availabilityZone :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_capacityProviderName :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_clusterArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_connectivity :: Lens' Task (Maybe Connectivity)
+ Amazonka.ECS.Types.Task: task_connectivityAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types.Task: task_containerInstanceArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_containers :: Lens' Task (Maybe [Container])
+ Amazonka.ECS.Types.Task: task_cpu :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_createdAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types.Task: task_desiredStatus :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_enableExecuteCommand :: Lens' Task (Maybe Bool)
+ Amazonka.ECS.Types.Task: task_ephemeralStorage :: Lens' Task (Maybe EphemeralStorage)
+ Amazonka.ECS.Types.Task: task_executionStoppedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types.Task: task_group :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_healthStatus :: Lens' Task (Maybe HealthStatus)
+ Amazonka.ECS.Types.Task: task_inferenceAccelerators :: Lens' Task (Maybe [InferenceAccelerator])
+ Amazonka.ECS.Types.Task: task_lastStatus :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_launchType :: Lens' Task (Maybe LaunchType)
+ Amazonka.ECS.Types.Task: task_memory :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_overrides :: Lens' Task (Maybe TaskOverride)
+ Amazonka.ECS.Types.Task: task_platformFamily :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_platformVersion :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_pullStartedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types.Task: task_pullStoppedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types.Task: task_startedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types.Task: task_startedBy :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_stopCode :: Lens' Task (Maybe TaskStopCode)
+ Amazonka.ECS.Types.Task: task_stoppedAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types.Task: task_stoppedReason :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_stoppingAt :: Lens' Task (Maybe UTCTime)
+ Amazonka.ECS.Types.Task: task_tags :: Lens' Task (Maybe [Tag])
+ Amazonka.ECS.Types.Task: task_taskArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_taskDefinitionArn :: Lens' Task (Maybe Text)
+ Amazonka.ECS.Types.Task: task_version :: Lens' Task (Maybe Integer)
+ Amazonka.ECS.Types.TaskDefinition: TaskDefinition' :: Maybe [Compatibility] -> Maybe [ContainerDefinition] -> Maybe Text -> Maybe POSIX -> Maybe EphemeralStorage -> Maybe Text -> Maybe Text -> Maybe [InferenceAccelerator] -> Maybe IpcMode -> Maybe Text -> Maybe NetworkMode -> Maybe PidMode -> Maybe [TaskDefinitionPlacementConstraint] -> Maybe ProxyConfiguration -> Maybe POSIX -> Maybe Text -> Maybe [Attribute] -> Maybe [Compatibility] -> Maybe Int -> Maybe RuntimePlatform -> Maybe TaskDefinitionStatus -> Maybe Text -> Maybe Text -> Maybe [Volume] -> TaskDefinition
+ Amazonka.ECS.Types.TaskDefinition: [$sel:compatibilities:TaskDefinition'] :: TaskDefinition -> Maybe [Compatibility]
+ Amazonka.ECS.Types.TaskDefinition: [$sel:containerDefinitions:TaskDefinition'] :: TaskDefinition -> Maybe [ContainerDefinition]
+ Amazonka.ECS.Types.TaskDefinition: [$sel:cpu:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types.TaskDefinition: [$sel:deregisteredAt:TaskDefinition'] :: TaskDefinition -> Maybe POSIX
+ Amazonka.ECS.Types.TaskDefinition: [$sel:ephemeralStorage:TaskDefinition'] :: TaskDefinition -> Maybe EphemeralStorage
+ Amazonka.ECS.Types.TaskDefinition: [$sel:executionRoleArn:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types.TaskDefinition: [$sel:family:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types.TaskDefinition: [$sel:inferenceAccelerators:TaskDefinition'] :: TaskDefinition -> Maybe [InferenceAccelerator]
+ Amazonka.ECS.Types.TaskDefinition: [$sel:ipcMode:TaskDefinition'] :: TaskDefinition -> Maybe IpcMode
+ Amazonka.ECS.Types.TaskDefinition: [$sel:memory:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types.TaskDefinition: [$sel:networkMode:TaskDefinition'] :: TaskDefinition -> Maybe NetworkMode
+ Amazonka.ECS.Types.TaskDefinition: [$sel:pidMode:TaskDefinition'] :: TaskDefinition -> Maybe PidMode
+ Amazonka.ECS.Types.TaskDefinition: [$sel:placementConstraints:TaskDefinition'] :: TaskDefinition -> Maybe [TaskDefinitionPlacementConstraint]
+ Amazonka.ECS.Types.TaskDefinition: [$sel:proxyConfiguration:TaskDefinition'] :: TaskDefinition -> Maybe ProxyConfiguration
+ Amazonka.ECS.Types.TaskDefinition: [$sel:registeredAt:TaskDefinition'] :: TaskDefinition -> Maybe POSIX
+ Amazonka.ECS.Types.TaskDefinition: [$sel:registeredBy:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types.TaskDefinition: [$sel:requiresAttributes:TaskDefinition'] :: TaskDefinition -> Maybe [Attribute]
+ Amazonka.ECS.Types.TaskDefinition: [$sel:requiresCompatibilities:TaskDefinition'] :: TaskDefinition -> Maybe [Compatibility]
+ Amazonka.ECS.Types.TaskDefinition: [$sel:revision:TaskDefinition'] :: TaskDefinition -> Maybe Int
+ Amazonka.ECS.Types.TaskDefinition: [$sel:runtimePlatform:TaskDefinition'] :: TaskDefinition -> Maybe RuntimePlatform
+ Amazonka.ECS.Types.TaskDefinition: [$sel:status:TaskDefinition'] :: TaskDefinition -> Maybe TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinition: [$sel:taskDefinitionArn:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types.TaskDefinition: [$sel:taskRoleArn:TaskDefinition'] :: TaskDefinition -> Maybe Text
+ Amazonka.ECS.Types.TaskDefinition: [$sel:volumes:TaskDefinition'] :: TaskDefinition -> Maybe [Volume]
+ Amazonka.ECS.Types.TaskDefinition: data TaskDefinition
+ Amazonka.ECS.Types.TaskDefinition: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TaskDefinition.TaskDefinition
+ Amazonka.ECS.Types.TaskDefinition: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TaskDefinition.TaskDefinition
+ Amazonka.ECS.Types.TaskDefinition: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TaskDefinition.TaskDefinition
+ Amazonka.ECS.Types.TaskDefinition: instance GHC.Classes.Eq Amazonka.ECS.Types.TaskDefinition.TaskDefinition
+ Amazonka.ECS.Types.TaskDefinition: instance GHC.Generics.Generic Amazonka.ECS.Types.TaskDefinition.TaskDefinition
+ Amazonka.ECS.Types.TaskDefinition: instance GHC.Read.Read Amazonka.ECS.Types.TaskDefinition.TaskDefinition
+ Amazonka.ECS.Types.TaskDefinition: instance GHC.Show.Show Amazonka.ECS.Types.TaskDefinition.TaskDefinition
+ Amazonka.ECS.Types.TaskDefinition: newTaskDefinition :: TaskDefinition
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_compatibilities :: Lens' TaskDefinition (Maybe [Compatibility])
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_containerDefinitions :: Lens' TaskDefinition (Maybe [ContainerDefinition])
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_cpu :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_deregisteredAt :: Lens' TaskDefinition (Maybe UTCTime)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_ephemeralStorage :: Lens' TaskDefinition (Maybe EphemeralStorage)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_executionRoleArn :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_family :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_inferenceAccelerators :: Lens' TaskDefinition (Maybe [InferenceAccelerator])
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_ipcMode :: Lens' TaskDefinition (Maybe IpcMode)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_memory :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_networkMode :: Lens' TaskDefinition (Maybe NetworkMode)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_pidMode :: Lens' TaskDefinition (Maybe PidMode)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_placementConstraints :: Lens' TaskDefinition (Maybe [TaskDefinitionPlacementConstraint])
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_proxyConfiguration :: Lens' TaskDefinition (Maybe ProxyConfiguration)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_registeredAt :: Lens' TaskDefinition (Maybe UTCTime)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_registeredBy :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_requiresAttributes :: Lens' TaskDefinition (Maybe [Attribute])
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_requiresCompatibilities :: Lens' TaskDefinition (Maybe [Compatibility])
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_revision :: Lens' TaskDefinition (Maybe Int)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_runtimePlatform :: Lens' TaskDefinition (Maybe RuntimePlatform)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_status :: Lens' TaskDefinition (Maybe TaskDefinitionStatus)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_taskDefinitionArn :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_taskRoleArn :: Lens' TaskDefinition (Maybe Text)
+ Amazonka.ECS.Types.TaskDefinition: taskDefinition_volumes :: Lens' TaskDefinition (Maybe [Volume])
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: TaskDefinitionFamilyStatus' :: Text -> TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: [fromTaskDefinitionFamilyStatus] :: TaskDefinitionFamilyStatus -> Text
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance GHC.Classes.Eq Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance GHC.Classes.Ord Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance GHC.Generics.Generic Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance GHC.Read.Read Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: instance GHC.Show.Show Amazonka.ECS.Types.TaskDefinitionFamilyStatus.TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: newtype TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: pattern TaskDefinitionFamilyStatus_ACTIVE :: TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: pattern TaskDefinitionFamilyStatus_ALL :: TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus: pattern TaskDefinitionFamilyStatus_INACTIVE :: TaskDefinitionFamilyStatus
+ Amazonka.ECS.Types.TaskDefinitionField: TaskDefinitionField' :: Text -> TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: [fromTaskDefinitionField] :: TaskDefinitionField -> Text
+ Amazonka.ECS.Types.TaskDefinitionField: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance GHC.Classes.Eq Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance GHC.Classes.Ord Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance GHC.Generics.Generic Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance GHC.Read.Read Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: instance GHC.Show.Show Amazonka.ECS.Types.TaskDefinitionField.TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: newtype TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionField: pattern TaskDefinitionField_TAGS :: TaskDefinitionField
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: TaskDefinitionPlacementConstraint' :: Maybe Text -> Maybe TaskDefinitionPlacementConstraintType -> TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: [$sel:expression:TaskDefinitionPlacementConstraint'] :: TaskDefinitionPlacementConstraint -> Maybe Text
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: [$sel:type':TaskDefinitionPlacementConstraint'] :: TaskDefinitionPlacementConstraint -> Maybe TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: data TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TaskDefinitionPlacementConstraint.TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TaskDefinitionPlacementConstraint.TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.TaskDefinitionPlacementConstraint.TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TaskDefinitionPlacementConstraint.TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: instance GHC.Classes.Eq Amazonka.ECS.Types.TaskDefinitionPlacementConstraint.TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: instance GHC.Generics.Generic Amazonka.ECS.Types.TaskDefinitionPlacementConstraint.TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: instance GHC.Read.Read Amazonka.ECS.Types.TaskDefinitionPlacementConstraint.TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: instance GHC.Show.Show Amazonka.ECS.Types.TaskDefinitionPlacementConstraint.TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: newTaskDefinitionPlacementConstraint :: TaskDefinitionPlacementConstraint
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: taskDefinitionPlacementConstraint_expression :: Lens' TaskDefinitionPlacementConstraint (Maybe Text)
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint: taskDefinitionPlacementConstraint_type :: Lens' TaskDefinitionPlacementConstraint (Maybe TaskDefinitionPlacementConstraintType)
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: TaskDefinitionPlacementConstraintType' :: Text -> TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: [fromTaskDefinitionPlacementConstraintType] :: TaskDefinitionPlacementConstraintType -> Text
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance GHC.Classes.Eq Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance GHC.Classes.Ord Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance GHC.Generics.Generic Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance GHC.Read.Read Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: instance GHC.Show.Show Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType.TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: newtype TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType: pattern TaskDefinitionPlacementConstraintType_MemberOf :: TaskDefinitionPlacementConstraintType
+ Amazonka.ECS.Types.TaskDefinitionStatus: TaskDefinitionStatus' :: Text -> TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: [fromTaskDefinitionStatus] :: TaskDefinitionStatus -> Text
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance GHC.Classes.Eq Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance GHC.Classes.Ord Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance GHC.Generics.Generic Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance GHC.Read.Read Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: instance GHC.Show.Show Amazonka.ECS.Types.TaskDefinitionStatus.TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: newtype TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: pattern TaskDefinitionStatus_ACTIVE :: TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskDefinitionStatus: pattern TaskDefinitionStatus_INACTIVE :: TaskDefinitionStatus
+ Amazonka.ECS.Types.TaskField: TaskField' :: Text -> TaskField
+ Amazonka.ECS.Types.TaskField: [fromTaskField] :: TaskField -> Text
+ Amazonka.ECS.Types.TaskField: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance GHC.Classes.Eq Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance GHC.Classes.Ord Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance GHC.Generics.Generic Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance GHC.Read.Read Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: instance GHC.Show.Show Amazonka.ECS.Types.TaskField.TaskField
+ Amazonka.ECS.Types.TaskField: newtype TaskField
+ Amazonka.ECS.Types.TaskField: pattern TaskField_TAGS :: TaskField
+ Amazonka.ECS.Types.TaskOverride: TaskOverride' :: Maybe [ContainerOverride] -> Maybe Text -> Maybe EphemeralStorage -> Maybe Text -> Maybe [InferenceAcceleratorOverride] -> Maybe Text -> Maybe Text -> TaskOverride
+ Amazonka.ECS.Types.TaskOverride: [$sel:containerOverrides:TaskOverride'] :: TaskOverride -> Maybe [ContainerOverride]
+ Amazonka.ECS.Types.TaskOverride: [$sel:cpu:TaskOverride'] :: TaskOverride -> Maybe Text
+ Amazonka.ECS.Types.TaskOverride: [$sel:ephemeralStorage:TaskOverride'] :: TaskOverride -> Maybe EphemeralStorage
+ Amazonka.ECS.Types.TaskOverride: [$sel:executionRoleArn:TaskOverride'] :: TaskOverride -> Maybe Text
+ Amazonka.ECS.Types.TaskOverride: [$sel:inferenceAcceleratorOverrides:TaskOverride'] :: TaskOverride -> Maybe [InferenceAcceleratorOverride]
+ Amazonka.ECS.Types.TaskOverride: [$sel:memory:TaskOverride'] :: TaskOverride -> Maybe Text
+ Amazonka.ECS.Types.TaskOverride: [$sel:taskRoleArn:TaskOverride'] :: TaskOverride -> Maybe Text
+ Amazonka.ECS.Types.TaskOverride: data TaskOverride
+ Amazonka.ECS.Types.TaskOverride: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TaskOverride.TaskOverride
+ Amazonka.ECS.Types.TaskOverride: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TaskOverride.TaskOverride
+ Amazonka.ECS.Types.TaskOverride: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.TaskOverride.TaskOverride
+ Amazonka.ECS.Types.TaskOverride: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TaskOverride.TaskOverride
+ Amazonka.ECS.Types.TaskOverride: instance GHC.Classes.Eq Amazonka.ECS.Types.TaskOverride.TaskOverride
+ Amazonka.ECS.Types.TaskOverride: instance GHC.Generics.Generic Amazonka.ECS.Types.TaskOverride.TaskOverride
+ Amazonka.ECS.Types.TaskOverride: instance GHC.Read.Read Amazonka.ECS.Types.TaskOverride.TaskOverride
+ Amazonka.ECS.Types.TaskOverride: instance GHC.Show.Show Amazonka.ECS.Types.TaskOverride.TaskOverride
+ Amazonka.ECS.Types.TaskOverride: newTaskOverride :: TaskOverride
+ Amazonka.ECS.Types.TaskOverride: taskOverride_containerOverrides :: Lens' TaskOverride (Maybe [ContainerOverride])
+ Amazonka.ECS.Types.TaskOverride: taskOverride_cpu :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Types.TaskOverride: taskOverride_ephemeralStorage :: Lens' TaskOverride (Maybe EphemeralStorage)
+ Amazonka.ECS.Types.TaskOverride: taskOverride_executionRoleArn :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Types.TaskOverride: taskOverride_inferenceAcceleratorOverrides :: Lens' TaskOverride (Maybe [InferenceAcceleratorOverride])
+ Amazonka.ECS.Types.TaskOverride: taskOverride_memory :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Types.TaskOverride: taskOverride_taskRoleArn :: Lens' TaskOverride (Maybe Text)
+ Amazonka.ECS.Types.TaskSet: TaskSet' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe Int -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe LaunchType -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Scale -> Maybe Text -> Maybe [ServiceRegistry] -> Maybe StabilityStatus -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Maybe Text -> Maybe Text -> Maybe POSIX -> TaskSet
+ Amazonka.ECS.Types.TaskSet: [$sel:capacityProviderStrategy:TaskSet'] :: TaskSet -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.Types.TaskSet: [$sel:clusterArn:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types.TaskSet: [$sel:computedDesiredCount:TaskSet'] :: TaskSet -> Maybe Int
+ Amazonka.ECS.Types.TaskSet: [$sel:createdAt:TaskSet'] :: TaskSet -> Maybe POSIX
+ Amazonka.ECS.Types.TaskSet: [$sel:externalId:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types.TaskSet: [$sel:id:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types.TaskSet: [$sel:launchType:TaskSet'] :: TaskSet -> Maybe LaunchType
+ Amazonka.ECS.Types.TaskSet: [$sel:loadBalancers:TaskSet'] :: TaskSet -> Maybe [LoadBalancer]
+ Amazonka.ECS.Types.TaskSet: [$sel:networkConfiguration:TaskSet'] :: TaskSet -> Maybe NetworkConfiguration
+ Amazonka.ECS.Types.TaskSet: [$sel:pendingCount:TaskSet'] :: TaskSet -> Maybe Int
+ Amazonka.ECS.Types.TaskSet: [$sel:platformFamily:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types.TaskSet: [$sel:platformVersion:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types.TaskSet: [$sel:runningCount:TaskSet'] :: TaskSet -> Maybe Int
+ Amazonka.ECS.Types.TaskSet: [$sel:scale:TaskSet'] :: TaskSet -> Maybe Scale
+ Amazonka.ECS.Types.TaskSet: [$sel:serviceArn:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types.TaskSet: [$sel:serviceRegistries:TaskSet'] :: TaskSet -> Maybe [ServiceRegistry]
+ Amazonka.ECS.Types.TaskSet: [$sel:stabilityStatus:TaskSet'] :: TaskSet -> Maybe StabilityStatus
+ Amazonka.ECS.Types.TaskSet: [$sel:stabilityStatusAt:TaskSet'] :: TaskSet -> Maybe POSIX
+ Amazonka.ECS.Types.TaskSet: [$sel:startedBy:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types.TaskSet: [$sel:status:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types.TaskSet: [$sel:tags:TaskSet'] :: TaskSet -> Maybe [Tag]
+ Amazonka.ECS.Types.TaskSet: [$sel:taskDefinition:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types.TaskSet: [$sel:taskSetArn:TaskSet'] :: TaskSet -> Maybe Text
+ Amazonka.ECS.Types.TaskSet: [$sel:updatedAt:TaskSet'] :: TaskSet -> Maybe POSIX
+ Amazonka.ECS.Types.TaskSet: data TaskSet
+ Amazonka.ECS.Types.TaskSet: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TaskSet.TaskSet
+ Amazonka.ECS.Types.TaskSet: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TaskSet.TaskSet
+ Amazonka.ECS.Types.TaskSet: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TaskSet.TaskSet
+ Amazonka.ECS.Types.TaskSet: instance GHC.Classes.Eq Amazonka.ECS.Types.TaskSet.TaskSet
+ Amazonka.ECS.Types.TaskSet: instance GHC.Generics.Generic Amazonka.ECS.Types.TaskSet.TaskSet
+ Amazonka.ECS.Types.TaskSet: instance GHC.Read.Read Amazonka.ECS.Types.TaskSet.TaskSet
+ Amazonka.ECS.Types.TaskSet: instance GHC.Show.Show Amazonka.ECS.Types.TaskSet.TaskSet
+ Amazonka.ECS.Types.TaskSet: newTaskSet :: TaskSet
+ Amazonka.ECS.Types.TaskSet: taskSet_capacityProviderStrategy :: Lens' TaskSet (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.Types.TaskSet: taskSet_clusterArn :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types.TaskSet: taskSet_computedDesiredCount :: Lens' TaskSet (Maybe Int)
+ Amazonka.ECS.Types.TaskSet: taskSet_createdAt :: Lens' TaskSet (Maybe UTCTime)
+ Amazonka.ECS.Types.TaskSet: taskSet_externalId :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types.TaskSet: taskSet_id :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types.TaskSet: taskSet_launchType :: Lens' TaskSet (Maybe LaunchType)
+ Amazonka.ECS.Types.TaskSet: taskSet_loadBalancers :: Lens' TaskSet (Maybe [LoadBalancer])
+ Amazonka.ECS.Types.TaskSet: taskSet_networkConfiguration :: Lens' TaskSet (Maybe NetworkConfiguration)
+ Amazonka.ECS.Types.TaskSet: taskSet_pendingCount :: Lens' TaskSet (Maybe Int)
+ Amazonka.ECS.Types.TaskSet: taskSet_platformFamily :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types.TaskSet: taskSet_platformVersion :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types.TaskSet: taskSet_runningCount :: Lens' TaskSet (Maybe Int)
+ Amazonka.ECS.Types.TaskSet: taskSet_scale :: Lens' TaskSet (Maybe Scale)
+ Amazonka.ECS.Types.TaskSet: taskSet_serviceArn :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types.TaskSet: taskSet_serviceRegistries :: Lens' TaskSet (Maybe [ServiceRegistry])
+ Amazonka.ECS.Types.TaskSet: taskSet_stabilityStatus :: Lens' TaskSet (Maybe StabilityStatus)
+ Amazonka.ECS.Types.TaskSet: taskSet_stabilityStatusAt :: Lens' TaskSet (Maybe UTCTime)
+ Amazonka.ECS.Types.TaskSet: taskSet_startedBy :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types.TaskSet: taskSet_status :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types.TaskSet: taskSet_tags :: Lens' TaskSet (Maybe [Tag])
+ Amazonka.ECS.Types.TaskSet: taskSet_taskDefinition :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types.TaskSet: taskSet_taskSetArn :: Lens' TaskSet (Maybe Text)
+ Amazonka.ECS.Types.TaskSet: taskSet_updatedAt :: Lens' TaskSet (Maybe UTCTime)
+ Amazonka.ECS.Types.TaskSetField: TaskSetField' :: Text -> TaskSetField
+ Amazonka.ECS.Types.TaskSetField: [fromTaskSetField] :: TaskSetField -> Text
+ Amazonka.ECS.Types.TaskSetField: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance GHC.Classes.Eq Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance GHC.Classes.Ord Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance GHC.Generics.Generic Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance GHC.Read.Read Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: instance GHC.Show.Show Amazonka.ECS.Types.TaskSetField.TaskSetField
+ Amazonka.ECS.Types.TaskSetField: newtype TaskSetField
+ Amazonka.ECS.Types.TaskSetField: pattern TaskSetField_TAGS :: TaskSetField
+ Amazonka.ECS.Types.TaskStopCode: TaskStopCode' :: Text -> TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: [fromTaskStopCode] :: TaskStopCode -> Text
+ Amazonka.ECS.Types.TaskStopCode: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance GHC.Classes.Eq Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance GHC.Classes.Ord Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance GHC.Generics.Generic Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance GHC.Read.Read Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: instance GHC.Show.Show Amazonka.ECS.Types.TaskStopCode.TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: newtype TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: pattern TaskStopCode_EssentialContainerExited :: TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: pattern TaskStopCode_ServiceSchedulerInitiated :: TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: pattern TaskStopCode_SpotInterruption :: TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: pattern TaskStopCode_TaskFailedToStart :: TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: pattern TaskStopCode_TerminationNotice :: TaskStopCode
+ Amazonka.ECS.Types.TaskStopCode: pattern TaskStopCode_UserInitiated :: TaskStopCode
+ Amazonka.ECS.Types.Tmpfs: Tmpfs' :: Maybe [Text] -> Text -> Int -> Tmpfs
+ Amazonka.ECS.Types.Tmpfs: [$sel:containerPath:Tmpfs'] :: Tmpfs -> Text
+ Amazonka.ECS.Types.Tmpfs: [$sel:mountOptions:Tmpfs'] :: Tmpfs -> Maybe [Text]
+ Amazonka.ECS.Types.Tmpfs: [$sel:size:Tmpfs'] :: Tmpfs -> Int
+ Amazonka.ECS.Types.Tmpfs: data Tmpfs
+ Amazonka.ECS.Types.Tmpfs: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Tmpfs.Tmpfs
+ Amazonka.ECS.Types.Tmpfs: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Tmpfs.Tmpfs
+ Amazonka.ECS.Types.Tmpfs: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Tmpfs.Tmpfs
+ Amazonka.ECS.Types.Tmpfs: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Tmpfs.Tmpfs
+ Amazonka.ECS.Types.Tmpfs: instance GHC.Classes.Eq Amazonka.ECS.Types.Tmpfs.Tmpfs
+ Amazonka.ECS.Types.Tmpfs: instance GHC.Generics.Generic Amazonka.ECS.Types.Tmpfs.Tmpfs
+ Amazonka.ECS.Types.Tmpfs: instance GHC.Read.Read Amazonka.ECS.Types.Tmpfs.Tmpfs
+ Amazonka.ECS.Types.Tmpfs: instance GHC.Show.Show Amazonka.ECS.Types.Tmpfs.Tmpfs
+ Amazonka.ECS.Types.Tmpfs: newTmpfs :: Text -> Int -> Tmpfs
+ Amazonka.ECS.Types.Tmpfs: tmpfs_containerPath :: Lens' Tmpfs Text
+ Amazonka.ECS.Types.Tmpfs: tmpfs_mountOptions :: Lens' Tmpfs (Maybe [Text])
+ Amazonka.ECS.Types.Tmpfs: tmpfs_size :: Lens' Tmpfs Int
+ Amazonka.ECS.Types.TransportProtocol: TransportProtocol' :: Text -> TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: [fromTransportProtocol] :: TransportProtocol -> Text
+ Amazonka.ECS.Types.TransportProtocol: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Control.DeepSeq.NFData Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance GHC.Classes.Eq Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance GHC.Classes.Ord Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance GHC.Generics.Generic Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance GHC.Read.Read Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: instance GHC.Show.Show Amazonka.ECS.Types.TransportProtocol.TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: newtype TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: pattern TransportProtocol_Tcp :: TransportProtocol
+ Amazonka.ECS.Types.TransportProtocol: pattern TransportProtocol_Udp :: TransportProtocol
+ Amazonka.ECS.Types.Ulimit: Ulimit' :: UlimitName -> Int -> Int -> Ulimit
+ Amazonka.ECS.Types.Ulimit: [$sel:hardLimit:Ulimit'] :: Ulimit -> Int
+ Amazonka.ECS.Types.Ulimit: [$sel:name:Ulimit'] :: Ulimit -> UlimitName
+ Amazonka.ECS.Types.Ulimit: [$sel:softLimit:Ulimit'] :: Ulimit -> Int
+ Amazonka.ECS.Types.Ulimit: data Ulimit
+ Amazonka.ECS.Types.Ulimit: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Ulimit.Ulimit
+ Amazonka.ECS.Types.Ulimit: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Ulimit.Ulimit
+ Amazonka.ECS.Types.Ulimit: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Ulimit.Ulimit
+ Amazonka.ECS.Types.Ulimit: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Ulimit.Ulimit
+ Amazonka.ECS.Types.Ulimit: instance GHC.Classes.Eq Amazonka.ECS.Types.Ulimit.Ulimit
+ Amazonka.ECS.Types.Ulimit: instance GHC.Generics.Generic Amazonka.ECS.Types.Ulimit.Ulimit
+ Amazonka.ECS.Types.Ulimit: instance GHC.Read.Read Amazonka.ECS.Types.Ulimit.Ulimit
+ Amazonka.ECS.Types.Ulimit: instance GHC.Show.Show Amazonka.ECS.Types.Ulimit.Ulimit
+ Amazonka.ECS.Types.Ulimit: newUlimit :: UlimitName -> Int -> Int -> Ulimit
+ Amazonka.ECS.Types.Ulimit: ulimit_hardLimit :: Lens' Ulimit Int
+ Amazonka.ECS.Types.Ulimit: ulimit_name :: Lens' Ulimit UlimitName
+ Amazonka.ECS.Types.Ulimit: ulimit_softLimit :: Lens' Ulimit Int
+ Amazonka.ECS.Types.UlimitName: UlimitName' :: Text -> UlimitName
+ Amazonka.ECS.Types.UlimitName: [fromUlimitName] :: UlimitName -> Text
+ Amazonka.ECS.Types.UlimitName: instance Amazonka.Data.ByteString.ToByteString Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Amazonka.Data.Headers.ToHeader Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Amazonka.Data.Log.ToLog Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Amazonka.Data.Text.FromText Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Amazonka.Data.Text.ToText Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Amazonka.Data.XML.FromXML Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Amazonka.Data.XML.ToXML Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Control.DeepSeq.NFData Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance GHC.Classes.Eq Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance GHC.Classes.Ord Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance GHC.Generics.Generic Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance GHC.Read.Read Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: instance GHC.Show.Show Amazonka.ECS.Types.UlimitName.UlimitName
+ Amazonka.ECS.Types.UlimitName: newtype UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Core :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Cpu :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Data :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Fsize :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Locks :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Memlock :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Msgqueue :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Nice :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Nofile :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Nproc :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Rss :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Rtprio :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Rttime :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Sigpending :: UlimitName
+ Amazonka.ECS.Types.UlimitName: pattern UlimitName_Stack :: UlimitName
+ Amazonka.ECS.Types.VersionInfo: VersionInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> VersionInfo
+ Amazonka.ECS.Types.VersionInfo: [$sel:agentHash:VersionInfo'] :: VersionInfo -> Maybe Text
+ Amazonka.ECS.Types.VersionInfo: [$sel:agentVersion:VersionInfo'] :: VersionInfo -> Maybe Text
+ Amazonka.ECS.Types.VersionInfo: [$sel:dockerVersion:VersionInfo'] :: VersionInfo -> Maybe Text
+ Amazonka.ECS.Types.VersionInfo: data VersionInfo
+ Amazonka.ECS.Types.VersionInfo: instance Control.DeepSeq.NFData Amazonka.ECS.Types.VersionInfo.VersionInfo
+ Amazonka.ECS.Types.VersionInfo: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.VersionInfo.VersionInfo
+ Amazonka.ECS.Types.VersionInfo: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.VersionInfo.VersionInfo
+ Amazonka.ECS.Types.VersionInfo: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.VersionInfo.VersionInfo
+ Amazonka.ECS.Types.VersionInfo: instance GHC.Classes.Eq Amazonka.ECS.Types.VersionInfo.VersionInfo
+ Amazonka.ECS.Types.VersionInfo: instance GHC.Generics.Generic Amazonka.ECS.Types.VersionInfo.VersionInfo
+ Amazonka.ECS.Types.VersionInfo: instance GHC.Read.Read Amazonka.ECS.Types.VersionInfo.VersionInfo
+ Amazonka.ECS.Types.VersionInfo: instance GHC.Show.Show Amazonka.ECS.Types.VersionInfo.VersionInfo
+ Amazonka.ECS.Types.VersionInfo: newVersionInfo :: VersionInfo
+ Amazonka.ECS.Types.VersionInfo: versionInfo_agentHash :: Lens' VersionInfo (Maybe Text)
+ Amazonka.ECS.Types.VersionInfo: versionInfo_agentVersion :: Lens' VersionInfo (Maybe Text)
+ Amazonka.ECS.Types.VersionInfo: versionInfo_dockerVersion :: Lens' VersionInfo (Maybe Text)
+ Amazonka.ECS.Types.Volume: Volume' :: Maybe DockerVolumeConfiguration -> Maybe EFSVolumeConfiguration -> Maybe FSxWindowsFileServerVolumeConfiguration -> Maybe HostVolumeProperties -> Maybe Text -> Volume
+ Amazonka.ECS.Types.Volume: [$sel:dockerVolumeConfiguration:Volume'] :: Volume -> Maybe DockerVolumeConfiguration
+ Amazonka.ECS.Types.Volume: [$sel:efsVolumeConfiguration:Volume'] :: Volume -> Maybe EFSVolumeConfiguration
+ Amazonka.ECS.Types.Volume: [$sel:fsxWindowsFileServerVolumeConfiguration:Volume'] :: Volume -> Maybe FSxWindowsFileServerVolumeConfiguration
+ Amazonka.ECS.Types.Volume: [$sel:host:Volume'] :: Volume -> Maybe HostVolumeProperties
+ Amazonka.ECS.Types.Volume: [$sel:name:Volume'] :: Volume -> Maybe Text
+ Amazonka.ECS.Types.Volume: data Volume
+ Amazonka.ECS.Types.Volume: instance Control.DeepSeq.NFData Amazonka.ECS.Types.Volume.Volume
+ Amazonka.ECS.Types.Volume: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.Volume.Volume
+ Amazonka.ECS.Types.Volume: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.Volume.Volume
+ Amazonka.ECS.Types.Volume: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.Volume.Volume
+ Amazonka.ECS.Types.Volume: instance GHC.Classes.Eq Amazonka.ECS.Types.Volume.Volume
+ Amazonka.ECS.Types.Volume: instance GHC.Generics.Generic Amazonka.ECS.Types.Volume.Volume
+ Amazonka.ECS.Types.Volume: instance GHC.Read.Read Amazonka.ECS.Types.Volume.Volume
+ Amazonka.ECS.Types.Volume: instance GHC.Show.Show Amazonka.ECS.Types.Volume.Volume
+ Amazonka.ECS.Types.Volume: newVolume :: Volume
+ Amazonka.ECS.Types.Volume: volume_dockerVolumeConfiguration :: Lens' Volume (Maybe DockerVolumeConfiguration)
+ Amazonka.ECS.Types.Volume: volume_efsVolumeConfiguration :: Lens' Volume (Maybe EFSVolumeConfiguration)
+ Amazonka.ECS.Types.Volume: volume_fsxWindowsFileServerVolumeConfiguration :: Lens' Volume (Maybe FSxWindowsFileServerVolumeConfiguration)
+ Amazonka.ECS.Types.Volume: volume_host :: Lens' Volume (Maybe HostVolumeProperties)
+ Amazonka.ECS.Types.Volume: volume_name :: Lens' Volume (Maybe Text)
+ Amazonka.ECS.Types.VolumeFrom: VolumeFrom' :: Maybe Bool -> Maybe Text -> VolumeFrom
+ Amazonka.ECS.Types.VolumeFrom: [$sel:readOnly:VolumeFrom'] :: VolumeFrom -> Maybe Bool
+ Amazonka.ECS.Types.VolumeFrom: [$sel:sourceContainer:VolumeFrom'] :: VolumeFrom -> Maybe Text
+ Amazonka.ECS.Types.VolumeFrom: data VolumeFrom
+ Amazonka.ECS.Types.VolumeFrom: instance Control.DeepSeq.NFData Amazonka.ECS.Types.VolumeFrom.VolumeFrom
+ Amazonka.ECS.Types.VolumeFrom: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ECS.Types.VolumeFrom.VolumeFrom
+ Amazonka.ECS.Types.VolumeFrom: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.Types.VolumeFrom.VolumeFrom
+ Amazonka.ECS.Types.VolumeFrom: instance Data.Hashable.Class.Hashable Amazonka.ECS.Types.VolumeFrom.VolumeFrom
+ Amazonka.ECS.Types.VolumeFrom: instance GHC.Classes.Eq Amazonka.ECS.Types.VolumeFrom.VolumeFrom
+ Amazonka.ECS.Types.VolumeFrom: instance GHC.Generics.Generic Amazonka.ECS.Types.VolumeFrom.VolumeFrom
+ Amazonka.ECS.Types.VolumeFrom: instance GHC.Read.Read Amazonka.ECS.Types.VolumeFrom.VolumeFrom
+ Amazonka.ECS.Types.VolumeFrom: instance GHC.Show.Show Amazonka.ECS.Types.VolumeFrom.VolumeFrom
+ Amazonka.ECS.Types.VolumeFrom: newVolumeFrom :: VolumeFrom
+ Amazonka.ECS.Types.VolumeFrom: volumeFrom_readOnly :: Lens' VolumeFrom (Maybe Bool)
+ Amazonka.ECS.Types.VolumeFrom: volumeFrom_sourceContainer :: Lens' VolumeFrom (Maybe Text)
+ Amazonka.ECS.UntagResource: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.ECS.UntagResource: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.ECS.UntagResource: [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
+ Amazonka.ECS.UntagResource: [$sel:resourceArn:UntagResource'] :: UntagResource -> Text
+ Amazonka.ECS.UntagResource: [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text]
+ Amazonka.ECS.UntagResource: data UntagResource
+ Amazonka.ECS.UntagResource: data UntagResourceResponse
+ Amazonka.ECS.UntagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.UntagResource.UntagResource
+ Amazonka.ECS.UntagResource: instance Amazonka.Data.Path.ToPath Amazonka.ECS.UntagResource.UntagResource
+ Amazonka.ECS.UntagResource: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.UntagResource.UntagResource
+ Amazonka.ECS.UntagResource: instance Amazonka.Types.AWSRequest Amazonka.ECS.UntagResource.UntagResource
+ Amazonka.ECS.UntagResource: instance Control.DeepSeq.NFData Amazonka.ECS.UntagResource.UntagResource
+ Amazonka.ECS.UntagResource: instance Control.DeepSeq.NFData Amazonka.ECS.UntagResource.UntagResourceResponse
+ Amazonka.ECS.UntagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.UntagResource.UntagResource
+ Amazonka.ECS.UntagResource: instance Data.Hashable.Class.Hashable Amazonka.ECS.UntagResource.UntagResource
+ Amazonka.ECS.UntagResource: instance GHC.Classes.Eq Amazonka.ECS.UntagResource.UntagResource
+ Amazonka.ECS.UntagResource: instance GHC.Classes.Eq Amazonka.ECS.UntagResource.UntagResourceResponse
+ Amazonka.ECS.UntagResource: instance GHC.Generics.Generic Amazonka.ECS.UntagResource.UntagResource
+ Amazonka.ECS.UntagResource: instance GHC.Generics.Generic Amazonka.ECS.UntagResource.UntagResourceResponse
+ Amazonka.ECS.UntagResource: instance GHC.Read.Read Amazonka.ECS.UntagResource.UntagResource
+ Amazonka.ECS.UntagResource: instance GHC.Read.Read Amazonka.ECS.UntagResource.UntagResourceResponse
+ Amazonka.ECS.UntagResource: instance GHC.Show.Show Amazonka.ECS.UntagResource.UntagResource
+ Amazonka.ECS.UntagResource: instance GHC.Show.Show Amazonka.ECS.UntagResource.UntagResourceResponse
+ Amazonka.ECS.UntagResource: newUntagResource :: Text -> UntagResource
+ Amazonka.ECS.UntagResource: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.ECS.UntagResource: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.ECS.UntagResource: untagResource_resourceArn :: Lens' UntagResource Text
+ Amazonka.ECS.UntagResource: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.ECS.UpdateCapacityProvider: UpdateCapacityProvider' :: Text -> AutoScalingGroupProviderUpdate -> UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: UpdateCapacityProviderResponse' :: Maybe CapacityProvider -> Int -> UpdateCapacityProviderResponse
+ Amazonka.ECS.UpdateCapacityProvider: [$sel:autoScalingGroupProvider:UpdateCapacityProvider'] :: UpdateCapacityProvider -> AutoScalingGroupProviderUpdate
+ Amazonka.ECS.UpdateCapacityProvider: [$sel:capacityProvider:UpdateCapacityProviderResponse'] :: UpdateCapacityProviderResponse -> Maybe CapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: [$sel:httpStatus:UpdateCapacityProviderResponse'] :: UpdateCapacityProviderResponse -> Int
+ Amazonka.ECS.UpdateCapacityProvider: [$sel:name:UpdateCapacityProvider'] :: UpdateCapacityProvider -> Text
+ Amazonka.ECS.UpdateCapacityProvider: data UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: data UpdateCapacityProviderResponse
+ Amazonka.ECS.UpdateCapacityProvider: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: instance Amazonka.Data.Path.ToPath Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: instance Amazonka.Types.AWSRequest Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProviderResponse
+ Amazonka.ECS.UpdateCapacityProvider: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: instance Data.Hashable.Class.Hashable Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: instance GHC.Classes.Eq Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: instance GHC.Classes.Eq Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProviderResponse
+ Amazonka.ECS.UpdateCapacityProvider: instance GHC.Generics.Generic Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: instance GHC.Generics.Generic Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProviderResponse
+ Amazonka.ECS.UpdateCapacityProvider: instance GHC.Read.Read Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: instance GHC.Read.Read Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProviderResponse
+ Amazonka.ECS.UpdateCapacityProvider: instance GHC.Show.Show Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: instance GHC.Show.Show Amazonka.ECS.UpdateCapacityProvider.UpdateCapacityProviderResponse
+ Amazonka.ECS.UpdateCapacityProvider: newUpdateCapacityProvider :: Text -> AutoScalingGroupProviderUpdate -> UpdateCapacityProvider
+ Amazonka.ECS.UpdateCapacityProvider: newUpdateCapacityProviderResponse :: Int -> UpdateCapacityProviderResponse
+ Amazonka.ECS.UpdateCapacityProvider: updateCapacityProviderResponse_capacityProvider :: Lens' UpdateCapacityProviderResponse (Maybe CapacityProvider)
+ Amazonka.ECS.UpdateCapacityProvider: updateCapacityProviderResponse_httpStatus :: Lens' UpdateCapacityProviderResponse Int
+ Amazonka.ECS.UpdateCapacityProvider: updateCapacityProvider_autoScalingGroupProvider :: Lens' UpdateCapacityProvider AutoScalingGroupProviderUpdate
+ Amazonka.ECS.UpdateCapacityProvider: updateCapacityProvider_name :: Lens' UpdateCapacityProvider Text
+ Amazonka.ECS.UpdateCluster: UpdateCluster' :: Maybe ClusterConfiguration -> Maybe ClusterServiceConnectDefaultsRequest -> Maybe [ClusterSetting] -> Text -> UpdateCluster
+ Amazonka.ECS.UpdateCluster: UpdateClusterResponse' :: Maybe Cluster -> Int -> UpdateClusterResponse
+ Amazonka.ECS.UpdateCluster: [$sel:cluster:UpdateCluster'] :: UpdateCluster -> Text
+ Amazonka.ECS.UpdateCluster: [$sel:cluster:UpdateClusterResponse'] :: UpdateClusterResponse -> Maybe Cluster
+ Amazonka.ECS.UpdateCluster: [$sel:configuration:UpdateCluster'] :: UpdateCluster -> Maybe ClusterConfiguration
+ Amazonka.ECS.UpdateCluster: [$sel:httpStatus:UpdateClusterResponse'] :: UpdateClusterResponse -> Int
+ Amazonka.ECS.UpdateCluster: [$sel:serviceConnectDefaults:UpdateCluster'] :: UpdateCluster -> Maybe ClusterServiceConnectDefaultsRequest
+ Amazonka.ECS.UpdateCluster: [$sel:settings:UpdateCluster'] :: UpdateCluster -> Maybe [ClusterSetting]
+ Amazonka.ECS.UpdateCluster: data UpdateCluster
+ Amazonka.ECS.UpdateCluster: data UpdateClusterResponse
+ Amazonka.ECS.UpdateCluster: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.UpdateCluster.UpdateCluster
+ Amazonka.ECS.UpdateCluster: instance Amazonka.Data.Path.ToPath Amazonka.ECS.UpdateCluster.UpdateCluster
+ Amazonka.ECS.UpdateCluster: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.UpdateCluster.UpdateCluster
+ Amazonka.ECS.UpdateCluster: instance Amazonka.Types.AWSRequest Amazonka.ECS.UpdateCluster.UpdateCluster
+ Amazonka.ECS.UpdateCluster: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateCluster.UpdateCluster
+ Amazonka.ECS.UpdateCluster: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateCluster.UpdateClusterResponse
+ Amazonka.ECS.UpdateCluster: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.UpdateCluster.UpdateCluster
+ Amazonka.ECS.UpdateCluster: instance Data.Hashable.Class.Hashable Amazonka.ECS.UpdateCluster.UpdateCluster
+ Amazonka.ECS.UpdateCluster: instance GHC.Classes.Eq Amazonka.ECS.UpdateCluster.UpdateCluster
+ Amazonka.ECS.UpdateCluster: instance GHC.Classes.Eq Amazonka.ECS.UpdateCluster.UpdateClusterResponse
+ Amazonka.ECS.UpdateCluster: instance GHC.Generics.Generic Amazonka.ECS.UpdateCluster.UpdateCluster
+ Amazonka.ECS.UpdateCluster: instance GHC.Generics.Generic Amazonka.ECS.UpdateCluster.UpdateClusterResponse
+ Amazonka.ECS.UpdateCluster: instance GHC.Read.Read Amazonka.ECS.UpdateCluster.UpdateCluster
+ Amazonka.ECS.UpdateCluster: instance GHC.Read.Read Amazonka.ECS.UpdateCluster.UpdateClusterResponse
+ Amazonka.ECS.UpdateCluster: instance GHC.Show.Show Amazonka.ECS.UpdateCluster.UpdateCluster
+ Amazonka.ECS.UpdateCluster: instance GHC.Show.Show Amazonka.ECS.UpdateCluster.UpdateClusterResponse
+ Amazonka.ECS.UpdateCluster: newUpdateCluster :: Text -> UpdateCluster
+ Amazonka.ECS.UpdateCluster: newUpdateClusterResponse :: Int -> UpdateClusterResponse
+ Amazonka.ECS.UpdateCluster: updateClusterResponse_cluster :: Lens' UpdateClusterResponse (Maybe Cluster)
+ Amazonka.ECS.UpdateCluster: updateClusterResponse_httpStatus :: Lens' UpdateClusterResponse Int
+ Amazonka.ECS.UpdateCluster: updateCluster_cluster :: Lens' UpdateCluster Text
+ Amazonka.ECS.UpdateCluster: updateCluster_configuration :: Lens' UpdateCluster (Maybe ClusterConfiguration)
+ Amazonka.ECS.UpdateCluster: updateCluster_serviceConnectDefaults :: Lens' UpdateCluster (Maybe ClusterServiceConnectDefaultsRequest)
+ Amazonka.ECS.UpdateCluster: updateCluster_settings :: Lens' UpdateCluster (Maybe [ClusterSetting])
+ Amazonka.ECS.UpdateClusterSettings: UpdateClusterSettings' :: Text -> [ClusterSetting] -> UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: UpdateClusterSettingsResponse' :: Maybe Cluster -> Int -> UpdateClusterSettingsResponse
+ Amazonka.ECS.UpdateClusterSettings: [$sel:cluster:UpdateClusterSettings'] :: UpdateClusterSettings -> Text
+ Amazonka.ECS.UpdateClusterSettings: [$sel:cluster:UpdateClusterSettingsResponse'] :: UpdateClusterSettingsResponse -> Maybe Cluster
+ Amazonka.ECS.UpdateClusterSettings: [$sel:httpStatus:UpdateClusterSettingsResponse'] :: UpdateClusterSettingsResponse -> Int
+ Amazonka.ECS.UpdateClusterSettings: [$sel:settings:UpdateClusterSettings'] :: UpdateClusterSettings -> [ClusterSetting]
+ Amazonka.ECS.UpdateClusterSettings: data UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: data UpdateClusterSettingsResponse
+ Amazonka.ECS.UpdateClusterSettings: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: instance Amazonka.Data.Path.ToPath Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: instance Amazonka.Types.AWSRequest Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettingsResponse
+ Amazonka.ECS.UpdateClusterSettings: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: instance Data.Hashable.Class.Hashable Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: instance GHC.Classes.Eq Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: instance GHC.Classes.Eq Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettingsResponse
+ Amazonka.ECS.UpdateClusterSettings: instance GHC.Generics.Generic Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: instance GHC.Generics.Generic Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettingsResponse
+ Amazonka.ECS.UpdateClusterSettings: instance GHC.Read.Read Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: instance GHC.Read.Read Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettingsResponse
+ Amazonka.ECS.UpdateClusterSettings: instance GHC.Show.Show Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: instance GHC.Show.Show Amazonka.ECS.UpdateClusterSettings.UpdateClusterSettingsResponse
+ Amazonka.ECS.UpdateClusterSettings: newUpdateClusterSettings :: Text -> UpdateClusterSettings
+ Amazonka.ECS.UpdateClusterSettings: newUpdateClusterSettingsResponse :: Int -> UpdateClusterSettingsResponse
+ Amazonka.ECS.UpdateClusterSettings: updateClusterSettingsResponse_cluster :: Lens' UpdateClusterSettingsResponse (Maybe Cluster)
+ Amazonka.ECS.UpdateClusterSettings: updateClusterSettingsResponse_httpStatus :: Lens' UpdateClusterSettingsResponse Int
+ Amazonka.ECS.UpdateClusterSettings: updateClusterSettings_cluster :: Lens' UpdateClusterSettings Text
+ Amazonka.ECS.UpdateClusterSettings: updateClusterSettings_settings :: Lens' UpdateClusterSettings [ClusterSetting]
+ Amazonka.ECS.UpdateContainerAgent: UpdateContainerAgent' :: Maybe Text -> Text -> UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: UpdateContainerAgentResponse' :: Maybe ContainerInstance -> Int -> UpdateContainerAgentResponse
+ Amazonka.ECS.UpdateContainerAgent: [$sel:cluster:UpdateContainerAgent'] :: UpdateContainerAgent -> Maybe Text
+ Amazonka.ECS.UpdateContainerAgent: [$sel:containerInstance:UpdateContainerAgent'] :: UpdateContainerAgent -> Text
+ Amazonka.ECS.UpdateContainerAgent: [$sel:containerInstance:UpdateContainerAgentResponse'] :: UpdateContainerAgentResponse -> Maybe ContainerInstance
+ Amazonka.ECS.UpdateContainerAgent: [$sel:httpStatus:UpdateContainerAgentResponse'] :: UpdateContainerAgentResponse -> Int
+ Amazonka.ECS.UpdateContainerAgent: data UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: data UpdateContainerAgentResponse
+ Amazonka.ECS.UpdateContainerAgent: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: instance Amazonka.Data.Path.ToPath Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: instance Amazonka.Types.AWSRequest Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgentResponse
+ Amazonka.ECS.UpdateContainerAgent: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: instance Data.Hashable.Class.Hashable Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: instance GHC.Classes.Eq Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: instance GHC.Classes.Eq Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgentResponse
+ Amazonka.ECS.UpdateContainerAgent: instance GHC.Generics.Generic Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: instance GHC.Generics.Generic Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgentResponse
+ Amazonka.ECS.UpdateContainerAgent: instance GHC.Read.Read Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: instance GHC.Read.Read Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgentResponse
+ Amazonka.ECS.UpdateContainerAgent: instance GHC.Show.Show Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: instance GHC.Show.Show Amazonka.ECS.UpdateContainerAgent.UpdateContainerAgentResponse
+ Amazonka.ECS.UpdateContainerAgent: newUpdateContainerAgent :: Text -> UpdateContainerAgent
+ Amazonka.ECS.UpdateContainerAgent: newUpdateContainerAgentResponse :: Int -> UpdateContainerAgentResponse
+ Amazonka.ECS.UpdateContainerAgent: updateContainerAgentResponse_containerInstance :: Lens' UpdateContainerAgentResponse (Maybe ContainerInstance)
+ Amazonka.ECS.UpdateContainerAgent: updateContainerAgentResponse_httpStatus :: Lens' UpdateContainerAgentResponse Int
+ Amazonka.ECS.UpdateContainerAgent: updateContainerAgent_cluster :: Lens' UpdateContainerAgent (Maybe Text)
+ Amazonka.ECS.UpdateContainerAgent: updateContainerAgent_containerInstance :: Lens' UpdateContainerAgent Text
+ Amazonka.ECS.UpdateContainerInstancesState: UpdateContainerInstancesState' :: Maybe Text -> [Text] -> ContainerInstanceStatus -> UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: UpdateContainerInstancesStateResponse' :: Maybe [ContainerInstance] -> Maybe [Failure] -> Int -> UpdateContainerInstancesStateResponse
+ Amazonka.ECS.UpdateContainerInstancesState: [$sel:cluster:UpdateContainerInstancesState'] :: UpdateContainerInstancesState -> Maybe Text
+ Amazonka.ECS.UpdateContainerInstancesState: [$sel:containerInstances:UpdateContainerInstancesState'] :: UpdateContainerInstancesState -> [Text]
+ Amazonka.ECS.UpdateContainerInstancesState: [$sel:containerInstances:UpdateContainerInstancesStateResponse'] :: UpdateContainerInstancesStateResponse -> Maybe [ContainerInstance]
+ Amazonka.ECS.UpdateContainerInstancesState: [$sel:failures:UpdateContainerInstancesStateResponse'] :: UpdateContainerInstancesStateResponse -> Maybe [Failure]
+ Amazonka.ECS.UpdateContainerInstancesState: [$sel:httpStatus:UpdateContainerInstancesStateResponse'] :: UpdateContainerInstancesStateResponse -> Int
+ Amazonka.ECS.UpdateContainerInstancesState: [$sel:status:UpdateContainerInstancesState'] :: UpdateContainerInstancesState -> ContainerInstanceStatus
+ Amazonka.ECS.UpdateContainerInstancesState: data UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: data UpdateContainerInstancesStateResponse
+ Amazonka.ECS.UpdateContainerInstancesState: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: instance Amazonka.Data.Path.ToPath Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: instance Amazonka.Types.AWSRequest Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesStateResponse
+ Amazonka.ECS.UpdateContainerInstancesState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: instance Data.Hashable.Class.Hashable Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: instance GHC.Classes.Eq Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: instance GHC.Classes.Eq Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesStateResponse
+ Amazonka.ECS.UpdateContainerInstancesState: instance GHC.Generics.Generic Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: instance GHC.Generics.Generic Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesStateResponse
+ Amazonka.ECS.UpdateContainerInstancesState: instance GHC.Read.Read Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: instance GHC.Read.Read Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesStateResponse
+ Amazonka.ECS.UpdateContainerInstancesState: instance GHC.Show.Show Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: instance GHC.Show.Show Amazonka.ECS.UpdateContainerInstancesState.UpdateContainerInstancesStateResponse
+ Amazonka.ECS.UpdateContainerInstancesState: newUpdateContainerInstancesState :: ContainerInstanceStatus -> UpdateContainerInstancesState
+ Amazonka.ECS.UpdateContainerInstancesState: newUpdateContainerInstancesStateResponse :: Int -> UpdateContainerInstancesStateResponse
+ Amazonka.ECS.UpdateContainerInstancesState: updateContainerInstancesStateResponse_containerInstances :: Lens' UpdateContainerInstancesStateResponse (Maybe [ContainerInstance])
+ Amazonka.ECS.UpdateContainerInstancesState: updateContainerInstancesStateResponse_failures :: Lens' UpdateContainerInstancesStateResponse (Maybe [Failure])
+ Amazonka.ECS.UpdateContainerInstancesState: updateContainerInstancesStateResponse_httpStatus :: Lens' UpdateContainerInstancesStateResponse Int
+ Amazonka.ECS.UpdateContainerInstancesState: updateContainerInstancesState_cluster :: Lens' UpdateContainerInstancesState (Maybe Text)
+ Amazonka.ECS.UpdateContainerInstancesState: updateContainerInstancesState_containerInstances :: Lens' UpdateContainerInstancesState [Text]
+ Amazonka.ECS.UpdateContainerInstancesState: updateContainerInstancesState_status :: Lens' UpdateContainerInstancesState ContainerInstanceStatus
+ Amazonka.ECS.UpdateService: UpdateService' :: Maybe [CapacityProviderStrategyItem] -> Maybe Text -> Maybe DeploymentConfiguration -> Maybe Int -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Int -> Maybe [LoadBalancer] -> Maybe NetworkConfiguration -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe PropagateTags -> Maybe ServiceConnectConfiguration -> Maybe [ServiceRegistry] -> Maybe Text -> Text -> UpdateService
+ Amazonka.ECS.UpdateService: UpdateServiceResponse' :: Maybe ContainerService -> Int -> UpdateServiceResponse
+ Amazonka.ECS.UpdateService: [$sel:capacityProviderStrategy:UpdateService'] :: UpdateService -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.ECS.UpdateService: [$sel:cluster:UpdateService'] :: UpdateService -> Maybe Text
+ Amazonka.ECS.UpdateService: [$sel:deploymentConfiguration:UpdateService'] :: UpdateService -> Maybe DeploymentConfiguration
+ Amazonka.ECS.UpdateService: [$sel:desiredCount:UpdateService'] :: UpdateService -> Maybe Int
+ Amazonka.ECS.UpdateService: [$sel:enableECSManagedTags:UpdateService'] :: UpdateService -> Maybe Bool
+ Amazonka.ECS.UpdateService: [$sel:enableExecuteCommand:UpdateService'] :: UpdateService -> Maybe Bool
+ Amazonka.ECS.UpdateService: [$sel:forceNewDeployment:UpdateService'] :: UpdateService -> Maybe Bool
+ Amazonka.ECS.UpdateService: [$sel:healthCheckGracePeriodSeconds:UpdateService'] :: UpdateService -> Maybe Int
+ Amazonka.ECS.UpdateService: [$sel:httpStatus:UpdateServiceResponse'] :: UpdateServiceResponse -> Int
+ Amazonka.ECS.UpdateService: [$sel:loadBalancers:UpdateService'] :: UpdateService -> Maybe [LoadBalancer]
+ Amazonka.ECS.UpdateService: [$sel:networkConfiguration:UpdateService'] :: UpdateService -> Maybe NetworkConfiguration
+ Amazonka.ECS.UpdateService: [$sel:placementConstraints:UpdateService'] :: UpdateService -> Maybe [PlacementConstraint]
+ Amazonka.ECS.UpdateService: [$sel:placementStrategy:UpdateService'] :: UpdateService -> Maybe [PlacementStrategy]
+ Amazonka.ECS.UpdateService: [$sel:platformVersion:UpdateService'] :: UpdateService -> Maybe Text
+ Amazonka.ECS.UpdateService: [$sel:propagateTags:UpdateService'] :: UpdateService -> Maybe PropagateTags
+ Amazonka.ECS.UpdateService: [$sel:service:UpdateService'] :: UpdateService -> Text
+ Amazonka.ECS.UpdateService: [$sel:service:UpdateServiceResponse'] :: UpdateServiceResponse -> Maybe ContainerService
+ Amazonka.ECS.UpdateService: [$sel:serviceConnectConfiguration:UpdateService'] :: UpdateService -> Maybe ServiceConnectConfiguration
+ Amazonka.ECS.UpdateService: [$sel:serviceRegistries:UpdateService'] :: UpdateService -> Maybe [ServiceRegistry]
+ Amazonka.ECS.UpdateService: [$sel:taskDefinition:UpdateService'] :: UpdateService -> Maybe Text
+ Amazonka.ECS.UpdateService: data UpdateService
+ Amazonka.ECS.UpdateService: data UpdateServiceResponse
+ Amazonka.ECS.UpdateService: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.UpdateService.UpdateService
+ Amazonka.ECS.UpdateService: instance Amazonka.Data.Path.ToPath Amazonka.ECS.UpdateService.UpdateService
+ Amazonka.ECS.UpdateService: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.UpdateService.UpdateService
+ Amazonka.ECS.UpdateService: instance Amazonka.Types.AWSRequest Amazonka.ECS.UpdateService.UpdateService
+ Amazonka.ECS.UpdateService: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateService.UpdateService
+ Amazonka.ECS.UpdateService: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateService.UpdateServiceResponse
+ Amazonka.ECS.UpdateService: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.UpdateService.UpdateService
+ Amazonka.ECS.UpdateService: instance Data.Hashable.Class.Hashable Amazonka.ECS.UpdateService.UpdateService
+ Amazonka.ECS.UpdateService: instance GHC.Classes.Eq Amazonka.ECS.UpdateService.UpdateService
+ Amazonka.ECS.UpdateService: instance GHC.Classes.Eq Amazonka.ECS.UpdateService.UpdateServiceResponse
+ Amazonka.ECS.UpdateService: instance GHC.Generics.Generic Amazonka.ECS.UpdateService.UpdateService
+ Amazonka.ECS.UpdateService: instance GHC.Generics.Generic Amazonka.ECS.UpdateService.UpdateServiceResponse
+ Amazonka.ECS.UpdateService: instance GHC.Read.Read Amazonka.ECS.UpdateService.UpdateService
+ Amazonka.ECS.UpdateService: instance GHC.Read.Read Amazonka.ECS.UpdateService.UpdateServiceResponse
+ Amazonka.ECS.UpdateService: instance GHC.Show.Show Amazonka.ECS.UpdateService.UpdateService
+ Amazonka.ECS.UpdateService: instance GHC.Show.Show Amazonka.ECS.UpdateService.UpdateServiceResponse
+ Amazonka.ECS.UpdateService: newUpdateService :: Text -> UpdateService
+ Amazonka.ECS.UpdateService: newUpdateServiceResponse :: Int -> UpdateServiceResponse
+ Amazonka.ECS.UpdateService: updateServiceResponse_httpStatus :: Lens' UpdateServiceResponse Int
+ Amazonka.ECS.UpdateService: updateServiceResponse_service :: Lens' UpdateServiceResponse (Maybe ContainerService)
+ Amazonka.ECS.UpdateService: updateService_capacityProviderStrategy :: Lens' UpdateService (Maybe [CapacityProviderStrategyItem])
+ Amazonka.ECS.UpdateService: updateService_cluster :: Lens' UpdateService (Maybe Text)
+ Amazonka.ECS.UpdateService: updateService_deploymentConfiguration :: Lens' UpdateService (Maybe DeploymentConfiguration)
+ Amazonka.ECS.UpdateService: updateService_desiredCount :: Lens' UpdateService (Maybe Int)
+ Amazonka.ECS.UpdateService: updateService_enableECSManagedTags :: Lens' UpdateService (Maybe Bool)
+ Amazonka.ECS.UpdateService: updateService_enableExecuteCommand :: Lens' UpdateService (Maybe Bool)
+ Amazonka.ECS.UpdateService: updateService_forceNewDeployment :: Lens' UpdateService (Maybe Bool)
+ Amazonka.ECS.UpdateService: updateService_healthCheckGracePeriodSeconds :: Lens' UpdateService (Maybe Int)
+ Amazonka.ECS.UpdateService: updateService_loadBalancers :: Lens' UpdateService (Maybe [LoadBalancer])
+ Amazonka.ECS.UpdateService: updateService_networkConfiguration :: Lens' UpdateService (Maybe NetworkConfiguration)
+ Amazonka.ECS.UpdateService: updateService_placementConstraints :: Lens' UpdateService (Maybe [PlacementConstraint])
+ Amazonka.ECS.UpdateService: updateService_placementStrategy :: Lens' UpdateService (Maybe [PlacementStrategy])
+ Amazonka.ECS.UpdateService: updateService_platformVersion :: Lens' UpdateService (Maybe Text)
+ Amazonka.ECS.UpdateService: updateService_propagateTags :: Lens' UpdateService (Maybe PropagateTags)
+ Amazonka.ECS.UpdateService: updateService_service :: Lens' UpdateService Text
+ Amazonka.ECS.UpdateService: updateService_serviceConnectConfiguration :: Lens' UpdateService (Maybe ServiceConnectConfiguration)
+ Amazonka.ECS.UpdateService: updateService_serviceRegistries :: Lens' UpdateService (Maybe [ServiceRegistry])
+ Amazonka.ECS.UpdateService: updateService_taskDefinition :: Lens' UpdateService (Maybe Text)
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: UpdateServicePrimaryTaskSet' :: Text -> Text -> Text -> UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: UpdateServicePrimaryTaskSetResponse' :: Maybe TaskSet -> Int -> UpdateServicePrimaryTaskSetResponse
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: [$sel:cluster:UpdateServicePrimaryTaskSet'] :: UpdateServicePrimaryTaskSet -> Text
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: [$sel:httpStatus:UpdateServicePrimaryTaskSetResponse'] :: UpdateServicePrimaryTaskSetResponse -> Int
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: [$sel:primaryTaskSet:UpdateServicePrimaryTaskSet'] :: UpdateServicePrimaryTaskSet -> Text
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: [$sel:service:UpdateServicePrimaryTaskSet'] :: UpdateServicePrimaryTaskSet -> Text
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: [$sel:taskSet:UpdateServicePrimaryTaskSetResponse'] :: UpdateServicePrimaryTaskSetResponse -> Maybe TaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: data UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: data UpdateServicePrimaryTaskSetResponse
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance Amazonka.Data.Path.ToPath Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance Amazonka.Types.AWSRequest Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSetResponse
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance Data.Hashable.Class.Hashable Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance GHC.Classes.Eq Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance GHC.Classes.Eq Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSetResponse
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance GHC.Generics.Generic Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance GHC.Generics.Generic Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSetResponse
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance GHC.Read.Read Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance GHC.Read.Read Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSetResponse
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance GHC.Show.Show Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: instance GHC.Show.Show Amazonka.ECS.UpdateServicePrimaryTaskSet.UpdateServicePrimaryTaskSetResponse
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: newUpdateServicePrimaryTaskSet :: Text -> Text -> Text -> UpdateServicePrimaryTaskSet
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: newUpdateServicePrimaryTaskSetResponse :: Int -> UpdateServicePrimaryTaskSetResponse
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: updateServicePrimaryTaskSetResponse_httpStatus :: Lens' UpdateServicePrimaryTaskSetResponse Int
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: updateServicePrimaryTaskSetResponse_taskSet :: Lens' UpdateServicePrimaryTaskSetResponse (Maybe TaskSet)
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: updateServicePrimaryTaskSet_cluster :: Lens' UpdateServicePrimaryTaskSet Text
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: updateServicePrimaryTaskSet_primaryTaskSet :: Lens' UpdateServicePrimaryTaskSet Text
+ Amazonka.ECS.UpdateServicePrimaryTaskSet: updateServicePrimaryTaskSet_service :: Lens' UpdateServicePrimaryTaskSet Text
+ Amazonka.ECS.UpdateTaskProtection: UpdateTaskProtection' :: Maybe Int -> Text -> [Text] -> Bool -> UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: UpdateTaskProtectionResponse' :: Maybe [Failure] -> Maybe [ProtectedTask] -> Int -> UpdateTaskProtectionResponse
+ Amazonka.ECS.UpdateTaskProtection: [$sel:cluster:UpdateTaskProtection'] :: UpdateTaskProtection -> Text
+ Amazonka.ECS.UpdateTaskProtection: [$sel:expiresInMinutes:UpdateTaskProtection'] :: UpdateTaskProtection -> Maybe Int
+ Amazonka.ECS.UpdateTaskProtection: [$sel:failures:UpdateTaskProtectionResponse'] :: UpdateTaskProtectionResponse -> Maybe [Failure]
+ Amazonka.ECS.UpdateTaskProtection: [$sel:httpStatus:UpdateTaskProtectionResponse'] :: UpdateTaskProtectionResponse -> Int
+ Amazonka.ECS.UpdateTaskProtection: [$sel:protectedTasks:UpdateTaskProtectionResponse'] :: UpdateTaskProtectionResponse -> Maybe [ProtectedTask]
+ Amazonka.ECS.UpdateTaskProtection: [$sel:protectionEnabled:UpdateTaskProtection'] :: UpdateTaskProtection -> Bool
+ Amazonka.ECS.UpdateTaskProtection: [$sel:tasks:UpdateTaskProtection'] :: UpdateTaskProtection -> [Text]
+ Amazonka.ECS.UpdateTaskProtection: data UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: data UpdateTaskProtectionResponse
+ Amazonka.ECS.UpdateTaskProtection: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: instance Amazonka.Data.Path.ToPath Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: instance Amazonka.Types.AWSRequest Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtectionResponse
+ Amazonka.ECS.UpdateTaskProtection: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: instance Data.Hashable.Class.Hashable Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: instance GHC.Classes.Eq Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: instance GHC.Classes.Eq Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtectionResponse
+ Amazonka.ECS.UpdateTaskProtection: instance GHC.Generics.Generic Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: instance GHC.Generics.Generic Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtectionResponse
+ Amazonka.ECS.UpdateTaskProtection: instance GHC.Read.Read Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: instance GHC.Read.Read Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtectionResponse
+ Amazonka.ECS.UpdateTaskProtection: instance GHC.Show.Show Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: instance GHC.Show.Show Amazonka.ECS.UpdateTaskProtection.UpdateTaskProtectionResponse
+ Amazonka.ECS.UpdateTaskProtection: newUpdateTaskProtection :: Text -> Bool -> UpdateTaskProtection
+ Amazonka.ECS.UpdateTaskProtection: newUpdateTaskProtectionResponse :: Int -> UpdateTaskProtectionResponse
+ Amazonka.ECS.UpdateTaskProtection: updateTaskProtectionResponse_failures :: Lens' UpdateTaskProtectionResponse (Maybe [Failure])
+ Amazonka.ECS.UpdateTaskProtection: updateTaskProtectionResponse_httpStatus :: Lens' UpdateTaskProtectionResponse Int
+ Amazonka.ECS.UpdateTaskProtection: updateTaskProtectionResponse_protectedTasks :: Lens' UpdateTaskProtectionResponse (Maybe [ProtectedTask])
+ Amazonka.ECS.UpdateTaskProtection: updateTaskProtection_cluster :: Lens' UpdateTaskProtection Text
+ Amazonka.ECS.UpdateTaskProtection: updateTaskProtection_expiresInMinutes :: Lens' UpdateTaskProtection (Maybe Int)
+ Amazonka.ECS.UpdateTaskProtection: updateTaskProtection_protectionEnabled :: Lens' UpdateTaskProtection Bool
+ Amazonka.ECS.UpdateTaskProtection: updateTaskProtection_tasks :: Lens' UpdateTaskProtection [Text]
+ Amazonka.ECS.UpdateTaskSet: UpdateTaskSet' :: Text -> Text -> Text -> Scale -> UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: UpdateTaskSetResponse' :: Maybe TaskSet -> Int -> UpdateTaskSetResponse
+ Amazonka.ECS.UpdateTaskSet: [$sel:cluster:UpdateTaskSet'] :: UpdateTaskSet -> Text
+ Amazonka.ECS.UpdateTaskSet: [$sel:httpStatus:UpdateTaskSetResponse'] :: UpdateTaskSetResponse -> Int
+ Amazonka.ECS.UpdateTaskSet: [$sel:scale:UpdateTaskSet'] :: UpdateTaskSet -> Scale
+ Amazonka.ECS.UpdateTaskSet: [$sel:service:UpdateTaskSet'] :: UpdateTaskSet -> Text
+ Amazonka.ECS.UpdateTaskSet: [$sel:taskSet:UpdateTaskSet'] :: UpdateTaskSet -> Text
+ Amazonka.ECS.UpdateTaskSet: [$sel:taskSet:UpdateTaskSetResponse'] :: UpdateTaskSetResponse -> Maybe TaskSet
+ Amazonka.ECS.UpdateTaskSet: data UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: data UpdateTaskSetResponse
+ Amazonka.ECS.UpdateTaskSet: instance Amazonka.Data.Headers.ToHeaders Amazonka.ECS.UpdateTaskSet.UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: instance Amazonka.Data.Path.ToPath Amazonka.ECS.UpdateTaskSet.UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: instance Amazonka.Data.Query.ToQuery Amazonka.ECS.UpdateTaskSet.UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: instance Amazonka.Types.AWSRequest Amazonka.ECS.UpdateTaskSet.UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateTaskSet.UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: instance Control.DeepSeq.NFData Amazonka.ECS.UpdateTaskSet.UpdateTaskSetResponse
+ Amazonka.ECS.UpdateTaskSet: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ECS.UpdateTaskSet.UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: instance Data.Hashable.Class.Hashable Amazonka.ECS.UpdateTaskSet.UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: instance GHC.Classes.Eq Amazonka.ECS.UpdateTaskSet.UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: instance GHC.Classes.Eq Amazonka.ECS.UpdateTaskSet.UpdateTaskSetResponse
+ Amazonka.ECS.UpdateTaskSet: instance GHC.Generics.Generic Amazonka.ECS.UpdateTaskSet.UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: instance GHC.Generics.Generic Amazonka.ECS.UpdateTaskSet.UpdateTaskSetResponse
+ Amazonka.ECS.UpdateTaskSet: instance GHC.Read.Read Amazonka.ECS.UpdateTaskSet.UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: instance GHC.Read.Read Amazonka.ECS.UpdateTaskSet.UpdateTaskSetResponse
+ Amazonka.ECS.UpdateTaskSet: instance GHC.Show.Show Amazonka.ECS.UpdateTaskSet.UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: instance GHC.Show.Show Amazonka.ECS.UpdateTaskSet.UpdateTaskSetResponse
+ Amazonka.ECS.UpdateTaskSet: newUpdateTaskSet :: Text -> Text -> Text -> Scale -> UpdateTaskSet
+ Amazonka.ECS.UpdateTaskSet: newUpdateTaskSetResponse :: Int -> UpdateTaskSetResponse
+ Amazonka.ECS.UpdateTaskSet: updateTaskSetResponse_httpStatus :: Lens' UpdateTaskSetResponse Int
+ Amazonka.ECS.UpdateTaskSet: updateTaskSetResponse_taskSet :: Lens' UpdateTaskSetResponse (Maybe TaskSet)
+ Amazonka.ECS.UpdateTaskSet: updateTaskSet_cluster :: Lens' UpdateTaskSet Text
+ Amazonka.ECS.UpdateTaskSet: updateTaskSet_scale :: Lens' UpdateTaskSet Scale
+ Amazonka.ECS.UpdateTaskSet: updateTaskSet_service :: Lens' UpdateTaskSet Text
+ Amazonka.ECS.UpdateTaskSet: updateTaskSet_taskSet :: Lens' UpdateTaskSet Text
+ Amazonka.ECS.Waiters: newServicesInactive :: Wait DescribeServices
+ Amazonka.ECS.Waiters: newTasksRunning :: Wait DescribeTasks
+ Amazonka.ECS.Waiters: newTasksStopped :: Wait DescribeTasks
Files
- README.md +3/−4
- Setup.hs +0/−2
- amazonka-ecs.cabal +273/−105
- fixture/CreateCapacityProvider.yaml +10/−0
- fixture/CreateCapacityProviderResponse.proto +0/−0
- fixture/CreateCluster.yaml +10/−0
- fixture/CreateService.yaml +10/−0
- fixture/CreateTaskSet.yaml +10/−0
- fixture/CreateTaskSetResponse.proto +0/−0
- fixture/DeleteAccountSetting.yaml +10/−0
- fixture/DeleteAccountSettingResponse.proto +0/−0
- fixture/DeleteCapacityProvider.yaml +10/−0
- fixture/DeleteCapacityProviderResponse.proto +0/−0
- fixture/DeleteCluster.yaml +10/−0
- fixture/DeleteService.yaml +10/−0
- fixture/DeleteTaskSet.yaml +10/−0
- fixture/DeleteTaskSetResponse.proto +0/−0
- fixture/DeregisterContainerInstance.yaml +10/−0
- fixture/DeregisterTaskDefinition.yaml +10/−0
- fixture/DescribeCapacityProviders.yaml +10/−0
- fixture/DescribeCapacityProvidersResponse.proto +0/−0
- fixture/DescribeClusters.yaml +10/−0
- fixture/DescribeContainerInstances.yaml +10/−0
- fixture/DescribeServices.yaml +10/−0
- fixture/DescribeTaskDefinition.yaml +10/−0
- fixture/DescribeTaskSets.yaml +10/−0
- fixture/DescribeTaskSetsResponse.proto +0/−0
- fixture/DescribeTasks.yaml +10/−0
- fixture/DiscoverPollEndpoint.yaml +10/−0
- fixture/ExecuteCommand.yaml +10/−0
- fixture/ExecuteCommandResponse.proto +0/−0
- fixture/GetTaskProtection.yaml +10/−0
- fixture/GetTaskProtectionResponse.proto +0/−0
- fixture/ListAccountSettings.yaml +10/−0
- fixture/ListAccountSettingsResponse.proto +0/−0
- fixture/ListClusters.yaml +10/−0
- fixture/ListContainerInstances.yaml +10/−0
- fixture/ListServices.yaml +10/−0
- fixture/ListServicesByNamespace.yaml +10/−0
- fixture/ListServicesByNamespaceResponse.proto +0/−0
- fixture/ListTagsForResource.yaml +10/−0
- fixture/ListTagsForResourceResponse.proto +0/−0
- fixture/ListTaskDefinitionFamilies.yaml +10/−0
- fixture/ListTaskDefinitions.yaml +10/−0
- fixture/ListTasks.yaml +10/−0
- fixture/PutAccountSetting.yaml +10/−0
- fixture/PutAccountSettingDefault.yaml +10/−0
- fixture/PutAccountSettingDefaultResponse.proto +0/−0
- fixture/PutAccountSettingResponse.proto +0/−0
- fixture/PutClusterCapacityProviders.yaml +10/−0
- fixture/PutClusterCapacityProvidersResponse.proto +0/−0
- fixture/RegisterContainerInstance.yaml +10/−0
- fixture/RegisterTaskDefinition.yaml +10/−0
- fixture/RunTask.yaml +10/−0
- fixture/StartTask.yaml +10/−0
- fixture/StopTask.yaml +10/−0
- fixture/SubmitAttachmentStateChanges.yaml +10/−0
- fixture/SubmitAttachmentStateChangesResponse.proto +0/−0
- fixture/SubmitContainerStateChange.yaml +10/−0
- fixture/SubmitTaskStateChange.yaml +10/−0
- fixture/TagResource.yaml +10/−0
- fixture/TagResourceResponse.proto +0/−0
- fixture/UntagResource.yaml +10/−0
- fixture/UntagResourceResponse.proto +0/−0
- fixture/UpdateCapacityProvider.yaml +10/−0
- fixture/UpdateCapacityProviderResponse.proto +0/−0
- fixture/UpdateCluster.yaml +10/−0
- fixture/UpdateClusterResponse.proto +0/−0
- fixture/UpdateClusterSettings.yaml +10/−0
- fixture/UpdateClusterSettingsResponse.proto +0/−0
- fixture/UpdateContainerAgent.yaml +10/−0
- fixture/UpdateService.yaml +10/−0
- fixture/UpdateServicePrimaryTaskSet.yaml +10/−0
- fixture/UpdateServicePrimaryTaskSetResponse.proto +0/−0
- fixture/UpdateTaskProtection.yaml +10/−0
- fixture/UpdateTaskProtectionResponse.proto +0/−0
- fixture/UpdateTaskSet.yaml +10/−0
- fixture/UpdateTaskSetResponse.proto +0/−0
- gen/Amazonka/ECS.hs +1075/−0
- gen/Amazonka/ECS/CreateCapacityProvider.hs +307/−0
- gen/Amazonka/ECS/CreateCluster.hs +488/−0
- gen/Amazonka/ECS/CreateService.hs +1286/−0
- gen/Amazonka/ECS/CreateTaskSet.hs +570/−0
- gen/Amazonka/ECS/DeleteAccountSetting.hs +224/−0
- gen/Amazonka/ECS/DeleteAttributes.hs +205/−0
- gen/Amazonka/ECS/DeleteCapacityProvider.hs +195/−0
- gen/Amazonka/ECS/DeleteCluster.hs +179/−0
- gen/Amazonka/ECS/DeleteService.hs +228/−0
- gen/Amazonka/ECS/DeleteTaskSet.hs +231/−0
- gen/Amazonka/ECS/DeregisterContainerInstance.hs +271/−0
- gen/Amazonka/ECS/DeregisterTaskDefinition.hs +199/−0
- gen/Amazonka/ECS/DescribeCapacityProviders.hs +311/−0
- gen/Amazonka/ECS/DescribeClusters.hs +253/−0
- gen/Amazonka/ECS/DescribeContainerInstances.hs +245/−0
- gen/Amazonka/ECS/DescribeServices.hs +230/−0
- gen/Amazonka/ECS/DescribeTaskDefinition.hs +300/−0
- gen/Amazonka/ECS/DescribeTaskSets.hs +242/−0
- gen/Amazonka/ECS/DescribeTasks.hs +229/−0
- gen/Amazonka/ECS/DiscoverPollEndpoint.hs +233/−0
- gen/Amazonka/ECS/ExecuteCommand.hs +319/−0
- gen/Amazonka/ECS/GetTaskProtection.hs +227/−0
- gen/Amazonka/ECS/Lens.hs +1328/−0
- gen/Amazonka/ECS/ListAccountSettings.hs +355/−0
- gen/Amazonka/ECS/ListAttributes.hs +342/−0
- gen/Amazonka/ECS/ListClusters.hs +272/−0
- gen/Amazonka/ECS/ListContainerInstances.hs +354/−0
- gen/Amazonka/ECS/ListServices.hs +321/−0
- gen/Amazonka/ECS/ListServicesByNamespace.hs +321/−0
- gen/Amazonka/ECS/ListTagsForResource.hs +175/−0
- gen/Amazonka/ECS/ListTaskDefinitionFamilies.hs +350/−0
- gen/Amazonka/ECS/ListTaskDefinitions.hs +355/−0
- gen/Amazonka/ECS/ListTasks.hs +434/−0
- gen/Amazonka/ECS/PutAccountSetting.hs +285/−0
- gen/Amazonka/ECS/PutAccountSettingDefault.hs +237/−0
- gen/Amazonka/ECS/PutAttributes.hs +201/−0
- gen/Amazonka/ECS/PutClusterCapacityProviders.hs +320/−0
- gen/Amazonka/ECS/RegisterContainerInstance.hs +400/−0
- gen/Amazonka/ECS/RegisterTaskDefinition.hs +1153/−0
- gen/Amazonka/ECS/RunTask.hs +847/−0
- gen/Amazonka/ECS/StartTask.hs +525/−0
- gen/Amazonka/ECS/StopTask.hs +227/−0
- gen/Amazonka/ECS/SubmitAttachmentStateChanges.hs +197/−0
- gen/Amazonka/ECS/SubmitContainerStateChange.hs +273/−0
- gen/Amazonka/ECS/SubmitTaskStateChange.hs +296/−0
- gen/Amazonka/ECS/TagResource.hs +252/−0
- gen/Amazonka/ECS/Types.hs +1482/−0
- gen/Amazonka/ECS/Types/AgentUpdateStatus.hs +91/−0
- gen/Amazonka/ECS/Types/ApplicationProtocol.hs +76/−0
- gen/Amazonka/ECS/Types/AssignPublicIp.hs +71/−0
- gen/Amazonka/ECS/Types/Attachment.hs +121/−0
- gen/Amazonka/ECS/Types/AttachmentStateChange.hs +89/−0
- gen/Amazonka/ECS/Types/Attribute.hs +156/−0
- gen/Amazonka/ECS/Types/AutoScalingGroupProvider.hs +168/−0
- gen/Amazonka/ECS/Types/AutoScalingGroupProviderUpdate.hs +151/−0
- gen/Amazonka/ECS/Types/AwsVpcConfiguration.hs +137/−0
- gen/Amazonka/ECS/Types/CPUArchitecture.hs +71/−0
- gen/Amazonka/ECS/Types/CapacityProvider.hs +275/−0
- gen/Amazonka/ECS/Types/CapacityProviderField.hs +66/−0
- gen/Amazonka/ECS/Types/CapacityProviderStatus.hs +71/−0
- gen/Amazonka/ECS/Types/CapacityProviderStrategyItem.hs +200/−0
- gen/Amazonka/ECS/Types/CapacityProviderUpdateStatus.hs +91/−0
- gen/Amazonka/ECS/Types/Cluster.hs +580/−0
- gen/Amazonka/ECS/Types/ClusterConfiguration.hs +83/−0
- gen/Amazonka/ECS/Types/ClusterField.hs +86/−0
- gen/Amazonka/ECS/Types/ClusterServiceConnectDefaults.hs +97/−0
- gen/Amazonka/ECS/Types/ClusterServiceConnectDefaultsRequest.hs +168/−0
- gen/Amazonka/ECS/Types/ClusterSetting.hs +112/−0
- gen/Amazonka/ECS/Types/ClusterSettingName.hs +66/−0
- gen/Amazonka/ECS/Types/Compatibility.hs +76/−0
- gen/Amazonka/ECS/Types/Connectivity.hs +71/−0
- gen/Amazonka/ECS/Types/Container.hs +301/−0
- gen/Amazonka/ECS/Types/ContainerCondition.hs +81/−0
- gen/Amazonka/ECS/Types/ContainerDefinition.hs +2439/−0
- gen/Amazonka/ECS/Types/ContainerDependency.hs +183/−0
- gen/Amazonka/ECS/Types/ContainerInstance.hs +540/−0
- gen/Amazonka/ECS/Types/ContainerInstanceField.hs +71/−0
- gen/Amazonka/ECS/Types/ContainerInstanceHealthStatus.hs +96/−0
- gen/Amazonka/ECS/Types/ContainerInstanceStatus.hs +86/−0
- gen/Amazonka/ECS/Types/ContainerOverride.hs +234/−0
- gen/Amazonka/ECS/Types/ContainerService.hs +744/−0
- gen/Amazonka/ECS/Types/ContainerStateChange.hs +149/−0
- gen/Amazonka/ECS/Types/Deployment.hs +473/−0
- gen/Amazonka/ECS/Types/DeploymentAlarms.hs +135/−0
- gen/Amazonka/ECS/Types/DeploymentCircuitBreaker.hs +120/−0
- gen/Amazonka/ECS/Types/DeploymentConfiguration.hs +365/−0
- gen/Amazonka/ECS/Types/DeploymentController.hs +140/−0
- gen/Amazonka/ECS/Types/DeploymentControllerType.hs +76/−0
- gen/Amazonka/ECS/Types/DeploymentRolloutState.hs +76/−0
- gen/Amazonka/ECS/Types/DesiredStatus.hs +76/−0
- gen/Amazonka/ECS/Types/Device.hs +115/−0
- gen/Amazonka/ECS/Types/DeviceCgroupPermission.hs +76/−0
- gen/Amazonka/ECS/Types/DockerVolumeConfiguration.hs +227/−0
- gen/Amazonka/ECS/Types/EFSAuthorizationConfig.hs +131/−0
- gen/Amazonka/ECS/Types/EFSAuthorizationConfigIAM.hs +71/−0
- gen/Amazonka/ECS/Types/EFSTransitEncryption.hs +71/−0
- gen/Amazonka/ECS/Types/EFSVolumeConfiguration.hs +197/−0
- gen/Amazonka/ECS/Types/EnvironmentFile.hs +119/−0
- gen/Amazonka/ECS/Types/EnvironmentFileType.hs +66/−0
- gen/Amazonka/ECS/Types/EphemeralStorage.hs +92/−0
- gen/Amazonka/ECS/Types/ExecuteCommandConfiguration.hs +155/−0
- gen/Amazonka/ECS/Types/ExecuteCommandLogConfiguration.hs +163/−0
- gen/Amazonka/ECS/Types/ExecuteCommandLogging.hs +76/−0
- gen/Amazonka/ECS/Types/FSxWindowsFileServerAuthorizationConfig.hs +139/−0
- gen/Amazonka/ECS/Types/FSxWindowsFileServerVolumeConfiguration.hs +145/−0
- gen/Amazonka/ECS/Types/Failure.hs +98/−0
- gen/Amazonka/ECS/Types/FirelensConfiguration.hs +128/−0
- gen/Amazonka/ECS/Types/FirelensConfigurationType.hs +71/−0
- gen/Amazonka/ECS/Types/HealthCheck.hs +292/−0
- gen/Amazonka/ECS/Types/HealthStatus.hs +76/−0
- gen/Amazonka/ECS/Types/HostEntry.hs +99/−0
- gen/Amazonka/ECS/Types/HostVolumeProperties.hs +109/−0
- gen/Amazonka/ECS/Types/InferenceAccelerator.hs +102/−0
- gen/Amazonka/ECS/Types/InferenceAcceleratorOverride.hs +107/−0
- gen/Amazonka/ECS/Types/InstanceHealthCheckResult.hs +118/−0
- gen/Amazonka/ECS/Types/InstanceHealthCheckState.hs +81/−0
- gen/Amazonka/ECS/Types/InstanceHealthCheckType.hs +66/−0
- gen/Amazonka/ECS/Types/IpcMode.hs +73/−0
- gen/Amazonka/ECS/Types/KernelCapabilities.hs +169/−0
- gen/Amazonka/ECS/Types/KeyValuePair.hs +98/−0
- gen/Amazonka/ECS/Types/LaunchType.hs +76/−0
- gen/Amazonka/ECS/Types/LinuxParameters.hs +329/−0
- gen/Amazonka/ECS/Types/LoadBalancer.hs +234/−0
- gen/Amazonka/ECS/Types/LogConfiguration.hs +239/−0
- gen/Amazonka/ECS/Types/LogDriver.hs +101/−0
- gen/Amazonka/ECS/Types/ManagedAgent.hs +112/−0
- gen/Amazonka/ECS/Types/ManagedAgentName.hs +66/−0
- gen/Amazonka/ECS/Types/ManagedAgentStateChange.hs +118/−0
- gen/Amazonka/ECS/Types/ManagedScaling.hs +207/−0
- gen/Amazonka/ECS/Types/ManagedScalingStatus.hs +71/−0
- gen/Amazonka/ECS/Types/ManagedTerminationProtection.hs +71/−0
- gen/Amazonka/ECS/Types/MountPoint.hs +115/−0
- gen/Amazonka/ECS/Types/NetworkBinding.hs +324/−0
- gen/Amazonka/ECS/Types/NetworkConfiguration.hs +88/−0
- gen/Amazonka/ECS/Types/NetworkInterface.hs +97/−0
- gen/Amazonka/ECS/Types/NetworkMode.hs +81/−0
- gen/Amazonka/ECS/Types/OSFamily.hs +101/−0
- gen/Amazonka/ECS/Types/PidMode.hs +68/−0
- gen/Amazonka/ECS/Types/PlacementConstraint.hs +121/−0
- gen/Amazonka/ECS/Types/PlacementConstraintType.hs +71/−0
- gen/Amazonka/ECS/Types/PlacementStrategy.hs +132/−0
- gen/Amazonka/ECS/Types/PlacementStrategyType.hs +76/−0
- gen/Amazonka/ECS/Types/PlatformDevice.hs +94/−0
- gen/Amazonka/ECS/Types/PlatformDeviceType.hs +66/−0
- gen/Amazonka/ECS/Types/PortMapping.hs +563/−0
- gen/Amazonka/ECS/Types/PropagateTags.hs +76/−0
- gen/Amazonka/ECS/Types/ProtectedTask.hs +101/−0
- gen/Amazonka/ECS/Types/ProxyConfiguration.hs +206/−0
- gen/Amazonka/ECS/Types/ProxyConfigurationType.hs +66/−0
- gen/Amazonka/ECS/Types/RepositoryCredentials.hs +106/−0
- gen/Amazonka/ECS/Types/Resource.hs +164/−0
- gen/Amazonka/ECS/Types/ResourceRequirement.hs +133/−0
- gen/Amazonka/ECS/Types/ResourceType.hs +71/−0
- gen/Amazonka/ECS/Types/RuntimePlatform.hs +113/−0
- gen/Amazonka/ECS/Types/Scale.hs +97/−0
- gen/Amazonka/ECS/Types/ScaleUnit.hs +66/−0
- gen/Amazonka/ECS/Types/SchedulingStrategy.hs +71/−0
- gen/Amazonka/ECS/Types/Scope.hs +68/−0
- gen/Amazonka/ECS/Types/Secret.hs +150/−0
- gen/Amazonka/ECS/Types/ServiceConnectClientAlias.hs +176/−0
- gen/Amazonka/ECS/Types/ServiceConnectConfiguration.hs +189/−0
- gen/Amazonka/ECS/Types/ServiceConnectService.hs +217/−0
- gen/Amazonka/ECS/Types/ServiceConnectServiceResource.hs +138/−0
- gen/Amazonka/ECS/Types/ServiceEvent.hs +96/−0
- gen/Amazonka/ECS/Types/ServiceField.hs +66/−0
- gen/Amazonka/ECS/Types/ServiceRegistry.hs +180/−0
- gen/Amazonka/ECS/Types/Session.hs +102/−0
- gen/Amazonka/ECS/Types/Setting.hs +103/−0
- gen/Amazonka/ECS/Types/SettingName.hs +86/−0
- gen/Amazonka/ECS/Types/SortOrder.hs +71/−0
- gen/Amazonka/ECS/Types/StabilityStatus.hs +71/−0
- gen/Amazonka/ECS/Types/SystemControl.hs +118/−0
- gen/Amazonka/ECS/Types/Tag.hs +125/−0
- gen/Amazonka/ECS/Types/TargetType.hs +66/−0
- gen/Amazonka/ECS/Types/Task.hs +1009/−0
- gen/Amazonka/ECS/Types/TaskDefinition.hs +1051/−0
- gen/Amazonka/ECS/Types/TaskDefinitionFamilyStatus.hs +76/−0
- gen/Amazonka/ECS/Types/TaskDefinitionField.hs +66/−0
- gen/Amazonka/ECS/Types/TaskDefinitionPlacementConstraint.hs +126/−0
- gen/Amazonka/ECS/Types/TaskDefinitionPlacementConstraintType.hs +66/−0
- gen/Amazonka/ECS/Types/TaskDefinitionStatus.hs +71/−0
- gen/Amazonka/ECS/Types/TaskField.hs +66/−0
- gen/Amazonka/ECS/Types/TaskOverride.hs +213/−0
- gen/Amazonka/ECS/Types/TaskSet.hs +627/−0
- gen/Amazonka/ECS/Types/TaskSetField.hs +66/−0
- gen/Amazonka/ECS/Types/TaskStopCode.hs +91/−0
- gen/Amazonka/ECS/Types/Tmpfs.hs +119/−0
- gen/Amazonka/ECS/Types/TransportProtocol.hs +71/−0
- gen/Amazonka/ECS/Types/Ulimit.hs +119/−0
- gen/Amazonka/ECS/Types/UlimitName.hs +136/−0
- gen/Amazonka/ECS/Types/VersionInfo.hs +113/−0
- gen/Amazonka/ECS/Types/Volume.hs +211/−0
- gen/Amazonka/ECS/Types/VolumeFrom.hs +104/−0
- gen/Amazonka/ECS/UntagResource.hs +177/−0
- gen/Amazonka/ECS/UpdateCapacityProvider.hs +200/−0
- gen/Amazonka/ECS/UpdateCluster.hs +260/−0
- gen/Amazonka/ECS/UpdateClusterSettings.hs +216/−0
- gen/Amazonka/ECS/UpdateContainerAgent.hs +220/−0
- gen/Amazonka/ECS/UpdateContainerInstancesState.hs +298/−0
- gen/Amazonka/ECS/UpdateService.hs +938/−0
- gen/Amazonka/ECS/UpdateServicePrimaryTaskSet.hs +224/−0
- gen/Amazonka/ECS/UpdateTaskProtection.hs +316/−0
- gen/Amazonka/ECS/UpdateTaskSet.hs +236/−0
- gen/Amazonka/ECS/Waiters.hs +131/−0
- gen/Network/AWS/ECS.hs +0/−724
- gen/Network/AWS/ECS/CreateCluster.hs +0/−131
- gen/Network/AWS/ECS/CreateService.hs +0/−304
- gen/Network/AWS/ECS/DeleteAttributes.hs +0/−143
- gen/Network/AWS/ECS/DeleteCluster.hs +0/−131
- gen/Network/AWS/ECS/DeleteService.hs +0/−143
- gen/Network/AWS/ECS/DeregisterContainerInstance.hs +0/−162
- gen/Network/AWS/ECS/DeregisterTaskDefinition.hs +0/−138
- gen/Network/AWS/ECS/DescribeClusters.hs +0/−155
- gen/Network/AWS/ECS/DescribeContainerInstances.hs +0/−159
- gen/Network/AWS/ECS/DescribeServices.hs +0/−154
- gen/Network/AWS/ECS/DescribeTaskDefinition.hs +0/−135
- gen/Network/AWS/ECS/DescribeTasks.hs +0/−154
- gen/Network/AWS/ECS/DiscoverPollEndpoint.hs +0/−155
- gen/Network/AWS/ECS/ListAttributes.hs +0/−199
- gen/Network/AWS/ECS/ListClusters.hs +0/−164
- gen/Network/AWS/ECS/ListContainerInstances.hs +0/−199
- gen/Network/AWS/ECS/ListServices.hs +0/−188
- gen/Network/AWS/ECS/ListTaskDefinitionFamilies.hs +0/−191
- gen/Network/AWS/ECS/ListTaskDefinitions.hs +0/−199
- gen/Network/AWS/ECS/ListTasks.hs +0/−239
- gen/Network/AWS/ECS/PutAttributes.hs +0/−142
- gen/Network/AWS/ECS/RegisterContainerInstance.hs +0/−200
- gen/Network/AWS/ECS/RegisterTaskDefinition.hs +0/−235
- gen/Network/AWS/ECS/RunTask.hs +0/−265
- gen/Network/AWS/ECS/StartTask.hs +0/−212
- gen/Network/AWS/ECS/StopTask.hs +0/−153
- gen/Network/AWS/ECS/SubmitContainerStateChange.hs +0/−197
- gen/Network/AWS/ECS/SubmitTaskStateChange.hs +0/−217
- gen/Network/AWS/ECS/Types.hs +0/−688
- gen/Network/AWS/ECS/Types/Product.hs +0/−3527
- gen/Network/AWS/ECS/Types/Sum.hs +0/−704
- gen/Network/AWS/ECS/UpdateContainerAgent.hs +0/−147
- gen/Network/AWS/ECS/UpdateContainerInstancesState.hs +0/−192
- gen/Network/AWS/ECS/UpdateService.hs +0/−255
- gen/Network/AWS/ECS/Waiters.hs +0/−84
- test/Main.hs +11/−9
- test/Test/AWS/ECS.hs +0/−26
- test/Test/AWS/ECS/Internal.hs +0/−16
- test/Test/AWS/Gen/ECS.hs +0/−597
- test/Test/Amazonka/ECS.hs +20/−0
- test/Test/Amazonka/ECS/Internal.hs +8/−0
- test/Test/Amazonka/Gen/ECS.hs +1138/−0
README.md view
@@ -7,9 +7,8 @@ ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2014-11-13@ 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.ECS](http://hackage.haskell.org/package/amazonka-ecs/docs/Network-AWS-ECS.html)+See [Amazonka.ECS](http://hackage.haskell.org/package/amazonka-ecs/docs/Amazonka-ECS.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-ecs.cabal view
@@ -1,116 +1,284 @@-name: amazonka-ecs-version: 1.6.1-synopsis: Amazon EC2 Container Service 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-ecs+version: 2.0+synopsis: Amazon EC2 Container Service 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.ECS" or <https://aws.amazon.com/documentation/ the AWS documentation>- to get started.+ Derived from API version @2014-11-13@ 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.ECS.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.ECS" 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-ecs+ type: git+ location: git://github.com/brendanhay/amazonka.git+ subdir: amazonka-ecs 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.ECS- , Network.AWS.ECS.CreateCluster- , Network.AWS.ECS.CreateService- , Network.AWS.ECS.DeleteAttributes- , Network.AWS.ECS.DeleteCluster- , Network.AWS.ECS.DeleteService- , Network.AWS.ECS.DeregisterContainerInstance- , Network.AWS.ECS.DeregisterTaskDefinition- , Network.AWS.ECS.DescribeClusters- , Network.AWS.ECS.DescribeContainerInstances- , Network.AWS.ECS.DescribeServices- , Network.AWS.ECS.DescribeTaskDefinition- , Network.AWS.ECS.DescribeTasks- , Network.AWS.ECS.DiscoverPollEndpoint- , Network.AWS.ECS.ListAttributes- , Network.AWS.ECS.ListClusters- , Network.AWS.ECS.ListContainerInstances- , Network.AWS.ECS.ListServices- , Network.AWS.ECS.ListTaskDefinitionFamilies- , Network.AWS.ECS.ListTaskDefinitions- , Network.AWS.ECS.ListTasks- , Network.AWS.ECS.PutAttributes- , Network.AWS.ECS.RegisterContainerInstance- , Network.AWS.ECS.RegisterTaskDefinition- , Network.AWS.ECS.RunTask- , Network.AWS.ECS.StartTask- , Network.AWS.ECS.StopTask- , Network.AWS.ECS.SubmitContainerStateChange- , Network.AWS.ECS.SubmitTaskStateChange- , Network.AWS.ECS.Types- , Network.AWS.ECS.UpdateContainerAgent- , Network.AWS.ECS.UpdateContainerInstancesState- , Network.AWS.ECS.UpdateService- , Network.AWS.ECS.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.ECS.Types.Product- , Network.AWS.ECS.Types.Sum+ exposed-modules:+ Amazonka.ECS+ Amazonka.ECS.CreateCapacityProvider+ Amazonka.ECS.CreateCluster+ Amazonka.ECS.CreateService+ Amazonka.ECS.CreateTaskSet+ Amazonka.ECS.DeleteAccountSetting+ Amazonka.ECS.DeleteAttributes+ Amazonka.ECS.DeleteCapacityProvider+ Amazonka.ECS.DeleteCluster+ Amazonka.ECS.DeleteService+ Amazonka.ECS.DeleteTaskSet+ Amazonka.ECS.DeregisterContainerInstance+ Amazonka.ECS.DeregisterTaskDefinition+ Amazonka.ECS.DescribeCapacityProviders+ Amazonka.ECS.DescribeClusters+ Amazonka.ECS.DescribeContainerInstances+ Amazonka.ECS.DescribeServices+ Amazonka.ECS.DescribeTaskDefinition+ Amazonka.ECS.DescribeTasks+ Amazonka.ECS.DescribeTaskSets+ Amazonka.ECS.DiscoverPollEndpoint+ Amazonka.ECS.ExecuteCommand+ Amazonka.ECS.GetTaskProtection+ Amazonka.ECS.Lens+ Amazonka.ECS.ListAccountSettings+ Amazonka.ECS.ListAttributes+ Amazonka.ECS.ListClusters+ Amazonka.ECS.ListContainerInstances+ Amazonka.ECS.ListServices+ Amazonka.ECS.ListServicesByNamespace+ Amazonka.ECS.ListTagsForResource+ Amazonka.ECS.ListTaskDefinitionFamilies+ Amazonka.ECS.ListTaskDefinitions+ Amazonka.ECS.ListTasks+ Amazonka.ECS.PutAccountSetting+ Amazonka.ECS.PutAccountSettingDefault+ Amazonka.ECS.PutAttributes+ Amazonka.ECS.PutClusterCapacityProviders+ Amazonka.ECS.RegisterContainerInstance+ Amazonka.ECS.RegisterTaskDefinition+ Amazonka.ECS.RunTask+ Amazonka.ECS.StartTask+ Amazonka.ECS.StopTask+ Amazonka.ECS.SubmitAttachmentStateChanges+ Amazonka.ECS.SubmitContainerStateChange+ Amazonka.ECS.SubmitTaskStateChange+ Amazonka.ECS.TagResource+ Amazonka.ECS.Types+ Amazonka.ECS.Types.AgentUpdateStatus+ Amazonka.ECS.Types.ApplicationProtocol+ Amazonka.ECS.Types.AssignPublicIp+ Amazonka.ECS.Types.Attachment+ Amazonka.ECS.Types.AttachmentStateChange+ Amazonka.ECS.Types.Attribute+ Amazonka.ECS.Types.AutoScalingGroupProvider+ Amazonka.ECS.Types.AutoScalingGroupProviderUpdate+ Amazonka.ECS.Types.AwsVpcConfiguration+ Amazonka.ECS.Types.CapacityProvider+ Amazonka.ECS.Types.CapacityProviderField+ Amazonka.ECS.Types.CapacityProviderStatus+ Amazonka.ECS.Types.CapacityProviderStrategyItem+ Amazonka.ECS.Types.CapacityProviderUpdateStatus+ Amazonka.ECS.Types.Cluster+ Amazonka.ECS.Types.ClusterConfiguration+ Amazonka.ECS.Types.ClusterField+ Amazonka.ECS.Types.ClusterServiceConnectDefaults+ Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest+ Amazonka.ECS.Types.ClusterSetting+ Amazonka.ECS.Types.ClusterSettingName+ Amazonka.ECS.Types.Compatibility+ Amazonka.ECS.Types.Connectivity+ Amazonka.ECS.Types.Container+ Amazonka.ECS.Types.ContainerCondition+ Amazonka.ECS.Types.ContainerDefinition+ Amazonka.ECS.Types.ContainerDependency+ Amazonka.ECS.Types.ContainerInstance+ Amazonka.ECS.Types.ContainerInstanceField+ Amazonka.ECS.Types.ContainerInstanceHealthStatus+ Amazonka.ECS.Types.ContainerInstanceStatus+ Amazonka.ECS.Types.ContainerOverride+ Amazonka.ECS.Types.ContainerService+ Amazonka.ECS.Types.ContainerStateChange+ Amazonka.ECS.Types.CPUArchitecture+ Amazonka.ECS.Types.Deployment+ Amazonka.ECS.Types.DeploymentAlarms+ Amazonka.ECS.Types.DeploymentCircuitBreaker+ Amazonka.ECS.Types.DeploymentConfiguration+ Amazonka.ECS.Types.DeploymentController+ Amazonka.ECS.Types.DeploymentControllerType+ Amazonka.ECS.Types.DeploymentRolloutState+ Amazonka.ECS.Types.DesiredStatus+ Amazonka.ECS.Types.Device+ Amazonka.ECS.Types.DeviceCgroupPermission+ Amazonka.ECS.Types.DockerVolumeConfiguration+ Amazonka.ECS.Types.EFSAuthorizationConfig+ Amazonka.ECS.Types.EFSAuthorizationConfigIAM+ Amazonka.ECS.Types.EFSTransitEncryption+ Amazonka.ECS.Types.EFSVolumeConfiguration+ Amazonka.ECS.Types.EnvironmentFile+ Amazonka.ECS.Types.EnvironmentFileType+ Amazonka.ECS.Types.EphemeralStorage+ Amazonka.ECS.Types.ExecuteCommandConfiguration+ Amazonka.ECS.Types.ExecuteCommandLogConfiguration+ Amazonka.ECS.Types.ExecuteCommandLogging+ Amazonka.ECS.Types.Failure+ Amazonka.ECS.Types.FirelensConfiguration+ Amazonka.ECS.Types.FirelensConfigurationType+ Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig+ Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration+ Amazonka.ECS.Types.HealthCheck+ Amazonka.ECS.Types.HealthStatus+ Amazonka.ECS.Types.HostEntry+ Amazonka.ECS.Types.HostVolumeProperties+ Amazonka.ECS.Types.InferenceAccelerator+ Amazonka.ECS.Types.InferenceAcceleratorOverride+ Amazonka.ECS.Types.InstanceHealthCheckResult+ Amazonka.ECS.Types.InstanceHealthCheckState+ Amazonka.ECS.Types.InstanceHealthCheckType+ Amazonka.ECS.Types.IpcMode+ Amazonka.ECS.Types.KernelCapabilities+ Amazonka.ECS.Types.KeyValuePair+ Amazonka.ECS.Types.LaunchType+ Amazonka.ECS.Types.LinuxParameters+ Amazonka.ECS.Types.LoadBalancer+ Amazonka.ECS.Types.LogConfiguration+ Amazonka.ECS.Types.LogDriver+ Amazonka.ECS.Types.ManagedAgent+ Amazonka.ECS.Types.ManagedAgentName+ Amazonka.ECS.Types.ManagedAgentStateChange+ Amazonka.ECS.Types.ManagedScaling+ Amazonka.ECS.Types.ManagedScalingStatus+ Amazonka.ECS.Types.ManagedTerminationProtection+ Amazonka.ECS.Types.MountPoint+ Amazonka.ECS.Types.NetworkBinding+ Amazonka.ECS.Types.NetworkConfiguration+ Amazonka.ECS.Types.NetworkInterface+ Amazonka.ECS.Types.NetworkMode+ Amazonka.ECS.Types.OSFamily+ Amazonka.ECS.Types.PidMode+ Amazonka.ECS.Types.PlacementConstraint+ Amazonka.ECS.Types.PlacementConstraintType+ Amazonka.ECS.Types.PlacementStrategy+ Amazonka.ECS.Types.PlacementStrategyType+ Amazonka.ECS.Types.PlatformDevice+ Amazonka.ECS.Types.PlatformDeviceType+ Amazonka.ECS.Types.PortMapping+ Amazonka.ECS.Types.PropagateTags+ Amazonka.ECS.Types.ProtectedTask+ Amazonka.ECS.Types.ProxyConfiguration+ Amazonka.ECS.Types.ProxyConfigurationType+ Amazonka.ECS.Types.RepositoryCredentials+ Amazonka.ECS.Types.Resource+ Amazonka.ECS.Types.ResourceRequirement+ Amazonka.ECS.Types.ResourceType+ Amazonka.ECS.Types.RuntimePlatform+ Amazonka.ECS.Types.Scale+ Amazonka.ECS.Types.ScaleUnit+ Amazonka.ECS.Types.SchedulingStrategy+ Amazonka.ECS.Types.Scope+ Amazonka.ECS.Types.Secret+ Amazonka.ECS.Types.ServiceConnectClientAlias+ Amazonka.ECS.Types.ServiceConnectConfiguration+ Amazonka.ECS.Types.ServiceConnectService+ Amazonka.ECS.Types.ServiceConnectServiceResource+ Amazonka.ECS.Types.ServiceEvent+ Amazonka.ECS.Types.ServiceField+ Amazonka.ECS.Types.ServiceRegistry+ Amazonka.ECS.Types.Session+ Amazonka.ECS.Types.Setting+ Amazonka.ECS.Types.SettingName+ Amazonka.ECS.Types.SortOrder+ Amazonka.ECS.Types.StabilityStatus+ Amazonka.ECS.Types.SystemControl+ Amazonka.ECS.Types.Tag+ Amazonka.ECS.Types.TargetType+ Amazonka.ECS.Types.Task+ Amazonka.ECS.Types.TaskDefinition+ Amazonka.ECS.Types.TaskDefinitionFamilyStatus+ Amazonka.ECS.Types.TaskDefinitionField+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraint+ Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType+ Amazonka.ECS.Types.TaskDefinitionStatus+ Amazonka.ECS.Types.TaskField+ Amazonka.ECS.Types.TaskOverride+ Amazonka.ECS.Types.TaskSet+ Amazonka.ECS.Types.TaskSetField+ Amazonka.ECS.Types.TaskStopCode+ Amazonka.ECS.Types.Tmpfs+ Amazonka.ECS.Types.TransportProtocol+ Amazonka.ECS.Types.Ulimit+ Amazonka.ECS.Types.UlimitName+ Amazonka.ECS.Types.VersionInfo+ Amazonka.ECS.Types.Volume+ Amazonka.ECS.Types.VolumeFrom+ Amazonka.ECS.UntagResource+ Amazonka.ECS.UpdateCapacityProvider+ Amazonka.ECS.UpdateCluster+ Amazonka.ECS.UpdateClusterSettings+ Amazonka.ECS.UpdateContainerAgent+ Amazonka.ECS.UpdateContainerInstancesState+ Amazonka.ECS.UpdateService+ Amazonka.ECS.UpdateServicePrimaryTaskSet+ Amazonka.ECS.UpdateTaskProtection+ Amazonka.ECS.UpdateTaskSet+ Amazonka.ECS.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-ecs-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.ECS- , Test.AWS.Gen.ECS- , Test.AWS.ECS.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.ECS+ Test.Amazonka.ECS.Internal+ Test.Amazonka.Gen.ECS - build-depends:- amazonka-core == 1.6.1.*- , amazonka-test == 1.6.1.*- , amazonka-ecs- , base- , bytestring- , tasty- , tasty-hunit- , text- , time- , unordered-containers+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , amazonka-ecs+ , amazonka-test >=2.0 && <2.1+ , base+ , bytestring+ , case-insensitive+ , tasty+ , tasty-hunit+ , text+ , time+ , unordered-containers
+ fixture/CreateCapacityProvider.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/CreateCapacityProviderResponse.proto view
fixture/CreateCluster.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/CreateService.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/CreateTaskSet.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/CreateTaskSetResponse.proto view
+ fixture/DeleteAccountSetting.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DeleteAccountSettingResponse.proto view
+ fixture/DeleteCapacityProvider.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DeleteCapacityProviderResponse.proto view
fixture/DeleteCluster.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DeleteService.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DeleteTaskSet.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DeleteTaskSetResponse.proto view
fixture/DeregisterContainerInstance.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DeregisterTaskDefinition.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DescribeCapacityProviders.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DescribeCapacityProvidersResponse.proto view
fixture/DescribeClusters.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DescribeContainerInstances.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DescribeServices.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DescribeTaskDefinition.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DescribeTaskSets.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DescribeTaskSetsResponse.proto view
fixture/DescribeTasks.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/DiscoverPollEndpoint.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/ExecuteCommand.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/ExecuteCommandResponse.proto view
+ fixture/GetTaskProtection.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/GetTaskProtectionResponse.proto view
+ fixture/ListAccountSettings.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/ListAccountSettingsResponse.proto view
fixture/ListClusters.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/ListContainerInstances.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/ListServices.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/ListServicesByNamespace.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/ListServicesByNamespaceResponse.proto view
+ fixture/ListTagsForResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/ListTaskDefinitionFamilies.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/ListTaskDefinitions.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/ListTasks.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/PutAccountSetting.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/PutAccountSettingDefault.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/PutAccountSettingDefaultResponse.proto view
+ fixture/PutAccountSettingResponse.proto view
+ fixture/PutClusterCapacityProviders.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/PutClusterCapacityProvidersResponse.proto view
fixture/RegisterContainerInstance.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/RegisterTaskDefinition.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/RunTask.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/StartTask.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/StopTask.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/SubmitAttachmentStateChanges.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/SubmitAttachmentStateChangesResponse.proto view
fixture/SubmitContainerStateChange.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/SubmitTaskStateChange.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/TagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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
+ fixture/UpdateCapacityProvider.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/UpdateCapacityProviderResponse.proto view
+ fixture/UpdateCluster.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/UpdateClusterResponse.proto view
+ fixture/UpdateClusterSettings.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/UpdateClusterSettingsResponse.proto view
fixture/UpdateContainerAgent.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/UpdateService.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/UpdateServicePrimaryTaskSet.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/UpdateServicePrimaryTaskSetResponse.proto view
+ fixture/UpdateTaskProtection.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/UpdateTaskProtectionResponse.proto view
+ fixture/UpdateTaskSet.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/ecs/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: ecs.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/UpdateTaskSetResponse.proto view
+ gen/Amazonka/ECS.hs view
@@ -0,0 +1,1075 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module : Amazonka.ECS+-- 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 @2014-11-13@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- Amazon Elastic Container Service+--+-- Amazon Elastic Container Service (Amazon ECS) is a highly scalable,+-- fast, container management service. It makes it easy to run, stop, and+-- manage Docker containers. You can host your cluster on a serverless+-- infrastructure that\'s managed by Amazon ECS by launching your services+-- or tasks on Fargate. For more control, you can host your tasks on a+-- cluster of Amazon Elastic Compute Cloud (Amazon EC2) or External+-- (on-premises) instances that you manage.+--+-- Amazon ECS makes it easy to launch and stop container-based applications+-- with simple API calls. This makes it easy to get the state of your+-- cluster from a centralized service, and gives you access to many+-- familiar Amazon EC2 features.+--+-- You can use Amazon ECS to schedule the placement of containers across+-- your cluster based on your resource needs, isolation policies, and+-- availability requirements. With Amazon ECS, you don\'t need to operate+-- your own cluster management and configuration management systems. You+-- also don\'t need to worry about scaling your management infrastructure.+module Amazonka.ECS+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ -- $errors++ -- ** AccessDeniedException+ _AccessDeniedException,++ -- ** AttributeLimitExceededException+ _AttributeLimitExceededException,++ -- ** BlockedException+ _BlockedException,++ -- ** ClientException+ _ClientException,++ -- ** ClusterContainsContainerInstancesException+ _ClusterContainsContainerInstancesException,++ -- ** ClusterContainsServicesException+ _ClusterContainsServicesException,++ -- ** ClusterContainsTasksException+ _ClusterContainsTasksException,++ -- ** ClusterNotFoundException+ _ClusterNotFoundException,++ -- ** InvalidParameterException+ _InvalidParameterException,++ -- ** LimitExceededException+ _LimitExceededException,++ -- ** MissingVersionException+ _MissingVersionException,++ -- ** NamespaceNotFoundException+ _NamespaceNotFoundException,++ -- ** NoUpdateAvailableException+ _NoUpdateAvailableException,++ -- ** PlatformTaskDefinitionIncompatibilityException+ _PlatformTaskDefinitionIncompatibilityException,++ -- ** PlatformUnknownException+ _PlatformUnknownException,++ -- ** ResourceInUseException+ _ResourceInUseException,++ -- ** ResourceNotFoundException+ _ResourceNotFoundException,++ -- ** ServerException+ _ServerException,++ -- ** ServiceNotActiveException+ _ServiceNotActiveException,++ -- ** ServiceNotFoundException+ _ServiceNotFoundException,++ -- ** TargetNotConnectedException+ _TargetNotConnectedException,++ -- ** TargetNotFoundException+ _TargetNotFoundException,++ -- ** TaskSetNotFoundException+ _TaskSetNotFoundException,++ -- ** UnsupportedFeatureException+ _UnsupportedFeatureException,++ -- ** UpdateInProgressException+ _UpdateInProgressException,++ -- * Waiters+ -- $waiters++ -- ** ServicesInactive+ newServicesInactive,++ -- ** TasksRunning+ newTasksRunning,++ -- ** TasksStopped+ newTasksStopped,++ -- * Operations+ -- $operations++ -- ** CreateCapacityProvider+ CreateCapacityProvider (CreateCapacityProvider'),+ newCreateCapacityProvider,+ CreateCapacityProviderResponse (CreateCapacityProviderResponse'),+ newCreateCapacityProviderResponse,++ -- ** CreateCluster+ CreateCluster (CreateCluster'),+ newCreateCluster,+ CreateClusterResponse (CreateClusterResponse'),+ newCreateClusterResponse,++ -- ** CreateService+ CreateService (CreateService'),+ newCreateService,+ CreateServiceResponse (CreateServiceResponse'),+ newCreateServiceResponse,++ -- ** CreateTaskSet+ CreateTaskSet (CreateTaskSet'),+ newCreateTaskSet,+ CreateTaskSetResponse (CreateTaskSetResponse'),+ newCreateTaskSetResponse,++ -- ** DeleteAccountSetting+ DeleteAccountSetting (DeleteAccountSetting'),+ newDeleteAccountSetting,+ DeleteAccountSettingResponse (DeleteAccountSettingResponse'),+ newDeleteAccountSettingResponse,++ -- ** DeleteAttributes+ DeleteAttributes (DeleteAttributes'),+ newDeleteAttributes,+ DeleteAttributesResponse (DeleteAttributesResponse'),+ newDeleteAttributesResponse,++ -- ** DeleteCapacityProvider+ DeleteCapacityProvider (DeleteCapacityProvider'),+ newDeleteCapacityProvider,+ DeleteCapacityProviderResponse (DeleteCapacityProviderResponse'),+ newDeleteCapacityProviderResponse,++ -- ** DeleteCluster+ DeleteCluster (DeleteCluster'),+ newDeleteCluster,+ DeleteClusterResponse (DeleteClusterResponse'),+ newDeleteClusterResponse,++ -- ** DeleteService+ DeleteService (DeleteService'),+ newDeleteService,+ DeleteServiceResponse (DeleteServiceResponse'),+ newDeleteServiceResponse,++ -- ** DeleteTaskSet+ DeleteTaskSet (DeleteTaskSet'),+ newDeleteTaskSet,+ DeleteTaskSetResponse (DeleteTaskSetResponse'),+ newDeleteTaskSetResponse,++ -- ** DeregisterContainerInstance+ DeregisterContainerInstance (DeregisterContainerInstance'),+ newDeregisterContainerInstance,+ DeregisterContainerInstanceResponse (DeregisterContainerInstanceResponse'),+ newDeregisterContainerInstanceResponse,++ -- ** DeregisterTaskDefinition+ DeregisterTaskDefinition (DeregisterTaskDefinition'),+ newDeregisterTaskDefinition,+ DeregisterTaskDefinitionResponse (DeregisterTaskDefinitionResponse'),+ newDeregisterTaskDefinitionResponse,++ -- ** DescribeCapacityProviders+ DescribeCapacityProviders (DescribeCapacityProviders'),+ newDescribeCapacityProviders,+ DescribeCapacityProvidersResponse (DescribeCapacityProvidersResponse'),+ newDescribeCapacityProvidersResponse,++ -- ** DescribeClusters+ DescribeClusters (DescribeClusters'),+ newDescribeClusters,+ DescribeClustersResponse (DescribeClustersResponse'),+ newDescribeClustersResponse,++ -- ** DescribeContainerInstances+ DescribeContainerInstances (DescribeContainerInstances'),+ newDescribeContainerInstances,+ DescribeContainerInstancesResponse (DescribeContainerInstancesResponse'),+ newDescribeContainerInstancesResponse,++ -- ** DescribeServices+ DescribeServices (DescribeServices'),+ newDescribeServices,+ DescribeServicesResponse (DescribeServicesResponse'),+ newDescribeServicesResponse,++ -- ** DescribeTaskDefinition+ DescribeTaskDefinition (DescribeTaskDefinition'),+ newDescribeTaskDefinition,+ DescribeTaskDefinitionResponse (DescribeTaskDefinitionResponse'),+ newDescribeTaskDefinitionResponse,++ -- ** DescribeTaskSets+ DescribeTaskSets (DescribeTaskSets'),+ newDescribeTaskSets,+ DescribeTaskSetsResponse (DescribeTaskSetsResponse'),+ newDescribeTaskSetsResponse,++ -- ** DescribeTasks+ DescribeTasks (DescribeTasks'),+ newDescribeTasks,+ DescribeTasksResponse (DescribeTasksResponse'),+ newDescribeTasksResponse,++ -- ** DiscoverPollEndpoint+ DiscoverPollEndpoint (DiscoverPollEndpoint'),+ newDiscoverPollEndpoint,+ DiscoverPollEndpointResponse (DiscoverPollEndpointResponse'),+ newDiscoverPollEndpointResponse,++ -- ** ExecuteCommand+ ExecuteCommand (ExecuteCommand'),+ newExecuteCommand,+ ExecuteCommandResponse (ExecuteCommandResponse'),+ newExecuteCommandResponse,++ -- ** GetTaskProtection+ GetTaskProtection (GetTaskProtection'),+ newGetTaskProtection,+ GetTaskProtectionResponse (GetTaskProtectionResponse'),+ newGetTaskProtectionResponse,++ -- ** ListAccountSettings (Paginated)+ ListAccountSettings (ListAccountSettings'),+ newListAccountSettings,+ ListAccountSettingsResponse (ListAccountSettingsResponse'),+ newListAccountSettingsResponse,++ -- ** ListAttributes (Paginated)+ ListAttributes (ListAttributes'),+ newListAttributes,+ ListAttributesResponse (ListAttributesResponse'),+ newListAttributesResponse,++ -- ** ListClusters (Paginated)+ ListClusters (ListClusters'),+ newListClusters,+ ListClustersResponse (ListClustersResponse'),+ newListClustersResponse,++ -- ** ListContainerInstances (Paginated)+ ListContainerInstances (ListContainerInstances'),+ newListContainerInstances,+ ListContainerInstancesResponse (ListContainerInstancesResponse'),+ newListContainerInstancesResponse,++ -- ** ListServices (Paginated)+ ListServices (ListServices'),+ newListServices,+ ListServicesResponse (ListServicesResponse'),+ newListServicesResponse,++ -- ** ListServicesByNamespace (Paginated)+ ListServicesByNamespace (ListServicesByNamespace'),+ newListServicesByNamespace,+ ListServicesByNamespaceResponse (ListServicesByNamespaceResponse'),+ newListServicesByNamespaceResponse,++ -- ** ListTagsForResource+ ListTagsForResource (ListTagsForResource'),+ newListTagsForResource,+ ListTagsForResourceResponse (ListTagsForResourceResponse'),+ newListTagsForResourceResponse,++ -- ** ListTaskDefinitionFamilies (Paginated)+ ListTaskDefinitionFamilies (ListTaskDefinitionFamilies'),+ newListTaskDefinitionFamilies,+ ListTaskDefinitionFamiliesResponse (ListTaskDefinitionFamiliesResponse'),+ newListTaskDefinitionFamiliesResponse,++ -- ** ListTaskDefinitions (Paginated)+ ListTaskDefinitions (ListTaskDefinitions'),+ newListTaskDefinitions,+ ListTaskDefinitionsResponse (ListTaskDefinitionsResponse'),+ newListTaskDefinitionsResponse,++ -- ** ListTasks (Paginated)+ ListTasks (ListTasks'),+ newListTasks,+ ListTasksResponse (ListTasksResponse'),+ newListTasksResponse,++ -- ** PutAccountSetting+ PutAccountSetting (PutAccountSetting'),+ newPutAccountSetting,+ PutAccountSettingResponse (PutAccountSettingResponse'),+ newPutAccountSettingResponse,++ -- ** PutAccountSettingDefault+ PutAccountSettingDefault (PutAccountSettingDefault'),+ newPutAccountSettingDefault,+ PutAccountSettingDefaultResponse (PutAccountSettingDefaultResponse'),+ newPutAccountSettingDefaultResponse,++ -- ** PutAttributes+ PutAttributes (PutAttributes'),+ newPutAttributes,+ PutAttributesResponse (PutAttributesResponse'),+ newPutAttributesResponse,++ -- ** PutClusterCapacityProviders+ PutClusterCapacityProviders (PutClusterCapacityProviders'),+ newPutClusterCapacityProviders,+ PutClusterCapacityProvidersResponse (PutClusterCapacityProvidersResponse'),+ newPutClusterCapacityProvidersResponse,++ -- ** RegisterContainerInstance+ RegisterContainerInstance (RegisterContainerInstance'),+ newRegisterContainerInstance,+ RegisterContainerInstanceResponse (RegisterContainerInstanceResponse'),+ newRegisterContainerInstanceResponse,++ -- ** RegisterTaskDefinition+ RegisterTaskDefinition (RegisterTaskDefinition'),+ newRegisterTaskDefinition,+ RegisterTaskDefinitionResponse (RegisterTaskDefinitionResponse'),+ newRegisterTaskDefinitionResponse,++ -- ** RunTask+ RunTask (RunTask'),+ newRunTask,+ RunTaskResponse (RunTaskResponse'),+ newRunTaskResponse,++ -- ** StartTask+ StartTask (StartTask'),+ newStartTask,+ StartTaskResponse (StartTaskResponse'),+ newStartTaskResponse,++ -- ** StopTask+ StopTask (StopTask'),+ newStopTask,+ StopTaskResponse (StopTaskResponse'),+ newStopTaskResponse,++ -- ** SubmitAttachmentStateChanges+ SubmitAttachmentStateChanges (SubmitAttachmentStateChanges'),+ newSubmitAttachmentStateChanges,+ SubmitAttachmentStateChangesResponse (SubmitAttachmentStateChangesResponse'),+ newSubmitAttachmentStateChangesResponse,++ -- ** SubmitContainerStateChange+ SubmitContainerStateChange (SubmitContainerStateChange'),+ newSubmitContainerStateChange,+ SubmitContainerStateChangeResponse (SubmitContainerStateChangeResponse'),+ newSubmitContainerStateChangeResponse,++ -- ** SubmitTaskStateChange+ SubmitTaskStateChange (SubmitTaskStateChange'),+ newSubmitTaskStateChange,+ SubmitTaskStateChangeResponse (SubmitTaskStateChangeResponse'),+ newSubmitTaskStateChangeResponse,++ -- ** TagResource+ TagResource (TagResource'),+ newTagResource,+ TagResourceResponse (TagResourceResponse'),+ newTagResourceResponse,++ -- ** UntagResource+ UntagResource (UntagResource'),+ newUntagResource,+ UntagResourceResponse (UntagResourceResponse'),+ newUntagResourceResponse,++ -- ** UpdateCapacityProvider+ UpdateCapacityProvider (UpdateCapacityProvider'),+ newUpdateCapacityProvider,+ UpdateCapacityProviderResponse (UpdateCapacityProviderResponse'),+ newUpdateCapacityProviderResponse,++ -- ** UpdateCluster+ UpdateCluster (UpdateCluster'),+ newUpdateCluster,+ UpdateClusterResponse (UpdateClusterResponse'),+ newUpdateClusterResponse,++ -- ** UpdateClusterSettings+ UpdateClusterSettings (UpdateClusterSettings'),+ newUpdateClusterSettings,+ UpdateClusterSettingsResponse (UpdateClusterSettingsResponse'),+ newUpdateClusterSettingsResponse,++ -- ** UpdateContainerAgent+ UpdateContainerAgent (UpdateContainerAgent'),+ newUpdateContainerAgent,+ UpdateContainerAgentResponse (UpdateContainerAgentResponse'),+ newUpdateContainerAgentResponse,++ -- ** UpdateContainerInstancesState+ UpdateContainerInstancesState (UpdateContainerInstancesState'),+ newUpdateContainerInstancesState,+ UpdateContainerInstancesStateResponse (UpdateContainerInstancesStateResponse'),+ newUpdateContainerInstancesStateResponse,++ -- ** UpdateService+ UpdateService (UpdateService'),+ newUpdateService,+ UpdateServiceResponse (UpdateServiceResponse'),+ newUpdateServiceResponse,++ -- ** UpdateServicePrimaryTaskSet+ UpdateServicePrimaryTaskSet (UpdateServicePrimaryTaskSet'),+ newUpdateServicePrimaryTaskSet,+ UpdateServicePrimaryTaskSetResponse (UpdateServicePrimaryTaskSetResponse'),+ newUpdateServicePrimaryTaskSetResponse,++ -- ** UpdateTaskProtection+ UpdateTaskProtection (UpdateTaskProtection'),+ newUpdateTaskProtection,+ UpdateTaskProtectionResponse (UpdateTaskProtectionResponse'),+ newUpdateTaskProtectionResponse,++ -- ** UpdateTaskSet+ UpdateTaskSet (UpdateTaskSet'),+ newUpdateTaskSet,+ UpdateTaskSetResponse (UpdateTaskSetResponse'),+ newUpdateTaskSetResponse,++ -- * Types++ -- ** AgentUpdateStatus+ AgentUpdateStatus (..),++ -- ** ApplicationProtocol+ ApplicationProtocol (..),++ -- ** AssignPublicIp+ AssignPublicIp (..),++ -- ** CPUArchitecture+ CPUArchitecture (..),++ -- ** CapacityProviderField+ CapacityProviderField (..),++ -- ** CapacityProviderStatus+ CapacityProviderStatus (..),++ -- ** CapacityProviderUpdateStatus+ CapacityProviderUpdateStatus (..),++ -- ** ClusterField+ ClusterField (..),++ -- ** ClusterSettingName+ ClusterSettingName (..),++ -- ** Compatibility+ Compatibility (..),++ -- ** Connectivity+ Connectivity (..),++ -- ** ContainerCondition+ ContainerCondition (..),++ -- ** ContainerInstanceField+ ContainerInstanceField (..),++ -- ** ContainerInstanceStatus+ ContainerInstanceStatus (..),++ -- ** DeploymentControllerType+ DeploymentControllerType (..),++ -- ** DeploymentRolloutState+ DeploymentRolloutState (..),++ -- ** DesiredStatus+ DesiredStatus (..),++ -- ** DeviceCgroupPermission+ DeviceCgroupPermission (..),++ -- ** EFSAuthorizationConfigIAM+ EFSAuthorizationConfigIAM (..),++ -- ** EFSTransitEncryption+ EFSTransitEncryption (..),++ -- ** EnvironmentFileType+ EnvironmentFileType (..),++ -- ** ExecuteCommandLogging+ ExecuteCommandLogging (..),++ -- ** FirelensConfigurationType+ FirelensConfigurationType (..),++ -- ** HealthStatus+ HealthStatus (..),++ -- ** InstanceHealthCheckState+ InstanceHealthCheckState (..),++ -- ** InstanceHealthCheckType+ InstanceHealthCheckType (..),++ -- ** IpcMode+ IpcMode (..),++ -- ** LaunchType+ LaunchType (..),++ -- ** LogDriver+ LogDriver (..),++ -- ** ManagedAgentName+ ManagedAgentName (..),++ -- ** ManagedScalingStatus+ ManagedScalingStatus (..),++ -- ** ManagedTerminationProtection+ ManagedTerminationProtection (..),++ -- ** NetworkMode+ NetworkMode (..),++ -- ** OSFamily+ OSFamily (..),++ -- ** PidMode+ PidMode (..),++ -- ** PlacementConstraintType+ PlacementConstraintType (..),++ -- ** PlacementStrategyType+ PlacementStrategyType (..),++ -- ** PlatformDeviceType+ PlatformDeviceType (..),++ -- ** PropagateTags+ PropagateTags (..),++ -- ** ProxyConfigurationType+ ProxyConfigurationType (..),++ -- ** ResourceType+ ResourceType (..),++ -- ** ScaleUnit+ ScaleUnit (..),++ -- ** SchedulingStrategy+ SchedulingStrategy (..),++ -- ** Scope+ Scope (..),++ -- ** ServiceField+ ServiceField (..),++ -- ** SettingName+ SettingName (..),++ -- ** SortOrder+ SortOrder (..),++ -- ** StabilityStatus+ StabilityStatus (..),++ -- ** TargetType+ TargetType (..),++ -- ** TaskDefinitionFamilyStatus+ TaskDefinitionFamilyStatus (..),++ -- ** TaskDefinitionField+ TaskDefinitionField (..),++ -- ** TaskDefinitionPlacementConstraintType+ TaskDefinitionPlacementConstraintType (..),++ -- ** TaskDefinitionStatus+ TaskDefinitionStatus (..),++ -- ** TaskField+ TaskField (..),++ -- ** TaskSetField+ TaskSetField (..),++ -- ** TaskStopCode+ TaskStopCode (..),++ -- ** TransportProtocol+ TransportProtocol (..),++ -- ** UlimitName+ UlimitName (..),++ -- ** Attachment+ Attachment (Attachment'),+ newAttachment,++ -- ** AttachmentStateChange+ AttachmentStateChange (AttachmentStateChange'),+ newAttachmentStateChange,++ -- ** Attribute+ Attribute (Attribute'),+ newAttribute,++ -- ** AutoScalingGroupProvider+ AutoScalingGroupProvider (AutoScalingGroupProvider'),+ newAutoScalingGroupProvider,++ -- ** AutoScalingGroupProviderUpdate+ AutoScalingGroupProviderUpdate (AutoScalingGroupProviderUpdate'),+ newAutoScalingGroupProviderUpdate,++ -- ** AwsVpcConfiguration+ AwsVpcConfiguration (AwsVpcConfiguration'),+ newAwsVpcConfiguration,++ -- ** CapacityProvider+ CapacityProvider (CapacityProvider'),+ newCapacityProvider,++ -- ** CapacityProviderStrategyItem+ CapacityProviderStrategyItem (CapacityProviderStrategyItem'),+ newCapacityProviderStrategyItem,++ -- ** Cluster+ Cluster (Cluster'),+ newCluster,++ -- ** ClusterConfiguration+ ClusterConfiguration (ClusterConfiguration'),+ newClusterConfiguration,++ -- ** ClusterServiceConnectDefaults+ ClusterServiceConnectDefaults (ClusterServiceConnectDefaults'),+ newClusterServiceConnectDefaults,++ -- ** ClusterServiceConnectDefaultsRequest+ ClusterServiceConnectDefaultsRequest (ClusterServiceConnectDefaultsRequest'),+ newClusterServiceConnectDefaultsRequest,++ -- ** ClusterSetting+ ClusterSetting (ClusterSetting'),+ newClusterSetting,++ -- ** Container+ Container (Container'),+ newContainer,++ -- ** ContainerDefinition+ ContainerDefinition (ContainerDefinition'),+ newContainerDefinition,++ -- ** ContainerDependency+ ContainerDependency (ContainerDependency'),+ newContainerDependency,++ -- ** ContainerInstance+ ContainerInstance (ContainerInstance'),+ newContainerInstance,++ -- ** ContainerInstanceHealthStatus+ ContainerInstanceHealthStatus (ContainerInstanceHealthStatus'),+ newContainerInstanceHealthStatus,++ -- ** ContainerOverride+ ContainerOverride (ContainerOverride'),+ newContainerOverride,++ -- ** ContainerService+ ContainerService (ContainerService'),+ newContainerService,++ -- ** ContainerStateChange+ ContainerStateChange (ContainerStateChange'),+ newContainerStateChange,++ -- ** Deployment+ Deployment (Deployment'),+ newDeployment,++ -- ** DeploymentAlarms+ DeploymentAlarms (DeploymentAlarms'),+ newDeploymentAlarms,++ -- ** DeploymentCircuitBreaker+ DeploymentCircuitBreaker (DeploymentCircuitBreaker'),+ newDeploymentCircuitBreaker,++ -- ** DeploymentConfiguration+ DeploymentConfiguration (DeploymentConfiguration'),+ newDeploymentConfiguration,++ -- ** DeploymentController+ DeploymentController (DeploymentController'),+ newDeploymentController,++ -- ** Device+ Device (Device'),+ newDevice,++ -- ** DockerVolumeConfiguration+ DockerVolumeConfiguration (DockerVolumeConfiguration'),+ newDockerVolumeConfiguration,++ -- ** EFSAuthorizationConfig+ EFSAuthorizationConfig (EFSAuthorizationConfig'),+ newEFSAuthorizationConfig,++ -- ** EFSVolumeConfiguration+ EFSVolumeConfiguration (EFSVolumeConfiguration'),+ newEFSVolumeConfiguration,++ -- ** EnvironmentFile+ EnvironmentFile (EnvironmentFile'),+ newEnvironmentFile,++ -- ** EphemeralStorage+ EphemeralStorage (EphemeralStorage'),+ newEphemeralStorage,++ -- ** ExecuteCommandConfiguration+ ExecuteCommandConfiguration (ExecuteCommandConfiguration'),+ newExecuteCommandConfiguration,++ -- ** ExecuteCommandLogConfiguration+ ExecuteCommandLogConfiguration (ExecuteCommandLogConfiguration'),+ newExecuteCommandLogConfiguration,++ -- ** FSxWindowsFileServerAuthorizationConfig+ FSxWindowsFileServerAuthorizationConfig (FSxWindowsFileServerAuthorizationConfig'),+ newFSxWindowsFileServerAuthorizationConfig,++ -- ** FSxWindowsFileServerVolumeConfiguration+ FSxWindowsFileServerVolumeConfiguration (FSxWindowsFileServerVolumeConfiguration'),+ newFSxWindowsFileServerVolumeConfiguration,++ -- ** Failure+ Failure (Failure'),+ newFailure,++ -- ** FirelensConfiguration+ FirelensConfiguration (FirelensConfiguration'),+ newFirelensConfiguration,++ -- ** HealthCheck+ HealthCheck (HealthCheck'),+ newHealthCheck,++ -- ** HostEntry+ HostEntry (HostEntry'),+ newHostEntry,++ -- ** HostVolumeProperties+ HostVolumeProperties (HostVolumeProperties'),+ newHostVolumeProperties,++ -- ** InferenceAccelerator+ InferenceAccelerator (InferenceAccelerator'),+ newInferenceAccelerator,++ -- ** InferenceAcceleratorOverride+ InferenceAcceleratorOverride (InferenceAcceleratorOverride'),+ newInferenceAcceleratorOverride,++ -- ** InstanceHealthCheckResult+ InstanceHealthCheckResult (InstanceHealthCheckResult'),+ newInstanceHealthCheckResult,++ -- ** KernelCapabilities+ KernelCapabilities (KernelCapabilities'),+ newKernelCapabilities,++ -- ** KeyValuePair+ KeyValuePair (KeyValuePair'),+ newKeyValuePair,++ -- ** LinuxParameters+ LinuxParameters (LinuxParameters'),+ newLinuxParameters,++ -- ** LoadBalancer+ LoadBalancer (LoadBalancer'),+ newLoadBalancer,++ -- ** LogConfiguration+ LogConfiguration (LogConfiguration'),+ newLogConfiguration,++ -- ** ManagedAgent+ ManagedAgent (ManagedAgent'),+ newManagedAgent,++ -- ** ManagedAgentStateChange+ ManagedAgentStateChange (ManagedAgentStateChange'),+ newManagedAgentStateChange,++ -- ** ManagedScaling+ ManagedScaling (ManagedScaling'),+ newManagedScaling,++ -- ** MountPoint+ MountPoint (MountPoint'),+ newMountPoint,++ -- ** NetworkBinding+ NetworkBinding (NetworkBinding'),+ newNetworkBinding,++ -- ** NetworkConfiguration+ NetworkConfiguration (NetworkConfiguration'),+ newNetworkConfiguration,++ -- ** NetworkInterface+ NetworkInterface (NetworkInterface'),+ newNetworkInterface,++ -- ** PlacementConstraint+ PlacementConstraint (PlacementConstraint'),+ newPlacementConstraint,++ -- ** PlacementStrategy+ PlacementStrategy (PlacementStrategy'),+ newPlacementStrategy,++ -- ** PlatformDevice+ PlatformDevice (PlatformDevice'),+ newPlatformDevice,++ -- ** PortMapping+ PortMapping (PortMapping'),+ newPortMapping,++ -- ** ProtectedTask+ ProtectedTask (ProtectedTask'),+ newProtectedTask,++ -- ** ProxyConfiguration+ ProxyConfiguration (ProxyConfiguration'),+ newProxyConfiguration,++ -- ** RepositoryCredentials+ RepositoryCredentials (RepositoryCredentials'),+ newRepositoryCredentials,++ -- ** Resource+ Resource (Resource'),+ newResource,++ -- ** ResourceRequirement+ ResourceRequirement (ResourceRequirement'),+ newResourceRequirement,++ -- ** RuntimePlatform+ RuntimePlatform (RuntimePlatform'),+ newRuntimePlatform,++ -- ** Scale+ Scale (Scale'),+ newScale,++ -- ** Secret+ Secret (Secret'),+ newSecret,++ -- ** ServiceConnectClientAlias+ ServiceConnectClientAlias (ServiceConnectClientAlias'),+ newServiceConnectClientAlias,++ -- ** ServiceConnectConfiguration+ ServiceConnectConfiguration (ServiceConnectConfiguration'),+ newServiceConnectConfiguration,++ -- ** ServiceConnectService+ ServiceConnectService (ServiceConnectService'),+ newServiceConnectService,++ -- ** ServiceConnectServiceResource+ ServiceConnectServiceResource (ServiceConnectServiceResource'),+ newServiceConnectServiceResource,++ -- ** ServiceEvent+ ServiceEvent (ServiceEvent'),+ newServiceEvent,++ -- ** ServiceRegistry+ ServiceRegistry (ServiceRegistry'),+ newServiceRegistry,++ -- ** Session+ Session (Session'),+ newSession,++ -- ** Setting+ Setting (Setting'),+ newSetting,++ -- ** SystemControl+ SystemControl (SystemControl'),+ newSystemControl,++ -- ** Tag+ Tag (Tag'),+ newTag,++ -- ** Task+ Task (Task'),+ newTask,++ -- ** TaskDefinition+ TaskDefinition (TaskDefinition'),+ newTaskDefinition,++ -- ** TaskDefinitionPlacementConstraint+ TaskDefinitionPlacementConstraint (TaskDefinitionPlacementConstraint'),+ newTaskDefinitionPlacementConstraint,++ -- ** TaskOverride+ TaskOverride (TaskOverride'),+ newTaskOverride,++ -- ** TaskSet+ TaskSet (TaskSet'),+ newTaskSet,++ -- ** Tmpfs+ Tmpfs (Tmpfs'),+ newTmpfs,++ -- ** Ulimit+ Ulimit (Ulimit'),+ newUlimit,++ -- ** VersionInfo+ VersionInfo (VersionInfo'),+ newVersionInfo,++ -- ** Volume+ Volume (Volume'),+ newVolume,++ -- ** VolumeFrom+ VolumeFrom (VolumeFrom'),+ newVolumeFrom,+ )+where++import Amazonka.ECS.CreateCapacityProvider+import Amazonka.ECS.CreateCluster+import Amazonka.ECS.CreateService+import Amazonka.ECS.CreateTaskSet+import Amazonka.ECS.DeleteAccountSetting+import Amazonka.ECS.DeleteAttributes+import Amazonka.ECS.DeleteCapacityProvider+import Amazonka.ECS.DeleteCluster+import Amazonka.ECS.DeleteService+import Amazonka.ECS.DeleteTaskSet+import Amazonka.ECS.DeregisterContainerInstance+import Amazonka.ECS.DeregisterTaskDefinition+import Amazonka.ECS.DescribeCapacityProviders+import Amazonka.ECS.DescribeClusters+import Amazonka.ECS.DescribeContainerInstances+import Amazonka.ECS.DescribeServices+import Amazonka.ECS.DescribeTaskDefinition+import Amazonka.ECS.DescribeTaskSets+import Amazonka.ECS.DescribeTasks+import Amazonka.ECS.DiscoverPollEndpoint+import Amazonka.ECS.ExecuteCommand+import Amazonka.ECS.GetTaskProtection+import Amazonka.ECS.Lens+import Amazonka.ECS.ListAccountSettings+import Amazonka.ECS.ListAttributes+import Amazonka.ECS.ListClusters+import Amazonka.ECS.ListContainerInstances+import Amazonka.ECS.ListServices+import Amazonka.ECS.ListServicesByNamespace+import Amazonka.ECS.ListTagsForResource+import Amazonka.ECS.ListTaskDefinitionFamilies+import Amazonka.ECS.ListTaskDefinitions+import Amazonka.ECS.ListTasks+import Amazonka.ECS.PutAccountSetting+import Amazonka.ECS.PutAccountSettingDefault+import Amazonka.ECS.PutAttributes+import Amazonka.ECS.PutClusterCapacityProviders+import Amazonka.ECS.RegisterContainerInstance+import Amazonka.ECS.RegisterTaskDefinition+import Amazonka.ECS.RunTask+import Amazonka.ECS.StartTask+import Amazonka.ECS.StopTask+import Amazonka.ECS.SubmitAttachmentStateChanges+import Amazonka.ECS.SubmitContainerStateChange+import Amazonka.ECS.SubmitTaskStateChange+import Amazonka.ECS.TagResource+import Amazonka.ECS.Types+import Amazonka.ECS.UntagResource+import Amazonka.ECS.UpdateCapacityProvider+import Amazonka.ECS.UpdateCluster+import Amazonka.ECS.UpdateClusterSettings+import Amazonka.ECS.UpdateContainerAgent+import Amazonka.ECS.UpdateContainerInstancesState+import Amazonka.ECS.UpdateService+import Amazonka.ECS.UpdateServicePrimaryTaskSet+import Amazonka.ECS.UpdateTaskProtection+import Amazonka.ECS.UpdateTaskSet+import Amazonka.ECS.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 'ECS'.++-- $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/ECS/CreateCapacityProvider.hs view
@@ -0,0 +1,307 @@+{-# 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.ECS.CreateCapacityProvider+-- 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 a new capacity provider. Capacity providers are associated with+-- an Amazon ECS cluster and are used in capacity provider strategies to+-- facilitate cluster auto scaling.+--+-- Only capacity providers that use an Auto Scaling group can be created.+-- Amazon ECS tasks on Fargate use the @FARGATE@ and @FARGATE_SPOT@+-- capacity providers. These providers are available to all accounts in the+-- Amazon Web Services Regions that Fargate supports.+module Amazonka.ECS.CreateCapacityProvider+ ( -- * Creating a Request+ CreateCapacityProvider (..),+ newCreateCapacityProvider,++ -- * Request Lenses+ createCapacityProvider_tags,+ createCapacityProvider_name,+ createCapacityProvider_autoScalingGroupProvider,++ -- * Destructuring the Response+ CreateCapacityProviderResponse (..),+ newCreateCapacityProviderResponse,++ -- * Response Lenses+ createCapacityProviderResponse_capacityProvider,+ createCapacityProviderResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateCapacityProvider' smart constructor.+data CreateCapacityProvider = CreateCapacityProvider'+ { -- | The metadata that you apply to the capacity provider to categorize and+ -- organize them more conveniently. Each tag consists of a key and an+ -- optional value. You define both of them.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The name of the capacity provider. Up to 255 characters are allowed.+ -- They include letters (both upper and lowercase letters), numbers,+ -- underscores (_), and hyphens (-). The name can\'t be prefixed with+ -- \"@aws@\", \"@ecs@\", or \"@fargate@\".+ name :: Prelude.Text,+ -- | The details of the Auto Scaling group for the capacity provider.+ autoScalingGroupProvider :: AutoScalingGroupProvider+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateCapacityProvider' 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:+--+-- 'tags', 'createCapacityProvider_tags' - The metadata that you apply to the capacity provider to categorize and+-- organize them more conveniently. Each tag consists of a key and an+-- optional value. You define both of them.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'name', 'createCapacityProvider_name' - The name of the capacity provider. Up to 255 characters are allowed.+-- They include letters (both upper and lowercase letters), numbers,+-- underscores (_), and hyphens (-). The name can\'t be prefixed with+-- \"@aws@\", \"@ecs@\", or \"@fargate@\".+--+-- 'autoScalingGroupProvider', 'createCapacityProvider_autoScalingGroupProvider' - The details of the Auto Scaling group for the capacity provider.+newCreateCapacityProvider ::+ -- | 'name'+ Prelude.Text ->+ -- | 'autoScalingGroupProvider'+ AutoScalingGroupProvider ->+ CreateCapacityProvider+newCreateCapacityProvider+ pName_+ pAutoScalingGroupProvider_ =+ CreateCapacityProvider'+ { tags = Prelude.Nothing,+ name = pName_,+ autoScalingGroupProvider =+ pAutoScalingGroupProvider_+ }++-- | The metadata that you apply to the capacity provider to categorize and+-- organize them more conveniently. Each tag consists of a key and an+-- optional value. You define both of them.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+createCapacityProvider_tags :: Lens.Lens' CreateCapacityProvider (Prelude.Maybe [Tag])+createCapacityProvider_tags = Lens.lens (\CreateCapacityProvider' {tags} -> tags) (\s@CreateCapacityProvider' {} a -> s {tags = a} :: CreateCapacityProvider) Prelude.. Lens.mapping Lens.coerced++-- | The name of the capacity provider. Up to 255 characters are allowed.+-- They include letters (both upper and lowercase letters), numbers,+-- underscores (_), and hyphens (-). The name can\'t be prefixed with+-- \"@aws@\", \"@ecs@\", or \"@fargate@\".+createCapacityProvider_name :: Lens.Lens' CreateCapacityProvider Prelude.Text+createCapacityProvider_name = Lens.lens (\CreateCapacityProvider' {name} -> name) (\s@CreateCapacityProvider' {} a -> s {name = a} :: CreateCapacityProvider)++-- | The details of the Auto Scaling group for the capacity provider.+createCapacityProvider_autoScalingGroupProvider :: Lens.Lens' CreateCapacityProvider AutoScalingGroupProvider+createCapacityProvider_autoScalingGroupProvider = Lens.lens (\CreateCapacityProvider' {autoScalingGroupProvider} -> autoScalingGroupProvider) (\s@CreateCapacityProvider' {} a -> s {autoScalingGroupProvider = a} :: CreateCapacityProvider)++instance Core.AWSRequest CreateCapacityProvider where+ type+ AWSResponse CreateCapacityProvider =+ CreateCapacityProviderResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateCapacityProviderResponse'+ Prelude.<$> (x Data..?> "capacityProvider")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateCapacityProvider where+ hashWithSalt _salt CreateCapacityProvider' {..} =+ _salt+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` autoScalingGroupProvider++instance Prelude.NFData CreateCapacityProvider where+ rnf CreateCapacityProvider' {..} =+ Prelude.rnf tags+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf autoScalingGroupProvider++instance Data.ToHeaders CreateCapacityProvider where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.CreateCapacityProvider" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateCapacityProvider where+ toJSON CreateCapacityProvider' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("tags" Data..=) Prelude.<$> tags,+ Prelude.Just ("name" Data..= name),+ Prelude.Just+ ( "autoScalingGroupProvider"+ Data..= autoScalingGroupProvider+ )+ ]+ )++instance Data.ToPath CreateCapacityProvider where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateCapacityProvider where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateCapacityProviderResponse' smart constructor.+data CreateCapacityProviderResponse = CreateCapacityProviderResponse'+ { -- | The full description of the new capacity provider.+ capacityProvider :: Prelude.Maybe CapacityProvider,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateCapacityProviderResponse' 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:+--+-- 'capacityProvider', 'createCapacityProviderResponse_capacityProvider' - The full description of the new capacity provider.+--+-- 'httpStatus', 'createCapacityProviderResponse_httpStatus' - The response's http status code.+newCreateCapacityProviderResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateCapacityProviderResponse+newCreateCapacityProviderResponse pHttpStatus_ =+ CreateCapacityProviderResponse'+ { capacityProvider =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The full description of the new capacity provider.+createCapacityProviderResponse_capacityProvider :: Lens.Lens' CreateCapacityProviderResponse (Prelude.Maybe CapacityProvider)+createCapacityProviderResponse_capacityProvider = Lens.lens (\CreateCapacityProviderResponse' {capacityProvider} -> capacityProvider) (\s@CreateCapacityProviderResponse' {} a -> s {capacityProvider = a} :: CreateCapacityProviderResponse)++-- | The response's http status code.+createCapacityProviderResponse_httpStatus :: Lens.Lens' CreateCapacityProviderResponse Prelude.Int+createCapacityProviderResponse_httpStatus = Lens.lens (\CreateCapacityProviderResponse' {httpStatus} -> httpStatus) (\s@CreateCapacityProviderResponse' {} a -> s {httpStatus = a} :: CreateCapacityProviderResponse)++instance+ Prelude.NFData+ CreateCapacityProviderResponse+ where+ rnf CreateCapacityProviderResponse' {..} =+ Prelude.rnf capacityProvider+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/CreateCluster.hs view
@@ -0,0 +1,488 @@+{-# 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.ECS.CreateCluster+-- 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 a new Amazon ECS cluster. By default, your account receives a+-- @default@ cluster when you launch your first container instance.+-- However, you can create your own cluster with a unique name with the+-- @CreateCluster@ action.+--+-- When you call the CreateCluster API operation, Amazon ECS attempts to+-- create the Amazon ECS service-linked role for your account. This is so+-- that it can manage required resources in other Amazon Web Services+-- services on your behalf. However, if the IAM user that makes the call+-- doesn\'t have permissions to create the service-linked role, it isn\'t+-- created. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html Using service-linked roles for Amazon ECS>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.CreateCluster+ ( -- * Creating a Request+ CreateCluster (..),+ newCreateCluster,++ -- * Request Lenses+ createCluster_capacityProviders,+ createCluster_clusterName,+ createCluster_configuration,+ createCluster_defaultCapacityProviderStrategy,+ createCluster_serviceConnectDefaults,+ createCluster_settings,+ createCluster_tags,++ -- * Destructuring the Response+ CreateClusterResponse (..),+ newCreateClusterResponse,++ -- * Response Lenses+ createClusterResponse_cluster,+ createClusterResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateCluster' smart constructor.+data CreateCluster = CreateCluster'+ { -- | The short name of one or more capacity providers to associate with the+ -- cluster. A capacity provider must be associated with a cluster before it+ -- can be included as part of the default capacity provider strategy of the+ -- cluster or used in a capacity provider strategy when calling the+ -- CreateService or RunTask actions.+ --+ -- If specifying a capacity provider that uses an Auto Scaling group, the+ -- capacity provider must be created but not associated with another+ -- cluster. New Auto Scaling group capacity providers can be created with+ -- the CreateCapacityProvider API operation.+ --+ -- To use a Fargate capacity provider, specify either the @FARGATE@ or+ -- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+ -- available to all accounts and only need to be associated with a cluster+ -- to be used.+ --+ -- The PutClusterCapacityProviders API operation is used to update the list+ -- of available capacity providers for a cluster after the cluster is+ -- created.+ capacityProviders :: Prelude.Maybe [Prelude.Text],+ -- | The name of your cluster. If you don\'t specify a name for your cluster,+ -- you create a cluster that\'s named @default@. Up to 255 letters+ -- (uppercase and lowercase), numbers, underscores, and hyphens are+ -- allowed.+ clusterName :: Prelude.Maybe Prelude.Text,+ -- | The @execute@ command configuration for the cluster.+ configuration :: Prelude.Maybe ClusterConfiguration,+ -- | The capacity provider strategy to set as the default for the cluster.+ -- After a default capacity provider strategy is set for a cluster, when+ -- you call the RunTask or CreateService APIs with no capacity provider+ -- strategy or launch type specified, the default capacity provider+ -- strategy for the cluster is used.+ --+ -- If a default capacity provider strategy isn\'t defined for a cluster+ -- when it was created, it can be defined later with the+ -- PutClusterCapacityProviders API operation.+ defaultCapacityProviderStrategy :: Prelude.Maybe [CapacityProviderStrategyItem],+ -- | Use this parameter to set a default Service Connect namespace. After you+ -- set a default Service Connect namespace, any new services with Service+ -- Connect turned on that are created in the cluster are added as client+ -- services in the namespace. This setting only applies to new services+ -- that set the @enabled@ parameter to @true@ in the+ -- @ServiceConnectConfiguration@. You can set the namespace of each service+ -- individually in the @ServiceConnectConfiguration@ to override this+ -- default parameter.+ --+ -- Tasks that run in a namespace can use short names to connect to services+ -- in the namespace. Tasks can connect to services across all of the+ -- clusters in the namespace. Tasks connect through a managed proxy+ -- container that collects logs and metrics for increased visibility. Only+ -- the tasks that Amazon ECS services create are supported with Service+ -- Connect. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ serviceConnectDefaults :: Prelude.Maybe ClusterServiceConnectDefaultsRequest,+ -- | The setting to use when creating a cluster. This parameter is used to+ -- turn on CloudWatch Container Insights for a cluster. If this value is+ -- specified, it overrides the @containerInsights@ value set with+ -- PutAccountSetting or PutAccountSettingDefault.+ settings :: Prelude.Maybe [ClusterSetting],+ -- | The metadata that you apply to the cluster to help you categorize and+ -- organize them. Each tag consists of a key and an optional value. You+ -- define both.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateCluster' 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:+--+-- 'capacityProviders', 'createCluster_capacityProviders' - The short name of one or more capacity providers to associate with the+-- cluster. A capacity provider must be associated with a cluster before it+-- can be included as part of the default capacity provider strategy of the+-- cluster or used in a capacity provider strategy when calling the+-- CreateService or RunTask actions.+--+-- If specifying a capacity provider that uses an Auto Scaling group, the+-- capacity provider must be created but not associated with another+-- cluster. New Auto Scaling group capacity providers can be created with+-- the CreateCapacityProvider API operation.+--+-- To use a Fargate capacity provider, specify either the @FARGATE@ or+-- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+-- available to all accounts and only need to be associated with a cluster+-- to be used.+--+-- The PutClusterCapacityProviders API operation is used to update the list+-- of available capacity providers for a cluster after the cluster is+-- created.+--+-- 'clusterName', 'createCluster_clusterName' - The name of your cluster. If you don\'t specify a name for your cluster,+-- you create a cluster that\'s named @default@. Up to 255 letters+-- (uppercase and lowercase), numbers, underscores, and hyphens are+-- allowed.+--+-- 'configuration', 'createCluster_configuration' - The @execute@ command configuration for the cluster.+--+-- 'defaultCapacityProviderStrategy', 'createCluster_defaultCapacityProviderStrategy' - The capacity provider strategy to set as the default for the cluster.+-- After a default capacity provider strategy is set for a cluster, when+-- you call the RunTask or CreateService APIs with no capacity provider+-- strategy or launch type specified, the default capacity provider+-- strategy for the cluster is used.+--+-- If a default capacity provider strategy isn\'t defined for a cluster+-- when it was created, it can be defined later with the+-- PutClusterCapacityProviders API operation.+--+-- 'serviceConnectDefaults', 'createCluster_serviceConnectDefaults' - Use this parameter to set a default Service Connect namespace. After you+-- set a default Service Connect namespace, any new services with Service+-- Connect turned on that are created in the cluster are added as client+-- services in the namespace. This setting only applies to new services+-- that set the @enabled@ parameter to @true@ in the+-- @ServiceConnectConfiguration@. You can set the namespace of each service+-- individually in the @ServiceConnectConfiguration@ to override this+-- default parameter.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'settings', 'createCluster_settings' - The setting to use when creating a cluster. This parameter is used to+-- turn on CloudWatch Container Insights for a cluster. If this value is+-- specified, it overrides the @containerInsights@ value set with+-- PutAccountSetting or PutAccountSettingDefault.+--+-- 'tags', 'createCluster_tags' - The metadata that you apply to the cluster to help you categorize and+-- organize them. Each tag consists of a key and an optional value. You+-- define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+newCreateCluster ::+ CreateCluster+newCreateCluster =+ CreateCluster'+ { capacityProviders = Prelude.Nothing,+ clusterName = Prelude.Nothing,+ configuration = Prelude.Nothing,+ defaultCapacityProviderStrategy = Prelude.Nothing,+ serviceConnectDefaults = Prelude.Nothing,+ settings = Prelude.Nothing,+ tags = Prelude.Nothing+ }++-- | The short name of one or more capacity providers to associate with the+-- cluster. A capacity provider must be associated with a cluster before it+-- can be included as part of the default capacity provider strategy of the+-- cluster or used in a capacity provider strategy when calling the+-- CreateService or RunTask actions.+--+-- If specifying a capacity provider that uses an Auto Scaling group, the+-- capacity provider must be created but not associated with another+-- cluster. New Auto Scaling group capacity providers can be created with+-- the CreateCapacityProvider API operation.+--+-- To use a Fargate capacity provider, specify either the @FARGATE@ or+-- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+-- available to all accounts and only need to be associated with a cluster+-- to be used.+--+-- The PutClusterCapacityProviders API operation is used to update the list+-- of available capacity providers for a cluster after the cluster is+-- created.+createCluster_capacityProviders :: Lens.Lens' CreateCluster (Prelude.Maybe [Prelude.Text])+createCluster_capacityProviders = Lens.lens (\CreateCluster' {capacityProviders} -> capacityProviders) (\s@CreateCluster' {} a -> s {capacityProviders = a} :: CreateCluster) Prelude.. Lens.mapping Lens.coerced++-- | The name of your cluster. If you don\'t specify a name for your cluster,+-- you create a cluster that\'s named @default@. Up to 255 letters+-- (uppercase and lowercase), numbers, underscores, and hyphens are+-- allowed.+createCluster_clusterName :: Lens.Lens' CreateCluster (Prelude.Maybe Prelude.Text)+createCluster_clusterName = Lens.lens (\CreateCluster' {clusterName} -> clusterName) (\s@CreateCluster' {} a -> s {clusterName = a} :: CreateCluster)++-- | The @execute@ command configuration for the cluster.+createCluster_configuration :: Lens.Lens' CreateCluster (Prelude.Maybe ClusterConfiguration)+createCluster_configuration = Lens.lens (\CreateCluster' {configuration} -> configuration) (\s@CreateCluster' {} a -> s {configuration = a} :: CreateCluster)++-- | The capacity provider strategy to set as the default for the cluster.+-- After a default capacity provider strategy is set for a cluster, when+-- you call the RunTask or CreateService APIs with no capacity provider+-- strategy or launch type specified, the default capacity provider+-- strategy for the cluster is used.+--+-- If a default capacity provider strategy isn\'t defined for a cluster+-- when it was created, it can be defined later with the+-- PutClusterCapacityProviders API operation.+createCluster_defaultCapacityProviderStrategy :: Lens.Lens' CreateCluster (Prelude.Maybe [CapacityProviderStrategyItem])+createCluster_defaultCapacityProviderStrategy = Lens.lens (\CreateCluster' {defaultCapacityProviderStrategy} -> defaultCapacityProviderStrategy) (\s@CreateCluster' {} a -> s {defaultCapacityProviderStrategy = a} :: CreateCluster) Prelude.. Lens.mapping Lens.coerced++-- | Use this parameter to set a default Service Connect namespace. After you+-- set a default Service Connect namespace, any new services with Service+-- Connect turned on that are created in the cluster are added as client+-- services in the namespace. This setting only applies to new services+-- that set the @enabled@ parameter to @true@ in the+-- @ServiceConnectConfiguration@. You can set the namespace of each service+-- individually in the @ServiceConnectConfiguration@ to override this+-- default parameter.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+createCluster_serviceConnectDefaults :: Lens.Lens' CreateCluster (Prelude.Maybe ClusterServiceConnectDefaultsRequest)+createCluster_serviceConnectDefaults = Lens.lens (\CreateCluster' {serviceConnectDefaults} -> serviceConnectDefaults) (\s@CreateCluster' {} a -> s {serviceConnectDefaults = a} :: CreateCluster)++-- | The setting to use when creating a cluster. This parameter is used to+-- turn on CloudWatch Container Insights for a cluster. If this value is+-- specified, it overrides the @containerInsights@ value set with+-- PutAccountSetting or PutAccountSettingDefault.+createCluster_settings :: Lens.Lens' CreateCluster (Prelude.Maybe [ClusterSetting])+createCluster_settings = Lens.lens (\CreateCluster' {settings} -> settings) (\s@CreateCluster' {} a -> s {settings = a} :: CreateCluster) Prelude.. Lens.mapping Lens.coerced++-- | The metadata that you apply to the cluster to help you categorize and+-- organize them. Each tag consists of a key and an optional value. You+-- define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+createCluster_tags :: Lens.Lens' CreateCluster (Prelude.Maybe [Tag])+createCluster_tags = Lens.lens (\CreateCluster' {tags} -> tags) (\s@CreateCluster' {} a -> s {tags = a} :: CreateCluster) Prelude.. Lens.mapping Lens.coerced++instance Core.AWSRequest CreateCluster where+ type+ AWSResponse CreateCluster =+ CreateClusterResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateClusterResponse'+ Prelude.<$> (x Data..?> "cluster")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateCluster where+ hashWithSalt _salt CreateCluster' {..} =+ _salt+ `Prelude.hashWithSalt` capacityProviders+ `Prelude.hashWithSalt` clusterName+ `Prelude.hashWithSalt` configuration+ `Prelude.hashWithSalt` defaultCapacityProviderStrategy+ `Prelude.hashWithSalt` serviceConnectDefaults+ `Prelude.hashWithSalt` settings+ `Prelude.hashWithSalt` tags++instance Prelude.NFData CreateCluster where+ rnf CreateCluster' {..} =+ Prelude.rnf capacityProviders+ `Prelude.seq` Prelude.rnf clusterName+ `Prelude.seq` Prelude.rnf configuration+ `Prelude.seq` Prelude.rnf defaultCapacityProviderStrategy+ `Prelude.seq` Prelude.rnf serviceConnectDefaults+ `Prelude.seq` Prelude.rnf settings+ `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders CreateCluster where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.CreateCluster" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateCluster where+ toJSON CreateCluster' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("capacityProviders" Data..=)+ Prelude.<$> capacityProviders,+ ("clusterName" Data..=) Prelude.<$> clusterName,+ ("configuration" Data..=) Prelude.<$> configuration,+ ("defaultCapacityProviderStrategy" Data..=)+ Prelude.<$> defaultCapacityProviderStrategy,+ ("serviceConnectDefaults" Data..=)+ Prelude.<$> serviceConnectDefaults,+ ("settings" Data..=) Prelude.<$> settings,+ ("tags" Data..=) Prelude.<$> tags+ ]+ )++instance Data.ToPath CreateCluster where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateCluster where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateClusterResponse' smart constructor.+data CreateClusterResponse = CreateClusterResponse'+ { -- | The full description of your new cluster.+ cluster :: Prelude.Maybe Cluster,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateClusterResponse' 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:+--+-- 'cluster', 'createClusterResponse_cluster' - The full description of your new cluster.+--+-- 'httpStatus', 'createClusterResponse_httpStatus' - The response's http status code.+newCreateClusterResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateClusterResponse+newCreateClusterResponse pHttpStatus_ =+ CreateClusterResponse'+ { cluster = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The full description of your new cluster.+createClusterResponse_cluster :: Lens.Lens' CreateClusterResponse (Prelude.Maybe Cluster)+createClusterResponse_cluster = Lens.lens (\CreateClusterResponse' {cluster} -> cluster) (\s@CreateClusterResponse' {} a -> s {cluster = a} :: CreateClusterResponse)++-- | The response's http status code.+createClusterResponse_httpStatus :: Lens.Lens' CreateClusterResponse Prelude.Int+createClusterResponse_httpStatus = Lens.lens (\CreateClusterResponse' {httpStatus} -> httpStatus) (\s@CreateClusterResponse' {} a -> s {httpStatus = a} :: CreateClusterResponse)++instance Prelude.NFData CreateClusterResponse where+ rnf CreateClusterResponse' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/CreateService.hs view
@@ -0,0 +1,1286 @@+{-# 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.ECS.CreateService+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Runs and maintains your desired number of tasks from a specified task+-- definition. If the number of tasks running in a service drops below the+-- @desiredCount@, Amazon ECS runs another copy of the task in the+-- specified cluster. To update an existing service, see the UpdateService+-- action.+--+-- In addition to maintaining the desired count of tasks in your service,+-- you can optionally run your service behind one or more load balancers.+-- The load balancers distribute traffic across the tasks that are+-- associated with the service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html Service load balancing>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- Tasks for services that don\'t use a load balancer are considered+-- healthy if they\'re in the @RUNNING@ state. Tasks for services that use+-- a load balancer are considered healthy if they\'re in the @RUNNING@+-- state and are reported as healthy by the load balancer.+--+-- There are two service scheduler strategies available:+--+-- - @REPLICA@ - The replica scheduling strategy places and maintains+-- your desired number of tasks across your cluster. By default, the+-- service scheduler spreads tasks across Availability Zones. You can+-- use task placement strategies and constraints to customize task+-- placement decisions. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html Service scheduler concepts>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- - @DAEMON@ - The daemon scheduling strategy deploys exactly one task+-- on each active container instance that meets all of the task+-- placement constraints that you specify in your cluster. The service+-- scheduler also evaluates the task placement constraints for running+-- tasks. It also stops tasks that don\'t meet the placement+-- constraints. When using this strategy, you don\'t need to specify a+-- desired number of tasks, a task placement strategy, or use Service+-- Auto Scaling policies. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html Service scheduler concepts>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- You can optionally specify a deployment configuration for your service.+-- The deployment is initiated by changing properties. For example, the+-- deployment might be initiated by the task definition or by your desired+-- count of a service. This is done with an UpdateService operation. The+-- default value for a replica service for @minimumHealthyPercent@ is 100%.+-- The default value for a daemon service for @minimumHealthyPercent@ is+-- 0%.+--+-- If a service uses the @ECS@ deployment controller, the minimum healthy+-- percent represents a lower limit on the number of tasks in a service+-- that must remain in the @RUNNING@ state during a deployment.+-- Specifically, it represents it as a percentage of your desired number of+-- tasks (rounded up to the nearest integer). This happens when any of your+-- container instances are in the @DRAINING@ state if the service contains+-- tasks using the EC2 launch type. Using this parameter, you can deploy+-- without using additional cluster capacity. For example, if you set your+-- service to have desired number of four tasks and a minimum healthy+-- percent of 50%, the scheduler might stop two existing tasks to free up+-- cluster capacity before starting two new tasks. If they\'re in the+-- @RUNNING@ state, tasks for services that don\'t use a load balancer are+-- considered healthy . If they\'re in the @RUNNING@ state and reported as+-- healthy by the load balancer, tasks for services that /do/ use a load+-- balancer are considered healthy . The default value for minimum healthy+-- percent is 100%.+--+-- If a service uses the @ECS@ deployment controller, the __maximum+-- percent__ parameter represents an upper limit on the number of tasks in+-- a service that are allowed in the @RUNNING@ or @PENDING@ state during a+-- deployment. Specifically, it represents it as a percentage of the+-- desired number of tasks (rounded down to the nearest integer). This+-- happens when any of your container instances are in the @DRAINING@ state+-- if the service contains tasks using the EC2 launch type. Using this+-- parameter, you can define the deployment batch size. For example, if+-- your service has a desired number of four tasks and a maximum percent+-- value of 200%, the scheduler may start four new tasks before stopping+-- the four older tasks (provided that the cluster resources required to do+-- this are available). The default value for maximum percent is 200%.+--+-- If a service uses either the @CODE_DEPLOY@ or @EXTERNAL@ deployment+-- controller types and tasks that use the EC2 launch type, the __minimum+-- healthy percent__ and __maximum percent__ values are used only to define+-- the lower and upper limit on the number of the tasks in the service that+-- remain in the @RUNNING@ state. This is while the container instances are+-- in the @DRAINING@ state. If the tasks in the service use the Fargate+-- launch type, the minimum healthy percent and maximum percent values+-- aren\'t used. This is the case even if they\'re currently visible when+-- describing your service.+--+-- When creating a service that uses the @EXTERNAL@ deployment controller,+-- you can specify only parameters that aren\'t controlled at the task set+-- level. The only required parameter is the service name. You control your+-- services using the CreateTaskSet operation. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html Amazon ECS deployment types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- When the service scheduler launches new tasks, it determines task+-- placement. For information about task placement and task placement+-- strategies, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html Amazon ECS task placement>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.CreateService+ ( -- * Creating a Request+ CreateService (..),+ newCreateService,++ -- * Request Lenses+ createService_capacityProviderStrategy,+ createService_clientToken,+ createService_cluster,+ createService_deploymentConfiguration,+ createService_deploymentController,+ createService_desiredCount,+ createService_enableECSManagedTags,+ createService_enableExecuteCommand,+ createService_healthCheckGracePeriodSeconds,+ createService_launchType,+ createService_loadBalancers,+ createService_networkConfiguration,+ createService_placementConstraints,+ createService_placementStrategy,+ createService_platformVersion,+ createService_propagateTags,+ createService_role,+ createService_schedulingStrategy,+ createService_serviceConnectConfiguration,+ createService_serviceRegistries,+ createService_tags,+ createService_taskDefinition,+ createService_serviceName,++ -- * Destructuring the Response+ CreateServiceResponse (..),+ newCreateServiceResponse,++ -- * Response Lenses+ createServiceResponse_service,+ createServiceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateService' smart constructor.+data CreateService = CreateService'+ { -- | The capacity provider strategy to use for the service.+ --+ -- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+ -- must be omitted. If no @capacityProviderStrategy@ or @launchType@ is+ -- specified, the @defaultCapacityProviderStrategy@ for the cluster is+ -- used.+ --+ -- A capacity provider strategy may contain a maximum of 6 capacity+ -- providers.+ capacityProviderStrategy :: Prelude.Maybe [CapacityProviderStrategyItem],+ -- | An identifier that you provide to ensure the idempotency of the request.+ -- It must be unique and is case sensitive. Up to 32 ASCII characters are+ -- allowed.+ clientToken :: Prelude.Maybe Prelude.Text,+ -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- you run your service on. If you do not specify a cluster, the default+ -- cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | Optional deployment parameters that control how many tasks run during+ -- the deployment and the ordering of stopping and starting tasks.+ deploymentConfiguration :: Prelude.Maybe DeploymentConfiguration,+ -- | The deployment controller to use for the service. If no deployment+ -- controller is specified, the default value of @ECS@ is used.+ deploymentController :: Prelude.Maybe DeploymentController,+ -- | The number of instantiations of the specified task definition to place+ -- and keep running on your cluster.+ --+ -- This is required if @schedulingStrategy@ is @REPLICA@ or isn\'t+ -- specified. If @schedulingStrategy@ is @DAEMON@ then this isn\'t+ -- required.+ desiredCount :: Prelude.Maybe Prelude.Int,+ -- | Specifies whether to turn on Amazon ECS managed tags for the tasks+ -- within the service. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging your Amazon ECS resources>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ enableECSManagedTags :: Prelude.Maybe Prelude.Bool,+ -- | Determines whether the execute command functionality is enabled for the+ -- service. If @true@, this enables execute command functionality on all+ -- containers in the service tasks.+ enableExecuteCommand :: Prelude.Maybe Prelude.Bool,+ -- | The period of time, in seconds, that the Amazon ECS service scheduler+ -- ignores unhealthy Elastic Load Balancing target health checks after a+ -- task has first started. This is only used when your service is+ -- configured to use a load balancer. If your service has a load balancer+ -- defined and you don\'t specify a health check grace period value, the+ -- default value of @0@ is used.+ --+ -- If you do not use an Elastic Load Balancing, we recommend that you use+ -- the @startPeriod@ in the task definition health check parameters. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html Health check>.+ --+ -- If your service\'s tasks take a while to start and respond to Elastic+ -- Load Balancing health checks, you can specify a health check grace+ -- period of up to 2,147,483,647 seconds (about 69 years). During that+ -- time, the Amazon ECS service scheduler ignores health check status. This+ -- grace period can prevent the service scheduler from marking tasks as+ -- unhealthy and stopping them before they have time to come up.+ healthCheckGracePeriodSeconds :: Prelude.Maybe Prelude.Int,+ -- | The infrastructure that you run your service on. For more information,+ -- see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- The @FARGATE@ launch type runs your tasks on Fargate On-Demand+ -- infrastructure.+ --+ -- Fargate Spot infrastructure is available for use but a capacity provider+ -- strategy must be used. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html Fargate capacity providers>+ -- in the /Amazon ECS User Guide for Fargate/.+ --+ -- The @EC2@ launch type runs your tasks on Amazon EC2 instances registered+ -- to your cluster.+ --+ -- The @EXTERNAL@ launch type runs your tasks on your on-premises server or+ -- virtual machine (VM) capacity registered to your cluster.+ --+ -- A service can use either a launch type or a capacity provider strategy.+ -- If a @launchType@ is specified, the @capacityProviderStrategy@ parameter+ -- must be omitted.+ launchType :: Prelude.Maybe LaunchType,+ -- | A load balancer object representing the load balancers to use with your+ -- service. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html Service load balancing>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- If the service uses the rolling update (@ECS@) deployment controller and+ -- using either an Application Load Balancer or Network Load Balancer, you+ -- must specify one or more target group ARNs to attach to the service. The+ -- service-linked role is required for services that use multiple target+ -- groups. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html Using service-linked roles for Amazon ECS>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- If the service uses the @CODE_DEPLOY@ deployment controller, the service+ -- is required to use either an Application Load Balancer or Network Load+ -- Balancer. When creating an CodeDeploy deployment group, you specify two+ -- target groups (referred to as a @targetGroupPair@). During a deployment,+ -- CodeDeploy determines which task set in your service has the status+ -- @PRIMARY@, and it associates one target group with it. Then, it also+ -- associates the other target group with the replacement task set. The+ -- load balancer can also have up to two listeners: a required listener for+ -- production traffic and an optional listener that you can use to perform+ -- validation tests with Lambda functions before routing production traffic+ -- to it.+ --+ -- If you use the @CODE_DEPLOY@ deployment controller, these values can be+ -- changed when updating the service.+ --+ -- For Application Load Balancers and Network Load Balancers, this object+ -- must contain the load balancer target group ARN, the container name, and+ -- the container port to access from the load balancer. The container name+ -- must be as it appears in a container definition. The load balancer name+ -- parameter must be omitted. When a task from this service is placed on a+ -- container instance, the container instance and port combination is+ -- registered as a target in the target group that\'s specified here.+ --+ -- For Classic Load Balancers, this object must contain the load balancer+ -- name, the container name , and the container port to access from the+ -- load balancer. The container name must be as it appears in a container+ -- definition. The target group ARN parameter must be omitted. When a task+ -- from this service is placed on a container instance, the container+ -- instance is registered with the load balancer that\'s specified here.+ --+ -- Services with tasks that use the @awsvpc@ network mode (for example,+ -- those with the Fargate launch type) only support Application Load+ -- Balancers and Network Load Balancers. Classic Load Balancers aren\'t+ -- supported. Also, when you create any target groups for these services,+ -- you must choose @ip@ as the target type, not @instance@. This is because+ -- tasks that use the @awsvpc@ network mode are associated with an elastic+ -- network interface, not an Amazon EC2 instance.+ loadBalancers :: Prelude.Maybe [LoadBalancer],+ -- | The network configuration for the service. This parameter is required+ -- for task definitions that use the @awsvpc@ network mode to receive their+ -- own elastic network interface, and it isn\'t supported for other network+ -- modes. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task networking>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ networkConfiguration :: Prelude.Maybe NetworkConfiguration,+ -- | An array of placement constraint objects to use for tasks in your+ -- service. You can specify a maximum of 10 constraints for each task. This+ -- limit includes constraints in the task definition and those specified at+ -- runtime.+ placementConstraints :: Prelude.Maybe [PlacementConstraint],+ -- | The placement strategy objects to use for tasks in your service. You can+ -- specify a maximum of 5 strategy rules for each service.+ placementStrategy :: Prelude.Maybe [PlacementStrategy],+ -- | The platform version that your tasks in the service are running on. A+ -- platform version is specified only for tasks using the Fargate launch+ -- type. If one isn\'t specified, the @LATEST@ platform version is used.+ -- For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ platformVersion :: Prelude.Maybe Prelude.Text,+ -- | Specifies whether to propagate the tags from the task definition to the+ -- task. If no value is specified, the tags aren\'t propagated. Tags can+ -- only be propagated to the task during task creation. To add tags to a+ -- task after task creation, use the TagResource API action.+ propagateTags :: Prelude.Maybe PropagateTags,+ -- | The name or full Amazon Resource Name (ARN) of the IAM role that allows+ -- Amazon ECS to make calls to your load balancer on your behalf. This+ -- parameter is only permitted if you are using a load balancer with your+ -- service and your task definition doesn\'t use the @awsvpc@ network mode.+ -- If you specify the @role@ parameter, you must also specify a load+ -- balancer object with the @loadBalancers@ parameter.+ --+ -- If your account has already created the Amazon ECS service-linked role,+ -- that role is used for your service unless you specify a role here. The+ -- service-linked role is required if your task definition uses the+ -- @awsvpc@ network mode or if the service is configured to use service+ -- discovery, an external deployment controller, multiple target groups, or+ -- Elastic Inference accelerators in which case you don\'t specify a role+ -- here. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html Using service-linked roles for Amazon ECS>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- If your specified role has a path other than @\/@, then you must either+ -- specify the full role ARN (this is recommended) or prefix the role name+ -- with the path. For example, if a role with the name @bar@ has a path of+ -- @\/foo\/@ then you would specify @\/foo\/bar@ as the role name. For more+ -- information, see+ -- <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names Friendly names and paths>+ -- in the /IAM User Guide/.+ role' :: Prelude.Maybe Prelude.Text,+ -- | The scheduling strategy to use for the service. For more information,+ -- see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html Services>.+ --+ -- There are two service scheduler strategies available:+ --+ -- - @REPLICA@-The replica scheduling strategy places and maintains the+ -- desired number of tasks across your cluster. By default, the service+ -- scheduler spreads tasks across Availability Zones. You can use task+ -- placement strategies and constraints to customize task placement+ -- decisions. This scheduler strategy is required if the service uses+ -- the @CODE_DEPLOY@ or @EXTERNAL@ deployment controller types.+ --+ -- - @DAEMON@-The daemon scheduling strategy deploys exactly one task on+ -- each active container instance that meets all of the task placement+ -- constraints that you specify in your cluster. The service scheduler+ -- also evaluates the task placement constraints for running tasks and+ -- will stop tasks that don\'t meet the placement constraints. When+ -- you\'re using this strategy, you don\'t need to specify a desired+ -- number of tasks, a task placement strategy, or use Service Auto+ -- Scaling policies.+ --+ -- Tasks using the Fargate launch type or the @CODE_DEPLOY@ or+ -- @EXTERNAL@ deployment controller types don\'t support the @DAEMON@+ -- scheduling strategy.+ schedulingStrategy :: Prelude.Maybe SchedulingStrategy,+ -- | The configuration for this service to discover and connect to services,+ -- and be discovered by, and connected from, other services within a+ -- namespace.+ --+ -- Tasks that run in a namespace can use short names to connect to services+ -- in the namespace. Tasks can connect to services across all of the+ -- clusters in the namespace. Tasks connect through a managed proxy+ -- container that collects logs and metrics for increased visibility. Only+ -- the tasks that Amazon ECS services create are supported with Service+ -- Connect. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ serviceConnectConfiguration :: Prelude.Maybe ServiceConnectConfiguration,+ -- | The details of the service discovery registry to associate with this+ -- service. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service discovery>.+ --+ -- Each service may be associated with one service registry. Multiple+ -- service registries for each service isn\'t supported.+ serviceRegistries :: Prelude.Maybe [ServiceRegistry],+ -- | The metadata that you apply to the service to help you categorize and+ -- organize them. Each tag consists of a key and an optional value, both of+ -- which you define. When a service is deleted, the tags are deleted as+ -- well.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The @family@ and @revision@ (@family:revision@) or full ARN of the task+ -- definition to run in your service. If a @revision@ isn\'t specified, the+ -- latest @ACTIVE@ revision is used.+ --+ -- A task definition must be specified if the service uses either the @ECS@+ -- or @CODE_DEPLOY@ deployment controllers.+ taskDefinition :: Prelude.Maybe Prelude.Text,+ -- | The name of your service. Up to 255 letters (uppercase and lowercase),+ -- numbers, underscores, and hyphens are allowed. Service names must be+ -- unique within a cluster, but you can have similarly named services in+ -- multiple clusters within a Region or across multiple Regions.+ serviceName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateService' 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:+--+-- 'capacityProviderStrategy', 'createService_capacityProviderStrategy' - The capacity provider strategy to use for the service.+--+-- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+-- must be omitted. If no @capacityProviderStrategy@ or @launchType@ is+-- specified, the @defaultCapacityProviderStrategy@ for the cluster is+-- used.+--+-- A capacity provider strategy may contain a maximum of 6 capacity+-- providers.+--+-- 'clientToken', 'createService_clientToken' - An identifier that you provide to ensure the idempotency of the request.+-- It must be unique and is case sensitive. Up to 32 ASCII characters are+-- allowed.+--+-- 'cluster', 'createService_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- you run your service on. If you do not specify a cluster, the default+-- cluster is assumed.+--+-- 'deploymentConfiguration', 'createService_deploymentConfiguration' - Optional deployment parameters that control how many tasks run during+-- the deployment and the ordering of stopping and starting tasks.+--+-- 'deploymentController', 'createService_deploymentController' - The deployment controller to use for the service. If no deployment+-- controller is specified, the default value of @ECS@ is used.+--+-- 'desiredCount', 'createService_desiredCount' - The number of instantiations of the specified task definition to place+-- and keep running on your cluster.+--+-- This is required if @schedulingStrategy@ is @REPLICA@ or isn\'t+-- specified. If @schedulingStrategy@ is @DAEMON@ then this isn\'t+-- required.+--+-- 'enableECSManagedTags', 'createService_enableECSManagedTags' - Specifies whether to turn on Amazon ECS managed tags for the tasks+-- within the service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging your Amazon ECS resources>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'enableExecuteCommand', 'createService_enableExecuteCommand' - Determines whether the execute command functionality is enabled for the+-- service. If @true@, this enables execute command functionality on all+-- containers in the service tasks.+--+-- 'healthCheckGracePeriodSeconds', 'createService_healthCheckGracePeriodSeconds' - The period of time, in seconds, that the Amazon ECS service scheduler+-- ignores unhealthy Elastic Load Balancing target health checks after a+-- task has first started. This is only used when your service is+-- configured to use a load balancer. If your service has a load balancer+-- defined and you don\'t specify a health check grace period value, the+-- default value of @0@ is used.+--+-- If you do not use an Elastic Load Balancing, we recommend that you use+-- the @startPeriod@ in the task definition health check parameters. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html Health check>.+--+-- If your service\'s tasks take a while to start and respond to Elastic+-- Load Balancing health checks, you can specify a health check grace+-- period of up to 2,147,483,647 seconds (about 69 years). During that+-- time, the Amazon ECS service scheduler ignores health check status. This+-- grace period can prevent the service scheduler from marking tasks as+-- unhealthy and stopping them before they have time to come up.+--+-- 'launchType', 'createService_launchType' - The infrastructure that you run your service on. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- The @FARGATE@ launch type runs your tasks on Fargate On-Demand+-- infrastructure.+--+-- Fargate Spot infrastructure is available for use but a capacity provider+-- strategy must be used. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html Fargate capacity providers>+-- in the /Amazon ECS User Guide for Fargate/.+--+-- The @EC2@ launch type runs your tasks on Amazon EC2 instances registered+-- to your cluster.+--+-- The @EXTERNAL@ launch type runs your tasks on your on-premises server or+-- virtual machine (VM) capacity registered to your cluster.+--+-- A service can use either a launch type or a capacity provider strategy.+-- If a @launchType@ is specified, the @capacityProviderStrategy@ parameter+-- must be omitted.+--+-- 'loadBalancers', 'createService_loadBalancers' - A load balancer object representing the load balancers to use with your+-- service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html Service load balancing>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If the service uses the rolling update (@ECS@) deployment controller and+-- using either an Application Load Balancer or Network Load Balancer, you+-- must specify one or more target group ARNs to attach to the service. The+-- service-linked role is required for services that use multiple target+-- groups. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html Using service-linked roles for Amazon ECS>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If the service uses the @CODE_DEPLOY@ deployment controller, the service+-- is required to use either an Application Load Balancer or Network Load+-- Balancer. When creating an CodeDeploy deployment group, you specify two+-- target groups (referred to as a @targetGroupPair@). During a deployment,+-- CodeDeploy determines which task set in your service has the status+-- @PRIMARY@, and it associates one target group with it. Then, it also+-- associates the other target group with the replacement task set. The+-- load balancer can also have up to two listeners: a required listener for+-- production traffic and an optional listener that you can use to perform+-- validation tests with Lambda functions before routing production traffic+-- to it.+--+-- If you use the @CODE_DEPLOY@ deployment controller, these values can be+-- changed when updating the service.+--+-- For Application Load Balancers and Network Load Balancers, this object+-- must contain the load balancer target group ARN, the container name, and+-- the container port to access from the load balancer. The container name+-- must be as it appears in a container definition. The load balancer name+-- parameter must be omitted. When a task from this service is placed on a+-- container instance, the container instance and port combination is+-- registered as a target in the target group that\'s specified here.+--+-- For Classic Load Balancers, this object must contain the load balancer+-- name, the container name , and the container port to access from the+-- load balancer. The container name must be as it appears in a container+-- definition. The target group ARN parameter must be omitted. When a task+-- from this service is placed on a container instance, the container+-- instance is registered with the load balancer that\'s specified here.+--+-- Services with tasks that use the @awsvpc@ network mode (for example,+-- those with the Fargate launch type) only support Application Load+-- Balancers and Network Load Balancers. Classic Load Balancers aren\'t+-- supported. Also, when you create any target groups for these services,+-- you must choose @ip@ as the target type, not @instance@. This is because+-- tasks that use the @awsvpc@ network mode are associated with an elastic+-- network interface, not an Amazon EC2 instance.+--+-- 'networkConfiguration', 'createService_networkConfiguration' - The network configuration for the service. This parameter is required+-- for task definitions that use the @awsvpc@ network mode to receive their+-- own elastic network interface, and it isn\'t supported for other network+-- modes. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task networking>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'placementConstraints', 'createService_placementConstraints' - An array of placement constraint objects to use for tasks in your+-- service. You can specify a maximum of 10 constraints for each task. This+-- limit includes constraints in the task definition and those specified at+-- runtime.+--+-- 'placementStrategy', 'createService_placementStrategy' - The placement strategy objects to use for tasks in your service. You can+-- specify a maximum of 5 strategy rules for each service.+--+-- 'platformVersion', 'createService_platformVersion' - The platform version that your tasks in the service are running on. A+-- platform version is specified only for tasks using the Fargate launch+-- type. If one isn\'t specified, the @LATEST@ platform version is used.+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'propagateTags', 'createService_propagateTags' - Specifies whether to propagate the tags from the task definition to the+-- task. If no value is specified, the tags aren\'t propagated. Tags can+-- only be propagated to the task during task creation. To add tags to a+-- task after task creation, use the TagResource API action.+--+-- 'role'', 'createService_role' - The name or full Amazon Resource Name (ARN) of the IAM role that allows+-- Amazon ECS to make calls to your load balancer on your behalf. This+-- parameter is only permitted if you are using a load balancer with your+-- service and your task definition doesn\'t use the @awsvpc@ network mode.+-- If you specify the @role@ parameter, you must also specify a load+-- balancer object with the @loadBalancers@ parameter.+--+-- If your account has already created the Amazon ECS service-linked role,+-- that role is used for your service unless you specify a role here. The+-- service-linked role is required if your task definition uses the+-- @awsvpc@ network mode or if the service is configured to use service+-- discovery, an external deployment controller, multiple target groups, or+-- Elastic Inference accelerators in which case you don\'t specify a role+-- here. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html Using service-linked roles for Amazon ECS>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If your specified role has a path other than @\/@, then you must either+-- specify the full role ARN (this is recommended) or prefix the role name+-- with the path. For example, if a role with the name @bar@ has a path of+-- @\/foo\/@ then you would specify @\/foo\/bar@ as the role name. For more+-- information, see+-- <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names Friendly names and paths>+-- in the /IAM User Guide/.+--+-- 'schedulingStrategy', 'createService_schedulingStrategy' - The scheduling strategy to use for the service. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html Services>.+--+-- There are two service scheduler strategies available:+--+-- - @REPLICA@-The replica scheduling strategy places and maintains the+-- desired number of tasks across your cluster. By default, the service+-- scheduler spreads tasks across Availability Zones. You can use task+-- placement strategies and constraints to customize task placement+-- decisions. This scheduler strategy is required if the service uses+-- the @CODE_DEPLOY@ or @EXTERNAL@ deployment controller types.+--+-- - @DAEMON@-The daemon scheduling strategy deploys exactly one task on+-- each active container instance that meets all of the task placement+-- constraints that you specify in your cluster. The service scheduler+-- also evaluates the task placement constraints for running tasks and+-- will stop tasks that don\'t meet the placement constraints. When+-- you\'re using this strategy, you don\'t need to specify a desired+-- number of tasks, a task placement strategy, or use Service Auto+-- Scaling policies.+--+-- Tasks using the Fargate launch type or the @CODE_DEPLOY@ or+-- @EXTERNAL@ deployment controller types don\'t support the @DAEMON@+-- scheduling strategy.+--+-- 'serviceConnectConfiguration', 'createService_serviceConnectConfiguration' - The configuration for this service to discover and connect to services,+-- and be discovered by, and connected from, other services within a+-- namespace.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'serviceRegistries', 'createService_serviceRegistries' - The details of the service discovery registry to associate with this+-- service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service discovery>.+--+-- Each service may be associated with one service registry. Multiple+-- service registries for each service isn\'t supported.+--+-- 'tags', 'createService_tags' - The metadata that you apply to the service to help you categorize and+-- organize them. Each tag consists of a key and an optional value, both of+-- which you define. When a service is deleted, the tags are deleted as+-- well.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'taskDefinition', 'createService_taskDefinition' - The @family@ and @revision@ (@family:revision@) or full ARN of the task+-- definition to run in your service. If a @revision@ isn\'t specified, the+-- latest @ACTIVE@ revision is used.+--+-- A task definition must be specified if the service uses either the @ECS@+-- or @CODE_DEPLOY@ deployment controllers.+--+-- 'serviceName', 'createService_serviceName' - The name of your service. Up to 255 letters (uppercase and lowercase),+-- numbers, underscores, and hyphens are allowed. Service names must be+-- unique within a cluster, but you can have similarly named services in+-- multiple clusters within a Region or across multiple Regions.+newCreateService ::+ -- | 'serviceName'+ Prelude.Text ->+ CreateService+newCreateService pServiceName_ =+ CreateService'+ { capacityProviderStrategy =+ Prelude.Nothing,+ clientToken = Prelude.Nothing,+ cluster = Prelude.Nothing,+ deploymentConfiguration = Prelude.Nothing,+ deploymentController = Prelude.Nothing,+ desiredCount = Prelude.Nothing,+ enableECSManagedTags = Prelude.Nothing,+ enableExecuteCommand = Prelude.Nothing,+ healthCheckGracePeriodSeconds = Prelude.Nothing,+ launchType = Prelude.Nothing,+ loadBalancers = Prelude.Nothing,+ networkConfiguration = Prelude.Nothing,+ placementConstraints = Prelude.Nothing,+ placementStrategy = Prelude.Nothing,+ platformVersion = Prelude.Nothing,+ propagateTags = Prelude.Nothing,+ role' = Prelude.Nothing,+ schedulingStrategy = Prelude.Nothing,+ serviceConnectConfiguration = Prelude.Nothing,+ serviceRegistries = Prelude.Nothing,+ tags = Prelude.Nothing,+ taskDefinition = Prelude.Nothing,+ serviceName = pServiceName_+ }++-- | The capacity provider strategy to use for the service.+--+-- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+-- must be omitted. If no @capacityProviderStrategy@ or @launchType@ is+-- specified, the @defaultCapacityProviderStrategy@ for the cluster is+-- used.+--+-- A capacity provider strategy may contain a maximum of 6 capacity+-- providers.+createService_capacityProviderStrategy :: Lens.Lens' CreateService (Prelude.Maybe [CapacityProviderStrategyItem])+createService_capacityProviderStrategy = Lens.lens (\CreateService' {capacityProviderStrategy} -> capacityProviderStrategy) (\s@CreateService' {} a -> s {capacityProviderStrategy = a} :: CreateService) Prelude.. Lens.mapping Lens.coerced++-- | An identifier that you provide to ensure the idempotency of the request.+-- It must be unique and is case sensitive. Up to 32 ASCII characters are+-- allowed.+createService_clientToken :: Lens.Lens' CreateService (Prelude.Maybe Prelude.Text)+createService_clientToken = Lens.lens (\CreateService' {clientToken} -> clientToken) (\s@CreateService' {} a -> s {clientToken = a} :: CreateService)++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- you run your service on. If you do not specify a cluster, the default+-- cluster is assumed.+createService_cluster :: Lens.Lens' CreateService (Prelude.Maybe Prelude.Text)+createService_cluster = Lens.lens (\CreateService' {cluster} -> cluster) (\s@CreateService' {} a -> s {cluster = a} :: CreateService)++-- | Optional deployment parameters that control how many tasks run during+-- the deployment and the ordering of stopping and starting tasks.+createService_deploymentConfiguration :: Lens.Lens' CreateService (Prelude.Maybe DeploymentConfiguration)+createService_deploymentConfiguration = Lens.lens (\CreateService' {deploymentConfiguration} -> deploymentConfiguration) (\s@CreateService' {} a -> s {deploymentConfiguration = a} :: CreateService)++-- | The deployment controller to use for the service. If no deployment+-- controller is specified, the default value of @ECS@ is used.+createService_deploymentController :: Lens.Lens' CreateService (Prelude.Maybe DeploymentController)+createService_deploymentController = Lens.lens (\CreateService' {deploymentController} -> deploymentController) (\s@CreateService' {} a -> s {deploymentController = a} :: CreateService)++-- | The number of instantiations of the specified task definition to place+-- and keep running on your cluster.+--+-- This is required if @schedulingStrategy@ is @REPLICA@ or isn\'t+-- specified. If @schedulingStrategy@ is @DAEMON@ then this isn\'t+-- required.+createService_desiredCount :: Lens.Lens' CreateService (Prelude.Maybe Prelude.Int)+createService_desiredCount = Lens.lens (\CreateService' {desiredCount} -> desiredCount) (\s@CreateService' {} a -> s {desiredCount = a} :: CreateService)++-- | Specifies whether to turn on Amazon ECS managed tags for the tasks+-- within the service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging your Amazon ECS resources>+-- in the /Amazon Elastic Container Service Developer Guide/.+createService_enableECSManagedTags :: Lens.Lens' CreateService (Prelude.Maybe Prelude.Bool)+createService_enableECSManagedTags = Lens.lens (\CreateService' {enableECSManagedTags} -> enableECSManagedTags) (\s@CreateService' {} a -> s {enableECSManagedTags = a} :: CreateService)++-- | Determines whether the execute command functionality is enabled for the+-- service. If @true@, this enables execute command functionality on all+-- containers in the service tasks.+createService_enableExecuteCommand :: Lens.Lens' CreateService (Prelude.Maybe Prelude.Bool)+createService_enableExecuteCommand = Lens.lens (\CreateService' {enableExecuteCommand} -> enableExecuteCommand) (\s@CreateService' {} a -> s {enableExecuteCommand = a} :: CreateService)++-- | The period of time, in seconds, that the Amazon ECS service scheduler+-- ignores unhealthy Elastic Load Balancing target health checks after a+-- task has first started. This is only used when your service is+-- configured to use a load balancer. If your service has a load balancer+-- defined and you don\'t specify a health check grace period value, the+-- default value of @0@ is used.+--+-- If you do not use an Elastic Load Balancing, we recommend that you use+-- the @startPeriod@ in the task definition health check parameters. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html Health check>.+--+-- If your service\'s tasks take a while to start and respond to Elastic+-- Load Balancing health checks, you can specify a health check grace+-- period of up to 2,147,483,647 seconds (about 69 years). During that+-- time, the Amazon ECS service scheduler ignores health check status. This+-- grace period can prevent the service scheduler from marking tasks as+-- unhealthy and stopping them before they have time to come up.+createService_healthCheckGracePeriodSeconds :: Lens.Lens' CreateService (Prelude.Maybe Prelude.Int)+createService_healthCheckGracePeriodSeconds = Lens.lens (\CreateService' {healthCheckGracePeriodSeconds} -> healthCheckGracePeriodSeconds) (\s@CreateService' {} a -> s {healthCheckGracePeriodSeconds = a} :: CreateService)++-- | The infrastructure that you run your service on. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- The @FARGATE@ launch type runs your tasks on Fargate On-Demand+-- infrastructure.+--+-- Fargate Spot infrastructure is available for use but a capacity provider+-- strategy must be used. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html Fargate capacity providers>+-- in the /Amazon ECS User Guide for Fargate/.+--+-- The @EC2@ launch type runs your tasks on Amazon EC2 instances registered+-- to your cluster.+--+-- The @EXTERNAL@ launch type runs your tasks on your on-premises server or+-- virtual machine (VM) capacity registered to your cluster.+--+-- A service can use either a launch type or a capacity provider strategy.+-- If a @launchType@ is specified, the @capacityProviderStrategy@ parameter+-- must be omitted.+createService_launchType :: Lens.Lens' CreateService (Prelude.Maybe LaunchType)+createService_launchType = Lens.lens (\CreateService' {launchType} -> launchType) (\s@CreateService' {} a -> s {launchType = a} :: CreateService)++-- | A load balancer object representing the load balancers to use with your+-- service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html Service load balancing>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If the service uses the rolling update (@ECS@) deployment controller and+-- using either an Application Load Balancer or Network Load Balancer, you+-- must specify one or more target group ARNs to attach to the service. The+-- service-linked role is required for services that use multiple target+-- groups. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html Using service-linked roles for Amazon ECS>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If the service uses the @CODE_DEPLOY@ deployment controller, the service+-- is required to use either an Application Load Balancer or Network Load+-- Balancer. When creating an CodeDeploy deployment group, you specify two+-- target groups (referred to as a @targetGroupPair@). During a deployment,+-- CodeDeploy determines which task set in your service has the status+-- @PRIMARY@, and it associates one target group with it. Then, it also+-- associates the other target group with the replacement task set. The+-- load balancer can also have up to two listeners: a required listener for+-- production traffic and an optional listener that you can use to perform+-- validation tests with Lambda functions before routing production traffic+-- to it.+--+-- If you use the @CODE_DEPLOY@ deployment controller, these values can be+-- changed when updating the service.+--+-- For Application Load Balancers and Network Load Balancers, this object+-- must contain the load balancer target group ARN, the container name, and+-- the container port to access from the load balancer. The container name+-- must be as it appears in a container definition. The load balancer name+-- parameter must be omitted. When a task from this service is placed on a+-- container instance, the container instance and port combination is+-- registered as a target in the target group that\'s specified here.+--+-- For Classic Load Balancers, this object must contain the load balancer+-- name, the container name , and the container port to access from the+-- load balancer. The container name must be as it appears in a container+-- definition. The target group ARN parameter must be omitted. When a task+-- from this service is placed on a container instance, the container+-- instance is registered with the load balancer that\'s specified here.+--+-- Services with tasks that use the @awsvpc@ network mode (for example,+-- those with the Fargate launch type) only support Application Load+-- Balancers and Network Load Balancers. Classic Load Balancers aren\'t+-- supported. Also, when you create any target groups for these services,+-- you must choose @ip@ as the target type, not @instance@. This is because+-- tasks that use the @awsvpc@ network mode are associated with an elastic+-- network interface, not an Amazon EC2 instance.+createService_loadBalancers :: Lens.Lens' CreateService (Prelude.Maybe [LoadBalancer])+createService_loadBalancers = Lens.lens (\CreateService' {loadBalancers} -> loadBalancers) (\s@CreateService' {} a -> s {loadBalancers = a} :: CreateService) Prelude.. Lens.mapping Lens.coerced++-- | The network configuration for the service. This parameter is required+-- for task definitions that use the @awsvpc@ network mode to receive their+-- own elastic network interface, and it isn\'t supported for other network+-- modes. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task networking>+-- in the /Amazon Elastic Container Service Developer Guide/.+createService_networkConfiguration :: Lens.Lens' CreateService (Prelude.Maybe NetworkConfiguration)+createService_networkConfiguration = Lens.lens (\CreateService' {networkConfiguration} -> networkConfiguration) (\s@CreateService' {} a -> s {networkConfiguration = a} :: CreateService)++-- | An array of placement constraint objects to use for tasks in your+-- service. You can specify a maximum of 10 constraints for each task. This+-- limit includes constraints in the task definition and those specified at+-- runtime.+createService_placementConstraints :: Lens.Lens' CreateService (Prelude.Maybe [PlacementConstraint])+createService_placementConstraints = Lens.lens (\CreateService' {placementConstraints} -> placementConstraints) (\s@CreateService' {} a -> s {placementConstraints = a} :: CreateService) Prelude.. Lens.mapping Lens.coerced++-- | The placement strategy objects to use for tasks in your service. You can+-- specify a maximum of 5 strategy rules for each service.+createService_placementStrategy :: Lens.Lens' CreateService (Prelude.Maybe [PlacementStrategy])+createService_placementStrategy = Lens.lens (\CreateService' {placementStrategy} -> placementStrategy) (\s@CreateService' {} a -> s {placementStrategy = a} :: CreateService) Prelude.. Lens.mapping Lens.coerced++-- | The platform version that your tasks in the service are running on. A+-- platform version is specified only for tasks using the Fargate launch+-- type. If one isn\'t specified, the @LATEST@ platform version is used.+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+createService_platformVersion :: Lens.Lens' CreateService (Prelude.Maybe Prelude.Text)+createService_platformVersion = Lens.lens (\CreateService' {platformVersion} -> platformVersion) (\s@CreateService' {} a -> s {platformVersion = a} :: CreateService)++-- | Specifies whether to propagate the tags from the task definition to the+-- task. If no value is specified, the tags aren\'t propagated. Tags can+-- only be propagated to the task during task creation. To add tags to a+-- task after task creation, use the TagResource API action.+createService_propagateTags :: Lens.Lens' CreateService (Prelude.Maybe PropagateTags)+createService_propagateTags = Lens.lens (\CreateService' {propagateTags} -> propagateTags) (\s@CreateService' {} a -> s {propagateTags = a} :: CreateService)++-- | The name or full Amazon Resource Name (ARN) of the IAM role that allows+-- Amazon ECS to make calls to your load balancer on your behalf. This+-- parameter is only permitted if you are using a load balancer with your+-- service and your task definition doesn\'t use the @awsvpc@ network mode.+-- If you specify the @role@ parameter, you must also specify a load+-- balancer object with the @loadBalancers@ parameter.+--+-- If your account has already created the Amazon ECS service-linked role,+-- that role is used for your service unless you specify a role here. The+-- service-linked role is required if your task definition uses the+-- @awsvpc@ network mode or if the service is configured to use service+-- discovery, an external deployment controller, multiple target groups, or+-- Elastic Inference accelerators in which case you don\'t specify a role+-- here. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html Using service-linked roles for Amazon ECS>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If your specified role has a path other than @\/@, then you must either+-- specify the full role ARN (this is recommended) or prefix the role name+-- with the path. For example, if a role with the name @bar@ has a path of+-- @\/foo\/@ then you would specify @\/foo\/bar@ as the role name. For more+-- information, see+-- <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names Friendly names and paths>+-- in the /IAM User Guide/.+createService_role :: Lens.Lens' CreateService (Prelude.Maybe Prelude.Text)+createService_role = Lens.lens (\CreateService' {role'} -> role') (\s@CreateService' {} a -> s {role' = a} :: CreateService)++-- | The scheduling strategy to use for the service. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html Services>.+--+-- There are two service scheduler strategies available:+--+-- - @REPLICA@-The replica scheduling strategy places and maintains the+-- desired number of tasks across your cluster. By default, the service+-- scheduler spreads tasks across Availability Zones. You can use task+-- placement strategies and constraints to customize task placement+-- decisions. This scheduler strategy is required if the service uses+-- the @CODE_DEPLOY@ or @EXTERNAL@ deployment controller types.+--+-- - @DAEMON@-The daemon scheduling strategy deploys exactly one task on+-- each active container instance that meets all of the task placement+-- constraints that you specify in your cluster. The service scheduler+-- also evaluates the task placement constraints for running tasks and+-- will stop tasks that don\'t meet the placement constraints. When+-- you\'re using this strategy, you don\'t need to specify a desired+-- number of tasks, a task placement strategy, or use Service Auto+-- Scaling policies.+--+-- Tasks using the Fargate launch type or the @CODE_DEPLOY@ or+-- @EXTERNAL@ deployment controller types don\'t support the @DAEMON@+-- scheduling strategy.+createService_schedulingStrategy :: Lens.Lens' CreateService (Prelude.Maybe SchedulingStrategy)+createService_schedulingStrategy = Lens.lens (\CreateService' {schedulingStrategy} -> schedulingStrategy) (\s@CreateService' {} a -> s {schedulingStrategy = a} :: CreateService)++-- | The configuration for this service to discover and connect to services,+-- and be discovered by, and connected from, other services within a+-- namespace.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+createService_serviceConnectConfiguration :: Lens.Lens' CreateService (Prelude.Maybe ServiceConnectConfiguration)+createService_serviceConnectConfiguration = Lens.lens (\CreateService' {serviceConnectConfiguration} -> serviceConnectConfiguration) (\s@CreateService' {} a -> s {serviceConnectConfiguration = a} :: CreateService)++-- | The details of the service discovery registry to associate with this+-- service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service discovery>.+--+-- Each service may be associated with one service registry. Multiple+-- service registries for each service isn\'t supported.+createService_serviceRegistries :: Lens.Lens' CreateService (Prelude.Maybe [ServiceRegistry])+createService_serviceRegistries = Lens.lens (\CreateService' {serviceRegistries} -> serviceRegistries) (\s@CreateService' {} a -> s {serviceRegistries = a} :: CreateService) Prelude.. Lens.mapping Lens.coerced++-- | The metadata that you apply to the service to help you categorize and+-- organize them. Each tag consists of a key and an optional value, both of+-- which you define. When a service is deleted, the tags are deleted as+-- well.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+createService_tags :: Lens.Lens' CreateService (Prelude.Maybe [Tag])+createService_tags = Lens.lens (\CreateService' {tags} -> tags) (\s@CreateService' {} a -> s {tags = a} :: CreateService) Prelude.. Lens.mapping Lens.coerced++-- | The @family@ and @revision@ (@family:revision@) or full ARN of the task+-- definition to run in your service. If a @revision@ isn\'t specified, the+-- latest @ACTIVE@ revision is used.+--+-- A task definition must be specified if the service uses either the @ECS@+-- or @CODE_DEPLOY@ deployment controllers.+createService_taskDefinition :: Lens.Lens' CreateService (Prelude.Maybe Prelude.Text)+createService_taskDefinition = Lens.lens (\CreateService' {taskDefinition} -> taskDefinition) (\s@CreateService' {} a -> s {taskDefinition = a} :: CreateService)++-- | The name of your service. Up to 255 letters (uppercase and lowercase),+-- numbers, underscores, and hyphens are allowed. Service names must be+-- unique within a cluster, but you can have similarly named services in+-- multiple clusters within a Region or across multiple Regions.+createService_serviceName :: Lens.Lens' CreateService Prelude.Text+createService_serviceName = Lens.lens (\CreateService' {serviceName} -> serviceName) (\s@CreateService' {} a -> s {serviceName = a} :: CreateService)++instance Core.AWSRequest CreateService where+ type+ AWSResponse CreateService =+ CreateServiceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateServiceResponse'+ Prelude.<$> (x Data..?> "service")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateService where+ hashWithSalt _salt CreateService' {..} =+ _salt+ `Prelude.hashWithSalt` capacityProviderStrategy+ `Prelude.hashWithSalt` clientToken+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` deploymentConfiguration+ `Prelude.hashWithSalt` deploymentController+ `Prelude.hashWithSalt` desiredCount+ `Prelude.hashWithSalt` enableECSManagedTags+ `Prelude.hashWithSalt` enableExecuteCommand+ `Prelude.hashWithSalt` healthCheckGracePeriodSeconds+ `Prelude.hashWithSalt` launchType+ `Prelude.hashWithSalt` loadBalancers+ `Prelude.hashWithSalt` networkConfiguration+ `Prelude.hashWithSalt` placementConstraints+ `Prelude.hashWithSalt` placementStrategy+ `Prelude.hashWithSalt` platformVersion+ `Prelude.hashWithSalt` propagateTags+ `Prelude.hashWithSalt` role'+ `Prelude.hashWithSalt` schedulingStrategy+ `Prelude.hashWithSalt` serviceConnectConfiguration+ `Prelude.hashWithSalt` serviceRegistries+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` taskDefinition+ `Prelude.hashWithSalt` serviceName++instance Prelude.NFData CreateService where+ rnf CreateService' {..} =+ Prelude.rnf capacityProviderStrategy+ `Prelude.seq` Prelude.rnf clientToken+ `Prelude.seq` Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf deploymentConfiguration+ `Prelude.seq` Prelude.rnf deploymentController+ `Prelude.seq` Prelude.rnf desiredCount+ `Prelude.seq` Prelude.rnf enableECSManagedTags+ `Prelude.seq` Prelude.rnf enableExecuteCommand+ `Prelude.seq` Prelude.rnf healthCheckGracePeriodSeconds+ `Prelude.seq` Prelude.rnf launchType+ `Prelude.seq` Prelude.rnf loadBalancers+ `Prelude.seq` Prelude.rnf networkConfiguration+ `Prelude.seq` Prelude.rnf placementConstraints+ `Prelude.seq` Prelude.rnf placementStrategy+ `Prelude.seq` Prelude.rnf platformVersion+ `Prelude.seq` Prelude.rnf propagateTags+ `Prelude.seq` Prelude.rnf role'+ `Prelude.seq` Prelude.rnf schedulingStrategy+ `Prelude.seq` Prelude.rnf+ serviceConnectConfiguration+ `Prelude.seq` Prelude.rnf serviceRegistries+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf taskDefinition+ `Prelude.seq` Prelude.rnf serviceName++instance Data.ToHeaders CreateService where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.CreateService" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateService where+ toJSON CreateService' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("capacityProviderStrategy" Data..=)+ Prelude.<$> capacityProviderStrategy,+ ("clientToken" Data..=) Prelude.<$> clientToken,+ ("cluster" Data..=) Prelude.<$> cluster,+ ("deploymentConfiguration" Data..=)+ Prelude.<$> deploymentConfiguration,+ ("deploymentController" Data..=)+ Prelude.<$> deploymentController,+ ("desiredCount" Data..=) Prelude.<$> desiredCount,+ ("enableECSManagedTags" Data..=)+ Prelude.<$> enableECSManagedTags,+ ("enableExecuteCommand" Data..=)+ Prelude.<$> enableExecuteCommand,+ ("healthCheckGracePeriodSeconds" Data..=)+ Prelude.<$> healthCheckGracePeriodSeconds,+ ("launchType" Data..=) Prelude.<$> launchType,+ ("loadBalancers" Data..=) Prelude.<$> loadBalancers,+ ("networkConfiguration" Data..=)+ Prelude.<$> networkConfiguration,+ ("placementConstraints" Data..=)+ Prelude.<$> placementConstraints,+ ("placementStrategy" Data..=)+ Prelude.<$> placementStrategy,+ ("platformVersion" Data..=)+ Prelude.<$> platformVersion,+ ("propagateTags" Data..=) Prelude.<$> propagateTags,+ ("role" Data..=) Prelude.<$> role',+ ("schedulingStrategy" Data..=)+ Prelude.<$> schedulingStrategy,+ ("serviceConnectConfiguration" Data..=)+ Prelude.<$> serviceConnectConfiguration,+ ("serviceRegistries" Data..=)+ Prelude.<$> serviceRegistries,+ ("tags" Data..=) Prelude.<$> tags,+ ("taskDefinition" Data..=)+ Prelude.<$> taskDefinition,+ Prelude.Just ("serviceName" Data..= serviceName)+ ]+ )++instance Data.ToPath CreateService where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateService where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateServiceResponse' smart constructor.+data CreateServiceResponse = CreateServiceResponse'+ { -- | The full description of your service following the create call.+ --+ -- A service will return either a @capacityProviderStrategy@ or+ -- @launchType@ parameter, but not both, depending where one was specified+ -- when it was created.+ --+ -- If a service is using the @ECS@ deployment controller, the+ -- @deploymentController@ and @taskSets@ parameters will not be returned.+ --+ -- if the service uses the @CODE_DEPLOY@ deployment controller, the+ -- @deploymentController@, @taskSets@ and @deployments@ parameters will be+ -- returned, however the @deployments@ parameter will be an empty list.+ service :: Prelude.Maybe ContainerService,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateServiceResponse' 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:+--+-- 'service', 'createServiceResponse_service' - The full description of your service following the create call.+--+-- A service will return either a @capacityProviderStrategy@ or+-- @launchType@ parameter, but not both, depending where one was specified+-- when it was created.+--+-- If a service is using the @ECS@ deployment controller, the+-- @deploymentController@ and @taskSets@ parameters will not be returned.+--+-- if the service uses the @CODE_DEPLOY@ deployment controller, the+-- @deploymentController@, @taskSets@ and @deployments@ parameters will be+-- returned, however the @deployments@ parameter will be an empty list.+--+-- 'httpStatus', 'createServiceResponse_httpStatus' - The response's http status code.+newCreateServiceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateServiceResponse+newCreateServiceResponse pHttpStatus_ =+ CreateServiceResponse'+ { service = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The full description of your service following the create call.+--+-- A service will return either a @capacityProviderStrategy@ or+-- @launchType@ parameter, but not both, depending where one was specified+-- when it was created.+--+-- If a service is using the @ECS@ deployment controller, the+-- @deploymentController@ and @taskSets@ parameters will not be returned.+--+-- if the service uses the @CODE_DEPLOY@ deployment controller, the+-- @deploymentController@, @taskSets@ and @deployments@ parameters will be+-- returned, however the @deployments@ parameter will be an empty list.+createServiceResponse_service :: Lens.Lens' CreateServiceResponse (Prelude.Maybe ContainerService)+createServiceResponse_service = Lens.lens (\CreateServiceResponse' {service} -> service) (\s@CreateServiceResponse' {} a -> s {service = a} :: CreateServiceResponse)++-- | The response's http status code.+createServiceResponse_httpStatus :: Lens.Lens' CreateServiceResponse Prelude.Int+createServiceResponse_httpStatus = Lens.lens (\CreateServiceResponse' {httpStatus} -> httpStatus) (\s@CreateServiceResponse' {} a -> s {httpStatus = a} :: CreateServiceResponse)++instance Prelude.NFData CreateServiceResponse where+ rnf CreateServiceResponse' {..} =+ Prelude.rnf service+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/CreateTaskSet.hs view
@@ -0,0 +1,570 @@+{-# 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.ECS.CreateTaskSet+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Create a task set in the specified cluster and service. This is used+-- when a service uses the @EXTERNAL@ deployment controller type. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html Amazon ECS deployment types>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.CreateTaskSet+ ( -- * Creating a Request+ CreateTaskSet (..),+ newCreateTaskSet,++ -- * Request Lenses+ createTaskSet_capacityProviderStrategy,+ createTaskSet_clientToken,+ createTaskSet_externalId,+ createTaskSet_launchType,+ createTaskSet_loadBalancers,+ createTaskSet_networkConfiguration,+ createTaskSet_platformVersion,+ createTaskSet_scale,+ createTaskSet_serviceRegistries,+ createTaskSet_tags,+ createTaskSet_service,+ createTaskSet_cluster,+ createTaskSet_taskDefinition,++ -- * Destructuring the Response+ CreateTaskSetResponse (..),+ newCreateTaskSetResponse,++ -- * Response Lenses+ createTaskSetResponse_taskSet,+ createTaskSetResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateTaskSet' smart constructor.+data CreateTaskSet = CreateTaskSet'+ { -- | The capacity provider strategy to use for the task set.+ --+ -- A capacity provider strategy consists of one or more capacity providers+ -- along with the @base@ and @weight@ to assign to them. A capacity+ -- provider must be associated with the cluster to be used in a capacity+ -- provider strategy. The PutClusterCapacityProviders API is used to+ -- associate a capacity provider with a cluster. Only capacity providers+ -- with an @ACTIVE@ or @UPDATING@ status can be used.+ --+ -- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+ -- must be omitted. If no @capacityProviderStrategy@ or @launchType@ is+ -- specified, the @defaultCapacityProviderStrategy@ for the cluster is+ -- used.+ --+ -- If specifying a capacity provider that uses an Auto Scaling group, the+ -- capacity provider must already be created. New capacity providers can be+ -- created with the CreateCapacityProvider API operation.+ --+ -- To use a Fargate capacity provider, specify either the @FARGATE@ or+ -- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+ -- available to all accounts and only need to be associated with a cluster+ -- to be used.+ --+ -- The PutClusterCapacityProviders API operation is used to update the list+ -- of available capacity providers for a cluster after the cluster is+ -- created.+ capacityProviderStrategy :: Prelude.Maybe [CapacityProviderStrategyItem],+ -- | The identifier that you provide to ensure the idempotency of the+ -- request. It\'s case sensitive and must be unique. It can be up to 32+ -- ASCII characters are allowed.+ clientToken :: Prelude.Maybe Prelude.Text,+ -- | An optional non-unique tag that identifies this task set in external+ -- systems. If the task set is associated with a service discovery+ -- registry, the tasks in this task set will have the+ -- @ECS_TASK_SET_EXTERNAL_ID@ Cloud Map attribute set to the provided+ -- value.+ externalId :: Prelude.Maybe Prelude.Text,+ -- | The launch type that new tasks in the task set uses. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- If a @launchType@ is specified, the @capacityProviderStrategy@ parameter+ -- must be omitted.+ launchType :: Prelude.Maybe LaunchType,+ -- | A load balancer object representing the load balancer to use with the+ -- task set. The supported load balancer types are either an Application+ -- Load Balancer or a Network Load Balancer.+ loadBalancers :: Prelude.Maybe [LoadBalancer],+ -- | An object representing the network configuration for a task set.+ networkConfiguration :: Prelude.Maybe NetworkConfiguration,+ -- | The platform version that the tasks in the task set uses. A platform+ -- version is specified only for tasks using the Fargate launch type. If+ -- one isn\'t specified, the @LATEST@ platform version is used.+ platformVersion :: Prelude.Maybe Prelude.Text,+ -- | A floating-point percentage of the desired number of tasks to place and+ -- keep running in the task set.+ scale :: Prelude.Maybe Scale,+ -- | The details of the service discovery registries to assign to this task+ -- set. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service discovery>.+ serviceRegistries :: Prelude.Maybe [ServiceRegistry],+ -- | The metadata that you apply to the task set to help you categorize and+ -- organize them. Each tag consists of a key and an optional value. You+ -- define both. When a service is deleted, the tags are deleted.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The short name or full Amazon Resource Name (ARN) of the service to+ -- create the task set in.+ service :: Prelude.Text,+ -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the service to create the task set in.+ cluster :: Prelude.Text,+ -- | The task definition for the tasks in the task set to use.+ taskDefinition :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateTaskSet' 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:+--+-- 'capacityProviderStrategy', 'createTaskSet_capacityProviderStrategy' - The capacity provider strategy to use for the task set.+--+-- A capacity provider strategy consists of one or more capacity providers+-- along with the @base@ and @weight@ to assign to them. A capacity+-- provider must be associated with the cluster to be used in a capacity+-- provider strategy. The PutClusterCapacityProviders API is used to+-- associate a capacity provider with a cluster. Only capacity providers+-- with an @ACTIVE@ or @UPDATING@ status can be used.+--+-- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+-- must be omitted. If no @capacityProviderStrategy@ or @launchType@ is+-- specified, the @defaultCapacityProviderStrategy@ for the cluster is+-- used.+--+-- If specifying a capacity provider that uses an Auto Scaling group, the+-- capacity provider must already be created. New capacity providers can be+-- created with the CreateCapacityProvider API operation.+--+-- To use a Fargate capacity provider, specify either the @FARGATE@ or+-- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+-- available to all accounts and only need to be associated with a cluster+-- to be used.+--+-- The PutClusterCapacityProviders API operation is used to update the list+-- of available capacity providers for a cluster after the cluster is+-- created.+--+-- 'clientToken', 'createTaskSet_clientToken' - The identifier that you provide to ensure the idempotency of the+-- request. It\'s case sensitive and must be unique. It can be up to 32+-- ASCII characters are allowed.+--+-- 'externalId', 'createTaskSet_externalId' - An optional non-unique tag that identifies this task set in external+-- systems. If the task set is associated with a service discovery+-- registry, the tasks in this task set will have the+-- @ECS_TASK_SET_EXTERNAL_ID@ Cloud Map attribute set to the provided+-- value.+--+-- 'launchType', 'createTaskSet_launchType' - The launch type that new tasks in the task set uses. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If a @launchType@ is specified, the @capacityProviderStrategy@ parameter+-- must be omitted.+--+-- 'loadBalancers', 'createTaskSet_loadBalancers' - A load balancer object representing the load balancer to use with the+-- task set. The supported load balancer types are either an Application+-- Load Balancer or a Network Load Balancer.+--+-- 'networkConfiguration', 'createTaskSet_networkConfiguration' - An object representing the network configuration for a task set.+--+-- 'platformVersion', 'createTaskSet_platformVersion' - The platform version that the tasks in the task set uses. A platform+-- version is specified only for tasks using the Fargate launch type. If+-- one isn\'t specified, the @LATEST@ platform version is used.+--+-- 'scale', 'createTaskSet_scale' - A floating-point percentage of the desired number of tasks to place and+-- keep running in the task set.+--+-- 'serviceRegistries', 'createTaskSet_serviceRegistries' - The details of the service discovery registries to assign to this task+-- set. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service discovery>.+--+-- 'tags', 'createTaskSet_tags' - The metadata that you apply to the task set to help you categorize and+-- organize them. Each tag consists of a key and an optional value. You+-- define both. When a service is deleted, the tags are deleted.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'service', 'createTaskSet_service' - The short name or full Amazon Resource Name (ARN) of the service to+-- create the task set in.+--+-- 'cluster', 'createTaskSet_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service to create the task set in.+--+-- 'taskDefinition', 'createTaskSet_taskDefinition' - The task definition for the tasks in the task set to use.+newCreateTaskSet ::+ -- | 'service'+ Prelude.Text ->+ -- | 'cluster'+ Prelude.Text ->+ -- | 'taskDefinition'+ Prelude.Text ->+ CreateTaskSet+newCreateTaskSet pService_ pCluster_ pTaskDefinition_ =+ CreateTaskSet'+ { capacityProviderStrategy =+ Prelude.Nothing,+ clientToken = Prelude.Nothing,+ externalId = Prelude.Nothing,+ launchType = Prelude.Nothing,+ loadBalancers = Prelude.Nothing,+ networkConfiguration = Prelude.Nothing,+ platformVersion = Prelude.Nothing,+ scale = Prelude.Nothing,+ serviceRegistries = Prelude.Nothing,+ tags = Prelude.Nothing,+ service = pService_,+ cluster = pCluster_,+ taskDefinition = pTaskDefinition_+ }++-- | The capacity provider strategy to use for the task set.+--+-- A capacity provider strategy consists of one or more capacity providers+-- along with the @base@ and @weight@ to assign to them. A capacity+-- provider must be associated with the cluster to be used in a capacity+-- provider strategy. The PutClusterCapacityProviders API is used to+-- associate a capacity provider with a cluster. Only capacity providers+-- with an @ACTIVE@ or @UPDATING@ status can be used.+--+-- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+-- must be omitted. If no @capacityProviderStrategy@ or @launchType@ is+-- specified, the @defaultCapacityProviderStrategy@ for the cluster is+-- used.+--+-- If specifying a capacity provider that uses an Auto Scaling group, the+-- capacity provider must already be created. New capacity providers can be+-- created with the CreateCapacityProvider API operation.+--+-- To use a Fargate capacity provider, specify either the @FARGATE@ or+-- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+-- available to all accounts and only need to be associated with a cluster+-- to be used.+--+-- The PutClusterCapacityProviders API operation is used to update the list+-- of available capacity providers for a cluster after the cluster is+-- created.+createTaskSet_capacityProviderStrategy :: Lens.Lens' CreateTaskSet (Prelude.Maybe [CapacityProviderStrategyItem])+createTaskSet_capacityProviderStrategy = Lens.lens (\CreateTaskSet' {capacityProviderStrategy} -> capacityProviderStrategy) (\s@CreateTaskSet' {} a -> s {capacityProviderStrategy = a} :: CreateTaskSet) Prelude.. Lens.mapping Lens.coerced++-- | The identifier that you provide to ensure the idempotency of the+-- request. It\'s case sensitive and must be unique. It can be up to 32+-- ASCII characters are allowed.+createTaskSet_clientToken :: Lens.Lens' CreateTaskSet (Prelude.Maybe Prelude.Text)+createTaskSet_clientToken = Lens.lens (\CreateTaskSet' {clientToken} -> clientToken) (\s@CreateTaskSet' {} a -> s {clientToken = a} :: CreateTaskSet)++-- | An optional non-unique tag that identifies this task set in external+-- systems. If the task set is associated with a service discovery+-- registry, the tasks in this task set will have the+-- @ECS_TASK_SET_EXTERNAL_ID@ Cloud Map attribute set to the provided+-- value.+createTaskSet_externalId :: Lens.Lens' CreateTaskSet (Prelude.Maybe Prelude.Text)+createTaskSet_externalId = Lens.lens (\CreateTaskSet' {externalId} -> externalId) (\s@CreateTaskSet' {} a -> s {externalId = a} :: CreateTaskSet)++-- | The launch type that new tasks in the task set uses. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If a @launchType@ is specified, the @capacityProviderStrategy@ parameter+-- must be omitted.+createTaskSet_launchType :: Lens.Lens' CreateTaskSet (Prelude.Maybe LaunchType)+createTaskSet_launchType = Lens.lens (\CreateTaskSet' {launchType} -> launchType) (\s@CreateTaskSet' {} a -> s {launchType = a} :: CreateTaskSet)++-- | A load balancer object representing the load balancer to use with the+-- task set. The supported load balancer types are either an Application+-- Load Balancer or a Network Load Balancer.+createTaskSet_loadBalancers :: Lens.Lens' CreateTaskSet (Prelude.Maybe [LoadBalancer])+createTaskSet_loadBalancers = Lens.lens (\CreateTaskSet' {loadBalancers} -> loadBalancers) (\s@CreateTaskSet' {} a -> s {loadBalancers = a} :: CreateTaskSet) Prelude.. Lens.mapping Lens.coerced++-- | An object representing the network configuration for a task set.+createTaskSet_networkConfiguration :: Lens.Lens' CreateTaskSet (Prelude.Maybe NetworkConfiguration)+createTaskSet_networkConfiguration = Lens.lens (\CreateTaskSet' {networkConfiguration} -> networkConfiguration) (\s@CreateTaskSet' {} a -> s {networkConfiguration = a} :: CreateTaskSet)++-- | The platform version that the tasks in the task set uses. A platform+-- version is specified only for tasks using the Fargate launch type. If+-- one isn\'t specified, the @LATEST@ platform version is used.+createTaskSet_platformVersion :: Lens.Lens' CreateTaskSet (Prelude.Maybe Prelude.Text)+createTaskSet_platformVersion = Lens.lens (\CreateTaskSet' {platformVersion} -> platformVersion) (\s@CreateTaskSet' {} a -> s {platformVersion = a} :: CreateTaskSet)++-- | A floating-point percentage of the desired number of tasks to place and+-- keep running in the task set.+createTaskSet_scale :: Lens.Lens' CreateTaskSet (Prelude.Maybe Scale)+createTaskSet_scale = Lens.lens (\CreateTaskSet' {scale} -> scale) (\s@CreateTaskSet' {} a -> s {scale = a} :: CreateTaskSet)++-- | The details of the service discovery registries to assign to this task+-- set. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service discovery>.+createTaskSet_serviceRegistries :: Lens.Lens' CreateTaskSet (Prelude.Maybe [ServiceRegistry])+createTaskSet_serviceRegistries = Lens.lens (\CreateTaskSet' {serviceRegistries} -> serviceRegistries) (\s@CreateTaskSet' {} a -> s {serviceRegistries = a} :: CreateTaskSet) Prelude.. Lens.mapping Lens.coerced++-- | The metadata that you apply to the task set to help you categorize and+-- organize them. Each tag consists of a key and an optional value. You+-- define both. When a service is deleted, the tags are deleted.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+createTaskSet_tags :: Lens.Lens' CreateTaskSet (Prelude.Maybe [Tag])+createTaskSet_tags = Lens.lens (\CreateTaskSet' {tags} -> tags) (\s@CreateTaskSet' {} a -> s {tags = a} :: CreateTaskSet) Prelude.. Lens.mapping Lens.coerced++-- | The short name or full Amazon Resource Name (ARN) of the service to+-- create the task set in.+createTaskSet_service :: Lens.Lens' CreateTaskSet Prelude.Text+createTaskSet_service = Lens.lens (\CreateTaskSet' {service} -> service) (\s@CreateTaskSet' {} a -> s {service = a} :: CreateTaskSet)++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service to create the task set in.+createTaskSet_cluster :: Lens.Lens' CreateTaskSet Prelude.Text+createTaskSet_cluster = Lens.lens (\CreateTaskSet' {cluster} -> cluster) (\s@CreateTaskSet' {} a -> s {cluster = a} :: CreateTaskSet)++-- | The task definition for the tasks in the task set to use.+createTaskSet_taskDefinition :: Lens.Lens' CreateTaskSet Prelude.Text+createTaskSet_taskDefinition = Lens.lens (\CreateTaskSet' {taskDefinition} -> taskDefinition) (\s@CreateTaskSet' {} a -> s {taskDefinition = a} :: CreateTaskSet)++instance Core.AWSRequest CreateTaskSet where+ type+ AWSResponse CreateTaskSet =+ CreateTaskSetResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateTaskSetResponse'+ Prelude.<$> (x Data..?> "taskSet")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateTaskSet where+ hashWithSalt _salt CreateTaskSet' {..} =+ _salt+ `Prelude.hashWithSalt` capacityProviderStrategy+ `Prelude.hashWithSalt` clientToken+ `Prelude.hashWithSalt` externalId+ `Prelude.hashWithSalt` launchType+ `Prelude.hashWithSalt` loadBalancers+ `Prelude.hashWithSalt` networkConfiguration+ `Prelude.hashWithSalt` platformVersion+ `Prelude.hashWithSalt` scale+ `Prelude.hashWithSalt` serviceRegistries+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` service+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` taskDefinition++instance Prelude.NFData CreateTaskSet where+ rnf CreateTaskSet' {..} =+ Prelude.rnf capacityProviderStrategy+ `Prelude.seq` Prelude.rnf clientToken+ `Prelude.seq` Prelude.rnf externalId+ `Prelude.seq` Prelude.rnf launchType+ `Prelude.seq` Prelude.rnf loadBalancers+ `Prelude.seq` Prelude.rnf networkConfiguration+ `Prelude.seq` Prelude.rnf platformVersion+ `Prelude.seq` Prelude.rnf scale+ `Prelude.seq` Prelude.rnf serviceRegistries+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf service+ `Prelude.seq` Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf taskDefinition++instance Data.ToHeaders CreateTaskSet where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.CreateTaskSet" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateTaskSet where+ toJSON CreateTaskSet' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("capacityProviderStrategy" Data..=)+ Prelude.<$> capacityProviderStrategy,+ ("clientToken" Data..=) Prelude.<$> clientToken,+ ("externalId" Data..=) Prelude.<$> externalId,+ ("launchType" Data..=) Prelude.<$> launchType,+ ("loadBalancers" Data..=) Prelude.<$> loadBalancers,+ ("networkConfiguration" Data..=)+ Prelude.<$> networkConfiguration,+ ("platformVersion" Data..=)+ Prelude.<$> platformVersion,+ ("scale" Data..=) Prelude.<$> scale,+ ("serviceRegistries" Data..=)+ Prelude.<$> serviceRegistries,+ ("tags" Data..=) Prelude.<$> tags,+ Prelude.Just ("service" Data..= service),+ Prelude.Just ("cluster" Data..= cluster),+ Prelude.Just+ ("taskDefinition" Data..= taskDefinition)+ ]+ )++instance Data.ToPath CreateTaskSet where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateTaskSet where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateTaskSetResponse' smart constructor.+data CreateTaskSetResponse = CreateTaskSetResponse'+ { -- | Information about a set of Amazon ECS tasks in either an CodeDeploy or+ -- an @EXTERNAL@ deployment. A task set includes details such as the+ -- desired number of tasks, how many tasks are running, and whether the+ -- task set serves production traffic.+ taskSet :: Prelude.Maybe TaskSet,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateTaskSetResponse' 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:+--+-- 'taskSet', 'createTaskSetResponse_taskSet' - Information about a set of Amazon ECS tasks in either an CodeDeploy or+-- an @EXTERNAL@ deployment. A task set includes details such as the+-- desired number of tasks, how many tasks are running, and whether the+-- task set serves production traffic.+--+-- 'httpStatus', 'createTaskSetResponse_httpStatus' - The response's http status code.+newCreateTaskSetResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateTaskSetResponse+newCreateTaskSetResponse pHttpStatus_ =+ CreateTaskSetResponse'+ { taskSet = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Information about a set of Amazon ECS tasks in either an CodeDeploy or+-- an @EXTERNAL@ deployment. A task set includes details such as the+-- desired number of tasks, how many tasks are running, and whether the+-- task set serves production traffic.+createTaskSetResponse_taskSet :: Lens.Lens' CreateTaskSetResponse (Prelude.Maybe TaskSet)+createTaskSetResponse_taskSet = Lens.lens (\CreateTaskSetResponse' {taskSet} -> taskSet) (\s@CreateTaskSetResponse' {} a -> s {taskSet = a} :: CreateTaskSetResponse)++-- | The response's http status code.+createTaskSetResponse_httpStatus :: Lens.Lens' CreateTaskSetResponse Prelude.Int+createTaskSetResponse_httpStatus = Lens.lens (\CreateTaskSetResponse' {httpStatus} -> httpStatus) (\s@CreateTaskSetResponse' {} a -> s {httpStatus = a} :: CreateTaskSetResponse)++instance Prelude.NFData CreateTaskSetResponse where+ rnf CreateTaskSetResponse' {..} =+ Prelude.rnf taskSet+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DeleteAccountSetting.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.ECS.DeleteAccountSetting+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Disables an account setting for a specified IAM user, IAM role, or the+-- root user for an account.+module Amazonka.ECS.DeleteAccountSetting+ ( -- * Creating a Request+ DeleteAccountSetting (..),+ newDeleteAccountSetting,++ -- * Request Lenses+ deleteAccountSetting_principalArn,+ deleteAccountSetting_name,++ -- * Destructuring the Response+ DeleteAccountSettingResponse (..),+ newDeleteAccountSettingResponse,++ -- * Response Lenses+ deleteAccountSettingResponse_setting,+ deleteAccountSettingResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteAccountSetting' smart constructor.+data DeleteAccountSetting = DeleteAccountSetting'+ { -- | The Amazon Resource Name (ARN) of the principal. It can be an IAM user,+ -- IAM role, or the root user. If you specify the root user, it disables+ -- the account setting for all IAM users, IAM roles, and the root user of+ -- the account unless an IAM user or role explicitly overrides these+ -- settings. If this field is omitted, the setting is changed only for the+ -- authenticated user.+ principalArn :: Prelude.Maybe Prelude.Text,+ -- | The resource name to disable the account setting for. If+ -- @serviceLongArnFormat@ is specified, the ARN for your Amazon ECS+ -- services is affected. If @taskLongArnFormat@ is specified, the ARN and+ -- resource ID for your Amazon ECS tasks is affected. If+ -- @containerInstanceLongArnFormat@ is specified, the ARN and resource ID+ -- for your Amazon ECS container instances is affected. If @awsvpcTrunking@+ -- is specified, the ENI limit for your Amazon ECS container instances is+ -- affected.+ name :: SettingName+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteAccountSetting' 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:+--+-- 'principalArn', 'deleteAccountSetting_principalArn' - The Amazon Resource Name (ARN) of the principal. It can be an IAM user,+-- IAM role, or the root user. If you specify the root user, it disables+-- the account setting for all IAM users, IAM roles, and the root user of+-- the account unless an IAM user or role explicitly overrides these+-- settings. If this field is omitted, the setting is changed only for the+-- authenticated user.+--+-- 'name', 'deleteAccountSetting_name' - The resource name to disable the account setting for. If+-- @serviceLongArnFormat@ is specified, the ARN for your Amazon ECS+-- services is affected. If @taskLongArnFormat@ is specified, the ARN and+-- resource ID for your Amazon ECS tasks is affected. If+-- @containerInstanceLongArnFormat@ is specified, the ARN and resource ID+-- for your Amazon ECS container instances is affected. If @awsvpcTrunking@+-- is specified, the ENI limit for your Amazon ECS container instances is+-- affected.+newDeleteAccountSetting ::+ -- | 'name'+ SettingName ->+ DeleteAccountSetting+newDeleteAccountSetting pName_ =+ DeleteAccountSetting'+ { principalArn =+ Prelude.Nothing,+ name = pName_+ }++-- | The Amazon Resource Name (ARN) of the principal. It can be an IAM user,+-- IAM role, or the root user. If you specify the root user, it disables+-- the account setting for all IAM users, IAM roles, and the root user of+-- the account unless an IAM user or role explicitly overrides these+-- settings. If this field is omitted, the setting is changed only for the+-- authenticated user.+deleteAccountSetting_principalArn :: Lens.Lens' DeleteAccountSetting (Prelude.Maybe Prelude.Text)+deleteAccountSetting_principalArn = Lens.lens (\DeleteAccountSetting' {principalArn} -> principalArn) (\s@DeleteAccountSetting' {} a -> s {principalArn = a} :: DeleteAccountSetting)++-- | The resource name to disable the account setting for. If+-- @serviceLongArnFormat@ is specified, the ARN for your Amazon ECS+-- services is affected. If @taskLongArnFormat@ is specified, the ARN and+-- resource ID for your Amazon ECS tasks is affected. If+-- @containerInstanceLongArnFormat@ is specified, the ARN and resource ID+-- for your Amazon ECS container instances is affected. If @awsvpcTrunking@+-- is specified, the ENI limit for your Amazon ECS container instances is+-- affected.+deleteAccountSetting_name :: Lens.Lens' DeleteAccountSetting SettingName+deleteAccountSetting_name = Lens.lens (\DeleteAccountSetting' {name} -> name) (\s@DeleteAccountSetting' {} a -> s {name = a} :: DeleteAccountSetting)++instance Core.AWSRequest DeleteAccountSetting where+ type+ AWSResponse DeleteAccountSetting =+ DeleteAccountSettingResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteAccountSettingResponse'+ Prelude.<$> (x Data..?> "setting")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteAccountSetting where+ hashWithSalt _salt DeleteAccountSetting' {..} =+ _salt+ `Prelude.hashWithSalt` principalArn+ `Prelude.hashWithSalt` name++instance Prelude.NFData DeleteAccountSetting where+ rnf DeleteAccountSetting' {..} =+ Prelude.rnf principalArn+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders DeleteAccountSetting where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DeleteAccountSetting" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteAccountSetting where+ toJSON DeleteAccountSetting' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("principalArn" Data..=) Prelude.<$> principalArn,+ Prelude.Just ("name" Data..= name)+ ]+ )++instance Data.ToPath DeleteAccountSetting where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteAccountSetting where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteAccountSettingResponse' smart constructor.+data DeleteAccountSettingResponse = DeleteAccountSettingResponse'+ { -- | The account setting for the specified principal ARN.+ setting :: Prelude.Maybe Setting,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteAccountSettingResponse' 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:+--+-- 'setting', 'deleteAccountSettingResponse_setting' - The account setting for the specified principal ARN.+--+-- 'httpStatus', 'deleteAccountSettingResponse_httpStatus' - The response's http status code.+newDeleteAccountSettingResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteAccountSettingResponse+newDeleteAccountSettingResponse pHttpStatus_ =+ DeleteAccountSettingResponse'+ { setting =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The account setting for the specified principal ARN.+deleteAccountSettingResponse_setting :: Lens.Lens' DeleteAccountSettingResponse (Prelude.Maybe Setting)+deleteAccountSettingResponse_setting = Lens.lens (\DeleteAccountSettingResponse' {setting} -> setting) (\s@DeleteAccountSettingResponse' {} a -> s {setting = a} :: DeleteAccountSettingResponse)++-- | The response's http status code.+deleteAccountSettingResponse_httpStatus :: Lens.Lens' DeleteAccountSettingResponse Prelude.Int+deleteAccountSettingResponse_httpStatus = Lens.lens (\DeleteAccountSettingResponse' {httpStatus} -> httpStatus) (\s@DeleteAccountSettingResponse' {} a -> s {httpStatus = a} :: DeleteAccountSettingResponse)++instance Prelude.NFData DeleteAccountSettingResponse where+ rnf DeleteAccountSettingResponse' {..} =+ Prelude.rnf setting+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DeleteAttributes.hs view
@@ -0,0 +1,205 @@+{-# 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.ECS.DeleteAttributes+-- 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 one or more custom attributes from an Amazon ECS resource.+module Amazonka.ECS.DeleteAttributes+ ( -- * Creating a Request+ DeleteAttributes (..),+ newDeleteAttributes,++ -- * Request Lenses+ deleteAttributes_cluster,+ deleteAttributes_attributes,++ -- * Destructuring the Response+ DeleteAttributesResponse (..),+ newDeleteAttributesResponse,++ -- * Response Lenses+ deleteAttributesResponse_attributes,+ deleteAttributesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteAttributes' smart constructor.+data DeleteAttributes = DeleteAttributes'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- contains the resource to delete attributes. If you do not specify a+ -- cluster, the default cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | The attributes to delete from your resource. You can specify up to 10+ -- attributes for each request. For custom attributes, specify the+ -- attribute name and target ID, but don\'t specify the value. If you+ -- specify the target ID using the short form, you must also specify the+ -- target type.+ attributes :: [Attribute]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteAttributes' 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:+--+-- 'cluster', 'deleteAttributes_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- contains the resource to delete attributes. If you do not specify a+-- cluster, the default cluster is assumed.+--+-- 'attributes', 'deleteAttributes_attributes' - The attributes to delete from your resource. You can specify up to 10+-- attributes for each request. For custom attributes, specify the+-- attribute name and target ID, but don\'t specify the value. If you+-- specify the target ID using the short form, you must also specify the+-- target type.+newDeleteAttributes ::+ DeleteAttributes+newDeleteAttributes =+ DeleteAttributes'+ { cluster = Prelude.Nothing,+ attributes = Prelude.mempty+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- contains the resource to delete attributes. If you do not specify a+-- cluster, the default cluster is assumed.+deleteAttributes_cluster :: Lens.Lens' DeleteAttributes (Prelude.Maybe Prelude.Text)+deleteAttributes_cluster = Lens.lens (\DeleteAttributes' {cluster} -> cluster) (\s@DeleteAttributes' {} a -> s {cluster = a} :: DeleteAttributes)++-- | The attributes to delete from your resource. You can specify up to 10+-- attributes for each request. For custom attributes, specify the+-- attribute name and target ID, but don\'t specify the value. If you+-- specify the target ID using the short form, you must also specify the+-- target type.+deleteAttributes_attributes :: Lens.Lens' DeleteAttributes [Attribute]+deleteAttributes_attributes = Lens.lens (\DeleteAttributes' {attributes} -> attributes) (\s@DeleteAttributes' {} a -> s {attributes = a} :: DeleteAttributes) Prelude.. Lens.coerced++instance Core.AWSRequest DeleteAttributes where+ type+ AWSResponse DeleteAttributes =+ DeleteAttributesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteAttributesResponse'+ Prelude.<$> (x Data..?> "attributes" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteAttributes where+ hashWithSalt _salt DeleteAttributes' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` attributes++instance Prelude.NFData DeleteAttributes where+ rnf DeleteAttributes' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf attributes++instance Data.ToHeaders DeleteAttributes where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DeleteAttributes" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteAttributes where+ toJSON DeleteAttributes' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ Prelude.Just ("attributes" Data..= attributes)+ ]+ )++instance Data.ToPath DeleteAttributes where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteAttributes where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteAttributesResponse' smart constructor.+data DeleteAttributesResponse = DeleteAttributesResponse'+ { -- | A list of attribute objects that were successfully deleted from your+ -- resource.+ attributes :: Prelude.Maybe [Attribute],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteAttributesResponse' 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', 'deleteAttributesResponse_attributes' - A list of attribute objects that were successfully deleted from your+-- resource.+--+-- 'httpStatus', 'deleteAttributesResponse_httpStatus' - The response's http status code.+newDeleteAttributesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteAttributesResponse+newDeleteAttributesResponse pHttpStatus_ =+ DeleteAttributesResponse'+ { attributes =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A list of attribute objects that were successfully deleted from your+-- resource.+deleteAttributesResponse_attributes :: Lens.Lens' DeleteAttributesResponse (Prelude.Maybe [Attribute])+deleteAttributesResponse_attributes = Lens.lens (\DeleteAttributesResponse' {attributes} -> attributes) (\s@DeleteAttributesResponse' {} a -> s {attributes = a} :: DeleteAttributesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+deleteAttributesResponse_httpStatus :: Lens.Lens' DeleteAttributesResponse Prelude.Int+deleteAttributesResponse_httpStatus = Lens.lens (\DeleteAttributesResponse' {httpStatus} -> httpStatus) (\s@DeleteAttributesResponse' {} a -> s {httpStatus = a} :: DeleteAttributesResponse)++instance Prelude.NFData DeleteAttributesResponse where+ rnf DeleteAttributesResponse' {..} =+ Prelude.rnf attributes+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DeleteCapacityProvider.hs view
@@ -0,0 +1,195 @@+{-# 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.ECS.DeleteCapacityProvider+-- 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 specified capacity provider.+--+-- The @FARGATE@ and @FARGATE_SPOT@ capacity providers are reserved and+-- can\'t be deleted. You can disassociate them from a cluster using either+-- the PutClusterCapacityProviders API or by deleting the cluster.+--+-- Prior to a capacity provider being deleted, the capacity provider must+-- be removed from the capacity provider strategy from all services. The+-- UpdateService API can be used to remove a capacity provider from a+-- service\'s capacity provider strategy. When updating a service, the+-- @forceNewDeployment@ option can be used to ensure that any tasks using+-- the Amazon EC2 instance capacity provided by the capacity provider are+-- transitioned to use the capacity from the remaining capacity providers.+-- Only capacity providers that aren\'t associated with a cluster can be+-- deleted. To remove a capacity provider from a cluster, you can either+-- use PutClusterCapacityProviders or delete the cluster.+module Amazonka.ECS.DeleteCapacityProvider+ ( -- * Creating a Request+ DeleteCapacityProvider (..),+ newDeleteCapacityProvider,++ -- * Request Lenses+ deleteCapacityProvider_capacityProvider,++ -- * Destructuring the Response+ DeleteCapacityProviderResponse (..),+ newDeleteCapacityProviderResponse,++ -- * Response Lenses+ deleteCapacityProviderResponse_capacityProvider,+ deleteCapacityProviderResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteCapacityProvider' smart constructor.+data DeleteCapacityProvider = DeleteCapacityProvider'+ { -- | The short name or full Amazon Resource Name (ARN) of the capacity+ -- provider to delete.+ capacityProvider :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteCapacityProvider' 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:+--+-- 'capacityProvider', 'deleteCapacityProvider_capacityProvider' - The short name or full Amazon Resource Name (ARN) of the capacity+-- provider to delete.+newDeleteCapacityProvider ::+ -- | 'capacityProvider'+ Prelude.Text ->+ DeleteCapacityProvider+newDeleteCapacityProvider pCapacityProvider_ =+ DeleteCapacityProvider'+ { capacityProvider =+ pCapacityProvider_+ }++-- | The short name or full Amazon Resource Name (ARN) of the capacity+-- provider to delete.+deleteCapacityProvider_capacityProvider :: Lens.Lens' DeleteCapacityProvider Prelude.Text+deleteCapacityProvider_capacityProvider = Lens.lens (\DeleteCapacityProvider' {capacityProvider} -> capacityProvider) (\s@DeleteCapacityProvider' {} a -> s {capacityProvider = a} :: DeleteCapacityProvider)++instance Core.AWSRequest DeleteCapacityProvider where+ type+ AWSResponse DeleteCapacityProvider =+ DeleteCapacityProviderResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteCapacityProviderResponse'+ Prelude.<$> (x Data..?> "capacityProvider")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteCapacityProvider where+ hashWithSalt _salt DeleteCapacityProvider' {..} =+ _salt `Prelude.hashWithSalt` capacityProvider++instance Prelude.NFData DeleteCapacityProvider where+ rnf DeleteCapacityProvider' {..} =+ Prelude.rnf capacityProvider++instance Data.ToHeaders DeleteCapacityProvider where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DeleteCapacityProvider" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteCapacityProvider where+ toJSON DeleteCapacityProvider' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("capacityProvider" Data..= capacityProvider)+ ]+ )++instance Data.ToPath DeleteCapacityProvider where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteCapacityProvider where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteCapacityProviderResponse' smart constructor.+data DeleteCapacityProviderResponse = DeleteCapacityProviderResponse'+ { -- | The details of the capacity provider.+ capacityProvider :: Prelude.Maybe CapacityProvider,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteCapacityProviderResponse' 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:+--+-- 'capacityProvider', 'deleteCapacityProviderResponse_capacityProvider' - The details of the capacity provider.+--+-- 'httpStatus', 'deleteCapacityProviderResponse_httpStatus' - The response's http status code.+newDeleteCapacityProviderResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteCapacityProviderResponse+newDeleteCapacityProviderResponse pHttpStatus_ =+ DeleteCapacityProviderResponse'+ { capacityProvider =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The details of the capacity provider.+deleteCapacityProviderResponse_capacityProvider :: Lens.Lens' DeleteCapacityProviderResponse (Prelude.Maybe CapacityProvider)+deleteCapacityProviderResponse_capacityProvider = Lens.lens (\DeleteCapacityProviderResponse' {capacityProvider} -> capacityProvider) (\s@DeleteCapacityProviderResponse' {} a -> s {capacityProvider = a} :: DeleteCapacityProviderResponse)++-- | The response's http status code.+deleteCapacityProviderResponse_httpStatus :: Lens.Lens' DeleteCapacityProviderResponse Prelude.Int+deleteCapacityProviderResponse_httpStatus = Lens.lens (\DeleteCapacityProviderResponse' {httpStatus} -> httpStatus) (\s@DeleteCapacityProviderResponse' {} a -> s {httpStatus = a} :: DeleteCapacityProviderResponse)++instance+ Prelude.NFData+ DeleteCapacityProviderResponse+ where+ rnf DeleteCapacityProviderResponse' {..} =+ Prelude.rnf capacityProvider+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DeleteCluster.hs view
@@ -0,0 +1,179 @@+{-# 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.ECS.DeleteCluster+-- 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 specified cluster. The cluster transitions to the @INACTIVE@+-- state. Clusters with an @INACTIVE@ status might remain discoverable in+-- your account for a period of time. However, this behavior is subject to+-- change in the future. We don\'t recommend that you rely on @INACTIVE@+-- clusters persisting.+--+-- You must deregister all container instances from this cluster before you+-- may delete it. You can list the container instances in a cluster with+-- ListContainerInstances and deregister them with+-- DeregisterContainerInstance.+module Amazonka.ECS.DeleteCluster+ ( -- * Creating a Request+ DeleteCluster (..),+ newDeleteCluster,++ -- * Request Lenses+ deleteCluster_cluster,++ -- * Destructuring the Response+ DeleteClusterResponse (..),+ newDeleteClusterResponse,++ -- * Response Lenses+ deleteClusterResponse_cluster,+ deleteClusterResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteCluster' smart constructor.+data DeleteCluster = DeleteCluster'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster to+ -- delete.+ cluster :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteCluster' 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:+--+-- 'cluster', 'deleteCluster_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster to+-- delete.+newDeleteCluster ::+ -- | 'cluster'+ Prelude.Text ->+ DeleteCluster+newDeleteCluster pCluster_ =+ DeleteCluster' {cluster = pCluster_}++-- | The short name or full Amazon Resource Name (ARN) of the cluster to+-- delete.+deleteCluster_cluster :: Lens.Lens' DeleteCluster Prelude.Text+deleteCluster_cluster = Lens.lens (\DeleteCluster' {cluster} -> cluster) (\s@DeleteCluster' {} a -> s {cluster = a} :: DeleteCluster)++instance Core.AWSRequest DeleteCluster where+ type+ AWSResponse DeleteCluster =+ DeleteClusterResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteClusterResponse'+ Prelude.<$> (x Data..?> "cluster")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteCluster where+ hashWithSalt _salt DeleteCluster' {..} =+ _salt `Prelude.hashWithSalt` cluster++instance Prelude.NFData DeleteCluster where+ rnf DeleteCluster' {..} = Prelude.rnf cluster++instance Data.ToHeaders DeleteCluster where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DeleteCluster" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteCluster where+ toJSON DeleteCluster' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("cluster" Data..= cluster)]+ )++instance Data.ToPath DeleteCluster where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteCluster where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteClusterResponse' smart constructor.+data DeleteClusterResponse = DeleteClusterResponse'+ { -- | The full description of the deleted cluster.+ cluster :: Prelude.Maybe Cluster,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteClusterResponse' 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:+--+-- 'cluster', 'deleteClusterResponse_cluster' - The full description of the deleted cluster.+--+-- 'httpStatus', 'deleteClusterResponse_httpStatus' - The response's http status code.+newDeleteClusterResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteClusterResponse+newDeleteClusterResponse pHttpStatus_ =+ DeleteClusterResponse'+ { cluster = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The full description of the deleted cluster.+deleteClusterResponse_cluster :: Lens.Lens' DeleteClusterResponse (Prelude.Maybe Cluster)+deleteClusterResponse_cluster = Lens.lens (\DeleteClusterResponse' {cluster} -> cluster) (\s@DeleteClusterResponse' {} a -> s {cluster = a} :: DeleteClusterResponse)++-- | The response's http status code.+deleteClusterResponse_httpStatus :: Lens.Lens' DeleteClusterResponse Prelude.Int+deleteClusterResponse_httpStatus = Lens.lens (\DeleteClusterResponse' {httpStatus} -> httpStatus) (\s@DeleteClusterResponse' {} a -> s {httpStatus = a} :: DeleteClusterResponse)++instance Prelude.NFData DeleteClusterResponse where+ rnf DeleteClusterResponse' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DeleteService.hs view
@@ -0,0 +1,228 @@+{-# 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.ECS.DeleteService+-- 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 specified service within a cluster. You can delete a service+-- if you have no running tasks in it and the desired task count is zero.+-- If the service is actively maintaining tasks, you can\'t delete it, and+-- you must update the service to a desired task count of zero. For more+-- information, see UpdateService.+--+-- When you delete a service, if there are still running tasks that require+-- cleanup, the service status moves from @ACTIVE@ to @DRAINING@, and the+-- service is no longer visible in the console or in the ListServices API+-- operation. After all tasks have transitioned to either @STOPPING@ or+-- @STOPPED@ status, the service status moves from @DRAINING@ to+-- @INACTIVE@. Services in the @DRAINING@ or @INACTIVE@ status can still be+-- viewed with the DescribeServices API operation. However, in the future,+-- @INACTIVE@ services may be cleaned up and purged from Amazon ECS record+-- keeping, and DescribeServices calls on those services return a+-- @ServiceNotFoundException@ error.+--+-- If you attempt to create a new service with the same name as an existing+-- service in either @ACTIVE@ or @DRAINING@ status, you receive an error.+module Amazonka.ECS.DeleteService+ ( -- * Creating a Request+ DeleteService (..),+ newDeleteService,++ -- * Request Lenses+ deleteService_cluster,+ deleteService_force,+ deleteService_service,++ -- * Destructuring the Response+ DeleteServiceResponse (..),+ newDeleteServiceResponse,++ -- * Response Lenses+ deleteServiceResponse_service,+ deleteServiceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteService' smart constructor.+data DeleteService = DeleteService'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the service to delete. If you do not specify a cluster, the+ -- default cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | If @true@, allows you to delete a service even if it wasn\'t scaled down+ -- to zero tasks. It\'s only necessary to use this if the service uses the+ -- @REPLICA@ scheduling strategy.+ force :: Prelude.Maybe Prelude.Bool,+ -- | The name of the service to delete.+ service :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteService' 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:+--+-- 'cluster', 'deleteService_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service to delete. If you do not specify a cluster, the+-- default cluster is assumed.+--+-- 'force', 'deleteService_force' - If @true@, allows you to delete a service even if it wasn\'t scaled down+-- to zero tasks. It\'s only necessary to use this if the service uses the+-- @REPLICA@ scheduling strategy.+--+-- 'service', 'deleteService_service' - The name of the service to delete.+newDeleteService ::+ -- | 'service'+ Prelude.Text ->+ DeleteService+newDeleteService pService_ =+ DeleteService'+ { cluster = Prelude.Nothing,+ force = Prelude.Nothing,+ service = pService_+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service to delete. If you do not specify a cluster, the+-- default cluster is assumed.+deleteService_cluster :: Lens.Lens' DeleteService (Prelude.Maybe Prelude.Text)+deleteService_cluster = Lens.lens (\DeleteService' {cluster} -> cluster) (\s@DeleteService' {} a -> s {cluster = a} :: DeleteService)++-- | If @true@, allows you to delete a service even if it wasn\'t scaled down+-- to zero tasks. It\'s only necessary to use this if the service uses the+-- @REPLICA@ scheduling strategy.+deleteService_force :: Lens.Lens' DeleteService (Prelude.Maybe Prelude.Bool)+deleteService_force = Lens.lens (\DeleteService' {force} -> force) (\s@DeleteService' {} a -> s {force = a} :: DeleteService)++-- | The name of the service to delete.+deleteService_service :: Lens.Lens' DeleteService Prelude.Text+deleteService_service = Lens.lens (\DeleteService' {service} -> service) (\s@DeleteService' {} a -> s {service = a} :: DeleteService)++instance Core.AWSRequest DeleteService where+ type+ AWSResponse DeleteService =+ DeleteServiceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteServiceResponse'+ Prelude.<$> (x Data..?> "service")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteService where+ hashWithSalt _salt DeleteService' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` force+ `Prelude.hashWithSalt` service++instance Prelude.NFData DeleteService where+ rnf DeleteService' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf force+ `Prelude.seq` Prelude.rnf service++instance Data.ToHeaders DeleteService where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DeleteService" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteService where+ toJSON DeleteService' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("force" Data..=) Prelude.<$> force,+ Prelude.Just ("service" Data..= service)+ ]+ )++instance Data.ToPath DeleteService where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteService where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteServiceResponse' smart constructor.+data DeleteServiceResponse = DeleteServiceResponse'+ { -- | The full description of the deleted service.+ service :: Prelude.Maybe ContainerService,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteServiceResponse' 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:+--+-- 'service', 'deleteServiceResponse_service' - The full description of the deleted service.+--+-- 'httpStatus', 'deleteServiceResponse_httpStatus' - The response's http status code.+newDeleteServiceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteServiceResponse+newDeleteServiceResponse pHttpStatus_ =+ DeleteServiceResponse'+ { service = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The full description of the deleted service.+deleteServiceResponse_service :: Lens.Lens' DeleteServiceResponse (Prelude.Maybe ContainerService)+deleteServiceResponse_service = Lens.lens (\DeleteServiceResponse' {service} -> service) (\s@DeleteServiceResponse' {} a -> s {service = a} :: DeleteServiceResponse)++-- | The response's http status code.+deleteServiceResponse_httpStatus :: Lens.Lens' DeleteServiceResponse Prelude.Int+deleteServiceResponse_httpStatus = Lens.lens (\DeleteServiceResponse' {httpStatus} -> httpStatus) (\s@DeleteServiceResponse' {} a -> s {httpStatus = a} :: DeleteServiceResponse)++instance Prelude.NFData DeleteServiceResponse where+ rnf DeleteServiceResponse' {..} =+ Prelude.rnf service+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DeleteTaskSet.hs view
@@ -0,0 +1,231 @@+{-# 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.ECS.DeleteTaskSet+-- 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 specified task set within a service. This is used when a+-- service uses the @EXTERNAL@ deployment controller type. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html Amazon ECS deployment types>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.DeleteTaskSet+ ( -- * Creating a Request+ DeleteTaskSet (..),+ newDeleteTaskSet,++ -- * Request Lenses+ deleteTaskSet_force,+ deleteTaskSet_cluster,+ deleteTaskSet_service,+ deleteTaskSet_taskSet,++ -- * Destructuring the Response+ DeleteTaskSetResponse (..),+ newDeleteTaskSetResponse,++ -- * Response Lenses+ deleteTaskSetResponse_taskSet,+ deleteTaskSetResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteTaskSet' smart constructor.+data DeleteTaskSet = DeleteTaskSet'+ { -- | If @true@, you can delete a task set even if it hasn\'t been scaled down+ -- to zero.+ force :: Prelude.Maybe Prelude.Bool,+ -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the service that the task set found in to delete.+ cluster :: Prelude.Text,+ -- | The short name or full Amazon Resource Name (ARN) of the service that+ -- hosts the task set to delete.+ service :: Prelude.Text,+ -- | The task set ID or full Amazon Resource Name (ARN) of the task set to+ -- delete.+ taskSet :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteTaskSet' 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:+--+-- 'force', 'deleteTaskSet_force' - If @true@, you can delete a task set even if it hasn\'t been scaled down+-- to zero.+--+-- 'cluster', 'deleteTaskSet_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task set found in to delete.+--+-- 'service', 'deleteTaskSet_service' - The short name or full Amazon Resource Name (ARN) of the service that+-- hosts the task set to delete.+--+-- 'taskSet', 'deleteTaskSet_taskSet' - The task set ID or full Amazon Resource Name (ARN) of the task set to+-- delete.+newDeleteTaskSet ::+ -- | 'cluster'+ Prelude.Text ->+ -- | 'service'+ Prelude.Text ->+ -- | 'taskSet'+ Prelude.Text ->+ DeleteTaskSet+newDeleteTaskSet pCluster_ pService_ pTaskSet_ =+ DeleteTaskSet'+ { force = Prelude.Nothing,+ cluster = pCluster_,+ service = pService_,+ taskSet = pTaskSet_+ }++-- | If @true@, you can delete a task set even if it hasn\'t been scaled down+-- to zero.+deleteTaskSet_force :: Lens.Lens' DeleteTaskSet (Prelude.Maybe Prelude.Bool)+deleteTaskSet_force = Lens.lens (\DeleteTaskSet' {force} -> force) (\s@DeleteTaskSet' {} a -> s {force = a} :: DeleteTaskSet)++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task set found in to delete.+deleteTaskSet_cluster :: Lens.Lens' DeleteTaskSet Prelude.Text+deleteTaskSet_cluster = Lens.lens (\DeleteTaskSet' {cluster} -> cluster) (\s@DeleteTaskSet' {} a -> s {cluster = a} :: DeleteTaskSet)++-- | The short name or full Amazon Resource Name (ARN) of the service that+-- hosts the task set to delete.+deleteTaskSet_service :: Lens.Lens' DeleteTaskSet Prelude.Text+deleteTaskSet_service = Lens.lens (\DeleteTaskSet' {service} -> service) (\s@DeleteTaskSet' {} a -> s {service = a} :: DeleteTaskSet)++-- | The task set ID or full Amazon Resource Name (ARN) of the task set to+-- delete.+deleteTaskSet_taskSet :: Lens.Lens' DeleteTaskSet Prelude.Text+deleteTaskSet_taskSet = Lens.lens (\DeleteTaskSet' {taskSet} -> taskSet) (\s@DeleteTaskSet' {} a -> s {taskSet = a} :: DeleteTaskSet)++instance Core.AWSRequest DeleteTaskSet where+ type+ AWSResponse DeleteTaskSet =+ DeleteTaskSetResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteTaskSetResponse'+ Prelude.<$> (x Data..?> "taskSet")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteTaskSet where+ hashWithSalt _salt DeleteTaskSet' {..} =+ _salt+ `Prelude.hashWithSalt` force+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` service+ `Prelude.hashWithSalt` taskSet++instance Prelude.NFData DeleteTaskSet where+ rnf DeleteTaskSet' {..} =+ Prelude.rnf force+ `Prelude.seq` Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf service+ `Prelude.seq` Prelude.rnf taskSet++instance Data.ToHeaders DeleteTaskSet where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DeleteTaskSet" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteTaskSet where+ toJSON DeleteTaskSet' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("force" Data..=) Prelude.<$> force,+ Prelude.Just ("cluster" Data..= cluster),+ Prelude.Just ("service" Data..= service),+ Prelude.Just ("taskSet" Data..= taskSet)+ ]+ )++instance Data.ToPath DeleteTaskSet where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteTaskSet where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteTaskSetResponse' smart constructor.+data DeleteTaskSetResponse = DeleteTaskSetResponse'+ { -- | Details about the task set.+ taskSet :: Prelude.Maybe TaskSet,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteTaskSetResponse' 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:+--+-- 'taskSet', 'deleteTaskSetResponse_taskSet' - Details about the task set.+--+-- 'httpStatus', 'deleteTaskSetResponse_httpStatus' - The response's http status code.+newDeleteTaskSetResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteTaskSetResponse+newDeleteTaskSetResponse pHttpStatus_ =+ DeleteTaskSetResponse'+ { taskSet = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Details about the task set.+deleteTaskSetResponse_taskSet :: Lens.Lens' DeleteTaskSetResponse (Prelude.Maybe TaskSet)+deleteTaskSetResponse_taskSet = Lens.lens (\DeleteTaskSetResponse' {taskSet} -> taskSet) (\s@DeleteTaskSetResponse' {} a -> s {taskSet = a} :: DeleteTaskSetResponse)++-- | The response's http status code.+deleteTaskSetResponse_httpStatus :: Lens.Lens' DeleteTaskSetResponse Prelude.Int+deleteTaskSetResponse_httpStatus = Lens.lens (\DeleteTaskSetResponse' {httpStatus} -> httpStatus) (\s@DeleteTaskSetResponse' {} a -> s {httpStatus = a} :: DeleteTaskSetResponse)++instance Prelude.NFData DeleteTaskSetResponse where+ rnf DeleteTaskSetResponse' {..} =+ Prelude.rnf taskSet+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DeregisterContainerInstance.hs view
@@ -0,0 +1,271 @@+{-# 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.ECS.DeregisterContainerInstance+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deregisters an Amazon ECS container instance from the specified cluster.+-- This instance is no longer available to run tasks.+--+-- If you intend to use the container instance for some other purpose after+-- deregistration, we recommend that you stop all of the tasks running on+-- the container instance before deregistration. That prevents any orphaned+-- tasks from consuming resources.+--+-- Deregistering a container instance removes the instance from a cluster,+-- but it doesn\'t terminate the EC2 instance. If you are finished using+-- the instance, be sure to terminate it in the Amazon EC2 console to stop+-- billing.+--+-- If you terminate a running container instance, Amazon ECS automatically+-- deregisters the instance from your cluster (stopped container instances+-- or instances with disconnected agents aren\'t automatically deregistered+-- when terminated).+module Amazonka.ECS.DeregisterContainerInstance+ ( -- * Creating a Request+ DeregisterContainerInstance (..),+ newDeregisterContainerInstance,++ -- * Request Lenses+ deregisterContainerInstance_cluster,+ deregisterContainerInstance_force,+ deregisterContainerInstance_containerInstance,++ -- * Destructuring the Response+ DeregisterContainerInstanceResponse (..),+ newDeregisterContainerInstanceResponse,++ -- * Response Lenses+ deregisterContainerInstanceResponse_containerInstance,+ deregisterContainerInstanceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeregisterContainerInstance' smart constructor.+data DeregisterContainerInstance = DeregisterContainerInstance'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the container instance to deregister. If you do not specify a+ -- cluster, the default cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | Forces the container instance to be deregistered. If you have tasks+ -- running on the container instance when you deregister it with the+ -- @force@ option, these tasks remain running until you terminate the+ -- instance or the tasks stop through some other means, but they\'re+ -- orphaned (no longer monitored or accounted for by Amazon ECS). If an+ -- orphaned task on your container instance is part of an Amazon ECS+ -- service, then the service scheduler starts another copy of that task, on+ -- a different container instance if possible.+ --+ -- Any containers in orphaned service tasks that are registered with a+ -- Classic Load Balancer or an Application Load Balancer target group are+ -- deregistered. They begin connection draining according to the settings+ -- on the load balancer or target group.+ force :: Prelude.Maybe Prelude.Bool,+ -- | The container instance ID or full ARN of the container instance to+ -- deregister. For more information about the ARN format, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+ -- in the /Amazon ECS Developer Guide/.+ containerInstance :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterContainerInstance' 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:+--+-- 'cluster', 'deregisterContainerInstance_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the container instance to deregister. If you do not specify a+-- cluster, the default cluster is assumed.+--+-- 'force', 'deregisterContainerInstance_force' - Forces the container instance to be deregistered. If you have tasks+-- running on the container instance when you deregister it with the+-- @force@ option, these tasks remain running until you terminate the+-- instance or the tasks stop through some other means, but they\'re+-- orphaned (no longer monitored or accounted for by Amazon ECS). If an+-- orphaned task on your container instance is part of an Amazon ECS+-- service, then the service scheduler starts another copy of that task, on+-- a different container instance if possible.+--+-- Any containers in orphaned service tasks that are registered with a+-- Classic Load Balancer or an Application Load Balancer target group are+-- deregistered. They begin connection draining according to the settings+-- on the load balancer or target group.+--+-- 'containerInstance', 'deregisterContainerInstance_containerInstance' - The container instance ID or full ARN of the container instance to+-- deregister. For more information about the ARN format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+-- in the /Amazon ECS Developer Guide/.+newDeregisterContainerInstance ::+ -- | 'containerInstance'+ Prelude.Text ->+ DeregisterContainerInstance+newDeregisterContainerInstance pContainerInstance_ =+ DeregisterContainerInstance'+ { cluster =+ Prelude.Nothing,+ force = Prelude.Nothing,+ containerInstance = pContainerInstance_+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the container instance to deregister. If you do not specify a+-- cluster, the default cluster is assumed.+deregisterContainerInstance_cluster :: Lens.Lens' DeregisterContainerInstance (Prelude.Maybe Prelude.Text)+deregisterContainerInstance_cluster = Lens.lens (\DeregisterContainerInstance' {cluster} -> cluster) (\s@DeregisterContainerInstance' {} a -> s {cluster = a} :: DeregisterContainerInstance)++-- | Forces the container instance to be deregistered. If you have tasks+-- running on the container instance when you deregister it with the+-- @force@ option, these tasks remain running until you terminate the+-- instance or the tasks stop through some other means, but they\'re+-- orphaned (no longer monitored or accounted for by Amazon ECS). If an+-- orphaned task on your container instance is part of an Amazon ECS+-- service, then the service scheduler starts another copy of that task, on+-- a different container instance if possible.+--+-- Any containers in orphaned service tasks that are registered with a+-- Classic Load Balancer or an Application Load Balancer target group are+-- deregistered. They begin connection draining according to the settings+-- on the load balancer or target group.+deregisterContainerInstance_force :: Lens.Lens' DeregisterContainerInstance (Prelude.Maybe Prelude.Bool)+deregisterContainerInstance_force = Lens.lens (\DeregisterContainerInstance' {force} -> force) (\s@DeregisterContainerInstance' {} a -> s {force = a} :: DeregisterContainerInstance)++-- | The container instance ID or full ARN of the container instance to+-- deregister. For more information about the ARN format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+-- in the /Amazon ECS Developer Guide/.+deregisterContainerInstance_containerInstance :: Lens.Lens' DeregisterContainerInstance Prelude.Text+deregisterContainerInstance_containerInstance = Lens.lens (\DeregisterContainerInstance' {containerInstance} -> containerInstance) (\s@DeregisterContainerInstance' {} a -> s {containerInstance = a} :: DeregisterContainerInstance)++instance Core.AWSRequest DeregisterContainerInstance where+ type+ AWSResponse DeregisterContainerInstance =+ DeregisterContainerInstanceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeregisterContainerInstanceResponse'+ Prelude.<$> (x Data..?> "containerInstance")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeregisterContainerInstance where+ hashWithSalt _salt DeregisterContainerInstance' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` force+ `Prelude.hashWithSalt` containerInstance++instance Prelude.NFData DeregisterContainerInstance where+ rnf DeregisterContainerInstance' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf force+ `Prelude.seq` Prelude.rnf containerInstance++instance Data.ToHeaders DeregisterContainerInstance where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DeregisterContainerInstance" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeregisterContainerInstance where+ toJSON DeregisterContainerInstance' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("force" Data..=) Prelude.<$> force,+ Prelude.Just+ ("containerInstance" Data..= containerInstance)+ ]+ )++instance Data.ToPath DeregisterContainerInstance where+ toPath = Prelude.const "/"++instance Data.ToQuery DeregisterContainerInstance where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeregisterContainerInstanceResponse' smart constructor.+data DeregisterContainerInstanceResponse = DeregisterContainerInstanceResponse'+ { -- | The container instance that was deregistered.+ containerInstance :: Prelude.Maybe ContainerInstance,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterContainerInstanceResponse' 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:+--+-- 'containerInstance', 'deregisterContainerInstanceResponse_containerInstance' - The container instance that was deregistered.+--+-- 'httpStatus', 'deregisterContainerInstanceResponse_httpStatus' - The response's http status code.+newDeregisterContainerInstanceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeregisterContainerInstanceResponse+newDeregisterContainerInstanceResponse pHttpStatus_ =+ DeregisterContainerInstanceResponse'+ { containerInstance =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The container instance that was deregistered.+deregisterContainerInstanceResponse_containerInstance :: Lens.Lens' DeregisterContainerInstanceResponse (Prelude.Maybe ContainerInstance)+deregisterContainerInstanceResponse_containerInstance = Lens.lens (\DeregisterContainerInstanceResponse' {containerInstance} -> containerInstance) (\s@DeregisterContainerInstanceResponse' {} a -> s {containerInstance = a} :: DeregisterContainerInstanceResponse)++-- | The response's http status code.+deregisterContainerInstanceResponse_httpStatus :: Lens.Lens' DeregisterContainerInstanceResponse Prelude.Int+deregisterContainerInstanceResponse_httpStatus = Lens.lens (\DeregisterContainerInstanceResponse' {httpStatus} -> httpStatus) (\s@DeregisterContainerInstanceResponse' {} a -> s {httpStatus = a} :: DeregisterContainerInstanceResponse)++instance+ Prelude.NFData+ DeregisterContainerInstanceResponse+ where+ rnf DeregisterContainerInstanceResponse' {..} =+ Prelude.rnf containerInstance+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DeregisterTaskDefinition.hs view
@@ -0,0 +1,199 @@+{-# 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.ECS.DeregisterTaskDefinition+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deregisters the specified task definition by family and revision. Upon+-- deregistration, the task definition is marked as @INACTIVE@. Existing+-- tasks and services that reference an @INACTIVE@ task definition continue+-- to run without disruption. Existing services that reference an+-- @INACTIVE@ task definition can still scale up or down by modifying the+-- service\'s desired count.+--+-- You can\'t use an @INACTIVE@ task definition to run new tasks or create+-- new services, and you can\'t update an existing service to reference an+-- @INACTIVE@ task definition. However, there may be up to a 10-minute+-- window following deregistration where these restrictions have not yet+-- taken effect.+--+-- At this time, @INACTIVE@ task definitions remain discoverable in your+-- account indefinitely. However, this behavior is subject to change in the+-- future. We don\'t recommend that you rely on @INACTIVE@ task definitions+-- persisting beyond the lifecycle of any associated tasks and services.+module Amazonka.ECS.DeregisterTaskDefinition+ ( -- * Creating a Request+ DeregisterTaskDefinition (..),+ newDeregisterTaskDefinition,++ -- * Request Lenses+ deregisterTaskDefinition_taskDefinition,++ -- * Destructuring the Response+ DeregisterTaskDefinitionResponse (..),+ newDeregisterTaskDefinitionResponse,++ -- * Response Lenses+ deregisterTaskDefinitionResponse_taskDefinition,+ deregisterTaskDefinitionResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeregisterTaskDefinition' smart constructor.+data DeregisterTaskDefinition = DeregisterTaskDefinition'+ { -- | The @family@ and @revision@ (@family:revision@) or full Amazon Resource+ -- Name (ARN) of the task definition to deregister. You must specify a+ -- @revision@.+ taskDefinition :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterTaskDefinition' 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:+--+-- 'taskDefinition', 'deregisterTaskDefinition_taskDefinition' - The @family@ and @revision@ (@family:revision@) or full Amazon Resource+-- Name (ARN) of the task definition to deregister. You must specify a+-- @revision@.+newDeregisterTaskDefinition ::+ -- | 'taskDefinition'+ Prelude.Text ->+ DeregisterTaskDefinition+newDeregisterTaskDefinition pTaskDefinition_ =+ DeregisterTaskDefinition'+ { taskDefinition =+ pTaskDefinition_+ }++-- | The @family@ and @revision@ (@family:revision@) or full Amazon Resource+-- Name (ARN) of the task definition to deregister. You must specify a+-- @revision@.+deregisterTaskDefinition_taskDefinition :: Lens.Lens' DeregisterTaskDefinition Prelude.Text+deregisterTaskDefinition_taskDefinition = Lens.lens (\DeregisterTaskDefinition' {taskDefinition} -> taskDefinition) (\s@DeregisterTaskDefinition' {} a -> s {taskDefinition = a} :: DeregisterTaskDefinition)++instance Core.AWSRequest DeregisterTaskDefinition where+ type+ AWSResponse DeregisterTaskDefinition =+ DeregisterTaskDefinitionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeregisterTaskDefinitionResponse'+ Prelude.<$> (x Data..?> "taskDefinition")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeregisterTaskDefinition where+ hashWithSalt _salt DeregisterTaskDefinition' {..} =+ _salt `Prelude.hashWithSalt` taskDefinition++instance Prelude.NFData DeregisterTaskDefinition where+ rnf DeregisterTaskDefinition' {..} =+ Prelude.rnf taskDefinition++instance Data.ToHeaders DeregisterTaskDefinition where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DeregisterTaskDefinition" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeregisterTaskDefinition where+ toJSON DeregisterTaskDefinition' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("taskDefinition" Data..= taskDefinition)+ ]+ )++instance Data.ToPath DeregisterTaskDefinition where+ toPath = Prelude.const "/"++instance Data.ToQuery DeregisterTaskDefinition where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeregisterTaskDefinitionResponse' smart constructor.+data DeregisterTaskDefinitionResponse = DeregisterTaskDefinitionResponse'+ { -- | The full description of the deregistered task.+ taskDefinition :: Prelude.Maybe TaskDefinition,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterTaskDefinitionResponse' 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:+--+-- 'taskDefinition', 'deregisterTaskDefinitionResponse_taskDefinition' - The full description of the deregistered task.+--+-- 'httpStatus', 'deregisterTaskDefinitionResponse_httpStatus' - The response's http status code.+newDeregisterTaskDefinitionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeregisterTaskDefinitionResponse+newDeregisterTaskDefinitionResponse pHttpStatus_ =+ DeregisterTaskDefinitionResponse'+ { taskDefinition =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The full description of the deregistered task.+deregisterTaskDefinitionResponse_taskDefinition :: Lens.Lens' DeregisterTaskDefinitionResponse (Prelude.Maybe TaskDefinition)+deregisterTaskDefinitionResponse_taskDefinition = Lens.lens (\DeregisterTaskDefinitionResponse' {taskDefinition} -> taskDefinition) (\s@DeregisterTaskDefinitionResponse' {} a -> s {taskDefinition = a} :: DeregisterTaskDefinitionResponse)++-- | The response's http status code.+deregisterTaskDefinitionResponse_httpStatus :: Lens.Lens' DeregisterTaskDefinitionResponse Prelude.Int+deregisterTaskDefinitionResponse_httpStatus = Lens.lens (\DeregisterTaskDefinitionResponse' {httpStatus} -> httpStatus) (\s@DeregisterTaskDefinitionResponse' {} a -> s {httpStatus = a} :: DeregisterTaskDefinitionResponse)++instance+ Prelude.NFData+ DeregisterTaskDefinitionResponse+ where+ rnf DeregisterTaskDefinitionResponse' {..} =+ Prelude.rnf taskDefinition+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DescribeCapacityProviders.hs view
@@ -0,0 +1,311 @@+{-# 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.ECS.DescribeCapacityProviders+-- 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 one or more of your capacity providers.+module Amazonka.ECS.DescribeCapacityProviders+ ( -- * Creating a Request+ DescribeCapacityProviders (..),+ newDescribeCapacityProviders,++ -- * Request Lenses+ describeCapacityProviders_capacityProviders,+ describeCapacityProviders_include,+ describeCapacityProviders_maxResults,+ describeCapacityProviders_nextToken,++ -- * Destructuring the Response+ DescribeCapacityProvidersResponse (..),+ newDescribeCapacityProvidersResponse,++ -- * Response Lenses+ describeCapacityProvidersResponse_capacityProviders,+ describeCapacityProvidersResponse_failures,+ describeCapacityProvidersResponse_nextToken,+ describeCapacityProvidersResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeCapacityProviders' smart constructor.+data DescribeCapacityProviders = DescribeCapacityProviders'+ { -- | The short name or full Amazon Resource Name (ARN) of one or more+ -- capacity providers. Up to @100@ capacity providers can be described in+ -- an action.+ capacityProviders :: Prelude.Maybe [Prelude.Text],+ -- | Specifies whether or not you want to see the resource tags for the+ -- capacity provider. If @TAGS@ is specified, the tags are included in the+ -- response. If this field is omitted, tags aren\'t included in the+ -- response.+ include :: Prelude.Maybe [CapacityProviderField],+ -- | The maximum number of account setting results returned by+ -- @DescribeCapacityProviders@ in paginated output. When this parameter is+ -- used, @DescribeCapacityProviders@ only returns @maxResults@ results in a+ -- single page along with a @nextToken@ response element. The remaining+ -- results of the initial request can be seen by sending another+ -- @DescribeCapacityProviders@ request with the returned @nextToken@ value.+ -- This value can be between 1 and 10. If this parameter is not used, then+ -- @DescribeCapacityProviders@ returns up to 10 results and a @nextToken@+ -- value if applicable.+ maxResults :: Prelude.Maybe Prelude.Int,+ -- | The @nextToken@ value returned from a previous paginated+ -- @DescribeCapacityProviders@ request where @maxResults@ was used and the+ -- results exceeded the value of that parameter. Pagination continues from+ -- the end of the previous results that returned the @nextToken@ value.+ --+ -- This token should be treated as an opaque identifier that is only used+ -- to retrieve the next items in a list and not for other programmatic+ -- purposes.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeCapacityProviders' 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:+--+-- 'capacityProviders', 'describeCapacityProviders_capacityProviders' - The short name or full Amazon Resource Name (ARN) of one or more+-- capacity providers. Up to @100@ capacity providers can be described in+-- an action.+--+-- 'include', 'describeCapacityProviders_include' - Specifies whether or not you want to see the resource tags for the+-- capacity provider. If @TAGS@ is specified, the tags are included in the+-- response. If this field is omitted, tags aren\'t included in the+-- response.+--+-- 'maxResults', 'describeCapacityProviders_maxResults' - The maximum number of account setting results returned by+-- @DescribeCapacityProviders@ in paginated output. When this parameter is+-- used, @DescribeCapacityProviders@ only returns @maxResults@ results in a+-- single page along with a @nextToken@ response element. The remaining+-- results of the initial request can be seen by sending another+-- @DescribeCapacityProviders@ request with the returned @nextToken@ value.+-- This value can be between 1 and 10. If this parameter is not used, then+-- @DescribeCapacityProviders@ returns up to 10 results and a @nextToken@+-- value if applicable.+--+-- 'nextToken', 'describeCapacityProviders_nextToken' - The @nextToken@ value returned from a previous paginated+-- @DescribeCapacityProviders@ request where @maxResults@ was used and the+-- results exceeded the value of that parameter. Pagination continues from+-- the end of the previous results that returned the @nextToken@ value.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+newDescribeCapacityProviders ::+ DescribeCapacityProviders+newDescribeCapacityProviders =+ DescribeCapacityProviders'+ { capacityProviders =+ Prelude.Nothing,+ include = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | The short name or full Amazon Resource Name (ARN) of one or more+-- capacity providers. Up to @100@ capacity providers can be described in+-- an action.+describeCapacityProviders_capacityProviders :: Lens.Lens' DescribeCapacityProviders (Prelude.Maybe [Prelude.Text])+describeCapacityProviders_capacityProviders = Lens.lens (\DescribeCapacityProviders' {capacityProviders} -> capacityProviders) (\s@DescribeCapacityProviders' {} a -> s {capacityProviders = a} :: DescribeCapacityProviders) Prelude.. Lens.mapping Lens.coerced++-- | Specifies whether or not you want to see the resource tags for the+-- capacity provider. If @TAGS@ is specified, the tags are included in the+-- response. If this field is omitted, tags aren\'t included in the+-- response.+describeCapacityProviders_include :: Lens.Lens' DescribeCapacityProviders (Prelude.Maybe [CapacityProviderField])+describeCapacityProviders_include = Lens.lens (\DescribeCapacityProviders' {include} -> include) (\s@DescribeCapacityProviders' {} a -> s {include = a} :: DescribeCapacityProviders) Prelude.. Lens.mapping Lens.coerced++-- | The maximum number of account setting results returned by+-- @DescribeCapacityProviders@ in paginated output. When this parameter is+-- used, @DescribeCapacityProviders@ only returns @maxResults@ results in a+-- single page along with a @nextToken@ response element. The remaining+-- results of the initial request can be seen by sending another+-- @DescribeCapacityProviders@ request with the returned @nextToken@ value.+-- This value can be between 1 and 10. If this parameter is not used, then+-- @DescribeCapacityProviders@ returns up to 10 results and a @nextToken@+-- value if applicable.+describeCapacityProviders_maxResults :: Lens.Lens' DescribeCapacityProviders (Prelude.Maybe Prelude.Int)+describeCapacityProviders_maxResults = Lens.lens (\DescribeCapacityProviders' {maxResults} -> maxResults) (\s@DescribeCapacityProviders' {} a -> s {maxResults = a} :: DescribeCapacityProviders)++-- | The @nextToken@ value returned from a previous paginated+-- @DescribeCapacityProviders@ request where @maxResults@ was used and the+-- results exceeded the value of that parameter. Pagination continues from+-- the end of the previous results that returned the @nextToken@ value.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+describeCapacityProviders_nextToken :: Lens.Lens' DescribeCapacityProviders (Prelude.Maybe Prelude.Text)+describeCapacityProviders_nextToken = Lens.lens (\DescribeCapacityProviders' {nextToken} -> nextToken) (\s@DescribeCapacityProviders' {} a -> s {nextToken = a} :: DescribeCapacityProviders)++instance Core.AWSRequest DescribeCapacityProviders where+ type+ AWSResponse DescribeCapacityProviders =+ DescribeCapacityProvidersResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeCapacityProvidersResponse'+ Prelude.<$> ( x+ Data..?> "capacityProviders"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "failures" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "nextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeCapacityProviders where+ hashWithSalt _salt DescribeCapacityProviders' {..} =+ _salt+ `Prelude.hashWithSalt` capacityProviders+ `Prelude.hashWithSalt` include+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData DescribeCapacityProviders where+ rnf DescribeCapacityProviders' {..} =+ Prelude.rnf capacityProviders+ `Prelude.seq` Prelude.rnf include+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders DescribeCapacityProviders where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DescribeCapacityProviders" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeCapacityProviders where+ toJSON DescribeCapacityProviders' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("capacityProviders" Data..=)+ Prelude.<$> capacityProviders,+ ("include" Data..=) Prelude.<$> include,+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath DescribeCapacityProviders where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeCapacityProviders where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeCapacityProvidersResponse' smart constructor.+data DescribeCapacityProvidersResponse = DescribeCapacityProvidersResponse'+ { -- | The list of capacity providers.+ capacityProviders :: Prelude.Maybe [CapacityProvider],+ -- | Any failures associated with the call.+ failures :: Prelude.Maybe [Failure],+ -- | The @nextToken@ value to include in a future @DescribeCapacityProviders@+ -- request. When the results of a @DescribeCapacityProviders@ request+ -- exceed @maxResults@, this value can be used to retrieve the next page of+ -- results. This value is @null@ when there are no more results to return.+ 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 'DescribeCapacityProvidersResponse' 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:+--+-- 'capacityProviders', 'describeCapacityProvidersResponse_capacityProviders' - The list of capacity providers.+--+-- 'failures', 'describeCapacityProvidersResponse_failures' - Any failures associated with the call.+--+-- 'nextToken', 'describeCapacityProvidersResponse_nextToken' - The @nextToken@ value to include in a future @DescribeCapacityProviders@+-- request. When the results of a @DescribeCapacityProviders@ request+-- exceed @maxResults@, this value can be used to retrieve the next page of+-- results. This value is @null@ when there are no more results to return.+--+-- 'httpStatus', 'describeCapacityProvidersResponse_httpStatus' - The response's http status code.+newDescribeCapacityProvidersResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeCapacityProvidersResponse+newDescribeCapacityProvidersResponse pHttpStatus_ =+ DescribeCapacityProvidersResponse'+ { capacityProviders =+ Prelude.Nothing,+ failures = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of capacity providers.+describeCapacityProvidersResponse_capacityProviders :: Lens.Lens' DescribeCapacityProvidersResponse (Prelude.Maybe [CapacityProvider])+describeCapacityProvidersResponse_capacityProviders = Lens.lens (\DescribeCapacityProvidersResponse' {capacityProviders} -> capacityProviders) (\s@DescribeCapacityProvidersResponse' {} a -> s {capacityProviders = a} :: DescribeCapacityProvidersResponse) Prelude.. Lens.mapping Lens.coerced++-- | Any failures associated with the call.+describeCapacityProvidersResponse_failures :: Lens.Lens' DescribeCapacityProvidersResponse (Prelude.Maybe [Failure])+describeCapacityProvidersResponse_failures = Lens.lens (\DescribeCapacityProvidersResponse' {failures} -> failures) (\s@DescribeCapacityProvidersResponse' {} a -> s {failures = a} :: DescribeCapacityProvidersResponse) Prelude.. Lens.mapping Lens.coerced++-- | The @nextToken@ value to include in a future @DescribeCapacityProviders@+-- request. When the results of a @DescribeCapacityProviders@ request+-- exceed @maxResults@, this value can be used to retrieve the next page of+-- results. This value is @null@ when there are no more results to return.+describeCapacityProvidersResponse_nextToken :: Lens.Lens' DescribeCapacityProvidersResponse (Prelude.Maybe Prelude.Text)+describeCapacityProvidersResponse_nextToken = Lens.lens (\DescribeCapacityProvidersResponse' {nextToken} -> nextToken) (\s@DescribeCapacityProvidersResponse' {} a -> s {nextToken = a} :: DescribeCapacityProvidersResponse)++-- | The response's http status code.+describeCapacityProvidersResponse_httpStatus :: Lens.Lens' DescribeCapacityProvidersResponse Prelude.Int+describeCapacityProvidersResponse_httpStatus = Lens.lens (\DescribeCapacityProvidersResponse' {httpStatus} -> httpStatus) (\s@DescribeCapacityProvidersResponse' {} a -> s {httpStatus = a} :: DescribeCapacityProvidersResponse)++instance+ Prelude.NFData+ DescribeCapacityProvidersResponse+ where+ rnf DescribeCapacityProvidersResponse' {..} =+ Prelude.rnf capacityProviders+ `Prelude.seq` Prelude.rnf failures+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DescribeClusters.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.ECS.DescribeClusters+-- 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 one or more of your clusters.+module Amazonka.ECS.DescribeClusters+ ( -- * Creating a Request+ DescribeClusters (..),+ newDescribeClusters,++ -- * Request Lenses+ describeClusters_clusters,+ describeClusters_include,++ -- * Destructuring the Response+ DescribeClustersResponse (..),+ newDescribeClustersResponse,++ -- * Response Lenses+ describeClustersResponse_clusters,+ describeClustersResponse_failures,+ describeClustersResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeClusters' smart constructor.+data DescribeClusters = DescribeClusters'+ { -- | A list of up to 100 cluster names or full cluster Amazon Resource Name+ -- (ARN) entries. If you do not specify a cluster, the default cluster is+ -- assumed.+ clusters :: Prelude.Maybe [Prelude.Text],+ -- | Determines whether to include additional information about the clusters+ -- in the response. If this field is omitted, this information isn\'t+ -- included.+ --+ -- If @ATTACHMENTS@ is specified, the attachments for the container+ -- instances or tasks within the cluster are included, for example the+ -- capacity providers.+ --+ -- If @SETTINGS@ is specified, the settings for the cluster are included.+ --+ -- If @CONFIGURATIONS@ is specified, the configuration for the cluster is+ -- included.+ --+ -- If @STATISTICS@ is specified, the task and service count is included,+ -- separated by launch type.+ --+ -- If @TAGS@ is specified, the metadata tags associated with the cluster+ -- are included.+ include :: Prelude.Maybe [ClusterField]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeClusters' 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:+--+-- 'clusters', 'describeClusters_clusters' - A list of up to 100 cluster names or full cluster Amazon Resource Name+-- (ARN) entries. If you do not specify a cluster, the default cluster is+-- assumed.+--+-- 'include', 'describeClusters_include' - Determines whether to include additional information about the clusters+-- in the response. If this field is omitted, this information isn\'t+-- included.+--+-- If @ATTACHMENTS@ is specified, the attachments for the container+-- instances or tasks within the cluster are included, for example the+-- capacity providers.+--+-- If @SETTINGS@ is specified, the settings for the cluster are included.+--+-- If @CONFIGURATIONS@ is specified, the configuration for the cluster is+-- included.+--+-- If @STATISTICS@ is specified, the task and service count is included,+-- separated by launch type.+--+-- If @TAGS@ is specified, the metadata tags associated with the cluster+-- are included.+newDescribeClusters ::+ DescribeClusters+newDescribeClusters =+ DescribeClusters'+ { clusters = Prelude.Nothing,+ include = Prelude.Nothing+ }++-- | A list of up to 100 cluster names or full cluster Amazon Resource Name+-- (ARN) entries. If you do not specify a cluster, the default cluster is+-- assumed.+describeClusters_clusters :: Lens.Lens' DescribeClusters (Prelude.Maybe [Prelude.Text])+describeClusters_clusters = Lens.lens (\DescribeClusters' {clusters} -> clusters) (\s@DescribeClusters' {} a -> s {clusters = a} :: DescribeClusters) Prelude.. Lens.mapping Lens.coerced++-- | Determines whether to include additional information about the clusters+-- in the response. If this field is omitted, this information isn\'t+-- included.+--+-- If @ATTACHMENTS@ is specified, the attachments for the container+-- instances or tasks within the cluster are included, for example the+-- capacity providers.+--+-- If @SETTINGS@ is specified, the settings for the cluster are included.+--+-- If @CONFIGURATIONS@ is specified, the configuration for the cluster is+-- included.+--+-- If @STATISTICS@ is specified, the task and service count is included,+-- separated by launch type.+--+-- If @TAGS@ is specified, the metadata tags associated with the cluster+-- are included.+describeClusters_include :: Lens.Lens' DescribeClusters (Prelude.Maybe [ClusterField])+describeClusters_include = Lens.lens (\DescribeClusters' {include} -> include) (\s@DescribeClusters' {} a -> s {include = a} :: DescribeClusters) Prelude.. Lens.mapping Lens.coerced++instance Core.AWSRequest DescribeClusters where+ type+ AWSResponse DescribeClusters =+ DescribeClustersResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeClustersResponse'+ Prelude.<$> (x Data..?> "clusters" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "failures" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeClusters where+ hashWithSalt _salt DescribeClusters' {..} =+ _salt+ `Prelude.hashWithSalt` clusters+ `Prelude.hashWithSalt` include++instance Prelude.NFData DescribeClusters where+ rnf DescribeClusters' {..} =+ Prelude.rnf clusters+ `Prelude.seq` Prelude.rnf include++instance Data.ToHeaders DescribeClusters where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DescribeClusters" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeClusters where+ toJSON DescribeClusters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("clusters" Data..=) Prelude.<$> clusters,+ ("include" Data..=) Prelude.<$> include+ ]+ )++instance Data.ToPath DescribeClusters where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeClusters where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeClustersResponse' smart constructor.+data DescribeClustersResponse = DescribeClustersResponse'+ { -- | The list of clusters.+ clusters :: Prelude.Maybe [Cluster],+ -- | Any failures associated with the call.+ failures :: Prelude.Maybe [Failure],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeClustersResponse' 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:+--+-- 'clusters', 'describeClustersResponse_clusters' - The list of clusters.+--+-- 'failures', 'describeClustersResponse_failures' - Any failures associated with the call.+--+-- 'httpStatus', 'describeClustersResponse_httpStatus' - The response's http status code.+newDescribeClustersResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeClustersResponse+newDescribeClustersResponse pHttpStatus_ =+ DescribeClustersResponse'+ { clusters =+ Prelude.Nothing,+ failures = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of clusters.+describeClustersResponse_clusters :: Lens.Lens' DescribeClustersResponse (Prelude.Maybe [Cluster])+describeClustersResponse_clusters = Lens.lens (\DescribeClustersResponse' {clusters} -> clusters) (\s@DescribeClustersResponse' {} a -> s {clusters = a} :: DescribeClustersResponse) Prelude.. Lens.mapping Lens.coerced++-- | Any failures associated with the call.+describeClustersResponse_failures :: Lens.Lens' DescribeClustersResponse (Prelude.Maybe [Failure])+describeClustersResponse_failures = Lens.lens (\DescribeClustersResponse' {failures} -> failures) (\s@DescribeClustersResponse' {} a -> s {failures = a} :: DescribeClustersResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeClustersResponse_httpStatus :: Lens.Lens' DescribeClustersResponse Prelude.Int+describeClustersResponse_httpStatus = Lens.lens (\DescribeClustersResponse' {httpStatus} -> httpStatus) (\s@DescribeClustersResponse' {} a -> s {httpStatus = a} :: DescribeClustersResponse)++instance Prelude.NFData DescribeClustersResponse where+ rnf DescribeClustersResponse' {..} =+ Prelude.rnf clusters+ `Prelude.seq` Prelude.rnf failures+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DescribeContainerInstances.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.ECS.DescribeContainerInstances+-- 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 one or more container instances. Returns metadata about each+-- container instance requested.+module Amazonka.ECS.DescribeContainerInstances+ ( -- * Creating a Request+ DescribeContainerInstances (..),+ newDescribeContainerInstances,++ -- * Request Lenses+ describeContainerInstances_cluster,+ describeContainerInstances_include,+ describeContainerInstances_containerInstances,++ -- * Destructuring the Response+ DescribeContainerInstancesResponse (..),+ newDescribeContainerInstancesResponse,++ -- * Response Lenses+ describeContainerInstancesResponse_containerInstances,+ describeContainerInstancesResponse_failures,+ describeContainerInstancesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeContainerInstances' smart constructor.+data DescribeContainerInstances = DescribeContainerInstances'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the container instances to describe. If you do not specify a+ -- cluster, the default cluster is assumed. This parameter is required if+ -- the container instance or container instances you are describing were+ -- launched in any cluster other than the default cluster.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | Specifies whether you want to see the resource tags for the container+ -- instance. If @TAGS@ is specified, the tags are included in the response.+ -- If @CONTAINER_INSTANCE_HEALTH@ is specified, the container instance+ -- health is included in the response. If this field is omitted, tags and+ -- container instance health status aren\'t included in the response.+ include :: Prelude.Maybe [ContainerInstanceField],+ -- | A list of up to 100 container instance IDs or full Amazon Resource Name+ -- (ARN) entries.+ containerInstances :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeContainerInstances' 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:+--+-- 'cluster', 'describeContainerInstances_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the container instances to describe. If you do not specify a+-- cluster, the default cluster is assumed. This parameter is required if+-- the container instance or container instances you are describing were+-- launched in any cluster other than the default cluster.+--+-- 'include', 'describeContainerInstances_include' - Specifies whether you want to see the resource tags for the container+-- instance. If @TAGS@ is specified, the tags are included in the response.+-- If @CONTAINER_INSTANCE_HEALTH@ is specified, the container instance+-- health is included in the response. If this field is omitted, tags and+-- container instance health status aren\'t included in the response.+--+-- 'containerInstances', 'describeContainerInstances_containerInstances' - A list of up to 100 container instance IDs or full Amazon Resource Name+-- (ARN) entries.+newDescribeContainerInstances ::+ DescribeContainerInstances+newDescribeContainerInstances =+ DescribeContainerInstances'+ { cluster =+ Prelude.Nothing,+ include = Prelude.Nothing,+ containerInstances = Prelude.mempty+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the container instances to describe. If you do not specify a+-- cluster, the default cluster is assumed. This parameter is required if+-- the container instance or container instances you are describing were+-- launched in any cluster other than the default cluster.+describeContainerInstances_cluster :: Lens.Lens' DescribeContainerInstances (Prelude.Maybe Prelude.Text)+describeContainerInstances_cluster = Lens.lens (\DescribeContainerInstances' {cluster} -> cluster) (\s@DescribeContainerInstances' {} a -> s {cluster = a} :: DescribeContainerInstances)++-- | Specifies whether you want to see the resource tags for the container+-- instance. If @TAGS@ is specified, the tags are included in the response.+-- If @CONTAINER_INSTANCE_HEALTH@ is specified, the container instance+-- health is included in the response. If this field is omitted, tags and+-- container instance health status aren\'t included in the response.+describeContainerInstances_include :: Lens.Lens' DescribeContainerInstances (Prelude.Maybe [ContainerInstanceField])+describeContainerInstances_include = Lens.lens (\DescribeContainerInstances' {include} -> include) (\s@DescribeContainerInstances' {} a -> s {include = a} :: DescribeContainerInstances) Prelude.. Lens.mapping Lens.coerced++-- | A list of up to 100 container instance IDs or full Amazon Resource Name+-- (ARN) entries.+describeContainerInstances_containerInstances :: Lens.Lens' DescribeContainerInstances [Prelude.Text]+describeContainerInstances_containerInstances = Lens.lens (\DescribeContainerInstances' {containerInstances} -> containerInstances) (\s@DescribeContainerInstances' {} a -> s {containerInstances = a} :: DescribeContainerInstances) Prelude.. Lens.coerced++instance Core.AWSRequest DescribeContainerInstances where+ type+ AWSResponse DescribeContainerInstances =+ DescribeContainerInstancesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeContainerInstancesResponse'+ Prelude.<$> ( x+ Data..?> "containerInstances"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "failures" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeContainerInstances where+ hashWithSalt _salt DescribeContainerInstances' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` include+ `Prelude.hashWithSalt` containerInstances++instance Prelude.NFData DescribeContainerInstances where+ rnf DescribeContainerInstances' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf include+ `Prelude.seq` Prelude.rnf containerInstances++instance Data.ToHeaders DescribeContainerInstances where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DescribeContainerInstances" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeContainerInstances where+ toJSON DescribeContainerInstances' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("include" Data..=) Prelude.<$> include,+ Prelude.Just+ ("containerInstances" Data..= containerInstances)+ ]+ )++instance Data.ToPath DescribeContainerInstances where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeContainerInstances where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeContainerInstancesResponse' smart constructor.+data DescribeContainerInstancesResponse = DescribeContainerInstancesResponse'+ { -- | The list of container instances.+ containerInstances :: Prelude.Maybe [ContainerInstance],+ -- | Any failures associated with the call.+ failures :: Prelude.Maybe [Failure],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeContainerInstancesResponse' 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:+--+-- 'containerInstances', 'describeContainerInstancesResponse_containerInstances' - The list of container instances.+--+-- 'failures', 'describeContainerInstancesResponse_failures' - Any failures associated with the call.+--+-- 'httpStatus', 'describeContainerInstancesResponse_httpStatus' - The response's http status code.+newDescribeContainerInstancesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeContainerInstancesResponse+newDescribeContainerInstancesResponse pHttpStatus_ =+ DescribeContainerInstancesResponse'+ { containerInstances =+ Prelude.Nothing,+ failures = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of container instances.+describeContainerInstancesResponse_containerInstances :: Lens.Lens' DescribeContainerInstancesResponse (Prelude.Maybe [ContainerInstance])+describeContainerInstancesResponse_containerInstances = Lens.lens (\DescribeContainerInstancesResponse' {containerInstances} -> containerInstances) (\s@DescribeContainerInstancesResponse' {} a -> s {containerInstances = a} :: DescribeContainerInstancesResponse) Prelude.. Lens.mapping Lens.coerced++-- | Any failures associated with the call.+describeContainerInstancesResponse_failures :: Lens.Lens' DescribeContainerInstancesResponse (Prelude.Maybe [Failure])+describeContainerInstancesResponse_failures = Lens.lens (\DescribeContainerInstancesResponse' {failures} -> failures) (\s@DescribeContainerInstancesResponse' {} a -> s {failures = a} :: DescribeContainerInstancesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeContainerInstancesResponse_httpStatus :: Lens.Lens' DescribeContainerInstancesResponse Prelude.Int+describeContainerInstancesResponse_httpStatus = Lens.lens (\DescribeContainerInstancesResponse' {httpStatus} -> httpStatus) (\s@DescribeContainerInstancesResponse' {} a -> s {httpStatus = a} :: DescribeContainerInstancesResponse)++instance+ Prelude.NFData+ DescribeContainerInstancesResponse+ where+ rnf DescribeContainerInstancesResponse' {..} =+ Prelude.rnf containerInstances+ `Prelude.seq` Prelude.rnf failures+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DescribeServices.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.ECS.DescribeServices+-- 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 the specified services running in your cluster.+module Amazonka.ECS.DescribeServices+ ( -- * Creating a Request+ DescribeServices (..),+ newDescribeServices,++ -- * Request Lenses+ describeServices_cluster,+ describeServices_include,+ describeServices_services,++ -- * Destructuring the Response+ DescribeServicesResponse (..),+ newDescribeServicesResponse,++ -- * Response Lenses+ describeServicesResponse_failures,+ describeServicesResponse_services,+ describeServicesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeServices' smart constructor.+data DescribeServices = DescribeServices'+ { -- | The short name or full Amazon Resource Name (ARN)the cluster that hosts+ -- the service to describe. If you do not specify a cluster, the default+ -- cluster is assumed. This parameter is required if the service or+ -- services you are describing were launched in any cluster other than the+ -- default cluster.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | Determines whether you want to see the resource tags for the service. If+ -- @TAGS@ is specified, the tags are included in the response. If this+ -- field is omitted, tags aren\'t included in the response.+ include :: Prelude.Maybe [ServiceField],+ -- | A list of services to describe. You may specify up to 10 services to+ -- describe in a single operation.+ services :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeServices' 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:+--+-- 'cluster', 'describeServices_cluster' - The short name or full Amazon Resource Name (ARN)the cluster that hosts+-- the service to describe. If you do not specify a cluster, the default+-- cluster is assumed. This parameter is required if the service or+-- services you are describing were launched in any cluster other than the+-- default cluster.+--+-- 'include', 'describeServices_include' - Determines whether you want to see the resource tags for the service. If+-- @TAGS@ is specified, the tags are included in the response. If this+-- field is omitted, tags aren\'t included in the response.+--+-- 'services', 'describeServices_services' - A list of services to describe. You may specify up to 10 services to+-- describe in a single operation.+newDescribeServices ::+ DescribeServices+newDescribeServices =+ DescribeServices'+ { cluster = Prelude.Nothing,+ include = Prelude.Nothing,+ services = Prelude.mempty+ }++-- | The short name or full Amazon Resource Name (ARN)the cluster that hosts+-- the service to describe. If you do not specify a cluster, the default+-- cluster is assumed. This parameter is required if the service or+-- services you are describing were launched in any cluster other than the+-- default cluster.+describeServices_cluster :: Lens.Lens' DescribeServices (Prelude.Maybe Prelude.Text)+describeServices_cluster = Lens.lens (\DescribeServices' {cluster} -> cluster) (\s@DescribeServices' {} a -> s {cluster = a} :: DescribeServices)++-- | Determines whether you want to see the resource tags for the service. If+-- @TAGS@ is specified, the tags are included in the response. If this+-- field is omitted, tags aren\'t included in the response.+describeServices_include :: Lens.Lens' DescribeServices (Prelude.Maybe [ServiceField])+describeServices_include = Lens.lens (\DescribeServices' {include} -> include) (\s@DescribeServices' {} a -> s {include = a} :: DescribeServices) Prelude.. Lens.mapping Lens.coerced++-- | A list of services to describe. You may specify up to 10 services to+-- describe in a single operation.+describeServices_services :: Lens.Lens' DescribeServices [Prelude.Text]+describeServices_services = Lens.lens (\DescribeServices' {services} -> services) (\s@DescribeServices' {} a -> s {services = a} :: DescribeServices) Prelude.. Lens.coerced++instance Core.AWSRequest DescribeServices where+ type+ AWSResponse DescribeServices =+ DescribeServicesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeServicesResponse'+ Prelude.<$> (x Data..?> "failures" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "services" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeServices where+ hashWithSalt _salt DescribeServices' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` include+ `Prelude.hashWithSalt` services++instance Prelude.NFData DescribeServices where+ rnf DescribeServices' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf include+ `Prelude.seq` Prelude.rnf services++instance Data.ToHeaders DescribeServices where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DescribeServices" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeServices where+ toJSON DescribeServices' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("include" Data..=) Prelude.<$> include,+ Prelude.Just ("services" Data..= services)+ ]+ )++instance Data.ToPath DescribeServices where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeServices where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeServicesResponse' smart constructor.+data DescribeServicesResponse = DescribeServicesResponse'+ { -- | Any failures associated with the call.+ failures :: Prelude.Maybe [Failure],+ -- | The list of services described.+ services :: Prelude.Maybe [ContainerService],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeServicesResponse' 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:+--+-- 'failures', 'describeServicesResponse_failures' - Any failures associated with the call.+--+-- 'services', 'describeServicesResponse_services' - The list of services described.+--+-- 'httpStatus', 'describeServicesResponse_httpStatus' - The response's http status code.+newDescribeServicesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeServicesResponse+newDescribeServicesResponse pHttpStatus_ =+ DescribeServicesResponse'+ { failures =+ Prelude.Nothing,+ services = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Any failures associated with the call.+describeServicesResponse_failures :: Lens.Lens' DescribeServicesResponse (Prelude.Maybe [Failure])+describeServicesResponse_failures = Lens.lens (\DescribeServicesResponse' {failures} -> failures) (\s@DescribeServicesResponse' {} a -> s {failures = a} :: DescribeServicesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The list of services described.+describeServicesResponse_services :: Lens.Lens' DescribeServicesResponse (Prelude.Maybe [ContainerService])+describeServicesResponse_services = Lens.lens (\DescribeServicesResponse' {services} -> services) (\s@DescribeServicesResponse' {} a -> s {services = a} :: DescribeServicesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeServicesResponse_httpStatus :: Lens.Lens' DescribeServicesResponse Prelude.Int+describeServicesResponse_httpStatus = Lens.lens (\DescribeServicesResponse' {httpStatus} -> httpStatus) (\s@DescribeServicesResponse' {} a -> s {httpStatus = a} :: DescribeServicesResponse)++instance Prelude.NFData DescribeServicesResponse where+ rnf DescribeServicesResponse' {..} =+ Prelude.rnf failures+ `Prelude.seq` Prelude.rnf services+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DescribeTaskDefinition.hs view
@@ -0,0 +1,300 @@+{-# 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.ECS.DescribeTaskDefinition+-- 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 a task definition. You can specify a @family@ and @revision@+-- to find information about a specific task definition, or you can simply+-- specify the family to find the latest @ACTIVE@ revision in that family.+--+-- You can only describe @INACTIVE@ task definitions while an active task+-- or service references them.+module Amazonka.ECS.DescribeTaskDefinition+ ( -- * Creating a Request+ DescribeTaskDefinition (..),+ newDescribeTaskDefinition,++ -- * Request Lenses+ describeTaskDefinition_include,+ describeTaskDefinition_taskDefinition,++ -- * Destructuring the Response+ DescribeTaskDefinitionResponse (..),+ newDescribeTaskDefinitionResponse,++ -- * Response Lenses+ describeTaskDefinitionResponse_tags,+ describeTaskDefinitionResponse_taskDefinition,+ describeTaskDefinitionResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeTaskDefinition' smart constructor.+data DescribeTaskDefinition = DescribeTaskDefinition'+ { -- | Determines whether to see the resource tags for the task definition. If+ -- @TAGS@ is specified, the tags are included in the response. If this+ -- field is omitted, tags aren\'t included in the response.+ include :: Prelude.Maybe [TaskDefinitionField],+ -- | The @family@ for the latest @ACTIVE@ revision, @family@ and @revision@+ -- (@family:revision@) for a specific revision in the family, or full+ -- Amazon Resource Name (ARN) of the task definition to describe.+ taskDefinition :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeTaskDefinition' 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:+--+-- 'include', 'describeTaskDefinition_include' - Determines whether to see the resource tags for the task definition. If+-- @TAGS@ is specified, the tags are included in the response. If this+-- field is omitted, tags aren\'t included in the response.+--+-- 'taskDefinition', 'describeTaskDefinition_taskDefinition' - The @family@ for the latest @ACTIVE@ revision, @family@ and @revision@+-- (@family:revision@) for a specific revision in the family, or full+-- Amazon Resource Name (ARN) of the task definition to describe.+newDescribeTaskDefinition ::+ -- | 'taskDefinition'+ Prelude.Text ->+ DescribeTaskDefinition+newDescribeTaskDefinition pTaskDefinition_ =+ DescribeTaskDefinition'+ { include = Prelude.Nothing,+ taskDefinition = pTaskDefinition_+ }++-- | Determines whether to see the resource tags for the task definition. If+-- @TAGS@ is specified, the tags are included in the response. If this+-- field is omitted, tags aren\'t included in the response.+describeTaskDefinition_include :: Lens.Lens' DescribeTaskDefinition (Prelude.Maybe [TaskDefinitionField])+describeTaskDefinition_include = Lens.lens (\DescribeTaskDefinition' {include} -> include) (\s@DescribeTaskDefinition' {} a -> s {include = a} :: DescribeTaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The @family@ for the latest @ACTIVE@ revision, @family@ and @revision@+-- (@family:revision@) for a specific revision in the family, or full+-- Amazon Resource Name (ARN) of the task definition to describe.+describeTaskDefinition_taskDefinition :: Lens.Lens' DescribeTaskDefinition Prelude.Text+describeTaskDefinition_taskDefinition = Lens.lens (\DescribeTaskDefinition' {taskDefinition} -> taskDefinition) (\s@DescribeTaskDefinition' {} a -> s {taskDefinition = a} :: DescribeTaskDefinition)++instance Core.AWSRequest DescribeTaskDefinition where+ type+ AWSResponse DescribeTaskDefinition =+ DescribeTaskDefinitionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeTaskDefinitionResponse'+ Prelude.<$> (x Data..?> "tags" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "taskDefinition")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeTaskDefinition where+ hashWithSalt _salt DescribeTaskDefinition' {..} =+ _salt+ `Prelude.hashWithSalt` include+ `Prelude.hashWithSalt` taskDefinition++instance Prelude.NFData DescribeTaskDefinition where+ rnf DescribeTaskDefinition' {..} =+ Prelude.rnf include+ `Prelude.seq` Prelude.rnf taskDefinition++instance Data.ToHeaders DescribeTaskDefinition where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DescribeTaskDefinition" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeTaskDefinition where+ toJSON DescribeTaskDefinition' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("include" Data..=) Prelude.<$> include,+ Prelude.Just+ ("taskDefinition" Data..= taskDefinition)+ ]+ )++instance Data.ToPath DescribeTaskDefinition where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeTaskDefinition where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeTaskDefinitionResponse' smart constructor.+data DescribeTaskDefinitionResponse = DescribeTaskDefinitionResponse'+ { -- | The metadata that\'s applied to the task definition to help you+ -- categorize and organize them. Each tag consists of a key and an optional+ -- value. You define both.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The full task definition description.+ taskDefinition :: Prelude.Maybe TaskDefinition,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeTaskDefinitionResponse' 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:+--+-- 'tags', 'describeTaskDefinitionResponse_tags' - The metadata that\'s applied to the task definition to help you+-- categorize and organize them. Each tag consists of a key and an optional+-- value. You define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'taskDefinition', 'describeTaskDefinitionResponse_taskDefinition' - The full task definition description.+--+-- 'httpStatus', 'describeTaskDefinitionResponse_httpStatus' - The response's http status code.+newDescribeTaskDefinitionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeTaskDefinitionResponse+newDescribeTaskDefinitionResponse pHttpStatus_ =+ DescribeTaskDefinitionResponse'+ { tags =+ Prelude.Nothing,+ taskDefinition = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The metadata that\'s applied to the task definition to help you+-- categorize and organize them. Each tag consists of a key and an optional+-- value. You define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+describeTaskDefinitionResponse_tags :: Lens.Lens' DescribeTaskDefinitionResponse (Prelude.Maybe [Tag])+describeTaskDefinitionResponse_tags = Lens.lens (\DescribeTaskDefinitionResponse' {tags} -> tags) (\s@DescribeTaskDefinitionResponse' {} a -> s {tags = a} :: DescribeTaskDefinitionResponse) Prelude.. Lens.mapping Lens.coerced++-- | The full task definition description.+describeTaskDefinitionResponse_taskDefinition :: Lens.Lens' DescribeTaskDefinitionResponse (Prelude.Maybe TaskDefinition)+describeTaskDefinitionResponse_taskDefinition = Lens.lens (\DescribeTaskDefinitionResponse' {taskDefinition} -> taskDefinition) (\s@DescribeTaskDefinitionResponse' {} a -> s {taskDefinition = a} :: DescribeTaskDefinitionResponse)++-- | The response's http status code.+describeTaskDefinitionResponse_httpStatus :: Lens.Lens' DescribeTaskDefinitionResponse Prelude.Int+describeTaskDefinitionResponse_httpStatus = Lens.lens (\DescribeTaskDefinitionResponse' {httpStatus} -> httpStatus) (\s@DescribeTaskDefinitionResponse' {} a -> s {httpStatus = a} :: DescribeTaskDefinitionResponse)++instance+ Prelude.NFData+ DescribeTaskDefinitionResponse+ where+ rnf DescribeTaskDefinitionResponse' {..} =+ Prelude.rnf tags+ `Prelude.seq` Prelude.rnf taskDefinition+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DescribeTaskSets.hs view
@@ -0,0 +1,242 @@+{-# 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.ECS.DescribeTaskSets+-- 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 the task sets in the specified cluster and service. This is+-- used when a service uses the @EXTERNAL@ deployment controller type. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html Amazon ECS Deployment Types>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.DescribeTaskSets+ ( -- * Creating a Request+ DescribeTaskSets (..),+ newDescribeTaskSets,++ -- * Request Lenses+ describeTaskSets_include,+ describeTaskSets_taskSets,+ describeTaskSets_cluster,+ describeTaskSets_service,++ -- * Destructuring the Response+ DescribeTaskSetsResponse (..),+ newDescribeTaskSetsResponse,++ -- * Response Lenses+ describeTaskSetsResponse_failures,+ describeTaskSetsResponse_taskSets,+ describeTaskSetsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeTaskSets' smart constructor.+data DescribeTaskSets = DescribeTaskSets'+ { -- | Specifies whether to see the resource tags for the task set. If @TAGS@+ -- is specified, the tags are included in the response. If this field is+ -- omitted, tags aren\'t included in the response.+ include :: Prelude.Maybe [TaskSetField],+ -- | The ID or full Amazon Resource Name (ARN) of task sets to describe.+ taskSets :: Prelude.Maybe [Prelude.Text],+ -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the service that the task sets exist in.+ cluster :: Prelude.Text,+ -- | The short name or full Amazon Resource Name (ARN) of the service that+ -- the task sets exist in.+ service :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeTaskSets' 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:+--+-- 'include', 'describeTaskSets_include' - Specifies whether to see the resource tags for the task set. If @TAGS@+-- is specified, the tags are included in the response. If this field is+-- omitted, tags aren\'t included in the response.+--+-- 'taskSets', 'describeTaskSets_taskSets' - The ID or full Amazon Resource Name (ARN) of task sets to describe.+--+-- 'cluster', 'describeTaskSets_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task sets exist in.+--+-- 'service', 'describeTaskSets_service' - The short name or full Amazon Resource Name (ARN) of the service that+-- the task sets exist in.+newDescribeTaskSets ::+ -- | 'cluster'+ Prelude.Text ->+ -- | 'service'+ Prelude.Text ->+ DescribeTaskSets+newDescribeTaskSets pCluster_ pService_ =+ DescribeTaskSets'+ { include = Prelude.Nothing,+ taskSets = Prelude.Nothing,+ cluster = pCluster_,+ service = pService_+ }++-- | Specifies whether to see the resource tags for the task set. If @TAGS@+-- is specified, the tags are included in the response. If this field is+-- omitted, tags aren\'t included in the response.+describeTaskSets_include :: Lens.Lens' DescribeTaskSets (Prelude.Maybe [TaskSetField])+describeTaskSets_include = Lens.lens (\DescribeTaskSets' {include} -> include) (\s@DescribeTaskSets' {} a -> s {include = a} :: DescribeTaskSets) Prelude.. Lens.mapping Lens.coerced++-- | The ID or full Amazon Resource Name (ARN) of task sets to describe.+describeTaskSets_taskSets :: Lens.Lens' DescribeTaskSets (Prelude.Maybe [Prelude.Text])+describeTaskSets_taskSets = Lens.lens (\DescribeTaskSets' {taskSets} -> taskSets) (\s@DescribeTaskSets' {} a -> s {taskSets = a} :: DescribeTaskSets) Prelude.. Lens.mapping Lens.coerced++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task sets exist in.+describeTaskSets_cluster :: Lens.Lens' DescribeTaskSets Prelude.Text+describeTaskSets_cluster = Lens.lens (\DescribeTaskSets' {cluster} -> cluster) (\s@DescribeTaskSets' {} a -> s {cluster = a} :: DescribeTaskSets)++-- | The short name or full Amazon Resource Name (ARN) of the service that+-- the task sets exist in.+describeTaskSets_service :: Lens.Lens' DescribeTaskSets Prelude.Text+describeTaskSets_service = Lens.lens (\DescribeTaskSets' {service} -> service) (\s@DescribeTaskSets' {} a -> s {service = a} :: DescribeTaskSets)++instance Core.AWSRequest DescribeTaskSets where+ type+ AWSResponse DescribeTaskSets =+ DescribeTaskSetsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeTaskSetsResponse'+ Prelude.<$> (x Data..?> "failures" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "taskSets" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeTaskSets where+ hashWithSalt _salt DescribeTaskSets' {..} =+ _salt+ `Prelude.hashWithSalt` include+ `Prelude.hashWithSalt` taskSets+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` service++instance Prelude.NFData DescribeTaskSets where+ rnf DescribeTaskSets' {..} =+ Prelude.rnf include+ `Prelude.seq` Prelude.rnf taskSets+ `Prelude.seq` Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf service++instance Data.ToHeaders DescribeTaskSets where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DescribeTaskSets" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeTaskSets where+ toJSON DescribeTaskSets' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("include" Data..=) Prelude.<$> include,+ ("taskSets" Data..=) Prelude.<$> taskSets,+ Prelude.Just ("cluster" Data..= cluster),+ Prelude.Just ("service" Data..= service)+ ]+ )++instance Data.ToPath DescribeTaskSets where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeTaskSets where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeTaskSetsResponse' smart constructor.+data DescribeTaskSetsResponse = DescribeTaskSetsResponse'+ { -- | Any failures associated with the call.+ failures :: Prelude.Maybe [Failure],+ -- | The list of task sets described.+ taskSets :: Prelude.Maybe [TaskSet],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeTaskSetsResponse' 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:+--+-- 'failures', 'describeTaskSetsResponse_failures' - Any failures associated with the call.+--+-- 'taskSets', 'describeTaskSetsResponse_taskSets' - The list of task sets described.+--+-- 'httpStatus', 'describeTaskSetsResponse_httpStatus' - The response's http status code.+newDescribeTaskSetsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeTaskSetsResponse+newDescribeTaskSetsResponse pHttpStatus_ =+ DescribeTaskSetsResponse'+ { failures =+ Prelude.Nothing,+ taskSets = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Any failures associated with the call.+describeTaskSetsResponse_failures :: Lens.Lens' DescribeTaskSetsResponse (Prelude.Maybe [Failure])+describeTaskSetsResponse_failures = Lens.lens (\DescribeTaskSetsResponse' {failures} -> failures) (\s@DescribeTaskSetsResponse' {} a -> s {failures = a} :: DescribeTaskSetsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The list of task sets described.+describeTaskSetsResponse_taskSets :: Lens.Lens' DescribeTaskSetsResponse (Prelude.Maybe [TaskSet])+describeTaskSetsResponse_taskSets = Lens.lens (\DescribeTaskSetsResponse' {taskSets} -> taskSets) (\s@DescribeTaskSetsResponse' {} a -> s {taskSets = a} :: DescribeTaskSetsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeTaskSetsResponse_httpStatus :: Lens.Lens' DescribeTaskSetsResponse Prelude.Int+describeTaskSetsResponse_httpStatus = Lens.lens (\DescribeTaskSetsResponse' {httpStatus} -> httpStatus) (\s@DescribeTaskSetsResponse' {} a -> s {httpStatus = a} :: DescribeTaskSetsResponse)++instance Prelude.NFData DescribeTaskSetsResponse where+ rnf DescribeTaskSetsResponse' {..} =+ Prelude.rnf failures+ `Prelude.seq` Prelude.rnf taskSets+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DescribeTasks.hs view
@@ -0,0 +1,229 @@+{-# 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.ECS.DescribeTasks+-- 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 a specified task or tasks.+--+-- Currently, stopped tasks appear in the returned results for at least one+-- hour.+module Amazonka.ECS.DescribeTasks+ ( -- * Creating a Request+ DescribeTasks (..),+ newDescribeTasks,++ -- * Request Lenses+ describeTasks_cluster,+ describeTasks_include,+ describeTasks_tasks,++ -- * Destructuring the Response+ DescribeTasksResponse (..),+ newDescribeTasksResponse,++ -- * Response Lenses+ describeTasksResponse_failures,+ describeTasksResponse_tasks,+ describeTasksResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeTasks' smart constructor.+data DescribeTasks = DescribeTasks'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the task or tasks to describe. If you do not specify a cluster,+ -- the default cluster is assumed. This parameter is required if the task+ -- or tasks you are describing were launched in any cluster other than the+ -- default cluster.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | Specifies whether you want to see the resource tags for the task. If+ -- @TAGS@ is specified, the tags are included in the response. If this+ -- field is omitted, tags aren\'t included in the response.+ include :: Prelude.Maybe [TaskField],+ -- | A list of up to 100 task IDs or full ARN entries.+ tasks :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeTasks' 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:+--+-- 'cluster', 'describeTasks_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the task or tasks to describe. If you do not specify a cluster,+-- the default cluster is assumed. This parameter is required if the task+-- or tasks you are describing were launched in any cluster other than the+-- default cluster.+--+-- 'include', 'describeTasks_include' - Specifies whether you want to see the resource tags for the task. If+-- @TAGS@ is specified, the tags are included in the response. If this+-- field is omitted, tags aren\'t included in the response.+--+-- 'tasks', 'describeTasks_tasks' - A list of up to 100 task IDs or full ARN entries.+newDescribeTasks ::+ DescribeTasks+newDescribeTasks =+ DescribeTasks'+ { cluster = Prelude.Nothing,+ include = Prelude.Nothing,+ tasks = Prelude.mempty+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the task or tasks to describe. If you do not specify a cluster,+-- the default cluster is assumed. This parameter is required if the task+-- or tasks you are describing were launched in any cluster other than the+-- default cluster.+describeTasks_cluster :: Lens.Lens' DescribeTasks (Prelude.Maybe Prelude.Text)+describeTasks_cluster = Lens.lens (\DescribeTasks' {cluster} -> cluster) (\s@DescribeTasks' {} a -> s {cluster = a} :: DescribeTasks)++-- | Specifies whether you want to see the resource tags for the task. If+-- @TAGS@ is specified, the tags are included in the response. If this+-- field is omitted, tags aren\'t included in the response.+describeTasks_include :: Lens.Lens' DescribeTasks (Prelude.Maybe [TaskField])+describeTasks_include = Lens.lens (\DescribeTasks' {include} -> include) (\s@DescribeTasks' {} a -> s {include = a} :: DescribeTasks) Prelude.. Lens.mapping Lens.coerced++-- | A list of up to 100 task IDs or full ARN entries.+describeTasks_tasks :: Lens.Lens' DescribeTasks [Prelude.Text]+describeTasks_tasks = Lens.lens (\DescribeTasks' {tasks} -> tasks) (\s@DescribeTasks' {} a -> s {tasks = a} :: DescribeTasks) Prelude.. Lens.coerced++instance Core.AWSRequest DescribeTasks where+ type+ AWSResponse DescribeTasks =+ DescribeTasksResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeTasksResponse'+ Prelude.<$> (x Data..?> "failures" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "tasks" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeTasks where+ hashWithSalt _salt DescribeTasks' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` include+ `Prelude.hashWithSalt` tasks++instance Prelude.NFData DescribeTasks where+ rnf DescribeTasks' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf include+ `Prelude.seq` Prelude.rnf tasks++instance Data.ToHeaders DescribeTasks where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DescribeTasks" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeTasks where+ toJSON DescribeTasks' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("include" Data..=) Prelude.<$> include,+ Prelude.Just ("tasks" Data..= tasks)+ ]+ )++instance Data.ToPath DescribeTasks where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeTasks where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeTasksResponse' smart constructor.+data DescribeTasksResponse = DescribeTasksResponse'+ { -- | Any failures associated with the call.+ failures :: Prelude.Maybe [Failure],+ -- | The list of tasks.+ tasks :: Prelude.Maybe [Task],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeTasksResponse' 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:+--+-- 'failures', 'describeTasksResponse_failures' - Any failures associated with the call.+--+-- 'tasks', 'describeTasksResponse_tasks' - The list of tasks.+--+-- 'httpStatus', 'describeTasksResponse_httpStatus' - The response's http status code.+newDescribeTasksResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeTasksResponse+newDescribeTasksResponse pHttpStatus_ =+ DescribeTasksResponse'+ { failures = Prelude.Nothing,+ tasks = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Any failures associated with the call.+describeTasksResponse_failures :: Lens.Lens' DescribeTasksResponse (Prelude.Maybe [Failure])+describeTasksResponse_failures = Lens.lens (\DescribeTasksResponse' {failures} -> failures) (\s@DescribeTasksResponse' {} a -> s {failures = a} :: DescribeTasksResponse) Prelude.. Lens.mapping Lens.coerced++-- | The list of tasks.+describeTasksResponse_tasks :: Lens.Lens' DescribeTasksResponse (Prelude.Maybe [Task])+describeTasksResponse_tasks = Lens.lens (\DescribeTasksResponse' {tasks} -> tasks) (\s@DescribeTasksResponse' {} a -> s {tasks = a} :: DescribeTasksResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeTasksResponse_httpStatus :: Lens.Lens' DescribeTasksResponse Prelude.Int+describeTasksResponse_httpStatus = Lens.lens (\DescribeTasksResponse' {httpStatus} -> httpStatus) (\s@DescribeTasksResponse' {} a -> s {httpStatus = a} :: DescribeTasksResponse)++instance Prelude.NFData DescribeTasksResponse where+ rnf DescribeTasksResponse' {..} =+ Prelude.rnf failures+ `Prelude.seq` Prelude.rnf tasks+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/DiscoverPollEndpoint.hs view
@@ -0,0 +1,233 @@+{-# 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.ECS.DiscoverPollEndpoint+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This action is only used by the Amazon ECS agent, and it is not intended+-- for use outside of the agent.+--+-- Returns an endpoint for the Amazon ECS agent to poll for updates.+module Amazonka.ECS.DiscoverPollEndpoint+ ( -- * Creating a Request+ DiscoverPollEndpoint (..),+ newDiscoverPollEndpoint,++ -- * Request Lenses+ discoverPollEndpoint_cluster,+ discoverPollEndpoint_containerInstance,++ -- * Destructuring the Response+ DiscoverPollEndpointResponse (..),+ newDiscoverPollEndpointResponse,++ -- * Response Lenses+ discoverPollEndpointResponse_endpoint,+ discoverPollEndpointResponse_serviceConnectEndpoint,+ discoverPollEndpointResponse_telemetryEndpoint,+ discoverPollEndpointResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDiscoverPollEndpoint' smart constructor.+data DiscoverPollEndpoint = DiscoverPollEndpoint'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- the container instance belongs to.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | The container instance ID or full ARN of the container instance. For+ -- more information about the ARN format, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+ -- in the /Amazon ECS Developer Guide/.+ containerInstance :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DiscoverPollEndpoint' 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:+--+-- 'cluster', 'discoverPollEndpoint_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- the container instance belongs to.+--+-- 'containerInstance', 'discoverPollEndpoint_containerInstance' - The container instance ID or full ARN of the container instance. For+-- more information about the ARN format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+-- in the /Amazon ECS Developer Guide/.+newDiscoverPollEndpoint ::+ DiscoverPollEndpoint+newDiscoverPollEndpoint =+ DiscoverPollEndpoint'+ { cluster = Prelude.Nothing,+ containerInstance = Prelude.Nothing+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- the container instance belongs to.+discoverPollEndpoint_cluster :: Lens.Lens' DiscoverPollEndpoint (Prelude.Maybe Prelude.Text)+discoverPollEndpoint_cluster = Lens.lens (\DiscoverPollEndpoint' {cluster} -> cluster) (\s@DiscoverPollEndpoint' {} a -> s {cluster = a} :: DiscoverPollEndpoint)++-- | The container instance ID or full ARN of the container instance. For+-- more information about the ARN format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+-- in the /Amazon ECS Developer Guide/.+discoverPollEndpoint_containerInstance :: Lens.Lens' DiscoverPollEndpoint (Prelude.Maybe Prelude.Text)+discoverPollEndpoint_containerInstance = Lens.lens (\DiscoverPollEndpoint' {containerInstance} -> containerInstance) (\s@DiscoverPollEndpoint' {} a -> s {containerInstance = a} :: DiscoverPollEndpoint)++instance Core.AWSRequest DiscoverPollEndpoint where+ type+ AWSResponse DiscoverPollEndpoint =+ DiscoverPollEndpointResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DiscoverPollEndpointResponse'+ Prelude.<$> (x Data..?> "endpoint")+ Prelude.<*> (x Data..?> "serviceConnectEndpoint")+ Prelude.<*> (x Data..?> "telemetryEndpoint")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DiscoverPollEndpoint where+ hashWithSalt _salt DiscoverPollEndpoint' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` containerInstance++instance Prelude.NFData DiscoverPollEndpoint where+ rnf DiscoverPollEndpoint' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf containerInstance++instance Data.ToHeaders DiscoverPollEndpoint where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.DiscoverPollEndpoint" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DiscoverPollEndpoint where+ toJSON DiscoverPollEndpoint' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("containerInstance" Data..=)+ Prelude.<$> containerInstance+ ]+ )++instance Data.ToPath DiscoverPollEndpoint where+ toPath = Prelude.const "/"++instance Data.ToQuery DiscoverPollEndpoint where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDiscoverPollEndpointResponse' smart constructor.+data DiscoverPollEndpointResponse = DiscoverPollEndpointResponse'+ { -- | The endpoint for the Amazon ECS agent to poll.+ endpoint :: Prelude.Maybe Prelude.Text,+ -- | The endpoint for the Amazon ECS agent to poll for Service Connect+ -- configuration. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ serviceConnectEndpoint :: Prelude.Maybe Prelude.Text,+ -- | The telemetry endpoint for the Amazon ECS agent.+ telemetryEndpoint :: 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 'DiscoverPollEndpointResponse' 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:+--+-- 'endpoint', 'discoverPollEndpointResponse_endpoint' - The endpoint for the Amazon ECS agent to poll.+--+-- 'serviceConnectEndpoint', 'discoverPollEndpointResponse_serviceConnectEndpoint' - The endpoint for the Amazon ECS agent to poll for Service Connect+-- configuration. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'telemetryEndpoint', 'discoverPollEndpointResponse_telemetryEndpoint' - The telemetry endpoint for the Amazon ECS agent.+--+-- 'httpStatus', 'discoverPollEndpointResponse_httpStatus' - The response's http status code.+newDiscoverPollEndpointResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DiscoverPollEndpointResponse+newDiscoverPollEndpointResponse pHttpStatus_ =+ DiscoverPollEndpointResponse'+ { endpoint =+ Prelude.Nothing,+ serviceConnectEndpoint = Prelude.Nothing,+ telemetryEndpoint = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The endpoint for the Amazon ECS agent to poll.+discoverPollEndpointResponse_endpoint :: Lens.Lens' DiscoverPollEndpointResponse (Prelude.Maybe Prelude.Text)+discoverPollEndpointResponse_endpoint = Lens.lens (\DiscoverPollEndpointResponse' {endpoint} -> endpoint) (\s@DiscoverPollEndpointResponse' {} a -> s {endpoint = a} :: DiscoverPollEndpointResponse)++-- | The endpoint for the Amazon ECS agent to poll for Service Connect+-- configuration. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+discoverPollEndpointResponse_serviceConnectEndpoint :: Lens.Lens' DiscoverPollEndpointResponse (Prelude.Maybe Prelude.Text)+discoverPollEndpointResponse_serviceConnectEndpoint = Lens.lens (\DiscoverPollEndpointResponse' {serviceConnectEndpoint} -> serviceConnectEndpoint) (\s@DiscoverPollEndpointResponse' {} a -> s {serviceConnectEndpoint = a} :: DiscoverPollEndpointResponse)++-- | The telemetry endpoint for the Amazon ECS agent.+discoverPollEndpointResponse_telemetryEndpoint :: Lens.Lens' DiscoverPollEndpointResponse (Prelude.Maybe Prelude.Text)+discoverPollEndpointResponse_telemetryEndpoint = Lens.lens (\DiscoverPollEndpointResponse' {telemetryEndpoint} -> telemetryEndpoint) (\s@DiscoverPollEndpointResponse' {} a -> s {telemetryEndpoint = a} :: DiscoverPollEndpointResponse)++-- | The response's http status code.+discoverPollEndpointResponse_httpStatus :: Lens.Lens' DiscoverPollEndpointResponse Prelude.Int+discoverPollEndpointResponse_httpStatus = Lens.lens (\DiscoverPollEndpointResponse' {httpStatus} -> httpStatus) (\s@DiscoverPollEndpointResponse' {} a -> s {httpStatus = a} :: DiscoverPollEndpointResponse)++instance Prelude.NFData DiscoverPollEndpointResponse where+ rnf DiscoverPollEndpointResponse' {..} =+ Prelude.rnf endpoint+ `Prelude.seq` Prelude.rnf serviceConnectEndpoint+ `Prelude.seq` Prelude.rnf telemetryEndpoint+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/ExecuteCommand.hs view
@@ -0,0 +1,319 @@+{-# 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.ECS.ExecuteCommand+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Runs a command remotely on a container within a task.+--+-- If you use a condition key in your IAM policy to refine the conditions+-- for the policy statement, for example limit the actions to a specific+-- cluster, you receive an @AccessDeniedException@ when there is a mismatch+-- between the condition key value and the corresponding parameter value.+--+-- For information about required permissions and considerations, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.htm Using Amazon ECS Exec for debugging>+-- in the /Amazon ECS Developer Guide/.+module Amazonka.ECS.ExecuteCommand+ ( -- * Creating a Request+ ExecuteCommand (..),+ newExecuteCommand,++ -- * Request Lenses+ executeCommand_cluster,+ executeCommand_container,+ executeCommand_command,+ executeCommand_interactive,+ executeCommand_task,++ -- * Destructuring the Response+ ExecuteCommandResponse (..),+ newExecuteCommandResponse,++ -- * Response Lenses+ executeCommandResponse_clusterArn,+ executeCommandResponse_containerArn,+ executeCommandResponse_containerName,+ executeCommandResponse_interactive,+ executeCommandResponse_session,+ executeCommandResponse_taskArn,+ executeCommandResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newExecuteCommand' smart constructor.+data ExecuteCommand = ExecuteCommand'+ { -- | The Amazon Resource Name (ARN) or short name of the cluster the task is+ -- running in. If you do not specify a cluster, the default cluster is+ -- assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | The name of the container to execute the command on. A container name+ -- only needs to be specified for tasks containing multiple containers.+ container :: Prelude.Maybe Prelude.Text,+ -- | The command to run on the container.+ command :: Prelude.Text,+ -- | Use this flag to run your command in interactive mode.+ interactive :: Prelude.Bool,+ -- | The Amazon Resource Name (ARN) or ID of the task the container is part+ -- of.+ task :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ExecuteCommand' 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:+--+-- 'cluster', 'executeCommand_cluster' - The Amazon Resource Name (ARN) or short name of the cluster the task is+-- running in. If you do not specify a cluster, the default cluster is+-- assumed.+--+-- 'container', 'executeCommand_container' - The name of the container to execute the command on. A container name+-- only needs to be specified for tasks containing multiple containers.+--+-- 'command', 'executeCommand_command' - The command to run on the container.+--+-- 'interactive', 'executeCommand_interactive' - Use this flag to run your command in interactive mode.+--+-- 'task', 'executeCommand_task' - The Amazon Resource Name (ARN) or ID of the task the container is part+-- of.+newExecuteCommand ::+ -- | 'command'+ Prelude.Text ->+ -- | 'interactive'+ Prelude.Bool ->+ -- | 'task'+ Prelude.Text ->+ ExecuteCommand+newExecuteCommand pCommand_ pInteractive_ pTask_ =+ ExecuteCommand'+ { cluster = Prelude.Nothing,+ container = Prelude.Nothing,+ command = pCommand_,+ interactive = pInteractive_,+ task = pTask_+ }++-- | The Amazon Resource Name (ARN) or short name of the cluster the task is+-- running in. If you do not specify a cluster, the default cluster is+-- assumed.+executeCommand_cluster :: Lens.Lens' ExecuteCommand (Prelude.Maybe Prelude.Text)+executeCommand_cluster = Lens.lens (\ExecuteCommand' {cluster} -> cluster) (\s@ExecuteCommand' {} a -> s {cluster = a} :: ExecuteCommand)++-- | The name of the container to execute the command on. A container name+-- only needs to be specified for tasks containing multiple containers.+executeCommand_container :: Lens.Lens' ExecuteCommand (Prelude.Maybe Prelude.Text)+executeCommand_container = Lens.lens (\ExecuteCommand' {container} -> container) (\s@ExecuteCommand' {} a -> s {container = a} :: ExecuteCommand)++-- | The command to run on the container.+executeCommand_command :: Lens.Lens' ExecuteCommand Prelude.Text+executeCommand_command = Lens.lens (\ExecuteCommand' {command} -> command) (\s@ExecuteCommand' {} a -> s {command = a} :: ExecuteCommand)++-- | Use this flag to run your command in interactive mode.+executeCommand_interactive :: Lens.Lens' ExecuteCommand Prelude.Bool+executeCommand_interactive = Lens.lens (\ExecuteCommand' {interactive} -> interactive) (\s@ExecuteCommand' {} a -> s {interactive = a} :: ExecuteCommand)++-- | The Amazon Resource Name (ARN) or ID of the task the container is part+-- of.+executeCommand_task :: Lens.Lens' ExecuteCommand Prelude.Text+executeCommand_task = Lens.lens (\ExecuteCommand' {task} -> task) (\s@ExecuteCommand' {} a -> s {task = a} :: ExecuteCommand)++instance Core.AWSRequest ExecuteCommand where+ type+ AWSResponse ExecuteCommand =+ ExecuteCommandResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ExecuteCommandResponse'+ Prelude.<$> (x Data..?> "clusterArn")+ Prelude.<*> (x Data..?> "containerArn")+ Prelude.<*> (x Data..?> "containerName")+ Prelude.<*> (x Data..?> "interactive")+ Prelude.<*> (x Data..?> "session")+ Prelude.<*> (x Data..?> "taskArn")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ExecuteCommand where+ hashWithSalt _salt ExecuteCommand' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` container+ `Prelude.hashWithSalt` command+ `Prelude.hashWithSalt` interactive+ `Prelude.hashWithSalt` task++instance Prelude.NFData ExecuteCommand where+ rnf ExecuteCommand' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf container+ `Prelude.seq` Prelude.rnf command+ `Prelude.seq` Prelude.rnf interactive+ `Prelude.seq` Prelude.rnf task++instance Data.ToHeaders ExecuteCommand where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.ExecuteCommand" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ExecuteCommand where+ toJSON ExecuteCommand' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("container" Data..=) Prelude.<$> container,+ Prelude.Just ("command" Data..= command),+ Prelude.Just ("interactive" Data..= interactive),+ Prelude.Just ("task" Data..= task)+ ]+ )++instance Data.ToPath ExecuteCommand where+ toPath = Prelude.const "/"++instance Data.ToQuery ExecuteCommand where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newExecuteCommandResponse' smart constructor.+data ExecuteCommandResponse = ExecuteCommandResponse'+ { -- | The Amazon Resource Name (ARN) of the cluster.+ clusterArn :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the container.+ containerArn :: Prelude.Maybe Prelude.Text,+ -- | The name of the container.+ containerName :: Prelude.Maybe Prelude.Text,+ -- | Determines whether the execute command session is running in interactive+ -- mode. Amazon ECS only supports initiating interactive sessions, so you+ -- must specify @true@ for this value.+ interactive :: Prelude.Maybe Prelude.Bool,+ -- | The details of the SSM session that was created for this instance of+ -- execute-command.+ session :: Prelude.Maybe Session,+ -- | The Amazon Resource Name (ARN) of the task.+ taskArn :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ExecuteCommandResponse' 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:+--+-- 'clusterArn', 'executeCommandResponse_clusterArn' - The Amazon Resource Name (ARN) of the cluster.+--+-- 'containerArn', 'executeCommandResponse_containerArn' - The Amazon Resource Name (ARN) of the container.+--+-- 'containerName', 'executeCommandResponse_containerName' - The name of the container.+--+-- 'interactive', 'executeCommandResponse_interactive' - Determines whether the execute command session is running in interactive+-- mode. Amazon ECS only supports initiating interactive sessions, so you+-- must specify @true@ for this value.+--+-- 'session', 'executeCommandResponse_session' - The details of the SSM session that was created for this instance of+-- execute-command.+--+-- 'taskArn', 'executeCommandResponse_taskArn' - The Amazon Resource Name (ARN) of the task.+--+-- 'httpStatus', 'executeCommandResponse_httpStatus' - The response's http status code.+newExecuteCommandResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ExecuteCommandResponse+newExecuteCommandResponse pHttpStatus_ =+ ExecuteCommandResponse'+ { clusterArn =+ Prelude.Nothing,+ containerArn = Prelude.Nothing,+ containerName = Prelude.Nothing,+ interactive = Prelude.Nothing,+ session = Prelude.Nothing,+ taskArn = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The Amazon Resource Name (ARN) of the cluster.+executeCommandResponse_clusterArn :: Lens.Lens' ExecuteCommandResponse (Prelude.Maybe Prelude.Text)+executeCommandResponse_clusterArn = Lens.lens (\ExecuteCommandResponse' {clusterArn} -> clusterArn) (\s@ExecuteCommandResponse' {} a -> s {clusterArn = a} :: ExecuteCommandResponse)++-- | The Amazon Resource Name (ARN) of the container.+executeCommandResponse_containerArn :: Lens.Lens' ExecuteCommandResponse (Prelude.Maybe Prelude.Text)+executeCommandResponse_containerArn = Lens.lens (\ExecuteCommandResponse' {containerArn} -> containerArn) (\s@ExecuteCommandResponse' {} a -> s {containerArn = a} :: ExecuteCommandResponse)++-- | The name of the container.+executeCommandResponse_containerName :: Lens.Lens' ExecuteCommandResponse (Prelude.Maybe Prelude.Text)+executeCommandResponse_containerName = Lens.lens (\ExecuteCommandResponse' {containerName} -> containerName) (\s@ExecuteCommandResponse' {} a -> s {containerName = a} :: ExecuteCommandResponse)++-- | Determines whether the execute command session is running in interactive+-- mode. Amazon ECS only supports initiating interactive sessions, so you+-- must specify @true@ for this value.+executeCommandResponse_interactive :: Lens.Lens' ExecuteCommandResponse (Prelude.Maybe Prelude.Bool)+executeCommandResponse_interactive = Lens.lens (\ExecuteCommandResponse' {interactive} -> interactive) (\s@ExecuteCommandResponse' {} a -> s {interactive = a} :: ExecuteCommandResponse)++-- | The details of the SSM session that was created for this instance of+-- execute-command.+executeCommandResponse_session :: Lens.Lens' ExecuteCommandResponse (Prelude.Maybe Session)+executeCommandResponse_session = Lens.lens (\ExecuteCommandResponse' {session} -> session) (\s@ExecuteCommandResponse' {} a -> s {session = a} :: ExecuteCommandResponse)++-- | The Amazon Resource Name (ARN) of the task.+executeCommandResponse_taskArn :: Lens.Lens' ExecuteCommandResponse (Prelude.Maybe Prelude.Text)+executeCommandResponse_taskArn = Lens.lens (\ExecuteCommandResponse' {taskArn} -> taskArn) (\s@ExecuteCommandResponse' {} a -> s {taskArn = a} :: ExecuteCommandResponse)++-- | The response's http status code.+executeCommandResponse_httpStatus :: Lens.Lens' ExecuteCommandResponse Prelude.Int+executeCommandResponse_httpStatus = Lens.lens (\ExecuteCommandResponse' {httpStatus} -> httpStatus) (\s@ExecuteCommandResponse' {} a -> s {httpStatus = a} :: ExecuteCommandResponse)++instance Prelude.NFData ExecuteCommandResponse where+ rnf ExecuteCommandResponse' {..} =+ Prelude.rnf clusterArn+ `Prelude.seq` Prelude.rnf containerArn+ `Prelude.seq` Prelude.rnf containerName+ `Prelude.seq` Prelude.rnf interactive+ `Prelude.seq` Prelude.rnf session+ `Prelude.seq` Prelude.rnf taskArn+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/GetTaskProtection.hs view
@@ -0,0 +1,227 @@+{-# 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.ECS.GetTaskProtection+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves the protection status of tasks in an Amazon ECS service.+module Amazonka.ECS.GetTaskProtection+ ( -- * Creating a Request+ GetTaskProtection (..),+ newGetTaskProtection,++ -- * Request Lenses+ getTaskProtection_tasks,+ getTaskProtection_cluster,++ -- * Destructuring the Response+ GetTaskProtectionResponse (..),+ newGetTaskProtectionResponse,++ -- * Response Lenses+ getTaskProtectionResponse_failures,+ getTaskProtectionResponse_protectedTasks,+ getTaskProtectionResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetTaskProtection' smart constructor.+data GetTaskProtection = GetTaskProtection'+ { -- | A list of up to 100 task IDs or full ARN entries.+ tasks :: Prelude.Maybe [Prelude.Text],+ -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the service that the task sets exist in.+ cluster :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetTaskProtection' 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:+--+-- 'tasks', 'getTaskProtection_tasks' - A list of up to 100 task IDs or full ARN entries.+--+-- 'cluster', 'getTaskProtection_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task sets exist in.+newGetTaskProtection ::+ -- | 'cluster'+ Prelude.Text ->+ GetTaskProtection+newGetTaskProtection pCluster_ =+ GetTaskProtection'+ { tasks = Prelude.Nothing,+ cluster = pCluster_+ }++-- | A list of up to 100 task IDs or full ARN entries.+getTaskProtection_tasks :: Lens.Lens' GetTaskProtection (Prelude.Maybe [Prelude.Text])+getTaskProtection_tasks = Lens.lens (\GetTaskProtection' {tasks} -> tasks) (\s@GetTaskProtection' {} a -> s {tasks = a} :: GetTaskProtection) Prelude.. Lens.mapping Lens.coerced++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task sets exist in.+getTaskProtection_cluster :: Lens.Lens' GetTaskProtection Prelude.Text+getTaskProtection_cluster = Lens.lens (\GetTaskProtection' {cluster} -> cluster) (\s@GetTaskProtection' {} a -> s {cluster = a} :: GetTaskProtection)++instance Core.AWSRequest GetTaskProtection where+ type+ AWSResponse GetTaskProtection =+ GetTaskProtectionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetTaskProtectionResponse'+ Prelude.<$> (x Data..?> "failures" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "protectedTasks" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetTaskProtection where+ hashWithSalt _salt GetTaskProtection' {..} =+ _salt+ `Prelude.hashWithSalt` tasks+ `Prelude.hashWithSalt` cluster++instance Prelude.NFData GetTaskProtection where+ rnf GetTaskProtection' {..} =+ Prelude.rnf tasks `Prelude.seq` Prelude.rnf cluster++instance Data.ToHeaders GetTaskProtection where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.GetTaskProtection" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetTaskProtection where+ toJSON GetTaskProtection' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("tasks" Data..=) Prelude.<$> tasks,+ Prelude.Just ("cluster" Data..= cluster)+ ]+ )++instance Data.ToPath GetTaskProtection where+ toPath = Prelude.const "/"++instance Data.ToQuery GetTaskProtection where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetTaskProtectionResponse' smart constructor.+data GetTaskProtectionResponse = GetTaskProtectionResponse'+ { -- | Any failures associated with the call.+ failures :: Prelude.Maybe [Failure],+ -- | A list of tasks with the following information.+ --+ -- - @taskArn@: The task ARN.+ --+ -- - @protectionEnabled@: The protection status of the task. If scale-in+ -- protection is enabled for a task, the value is @true@. Otherwise, it+ -- is @false@.+ --+ -- - @expirationDate@: The epoch time when protection for the task will+ -- expire.+ protectedTasks :: Prelude.Maybe [ProtectedTask],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetTaskProtectionResponse' 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:+--+-- 'failures', 'getTaskProtectionResponse_failures' - Any failures associated with the call.+--+-- 'protectedTasks', 'getTaskProtectionResponse_protectedTasks' - A list of tasks with the following information.+--+-- - @taskArn@: The task ARN.+--+-- - @protectionEnabled@: The protection status of the task. If scale-in+-- protection is enabled for a task, the value is @true@. Otherwise, it+-- is @false@.+--+-- - @expirationDate@: The epoch time when protection for the task will+-- expire.+--+-- 'httpStatus', 'getTaskProtectionResponse_httpStatus' - The response's http status code.+newGetTaskProtectionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetTaskProtectionResponse+newGetTaskProtectionResponse pHttpStatus_ =+ GetTaskProtectionResponse'+ { failures =+ Prelude.Nothing,+ protectedTasks = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Any failures associated with the call.+getTaskProtectionResponse_failures :: Lens.Lens' GetTaskProtectionResponse (Prelude.Maybe [Failure])+getTaskProtectionResponse_failures = Lens.lens (\GetTaskProtectionResponse' {failures} -> failures) (\s@GetTaskProtectionResponse' {} a -> s {failures = a} :: GetTaskProtectionResponse) Prelude.. Lens.mapping Lens.coerced++-- | A list of tasks with the following information.+--+-- - @taskArn@: The task ARN.+--+-- - @protectionEnabled@: The protection status of the task. If scale-in+-- protection is enabled for a task, the value is @true@. Otherwise, it+-- is @false@.+--+-- - @expirationDate@: The epoch time when protection for the task will+-- expire.+getTaskProtectionResponse_protectedTasks :: Lens.Lens' GetTaskProtectionResponse (Prelude.Maybe [ProtectedTask])+getTaskProtectionResponse_protectedTasks = Lens.lens (\GetTaskProtectionResponse' {protectedTasks} -> protectedTasks) (\s@GetTaskProtectionResponse' {} a -> s {protectedTasks = a} :: GetTaskProtectionResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+getTaskProtectionResponse_httpStatus :: Lens.Lens' GetTaskProtectionResponse Prelude.Int+getTaskProtectionResponse_httpStatus = Lens.lens (\GetTaskProtectionResponse' {httpStatus} -> httpStatus) (\s@GetTaskProtectionResponse' {} a -> s {httpStatus = a} :: GetTaskProtectionResponse)++instance Prelude.NFData GetTaskProtectionResponse where+ rnf GetTaskProtectionResponse' {..} =+ Prelude.rnf failures+ `Prelude.seq` Prelude.rnf protectedTasks+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/Lens.hs view
@@ -0,0 +1,1328 @@+{-# 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.ECS.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.ECS.Lens+ ( -- * Operations++ -- ** CreateCapacityProvider+ createCapacityProvider_tags,+ createCapacityProvider_name,+ createCapacityProvider_autoScalingGroupProvider,+ createCapacityProviderResponse_capacityProvider,+ createCapacityProviderResponse_httpStatus,++ -- ** CreateCluster+ createCluster_capacityProviders,+ createCluster_clusterName,+ createCluster_configuration,+ createCluster_defaultCapacityProviderStrategy,+ createCluster_serviceConnectDefaults,+ createCluster_settings,+ createCluster_tags,+ createClusterResponse_cluster,+ createClusterResponse_httpStatus,++ -- ** CreateService+ createService_capacityProviderStrategy,+ createService_clientToken,+ createService_cluster,+ createService_deploymentConfiguration,+ createService_deploymentController,+ createService_desiredCount,+ createService_enableECSManagedTags,+ createService_enableExecuteCommand,+ createService_healthCheckGracePeriodSeconds,+ createService_launchType,+ createService_loadBalancers,+ createService_networkConfiguration,+ createService_placementConstraints,+ createService_placementStrategy,+ createService_platformVersion,+ createService_propagateTags,+ createService_role,+ createService_schedulingStrategy,+ createService_serviceConnectConfiguration,+ createService_serviceRegistries,+ createService_tags,+ createService_taskDefinition,+ createService_serviceName,+ createServiceResponse_service,+ createServiceResponse_httpStatus,++ -- ** CreateTaskSet+ createTaskSet_capacityProviderStrategy,+ createTaskSet_clientToken,+ createTaskSet_externalId,+ createTaskSet_launchType,+ createTaskSet_loadBalancers,+ createTaskSet_networkConfiguration,+ createTaskSet_platformVersion,+ createTaskSet_scale,+ createTaskSet_serviceRegistries,+ createTaskSet_tags,+ createTaskSet_service,+ createTaskSet_cluster,+ createTaskSet_taskDefinition,+ createTaskSetResponse_taskSet,+ createTaskSetResponse_httpStatus,++ -- ** DeleteAccountSetting+ deleteAccountSetting_principalArn,+ deleteAccountSetting_name,+ deleteAccountSettingResponse_setting,+ deleteAccountSettingResponse_httpStatus,++ -- ** DeleteAttributes+ deleteAttributes_cluster,+ deleteAttributes_attributes,+ deleteAttributesResponse_attributes,+ deleteAttributesResponse_httpStatus,++ -- ** DeleteCapacityProvider+ deleteCapacityProvider_capacityProvider,+ deleteCapacityProviderResponse_capacityProvider,+ deleteCapacityProviderResponse_httpStatus,++ -- ** DeleteCluster+ deleteCluster_cluster,+ deleteClusterResponse_cluster,+ deleteClusterResponse_httpStatus,++ -- ** DeleteService+ deleteService_cluster,+ deleteService_force,+ deleteService_service,+ deleteServiceResponse_service,+ deleteServiceResponse_httpStatus,++ -- ** DeleteTaskSet+ deleteTaskSet_force,+ deleteTaskSet_cluster,+ deleteTaskSet_service,+ deleteTaskSet_taskSet,+ deleteTaskSetResponse_taskSet,+ deleteTaskSetResponse_httpStatus,++ -- ** DeregisterContainerInstance+ deregisterContainerInstance_cluster,+ deregisterContainerInstance_force,+ deregisterContainerInstance_containerInstance,+ deregisterContainerInstanceResponse_containerInstance,+ deregisterContainerInstanceResponse_httpStatus,++ -- ** DeregisterTaskDefinition+ deregisterTaskDefinition_taskDefinition,+ deregisterTaskDefinitionResponse_taskDefinition,+ deregisterTaskDefinitionResponse_httpStatus,++ -- ** DescribeCapacityProviders+ describeCapacityProviders_capacityProviders,+ describeCapacityProviders_include,+ describeCapacityProviders_maxResults,+ describeCapacityProviders_nextToken,+ describeCapacityProvidersResponse_capacityProviders,+ describeCapacityProvidersResponse_failures,+ describeCapacityProvidersResponse_nextToken,+ describeCapacityProvidersResponse_httpStatus,++ -- ** DescribeClusters+ describeClusters_clusters,+ describeClusters_include,+ describeClustersResponse_clusters,+ describeClustersResponse_failures,+ describeClustersResponse_httpStatus,++ -- ** DescribeContainerInstances+ describeContainerInstances_cluster,+ describeContainerInstances_include,+ describeContainerInstances_containerInstances,+ describeContainerInstancesResponse_containerInstances,+ describeContainerInstancesResponse_failures,+ describeContainerInstancesResponse_httpStatus,++ -- ** DescribeServices+ describeServices_cluster,+ describeServices_include,+ describeServices_services,+ describeServicesResponse_failures,+ describeServicesResponse_services,+ describeServicesResponse_httpStatus,++ -- ** DescribeTaskDefinition+ describeTaskDefinition_include,+ describeTaskDefinition_taskDefinition,+ describeTaskDefinitionResponse_tags,+ describeTaskDefinitionResponse_taskDefinition,+ describeTaskDefinitionResponse_httpStatus,++ -- ** DescribeTaskSets+ describeTaskSets_include,+ describeTaskSets_taskSets,+ describeTaskSets_cluster,+ describeTaskSets_service,+ describeTaskSetsResponse_failures,+ describeTaskSetsResponse_taskSets,+ describeTaskSetsResponse_httpStatus,++ -- ** DescribeTasks+ describeTasks_cluster,+ describeTasks_include,+ describeTasks_tasks,+ describeTasksResponse_failures,+ describeTasksResponse_tasks,+ describeTasksResponse_httpStatus,++ -- ** DiscoverPollEndpoint+ discoverPollEndpoint_cluster,+ discoverPollEndpoint_containerInstance,+ discoverPollEndpointResponse_endpoint,+ discoverPollEndpointResponse_serviceConnectEndpoint,+ discoverPollEndpointResponse_telemetryEndpoint,+ discoverPollEndpointResponse_httpStatus,++ -- ** ExecuteCommand+ executeCommand_cluster,+ executeCommand_container,+ executeCommand_command,+ executeCommand_interactive,+ executeCommand_task,+ executeCommandResponse_clusterArn,+ executeCommandResponse_containerArn,+ executeCommandResponse_containerName,+ executeCommandResponse_interactive,+ executeCommandResponse_session,+ executeCommandResponse_taskArn,+ executeCommandResponse_httpStatus,++ -- ** GetTaskProtection+ getTaskProtection_tasks,+ getTaskProtection_cluster,+ getTaskProtectionResponse_failures,+ getTaskProtectionResponse_protectedTasks,+ getTaskProtectionResponse_httpStatus,++ -- ** ListAccountSettings+ listAccountSettings_effectiveSettings,+ listAccountSettings_maxResults,+ listAccountSettings_name,+ listAccountSettings_nextToken,+ listAccountSettings_principalArn,+ listAccountSettings_value,+ listAccountSettingsResponse_nextToken,+ listAccountSettingsResponse_settings,+ listAccountSettingsResponse_httpStatus,++ -- ** ListAttributes+ listAttributes_attributeName,+ listAttributes_attributeValue,+ listAttributes_cluster,+ listAttributes_maxResults,+ listAttributes_nextToken,+ listAttributes_targetType,+ listAttributesResponse_attributes,+ listAttributesResponse_nextToken,+ listAttributesResponse_httpStatus,++ -- ** ListClusters+ listClusters_maxResults,+ listClusters_nextToken,+ listClustersResponse_clusterArns,+ listClustersResponse_nextToken,+ listClustersResponse_httpStatus,++ -- ** ListContainerInstances+ listContainerInstances_cluster,+ listContainerInstances_filter,+ listContainerInstances_maxResults,+ listContainerInstances_nextToken,+ listContainerInstances_status,+ listContainerInstancesResponse_containerInstanceArns,+ listContainerInstancesResponse_nextToken,+ listContainerInstancesResponse_httpStatus,++ -- ** ListServices+ listServices_cluster,+ listServices_launchType,+ listServices_maxResults,+ listServices_nextToken,+ listServices_schedulingStrategy,+ listServicesResponse_nextToken,+ listServicesResponse_serviceArns,+ listServicesResponse_httpStatus,++ -- ** ListServicesByNamespace+ listServicesByNamespace_maxResults,+ listServicesByNamespace_nextToken,+ listServicesByNamespace_namespace,+ listServicesByNamespaceResponse_nextToken,+ listServicesByNamespaceResponse_serviceArns,+ listServicesByNamespaceResponse_httpStatus,++ -- ** ListTagsForResource+ listTagsForResource_resourceArn,+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,++ -- ** ListTaskDefinitionFamilies+ listTaskDefinitionFamilies_familyPrefix,+ listTaskDefinitionFamilies_maxResults,+ listTaskDefinitionFamilies_nextToken,+ listTaskDefinitionFamilies_status,+ listTaskDefinitionFamiliesResponse_families,+ listTaskDefinitionFamiliesResponse_nextToken,+ listTaskDefinitionFamiliesResponse_httpStatus,++ -- ** ListTaskDefinitions+ listTaskDefinitions_familyPrefix,+ listTaskDefinitions_maxResults,+ listTaskDefinitions_nextToken,+ listTaskDefinitions_sort,+ listTaskDefinitions_status,+ listTaskDefinitionsResponse_nextToken,+ listTaskDefinitionsResponse_taskDefinitionArns,+ listTaskDefinitionsResponse_httpStatus,++ -- ** ListTasks+ listTasks_cluster,+ listTasks_containerInstance,+ listTasks_desiredStatus,+ listTasks_family,+ listTasks_launchType,+ listTasks_maxResults,+ listTasks_nextToken,+ listTasks_serviceName,+ listTasks_startedBy,+ listTasksResponse_nextToken,+ listTasksResponse_taskArns,+ listTasksResponse_httpStatus,++ -- ** PutAccountSetting+ putAccountSetting_principalArn,+ putAccountSetting_name,+ putAccountSetting_value,+ putAccountSettingResponse_setting,+ putAccountSettingResponse_httpStatus,++ -- ** PutAccountSettingDefault+ putAccountSettingDefault_name,+ putAccountSettingDefault_value,+ putAccountSettingDefaultResponse_setting,+ putAccountSettingDefaultResponse_httpStatus,++ -- ** PutAttributes+ putAttributes_cluster,+ putAttributes_attributes,+ putAttributesResponse_attributes,+ putAttributesResponse_httpStatus,++ -- ** PutClusterCapacityProviders+ putClusterCapacityProviders_cluster,+ putClusterCapacityProviders_capacityProviders,+ putClusterCapacityProviders_defaultCapacityProviderStrategy,+ putClusterCapacityProvidersResponse_cluster,+ putClusterCapacityProvidersResponse_httpStatus,++ -- ** RegisterContainerInstance+ registerContainerInstance_attributes,+ registerContainerInstance_cluster,+ registerContainerInstance_containerInstanceArn,+ registerContainerInstance_instanceIdentityDocument,+ registerContainerInstance_instanceIdentityDocumentSignature,+ registerContainerInstance_platformDevices,+ registerContainerInstance_tags,+ registerContainerInstance_totalResources,+ registerContainerInstance_versionInfo,+ registerContainerInstanceResponse_containerInstance,+ registerContainerInstanceResponse_httpStatus,++ -- ** RegisterTaskDefinition+ registerTaskDefinition_cpu,+ registerTaskDefinition_ephemeralStorage,+ registerTaskDefinition_executionRoleArn,+ registerTaskDefinition_inferenceAccelerators,+ registerTaskDefinition_ipcMode,+ registerTaskDefinition_memory,+ registerTaskDefinition_networkMode,+ registerTaskDefinition_pidMode,+ registerTaskDefinition_placementConstraints,+ registerTaskDefinition_proxyConfiguration,+ registerTaskDefinition_requiresCompatibilities,+ registerTaskDefinition_runtimePlatform,+ registerTaskDefinition_tags,+ registerTaskDefinition_taskRoleArn,+ registerTaskDefinition_volumes,+ registerTaskDefinition_family,+ registerTaskDefinition_containerDefinitions,+ registerTaskDefinitionResponse_tags,+ registerTaskDefinitionResponse_taskDefinition,+ registerTaskDefinitionResponse_httpStatus,++ -- ** RunTask+ runTask_capacityProviderStrategy,+ runTask_cluster,+ runTask_count,+ runTask_enableECSManagedTags,+ runTask_enableExecuteCommand,+ runTask_group,+ runTask_launchType,+ runTask_networkConfiguration,+ runTask_overrides,+ runTask_placementConstraints,+ runTask_placementStrategy,+ runTask_platformVersion,+ runTask_propagateTags,+ runTask_referenceId,+ runTask_startedBy,+ runTask_tags,+ runTask_taskDefinition,+ runTaskResponse_failures,+ runTaskResponse_tasks,+ runTaskResponse_httpStatus,++ -- ** StartTask+ startTask_cluster,+ startTask_enableECSManagedTags,+ startTask_enableExecuteCommand,+ startTask_group,+ startTask_networkConfiguration,+ startTask_overrides,+ startTask_propagateTags,+ startTask_referenceId,+ startTask_startedBy,+ startTask_tags,+ startTask_containerInstances,+ startTask_taskDefinition,+ startTaskResponse_failures,+ startTaskResponse_tasks,+ startTaskResponse_httpStatus,++ -- ** StopTask+ stopTask_cluster,+ stopTask_reason,+ stopTask_task,+ stopTaskResponse_task,+ stopTaskResponse_httpStatus,++ -- ** SubmitAttachmentStateChanges+ submitAttachmentStateChanges_cluster,+ submitAttachmentStateChanges_attachments,+ submitAttachmentStateChangesResponse_acknowledgment,+ submitAttachmentStateChangesResponse_httpStatus,++ -- ** SubmitContainerStateChange+ submitContainerStateChange_cluster,+ submitContainerStateChange_containerName,+ submitContainerStateChange_exitCode,+ submitContainerStateChange_networkBindings,+ submitContainerStateChange_reason,+ submitContainerStateChange_runtimeId,+ submitContainerStateChange_status,+ submitContainerStateChange_task,+ submitContainerStateChangeResponse_acknowledgment,+ submitContainerStateChangeResponse_httpStatus,++ -- ** SubmitTaskStateChange+ submitTaskStateChange_attachments,+ submitTaskStateChange_cluster,+ submitTaskStateChange_containers,+ submitTaskStateChange_executionStoppedAt,+ submitTaskStateChange_managedAgents,+ submitTaskStateChange_pullStartedAt,+ submitTaskStateChange_pullStoppedAt,+ submitTaskStateChange_reason,+ submitTaskStateChange_status,+ submitTaskStateChange_task,+ submitTaskStateChangeResponse_acknowledgment,+ submitTaskStateChangeResponse_httpStatus,++ -- ** TagResource+ tagResource_resourceArn,+ tagResource_tags,+ tagResourceResponse_httpStatus,++ -- ** UntagResource+ untagResource_resourceArn,+ untagResource_tagKeys,+ untagResourceResponse_httpStatus,++ -- ** UpdateCapacityProvider+ updateCapacityProvider_name,+ updateCapacityProvider_autoScalingGroupProvider,+ updateCapacityProviderResponse_capacityProvider,+ updateCapacityProviderResponse_httpStatus,++ -- ** UpdateCluster+ updateCluster_configuration,+ updateCluster_serviceConnectDefaults,+ updateCluster_settings,+ updateCluster_cluster,+ updateClusterResponse_cluster,+ updateClusterResponse_httpStatus,++ -- ** UpdateClusterSettings+ updateClusterSettings_cluster,+ updateClusterSettings_settings,+ updateClusterSettingsResponse_cluster,+ updateClusterSettingsResponse_httpStatus,++ -- ** UpdateContainerAgent+ updateContainerAgent_cluster,+ updateContainerAgent_containerInstance,+ updateContainerAgentResponse_containerInstance,+ updateContainerAgentResponse_httpStatus,++ -- ** UpdateContainerInstancesState+ updateContainerInstancesState_cluster,+ updateContainerInstancesState_containerInstances,+ updateContainerInstancesState_status,+ updateContainerInstancesStateResponse_containerInstances,+ updateContainerInstancesStateResponse_failures,+ updateContainerInstancesStateResponse_httpStatus,++ -- ** UpdateService+ updateService_capacityProviderStrategy,+ updateService_cluster,+ updateService_deploymentConfiguration,+ updateService_desiredCount,+ updateService_enableECSManagedTags,+ updateService_enableExecuteCommand,+ updateService_forceNewDeployment,+ updateService_healthCheckGracePeriodSeconds,+ updateService_loadBalancers,+ updateService_networkConfiguration,+ updateService_placementConstraints,+ updateService_placementStrategy,+ updateService_platformVersion,+ updateService_propagateTags,+ updateService_serviceConnectConfiguration,+ updateService_serviceRegistries,+ updateService_taskDefinition,+ updateService_service,+ updateServiceResponse_service,+ updateServiceResponse_httpStatus,++ -- ** UpdateServicePrimaryTaskSet+ updateServicePrimaryTaskSet_cluster,+ updateServicePrimaryTaskSet_service,+ updateServicePrimaryTaskSet_primaryTaskSet,+ updateServicePrimaryTaskSetResponse_taskSet,+ updateServicePrimaryTaskSetResponse_httpStatus,++ -- ** UpdateTaskProtection+ updateTaskProtection_expiresInMinutes,+ updateTaskProtection_cluster,+ updateTaskProtection_tasks,+ updateTaskProtection_protectionEnabled,+ updateTaskProtectionResponse_failures,+ updateTaskProtectionResponse_protectedTasks,+ updateTaskProtectionResponse_httpStatus,++ -- ** UpdateTaskSet+ updateTaskSet_cluster,+ updateTaskSet_service,+ updateTaskSet_taskSet,+ updateTaskSet_scale,+ updateTaskSetResponse_taskSet,+ updateTaskSetResponse_httpStatus,++ -- * Types++ -- ** Attachment+ attachment_details,+ attachment_id,+ attachment_status,+ attachment_type,++ -- ** AttachmentStateChange+ attachmentStateChange_attachmentArn,+ attachmentStateChange_status,++ -- ** Attribute+ attribute_targetId,+ attribute_targetType,+ attribute_value,+ attribute_name,++ -- ** AutoScalingGroupProvider+ autoScalingGroupProvider_managedScaling,+ autoScalingGroupProvider_managedTerminationProtection,+ autoScalingGroupProvider_autoScalingGroupArn,++ -- ** AutoScalingGroupProviderUpdate+ autoScalingGroupProviderUpdate_managedScaling,+ autoScalingGroupProviderUpdate_managedTerminationProtection,++ -- ** AwsVpcConfiguration+ awsVpcConfiguration_assignPublicIp,+ awsVpcConfiguration_securityGroups,+ awsVpcConfiguration_subnets,++ -- ** CapacityProvider+ capacityProvider_autoScalingGroupProvider,+ capacityProvider_capacityProviderArn,+ capacityProvider_name,+ capacityProvider_status,+ capacityProvider_tags,+ capacityProvider_updateStatus,+ capacityProvider_updateStatusReason,++ -- ** CapacityProviderStrategyItem+ capacityProviderStrategyItem_base,+ capacityProviderStrategyItem_weight,+ capacityProviderStrategyItem_capacityProvider,++ -- ** Cluster+ cluster_activeServicesCount,+ cluster_attachments,+ cluster_attachmentsStatus,+ cluster_capacityProviders,+ cluster_clusterArn,+ cluster_clusterName,+ cluster_configuration,+ cluster_defaultCapacityProviderStrategy,+ cluster_pendingTasksCount,+ cluster_registeredContainerInstancesCount,+ cluster_runningTasksCount,+ cluster_serviceConnectDefaults,+ cluster_settings,+ cluster_statistics,+ cluster_status,+ cluster_tags,++ -- ** ClusterConfiguration+ clusterConfiguration_executeCommandConfiguration,++ -- ** ClusterServiceConnectDefaults+ clusterServiceConnectDefaults_namespace,++ -- ** ClusterServiceConnectDefaultsRequest+ clusterServiceConnectDefaultsRequest_namespace,++ -- ** ClusterSetting+ clusterSetting_name,+ clusterSetting_value,++ -- ** Container+ container_containerArn,+ container_cpu,+ container_exitCode,+ container_gpuIds,+ container_healthStatus,+ container_image,+ container_imageDigest,+ container_lastStatus,+ container_managedAgents,+ container_memory,+ container_memoryReservation,+ container_name,+ container_networkBindings,+ container_networkInterfaces,+ container_reason,+ container_runtimeId,+ container_taskArn,++ -- ** ContainerDefinition+ containerDefinition_command,+ containerDefinition_cpu,+ containerDefinition_dependsOn,+ containerDefinition_disableNetworking,+ containerDefinition_dnsSearchDomains,+ containerDefinition_dnsServers,+ containerDefinition_dockerLabels,+ containerDefinition_dockerSecurityOptions,+ containerDefinition_entryPoint,+ containerDefinition_environment,+ containerDefinition_environmentFiles,+ containerDefinition_essential,+ containerDefinition_extraHosts,+ containerDefinition_firelensConfiguration,+ containerDefinition_healthCheck,+ containerDefinition_hostname,+ containerDefinition_image,+ containerDefinition_interactive,+ containerDefinition_links,+ containerDefinition_linuxParameters,+ containerDefinition_logConfiguration,+ containerDefinition_memory,+ containerDefinition_memoryReservation,+ containerDefinition_mountPoints,+ containerDefinition_name,+ containerDefinition_portMappings,+ containerDefinition_privileged,+ containerDefinition_pseudoTerminal,+ containerDefinition_readonlyRootFilesystem,+ containerDefinition_repositoryCredentials,+ containerDefinition_resourceRequirements,+ containerDefinition_secrets,+ containerDefinition_startTimeout,+ containerDefinition_stopTimeout,+ containerDefinition_systemControls,+ containerDefinition_ulimits,+ containerDefinition_user,+ containerDefinition_volumesFrom,+ containerDefinition_workingDirectory,++ -- ** ContainerDependency+ containerDependency_containerName,+ containerDependency_condition,++ -- ** ContainerInstance+ containerInstance_agentConnected,+ containerInstance_agentUpdateStatus,+ containerInstance_attachments,+ containerInstance_attributes,+ containerInstance_capacityProviderName,+ containerInstance_containerInstanceArn,+ containerInstance_ec2InstanceId,+ containerInstance_healthStatus,+ containerInstance_pendingTasksCount,+ containerInstance_registeredAt,+ containerInstance_registeredResources,+ containerInstance_remainingResources,+ containerInstance_runningTasksCount,+ containerInstance_status,+ containerInstance_statusReason,+ containerInstance_tags,+ containerInstance_version,+ containerInstance_versionInfo,++ -- ** ContainerInstanceHealthStatus+ containerInstanceHealthStatus_details,+ containerInstanceHealthStatus_overallStatus,++ -- ** ContainerOverride+ containerOverride_command,+ containerOverride_cpu,+ containerOverride_environment,+ containerOverride_environmentFiles,+ containerOverride_memory,+ containerOverride_memoryReservation,+ containerOverride_name,+ containerOverride_resourceRequirements,++ -- ** ContainerService+ containerService_capacityProviderStrategy,+ containerService_clusterArn,+ containerService_createdAt,+ containerService_createdBy,+ containerService_deploymentConfiguration,+ containerService_deploymentController,+ containerService_deployments,+ containerService_desiredCount,+ containerService_enableECSManagedTags,+ containerService_enableExecuteCommand,+ containerService_events,+ containerService_healthCheckGracePeriodSeconds,+ containerService_launchType,+ containerService_loadBalancers,+ containerService_networkConfiguration,+ containerService_pendingCount,+ containerService_placementConstraints,+ containerService_placementStrategy,+ containerService_platformFamily,+ containerService_platformVersion,+ containerService_propagateTags,+ containerService_roleArn,+ containerService_runningCount,+ containerService_schedulingStrategy,+ containerService_serviceArn,+ containerService_serviceName,+ containerService_serviceRegistries,+ containerService_status,+ containerService_tags,+ containerService_taskDefinition,+ containerService_taskSets,++ -- ** ContainerStateChange+ containerStateChange_containerName,+ containerStateChange_exitCode,+ containerStateChange_imageDigest,+ containerStateChange_networkBindings,+ containerStateChange_reason,+ containerStateChange_runtimeId,+ containerStateChange_status,++ -- ** Deployment+ deployment_capacityProviderStrategy,+ deployment_createdAt,+ deployment_desiredCount,+ deployment_failedTasks,+ deployment_id,+ deployment_launchType,+ deployment_networkConfiguration,+ deployment_pendingCount,+ deployment_platformFamily,+ deployment_platformVersion,+ deployment_rolloutState,+ deployment_rolloutStateReason,+ deployment_runningCount,+ deployment_serviceConnectConfiguration,+ deployment_serviceConnectResources,+ deployment_status,+ deployment_taskDefinition,+ deployment_updatedAt,++ -- ** DeploymentAlarms+ deploymentAlarms_alarmNames,+ deploymentAlarms_enable,+ deploymentAlarms_rollback,++ -- ** DeploymentCircuitBreaker+ deploymentCircuitBreaker_enable,+ deploymentCircuitBreaker_rollback,++ -- ** DeploymentConfiguration+ deploymentConfiguration_alarms,+ deploymentConfiguration_deploymentCircuitBreaker,+ deploymentConfiguration_maximumPercent,+ deploymentConfiguration_minimumHealthyPercent,++ -- ** DeploymentController+ deploymentController_type,++ -- ** Device+ device_containerPath,+ device_permissions,+ device_hostPath,++ -- ** DockerVolumeConfiguration+ dockerVolumeConfiguration_autoprovision,+ dockerVolumeConfiguration_driver,+ dockerVolumeConfiguration_driverOpts,+ dockerVolumeConfiguration_labels,+ dockerVolumeConfiguration_scope,++ -- ** EFSAuthorizationConfig+ eFSAuthorizationConfig_accessPointId,+ eFSAuthorizationConfig_iam,++ -- ** EFSVolumeConfiguration+ eFSVolumeConfiguration_authorizationConfig,+ eFSVolumeConfiguration_rootDirectory,+ eFSVolumeConfiguration_transitEncryption,+ eFSVolumeConfiguration_transitEncryptionPort,+ eFSVolumeConfiguration_fileSystemId,++ -- ** EnvironmentFile+ environmentFile_value,+ environmentFile_type,++ -- ** EphemeralStorage+ ephemeralStorage_sizeInGiB,++ -- ** ExecuteCommandConfiguration+ executeCommandConfiguration_kmsKeyId,+ executeCommandConfiguration_logConfiguration,+ executeCommandConfiguration_logging,++ -- ** ExecuteCommandLogConfiguration+ executeCommandLogConfiguration_cloudWatchEncryptionEnabled,+ executeCommandLogConfiguration_cloudWatchLogGroupName,+ executeCommandLogConfiguration_s3BucketName,+ executeCommandLogConfiguration_s3EncryptionEnabled,+ executeCommandLogConfiguration_s3KeyPrefix,++ -- ** FSxWindowsFileServerAuthorizationConfig+ fSxWindowsFileServerAuthorizationConfig_credentialsParameter,+ fSxWindowsFileServerAuthorizationConfig_domain,++ -- ** FSxWindowsFileServerVolumeConfiguration+ fSxWindowsFileServerVolumeConfiguration_fileSystemId,+ fSxWindowsFileServerVolumeConfiguration_rootDirectory,+ fSxWindowsFileServerVolumeConfiguration_authorizationConfig,++ -- ** Failure+ failure_arn,+ failure_detail,+ failure_reason,++ -- ** FirelensConfiguration+ firelensConfiguration_options,+ firelensConfiguration_type,++ -- ** HealthCheck+ healthCheck_interval,+ healthCheck_retries,+ healthCheck_startPeriod,+ healthCheck_timeout,+ healthCheck_command,++ -- ** HostEntry+ hostEntry_hostname,+ hostEntry_ipAddress,++ -- ** HostVolumeProperties+ hostVolumeProperties_sourcePath,++ -- ** InferenceAccelerator+ inferenceAccelerator_deviceName,+ inferenceAccelerator_deviceType,++ -- ** InferenceAcceleratorOverride+ inferenceAcceleratorOverride_deviceName,+ inferenceAcceleratorOverride_deviceType,++ -- ** InstanceHealthCheckResult+ instanceHealthCheckResult_lastStatusChange,+ instanceHealthCheckResult_lastUpdated,+ instanceHealthCheckResult_status,+ instanceHealthCheckResult_type,++ -- ** KernelCapabilities+ kernelCapabilities_add,+ kernelCapabilities_drop,++ -- ** KeyValuePair+ keyValuePair_name,+ keyValuePair_value,++ -- ** LinuxParameters+ linuxParameters_capabilities,+ linuxParameters_devices,+ linuxParameters_initProcessEnabled,+ linuxParameters_maxSwap,+ linuxParameters_sharedMemorySize,+ linuxParameters_swappiness,+ linuxParameters_tmpfs,++ -- ** LoadBalancer+ loadBalancer_containerName,+ loadBalancer_containerPort,+ loadBalancer_loadBalancerName,+ loadBalancer_targetGroupArn,++ -- ** LogConfiguration+ logConfiguration_options,+ logConfiguration_secretOptions,+ logConfiguration_logDriver,++ -- ** ManagedAgent+ managedAgent_lastStartedAt,+ managedAgent_lastStatus,+ managedAgent_name,+ managedAgent_reason,++ -- ** ManagedAgentStateChange+ managedAgentStateChange_reason,+ managedAgentStateChange_containerName,+ managedAgentStateChange_managedAgentName,+ managedAgentStateChange_status,++ -- ** ManagedScaling+ managedScaling_instanceWarmupPeriod,+ managedScaling_maximumScalingStepSize,+ managedScaling_minimumScalingStepSize,+ managedScaling_status,+ managedScaling_targetCapacity,++ -- ** MountPoint+ mountPoint_containerPath,+ mountPoint_readOnly,+ mountPoint_sourceVolume,++ -- ** NetworkBinding+ networkBinding_bindIP,+ networkBinding_containerPort,+ networkBinding_containerPortRange,+ networkBinding_hostPort,+ networkBinding_hostPortRange,+ networkBinding_protocol,++ -- ** NetworkConfiguration+ networkConfiguration_awsvpcConfiguration,++ -- ** NetworkInterface+ networkInterface_attachmentId,+ networkInterface_ipv6Address,+ networkInterface_privateIpv4Address,++ -- ** PlacementConstraint+ placementConstraint_expression,+ placementConstraint_type,++ -- ** PlacementStrategy+ placementStrategy_field,+ placementStrategy_type,++ -- ** PlatformDevice+ platformDevice_id,+ platformDevice_type,++ -- ** PortMapping+ portMapping_appProtocol,+ portMapping_containerPort,+ portMapping_containerPortRange,+ portMapping_hostPort,+ portMapping_name,+ portMapping_protocol,++ -- ** ProtectedTask+ protectedTask_expirationDate,+ protectedTask_protectionEnabled,+ protectedTask_taskArn,++ -- ** ProxyConfiguration+ proxyConfiguration_properties,+ proxyConfiguration_type,+ proxyConfiguration_containerName,++ -- ** RepositoryCredentials+ repositoryCredentials_credentialsParameter,++ -- ** Resource+ resource_doubleValue,+ resource_integerValue,+ resource_longValue,+ resource_name,+ resource_stringSetValue,+ resource_type,++ -- ** ResourceRequirement+ resourceRequirement_value,+ resourceRequirement_type,++ -- ** RuntimePlatform+ runtimePlatform_cpuArchitecture,+ runtimePlatform_operatingSystemFamily,++ -- ** Scale+ scale_unit,+ scale_value,++ -- ** Secret+ secret_name,+ secret_valueFrom,++ -- ** ServiceConnectClientAlias+ serviceConnectClientAlias_dnsName,+ serviceConnectClientAlias_port,++ -- ** ServiceConnectConfiguration+ serviceConnectConfiguration_logConfiguration,+ serviceConnectConfiguration_namespace,+ serviceConnectConfiguration_services,+ serviceConnectConfiguration_enabled,++ -- ** ServiceConnectService+ serviceConnectService_clientAliases,+ serviceConnectService_discoveryName,+ serviceConnectService_ingressPortOverride,+ serviceConnectService_portName,++ -- ** ServiceConnectServiceResource+ serviceConnectServiceResource_discoveryArn,+ serviceConnectServiceResource_discoveryName,++ -- ** ServiceEvent+ serviceEvent_createdAt,+ serviceEvent_id,+ serviceEvent_message,++ -- ** ServiceRegistry+ serviceRegistry_containerName,+ serviceRegistry_containerPort,+ serviceRegistry_port,+ serviceRegistry_registryArn,++ -- ** Session+ session_sessionId,+ session_streamUrl,+ session_tokenValue,++ -- ** Setting+ setting_name,+ setting_principalArn,+ setting_value,++ -- ** SystemControl+ systemControl_namespace,+ systemControl_value,++ -- ** Tag+ tag_key,+ tag_value,++ -- ** Task+ task_attachments,+ task_attributes,+ task_availabilityZone,+ task_capacityProviderName,+ task_clusterArn,+ task_connectivity,+ task_connectivityAt,+ task_containerInstanceArn,+ task_containers,+ task_cpu,+ task_createdAt,+ task_desiredStatus,+ task_enableExecuteCommand,+ task_ephemeralStorage,+ task_executionStoppedAt,+ task_group,+ task_healthStatus,+ task_inferenceAccelerators,+ task_lastStatus,+ task_launchType,+ task_memory,+ task_overrides,+ task_platformFamily,+ task_platformVersion,+ task_pullStartedAt,+ task_pullStoppedAt,+ task_startedAt,+ task_startedBy,+ task_stopCode,+ task_stoppedAt,+ task_stoppedReason,+ task_stoppingAt,+ task_tags,+ task_taskArn,+ task_taskDefinitionArn,+ task_version,++ -- ** TaskDefinition+ taskDefinition_compatibilities,+ taskDefinition_containerDefinitions,+ taskDefinition_cpu,+ taskDefinition_deregisteredAt,+ taskDefinition_ephemeralStorage,+ taskDefinition_executionRoleArn,+ taskDefinition_family,+ taskDefinition_inferenceAccelerators,+ taskDefinition_ipcMode,+ taskDefinition_memory,+ taskDefinition_networkMode,+ taskDefinition_pidMode,+ taskDefinition_placementConstraints,+ taskDefinition_proxyConfiguration,+ taskDefinition_registeredAt,+ taskDefinition_registeredBy,+ taskDefinition_requiresAttributes,+ taskDefinition_requiresCompatibilities,+ taskDefinition_revision,+ taskDefinition_runtimePlatform,+ taskDefinition_status,+ taskDefinition_taskDefinitionArn,+ taskDefinition_taskRoleArn,+ taskDefinition_volumes,++ -- ** TaskDefinitionPlacementConstraint+ taskDefinitionPlacementConstraint_expression,+ taskDefinitionPlacementConstraint_type,++ -- ** TaskOverride+ taskOverride_containerOverrides,+ taskOverride_cpu,+ taskOverride_ephemeralStorage,+ taskOverride_executionRoleArn,+ taskOverride_inferenceAcceleratorOverrides,+ taskOverride_memory,+ taskOverride_taskRoleArn,++ -- ** TaskSet+ taskSet_capacityProviderStrategy,+ taskSet_clusterArn,+ taskSet_computedDesiredCount,+ taskSet_createdAt,+ taskSet_externalId,+ taskSet_id,+ taskSet_launchType,+ taskSet_loadBalancers,+ taskSet_networkConfiguration,+ taskSet_pendingCount,+ taskSet_platformFamily,+ taskSet_platformVersion,+ taskSet_runningCount,+ taskSet_scale,+ taskSet_serviceArn,+ taskSet_serviceRegistries,+ taskSet_stabilityStatus,+ taskSet_stabilityStatusAt,+ taskSet_startedBy,+ taskSet_status,+ taskSet_tags,+ taskSet_taskDefinition,+ taskSet_taskSetArn,+ taskSet_updatedAt,++ -- ** Tmpfs+ tmpfs_mountOptions,+ tmpfs_containerPath,+ tmpfs_size,++ -- ** Ulimit+ ulimit_name,+ ulimit_softLimit,+ ulimit_hardLimit,++ -- ** VersionInfo+ versionInfo_agentHash,+ versionInfo_agentVersion,+ versionInfo_dockerVersion,++ -- ** Volume+ volume_dockerVolumeConfiguration,+ volume_efsVolumeConfiguration,+ volume_fsxWindowsFileServerVolumeConfiguration,+ volume_host,+ volume_name,++ -- ** VolumeFrom+ volumeFrom_readOnly,+ volumeFrom_sourceContainer,+ )+where++import Amazonka.ECS.CreateCapacityProvider+import Amazonka.ECS.CreateCluster+import Amazonka.ECS.CreateService+import Amazonka.ECS.CreateTaskSet+import Amazonka.ECS.DeleteAccountSetting+import Amazonka.ECS.DeleteAttributes+import Amazonka.ECS.DeleteCapacityProvider+import Amazonka.ECS.DeleteCluster+import Amazonka.ECS.DeleteService+import Amazonka.ECS.DeleteTaskSet+import Amazonka.ECS.DeregisterContainerInstance+import Amazonka.ECS.DeregisterTaskDefinition+import Amazonka.ECS.DescribeCapacityProviders+import Amazonka.ECS.DescribeClusters+import Amazonka.ECS.DescribeContainerInstances+import Amazonka.ECS.DescribeServices+import Amazonka.ECS.DescribeTaskDefinition+import Amazonka.ECS.DescribeTaskSets+import Amazonka.ECS.DescribeTasks+import Amazonka.ECS.DiscoverPollEndpoint+import Amazonka.ECS.ExecuteCommand+import Amazonka.ECS.GetTaskProtection+import Amazonka.ECS.ListAccountSettings+import Amazonka.ECS.ListAttributes+import Amazonka.ECS.ListClusters+import Amazonka.ECS.ListContainerInstances+import Amazonka.ECS.ListServices+import Amazonka.ECS.ListServicesByNamespace+import Amazonka.ECS.ListTagsForResource+import Amazonka.ECS.ListTaskDefinitionFamilies+import Amazonka.ECS.ListTaskDefinitions+import Amazonka.ECS.ListTasks+import Amazonka.ECS.PutAccountSetting+import Amazonka.ECS.PutAccountSettingDefault+import Amazonka.ECS.PutAttributes+import Amazonka.ECS.PutClusterCapacityProviders+import Amazonka.ECS.RegisterContainerInstance+import Amazonka.ECS.RegisterTaskDefinition+import Amazonka.ECS.RunTask+import Amazonka.ECS.StartTask+import Amazonka.ECS.StopTask+import Amazonka.ECS.SubmitAttachmentStateChanges+import Amazonka.ECS.SubmitContainerStateChange+import Amazonka.ECS.SubmitTaskStateChange+import Amazonka.ECS.TagResource+import Amazonka.ECS.Types.Attachment+import Amazonka.ECS.Types.AttachmentStateChange+import Amazonka.ECS.Types.Attribute+import Amazonka.ECS.Types.AutoScalingGroupProvider+import Amazonka.ECS.Types.AutoScalingGroupProviderUpdate+import Amazonka.ECS.Types.AwsVpcConfiguration+import Amazonka.ECS.Types.CapacityProvider+import Amazonka.ECS.Types.CapacityProviderStrategyItem+import Amazonka.ECS.Types.Cluster+import Amazonka.ECS.Types.ClusterConfiguration+import Amazonka.ECS.Types.ClusterServiceConnectDefaults+import Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest+import Amazonka.ECS.Types.ClusterSetting+import Amazonka.ECS.Types.Container+import Amazonka.ECS.Types.ContainerDefinition+import Amazonka.ECS.Types.ContainerDependency+import Amazonka.ECS.Types.ContainerInstance+import Amazonka.ECS.Types.ContainerInstanceHealthStatus+import Amazonka.ECS.Types.ContainerOverride+import Amazonka.ECS.Types.ContainerService+import Amazonka.ECS.Types.ContainerStateChange+import Amazonka.ECS.Types.Deployment+import Amazonka.ECS.Types.DeploymentAlarms+import Amazonka.ECS.Types.DeploymentCircuitBreaker+import Amazonka.ECS.Types.DeploymentConfiguration+import Amazonka.ECS.Types.DeploymentController+import Amazonka.ECS.Types.Device+import Amazonka.ECS.Types.DockerVolumeConfiguration+import Amazonka.ECS.Types.EFSAuthorizationConfig+import Amazonka.ECS.Types.EFSVolumeConfiguration+import Amazonka.ECS.Types.EnvironmentFile+import Amazonka.ECS.Types.EphemeralStorage+import Amazonka.ECS.Types.ExecuteCommandConfiguration+import Amazonka.ECS.Types.ExecuteCommandLogConfiguration+import Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig+import Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration+import Amazonka.ECS.Types.Failure+import Amazonka.ECS.Types.FirelensConfiguration+import Amazonka.ECS.Types.HealthCheck+import Amazonka.ECS.Types.HostEntry+import Amazonka.ECS.Types.HostVolumeProperties+import Amazonka.ECS.Types.InferenceAccelerator+import Amazonka.ECS.Types.InferenceAcceleratorOverride+import Amazonka.ECS.Types.InstanceHealthCheckResult+import Amazonka.ECS.Types.KernelCapabilities+import Amazonka.ECS.Types.KeyValuePair+import Amazonka.ECS.Types.LinuxParameters+import Amazonka.ECS.Types.LoadBalancer+import Amazonka.ECS.Types.LogConfiguration+import Amazonka.ECS.Types.ManagedAgent+import Amazonka.ECS.Types.ManagedAgentStateChange+import Amazonka.ECS.Types.ManagedScaling+import Amazonka.ECS.Types.MountPoint+import Amazonka.ECS.Types.NetworkBinding+import Amazonka.ECS.Types.NetworkConfiguration+import Amazonka.ECS.Types.NetworkInterface+import Amazonka.ECS.Types.PlacementConstraint+import Amazonka.ECS.Types.PlacementStrategy+import Amazonka.ECS.Types.PlatformDevice+import Amazonka.ECS.Types.PortMapping+import Amazonka.ECS.Types.ProtectedTask+import Amazonka.ECS.Types.ProxyConfiguration+import Amazonka.ECS.Types.RepositoryCredentials+import Amazonka.ECS.Types.Resource+import Amazonka.ECS.Types.ResourceRequirement+import Amazonka.ECS.Types.RuntimePlatform+import Amazonka.ECS.Types.Scale+import Amazonka.ECS.Types.Secret+import Amazonka.ECS.Types.ServiceConnectClientAlias+import Amazonka.ECS.Types.ServiceConnectConfiguration+import Amazonka.ECS.Types.ServiceConnectService+import Amazonka.ECS.Types.ServiceConnectServiceResource+import Amazonka.ECS.Types.ServiceEvent+import Amazonka.ECS.Types.ServiceRegistry+import Amazonka.ECS.Types.Session+import Amazonka.ECS.Types.Setting+import Amazonka.ECS.Types.SystemControl+import Amazonka.ECS.Types.Tag+import Amazonka.ECS.Types.Task+import Amazonka.ECS.Types.TaskDefinition+import Amazonka.ECS.Types.TaskDefinitionPlacementConstraint+import Amazonka.ECS.Types.TaskOverride+import Amazonka.ECS.Types.TaskSet+import Amazonka.ECS.Types.Tmpfs+import Amazonka.ECS.Types.Ulimit+import Amazonka.ECS.Types.VersionInfo+import Amazonka.ECS.Types.Volume+import Amazonka.ECS.Types.VolumeFrom+import Amazonka.ECS.UntagResource+import Amazonka.ECS.UpdateCapacityProvider+import Amazonka.ECS.UpdateCluster+import Amazonka.ECS.UpdateClusterSettings+import Amazonka.ECS.UpdateContainerAgent+import Amazonka.ECS.UpdateContainerInstancesState+import Amazonka.ECS.UpdateService+import Amazonka.ECS.UpdateServicePrimaryTaskSet+import Amazonka.ECS.UpdateTaskProtection+import Amazonka.ECS.UpdateTaskSet
+ gen/Amazonka/ECS/ListAccountSettings.hs view
@@ -0,0 +1,355 @@+{-# 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.ECS.ListAccountSettings+-- 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 the account settings for a specified principal.+--+-- This operation returns paginated results.+module Amazonka.ECS.ListAccountSettings+ ( -- * Creating a Request+ ListAccountSettings (..),+ newListAccountSettings,++ -- * Request Lenses+ listAccountSettings_effectiveSettings,+ listAccountSettings_maxResults,+ listAccountSettings_name,+ listAccountSettings_nextToken,+ listAccountSettings_principalArn,+ listAccountSettings_value,++ -- * Destructuring the Response+ ListAccountSettingsResponse (..),+ newListAccountSettingsResponse,++ -- * Response Lenses+ listAccountSettingsResponse_nextToken,+ listAccountSettingsResponse_settings,+ listAccountSettingsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListAccountSettings' smart constructor.+data ListAccountSettings = ListAccountSettings'+ { -- | Determines whether to return the effective settings. If @true@, the+ -- account settings for the root user or the default setting for the+ -- @principalArn@ are returned. If @false@, the account settings for the+ -- @principalArn@ are returned if they\'re set. Otherwise, no account+ -- settings are returned.+ effectiveSettings :: Prelude.Maybe Prelude.Bool,+ -- | The maximum number of account setting results returned by+ -- @ListAccountSettings@ in paginated output. When this parameter is used,+ -- @ListAccountSettings@ only returns @maxResults@ results in a single page+ -- along with a @nextToken@ response element. The remaining results of the+ -- initial request can be seen by sending another @ListAccountSettings@+ -- request with the returned @nextToken@ value. This value can be between 1+ -- and 10. If this parameter isn\'t used, then @ListAccountSettings@+ -- returns up to 10 results and a @nextToken@ value if applicable.+ maxResults :: Prelude.Maybe Prelude.Int,+ -- | The name of the account setting you want to list the settings for.+ name :: Prelude.Maybe SettingName,+ -- | The @nextToken@ value returned from a @ListAccountSettings@ request+ -- indicating that more results are available to fulfill the request and+ -- further calls will be needed. If @maxResults@ was provided, it\'s+ -- possible the number of results to be fewer than @maxResults@.+ --+ -- This token should be treated as an opaque identifier that is only used+ -- to retrieve the next items in a list and not for other programmatic+ -- purposes.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the principal, which can be an IAM user, IAM role, or the+ -- root user. If this field is omitted, the account settings are listed+ -- only for the authenticated user.+ --+ -- Federated users assume the account setting of the root user and can\'t+ -- have explicit account settings set for them.+ principalArn :: Prelude.Maybe Prelude.Text,+ -- | The value of the account settings to filter results with. You must also+ -- specify an account setting name to use this parameter.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAccountSettings' 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:+--+-- 'effectiveSettings', 'listAccountSettings_effectiveSettings' - Determines whether to return the effective settings. If @true@, the+-- account settings for the root user or the default setting for the+-- @principalArn@ are returned. If @false@, the account settings for the+-- @principalArn@ are returned if they\'re set. Otherwise, no account+-- settings are returned.+--+-- 'maxResults', 'listAccountSettings_maxResults' - The maximum number of account setting results returned by+-- @ListAccountSettings@ in paginated output. When this parameter is used,+-- @ListAccountSettings@ only returns @maxResults@ results in a single page+-- along with a @nextToken@ response element. The remaining results of the+-- initial request can be seen by sending another @ListAccountSettings@+-- request with the returned @nextToken@ value. This value can be between 1+-- and 10. If this parameter isn\'t used, then @ListAccountSettings@+-- returns up to 10 results and a @nextToken@ value if applicable.+--+-- 'name', 'listAccountSettings_name' - The name of the account setting you want to list the settings for.+--+-- 'nextToken', 'listAccountSettings_nextToken' - The @nextToken@ value returned from a @ListAccountSettings@ request+-- indicating that more results are available to fulfill the request and+-- further calls will be needed. If @maxResults@ was provided, it\'s+-- possible the number of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+--+-- 'principalArn', 'listAccountSettings_principalArn' - The ARN of the principal, which can be an IAM user, IAM role, or the+-- root user. If this field is omitted, the account settings are listed+-- only for the authenticated user.+--+-- Federated users assume the account setting of the root user and can\'t+-- have explicit account settings set for them.+--+-- 'value', 'listAccountSettings_value' - The value of the account settings to filter results with. You must also+-- specify an account setting name to use this parameter.+newListAccountSettings ::+ ListAccountSettings+newListAccountSettings =+ ListAccountSettings'+ { effectiveSettings =+ Prelude.Nothing,+ maxResults = Prelude.Nothing,+ name = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ principalArn = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | Determines whether to return the effective settings. If @true@, the+-- account settings for the root user or the default setting for the+-- @principalArn@ are returned. If @false@, the account settings for the+-- @principalArn@ are returned if they\'re set. Otherwise, no account+-- settings are returned.+listAccountSettings_effectiveSettings :: Lens.Lens' ListAccountSettings (Prelude.Maybe Prelude.Bool)+listAccountSettings_effectiveSettings = Lens.lens (\ListAccountSettings' {effectiveSettings} -> effectiveSettings) (\s@ListAccountSettings' {} a -> s {effectiveSettings = a} :: ListAccountSettings)++-- | The maximum number of account setting results returned by+-- @ListAccountSettings@ in paginated output. When this parameter is used,+-- @ListAccountSettings@ only returns @maxResults@ results in a single page+-- along with a @nextToken@ response element. The remaining results of the+-- initial request can be seen by sending another @ListAccountSettings@+-- request with the returned @nextToken@ value. This value can be between 1+-- and 10. If this parameter isn\'t used, then @ListAccountSettings@+-- returns up to 10 results and a @nextToken@ value if applicable.+listAccountSettings_maxResults :: Lens.Lens' ListAccountSettings (Prelude.Maybe Prelude.Int)+listAccountSettings_maxResults = Lens.lens (\ListAccountSettings' {maxResults} -> maxResults) (\s@ListAccountSettings' {} a -> s {maxResults = a} :: ListAccountSettings)++-- | The name of the account setting you want to list the settings for.+listAccountSettings_name :: Lens.Lens' ListAccountSettings (Prelude.Maybe SettingName)+listAccountSettings_name = Lens.lens (\ListAccountSettings' {name} -> name) (\s@ListAccountSettings' {} a -> s {name = a} :: ListAccountSettings)++-- | The @nextToken@ value returned from a @ListAccountSettings@ request+-- indicating that more results are available to fulfill the request and+-- further calls will be needed. If @maxResults@ was provided, it\'s+-- possible the number of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+listAccountSettings_nextToken :: Lens.Lens' ListAccountSettings (Prelude.Maybe Prelude.Text)+listAccountSettings_nextToken = Lens.lens (\ListAccountSettings' {nextToken} -> nextToken) (\s@ListAccountSettings' {} a -> s {nextToken = a} :: ListAccountSettings)++-- | The ARN of the principal, which can be an IAM user, IAM role, or the+-- root user. If this field is omitted, the account settings are listed+-- only for the authenticated user.+--+-- Federated users assume the account setting of the root user and can\'t+-- have explicit account settings set for them.+listAccountSettings_principalArn :: Lens.Lens' ListAccountSettings (Prelude.Maybe Prelude.Text)+listAccountSettings_principalArn = Lens.lens (\ListAccountSettings' {principalArn} -> principalArn) (\s@ListAccountSettings' {} a -> s {principalArn = a} :: ListAccountSettings)++-- | The value of the account settings to filter results with. You must also+-- specify an account setting name to use this parameter.+listAccountSettings_value :: Lens.Lens' ListAccountSettings (Prelude.Maybe Prelude.Text)+listAccountSettings_value = Lens.lens (\ListAccountSettings' {value} -> value) (\s@ListAccountSettings' {} a -> s {value = a} :: ListAccountSettings)++instance Core.AWSPager ListAccountSettings where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listAccountSettingsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listAccountSettingsResponse_settings+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listAccountSettings_nextToken+ Lens..~ rs+ Lens.^? listAccountSettingsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListAccountSettings where+ type+ AWSResponse ListAccountSettings =+ ListAccountSettingsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListAccountSettingsResponse'+ Prelude.<$> (x Data..?> "nextToken")+ Prelude.<*> (x Data..?> "settings" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListAccountSettings where+ hashWithSalt _salt ListAccountSettings' {..} =+ _salt+ `Prelude.hashWithSalt` effectiveSettings+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` principalArn+ `Prelude.hashWithSalt` value++instance Prelude.NFData ListAccountSettings where+ rnf ListAccountSettings' {..} =+ Prelude.rnf effectiveSettings+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf principalArn+ `Prelude.seq` Prelude.rnf value++instance Data.ToHeaders ListAccountSettings where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.ListAccountSettings" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListAccountSettings where+ toJSON ListAccountSettings' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("effectiveSettings" Data..=)+ Prelude.<$> effectiveSettings,+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("name" Data..=) Prelude.<$> name,+ ("nextToken" Data..=) Prelude.<$> nextToken,+ ("principalArn" Data..=) Prelude.<$> principalArn,+ ("value" Data..=) Prelude.<$> value+ ]+ )++instance Data.ToPath ListAccountSettings where+ toPath = Prelude.const "/"++instance Data.ToQuery ListAccountSettings where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListAccountSettingsResponse' smart constructor.+data ListAccountSettingsResponse = ListAccountSettingsResponse'+ { -- | The @nextToken@ value to include in a future @ListAccountSettings@+ -- request. When the results of a @ListAccountSettings@ request exceed+ -- @maxResults@, this value can be used to retrieve the next page of+ -- results. This value is @null@ when there are no more results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The account settings for the resource.+ settings :: Prelude.Maybe [Setting],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAccountSettingsResponse' 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', 'listAccountSettingsResponse_nextToken' - The @nextToken@ value to include in a future @ListAccountSettings@+-- request. When the results of a @ListAccountSettings@ request exceed+-- @maxResults@, this value can be used to retrieve the next page of+-- results. This value is @null@ when there are no more results to return.+--+-- 'settings', 'listAccountSettingsResponse_settings' - The account settings for the resource.+--+-- 'httpStatus', 'listAccountSettingsResponse_httpStatus' - The response's http status code.+newListAccountSettingsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListAccountSettingsResponse+newListAccountSettingsResponse pHttpStatus_ =+ ListAccountSettingsResponse'+ { nextToken =+ Prelude.Nothing,+ settings = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The @nextToken@ value to include in a future @ListAccountSettings@+-- request. When the results of a @ListAccountSettings@ request exceed+-- @maxResults@, this value can be used to retrieve the next page of+-- results. This value is @null@ when there are no more results to return.+listAccountSettingsResponse_nextToken :: Lens.Lens' ListAccountSettingsResponse (Prelude.Maybe Prelude.Text)+listAccountSettingsResponse_nextToken = Lens.lens (\ListAccountSettingsResponse' {nextToken} -> nextToken) (\s@ListAccountSettingsResponse' {} a -> s {nextToken = a} :: ListAccountSettingsResponse)++-- | The account settings for the resource.+listAccountSettingsResponse_settings :: Lens.Lens' ListAccountSettingsResponse (Prelude.Maybe [Setting])+listAccountSettingsResponse_settings = Lens.lens (\ListAccountSettingsResponse' {settings} -> settings) (\s@ListAccountSettingsResponse' {} a -> s {settings = a} :: ListAccountSettingsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listAccountSettingsResponse_httpStatus :: Lens.Lens' ListAccountSettingsResponse Prelude.Int+listAccountSettingsResponse_httpStatus = Lens.lens (\ListAccountSettingsResponse' {httpStatus} -> httpStatus) (\s@ListAccountSettingsResponse' {} a -> s {httpStatus = a} :: ListAccountSettingsResponse)++instance Prelude.NFData ListAccountSettingsResponse where+ rnf ListAccountSettingsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf settings+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/ListAttributes.hs view
@@ -0,0 +1,342 @@+{-# 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.ECS.ListAttributes+-- 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 the attributes for Amazon ECS resources within a specified target+-- type and cluster. When you specify a target type and cluster,+-- @ListAttributes@ returns a list of attribute objects, one for each+-- attribute on each resource. You can filter the list of results to a+-- single attribute name to only return results that have that name. You+-- can also filter the results by attribute name and value. You can do+-- this, for example, to see which container instances in a cluster are+-- running a Linux AMI (@ecs.os-type=linux@).+--+-- This operation returns paginated results.+module Amazonka.ECS.ListAttributes+ ( -- * Creating a Request+ ListAttributes (..),+ newListAttributes,++ -- * Request Lenses+ listAttributes_attributeName,+ listAttributes_attributeValue,+ listAttributes_cluster,+ listAttributes_maxResults,+ listAttributes_nextToken,+ listAttributes_targetType,++ -- * Destructuring the Response+ ListAttributesResponse (..),+ newListAttributesResponse,++ -- * Response Lenses+ listAttributesResponse_attributes,+ listAttributesResponse_nextToken,+ listAttributesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListAttributes' smart constructor.+data ListAttributes = ListAttributes'+ { -- | The name of the attribute to filter the results with.+ attributeName :: Prelude.Maybe Prelude.Text,+ -- | The value of the attribute to filter results with. You must also specify+ -- an attribute name to use this parameter.+ attributeValue :: Prelude.Maybe Prelude.Text,+ -- | The short name or full Amazon Resource Name (ARN) of the cluster to list+ -- attributes. If you do not specify a cluster, the default cluster is+ -- assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of cluster results that @ListAttributes@ returned in+ -- paginated output. When this parameter is used, @ListAttributes@ only+ -- returns @maxResults@ results in a single page along with a @nextToken@+ -- response element. The remaining results of the initial request can be+ -- seen by sending another @ListAttributes@ request with the returned+ -- @nextToken@ value. This value can be between 1 and 100. If this+ -- parameter isn\'t used, then @ListAttributes@ returns up to 100 results+ -- and a @nextToken@ value if applicable.+ maxResults :: Prelude.Maybe Prelude.Int,+ -- | The @nextToken@ value returned from a @ListAttributes@ request+ -- indicating that more results are available to fulfill the request and+ -- further calls are needed. If @maxResults@ was provided, it\'s possible+ -- the number of results to be fewer than @maxResults@.+ --+ -- This token should be treated as an opaque identifier that is only used+ -- to retrieve the next items in a list and not for other programmatic+ -- purposes.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The type of the target to list attributes with.+ targetType :: TargetType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListAttributes' 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:+--+-- 'attributeName', 'listAttributes_attributeName' - The name of the attribute to filter the results with.+--+-- 'attributeValue', 'listAttributes_attributeValue' - The value of the attribute to filter results with. You must also specify+-- an attribute name to use this parameter.+--+-- 'cluster', 'listAttributes_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster to list+-- attributes. If you do not specify a cluster, the default cluster is+-- assumed.+--+-- 'maxResults', 'listAttributes_maxResults' - The maximum number of cluster results that @ListAttributes@ returned in+-- paginated output. When this parameter is used, @ListAttributes@ only+-- returns @maxResults@ results in a single page along with a @nextToken@+-- response element. The remaining results of the initial request can be+-- seen by sending another @ListAttributes@ request with the returned+-- @nextToken@ value. This value can be between 1 and 100. If this+-- parameter isn\'t used, then @ListAttributes@ returns up to 100 results+-- and a @nextToken@ value if applicable.+--+-- 'nextToken', 'listAttributes_nextToken' - The @nextToken@ value returned from a @ListAttributes@ request+-- indicating that more results are available to fulfill the request and+-- further calls are needed. If @maxResults@ was provided, it\'s possible+-- the number of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+--+-- 'targetType', 'listAttributes_targetType' - The type of the target to list attributes with.+newListAttributes ::+ -- | 'targetType'+ TargetType ->+ ListAttributes+newListAttributes pTargetType_ =+ ListAttributes'+ { attributeName = Prelude.Nothing,+ attributeValue = Prelude.Nothing,+ cluster = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ targetType = pTargetType_+ }++-- | The name of the attribute to filter the results with.+listAttributes_attributeName :: Lens.Lens' ListAttributes (Prelude.Maybe Prelude.Text)+listAttributes_attributeName = Lens.lens (\ListAttributes' {attributeName} -> attributeName) (\s@ListAttributes' {} a -> s {attributeName = a} :: ListAttributes)++-- | The value of the attribute to filter results with. You must also specify+-- an attribute name to use this parameter.+listAttributes_attributeValue :: Lens.Lens' ListAttributes (Prelude.Maybe Prelude.Text)+listAttributes_attributeValue = Lens.lens (\ListAttributes' {attributeValue} -> attributeValue) (\s@ListAttributes' {} a -> s {attributeValue = a} :: ListAttributes)++-- | The short name or full Amazon Resource Name (ARN) of the cluster to list+-- attributes. If you do not specify a cluster, the default cluster is+-- assumed.+listAttributes_cluster :: Lens.Lens' ListAttributes (Prelude.Maybe Prelude.Text)+listAttributes_cluster = Lens.lens (\ListAttributes' {cluster} -> cluster) (\s@ListAttributes' {} a -> s {cluster = a} :: ListAttributes)++-- | The maximum number of cluster results that @ListAttributes@ returned in+-- paginated output. When this parameter is used, @ListAttributes@ only+-- returns @maxResults@ results in a single page along with a @nextToken@+-- response element. The remaining results of the initial request can be+-- seen by sending another @ListAttributes@ request with the returned+-- @nextToken@ value. This value can be between 1 and 100. If this+-- parameter isn\'t used, then @ListAttributes@ returns up to 100 results+-- and a @nextToken@ value if applicable.+listAttributes_maxResults :: Lens.Lens' ListAttributes (Prelude.Maybe Prelude.Int)+listAttributes_maxResults = Lens.lens (\ListAttributes' {maxResults} -> maxResults) (\s@ListAttributes' {} a -> s {maxResults = a} :: ListAttributes)++-- | The @nextToken@ value returned from a @ListAttributes@ request+-- indicating that more results are available to fulfill the request and+-- further calls are needed. If @maxResults@ was provided, it\'s possible+-- the number of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+listAttributes_nextToken :: Lens.Lens' ListAttributes (Prelude.Maybe Prelude.Text)+listAttributes_nextToken = Lens.lens (\ListAttributes' {nextToken} -> nextToken) (\s@ListAttributes' {} a -> s {nextToken = a} :: ListAttributes)++-- | The type of the target to list attributes with.+listAttributes_targetType :: Lens.Lens' ListAttributes TargetType+listAttributes_targetType = Lens.lens (\ListAttributes' {targetType} -> targetType) (\s@ListAttributes' {} a -> s {targetType = a} :: ListAttributes)++instance Core.AWSPager ListAttributes where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listAttributesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listAttributesResponse_attributes+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listAttributes_nextToken+ Lens..~ rs+ Lens.^? listAttributesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListAttributes where+ type+ AWSResponse ListAttributes =+ ListAttributesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListAttributesResponse'+ Prelude.<$> (x Data..?> "attributes" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "nextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListAttributes where+ hashWithSalt _salt ListAttributes' {..} =+ _salt+ `Prelude.hashWithSalt` attributeName+ `Prelude.hashWithSalt` attributeValue+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` targetType++instance Prelude.NFData ListAttributes where+ rnf ListAttributes' {..} =+ Prelude.rnf attributeName+ `Prelude.seq` Prelude.rnf attributeValue+ `Prelude.seq` Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf targetType++instance Data.ToHeaders ListAttributes where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.ListAttributes" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListAttributes where+ toJSON ListAttributes' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("attributeName" Data..=) Prelude.<$> attributeName,+ ("attributeValue" Data..=)+ Prelude.<$> attributeValue,+ ("cluster" Data..=) Prelude.<$> cluster,+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("targetType" Data..= targetType)+ ]+ )++instance Data.ToPath ListAttributes where+ toPath = Prelude.const "/"++instance Data.ToQuery ListAttributes where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListAttributesResponse' smart constructor.+data ListAttributesResponse = ListAttributesResponse'+ { -- | A list of attribute objects that meet the criteria of the request.+ attributes :: Prelude.Maybe [Attribute],+ -- | The @nextToken@ value to include in a future @ListAttributes@ request.+ -- When the results of a @ListAttributes@ request exceed @maxResults@, this+ -- value can be used to retrieve the next page of results. This value is+ -- @null@ when there are no more results to return.+ 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 'ListAttributesResponse' 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', 'listAttributesResponse_attributes' - A list of attribute objects that meet the criteria of the request.+--+-- 'nextToken', 'listAttributesResponse_nextToken' - The @nextToken@ value to include in a future @ListAttributes@ request.+-- When the results of a @ListAttributes@ request exceed @maxResults@, this+-- value can be used to retrieve the next page of results. This value is+-- @null@ when there are no more results to return.+--+-- 'httpStatus', 'listAttributesResponse_httpStatus' - The response's http status code.+newListAttributesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListAttributesResponse+newListAttributesResponse pHttpStatus_ =+ ListAttributesResponse'+ { attributes =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A list of attribute objects that meet the criteria of the request.+listAttributesResponse_attributes :: Lens.Lens' ListAttributesResponse (Prelude.Maybe [Attribute])+listAttributesResponse_attributes = Lens.lens (\ListAttributesResponse' {attributes} -> attributes) (\s@ListAttributesResponse' {} a -> s {attributes = a} :: ListAttributesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The @nextToken@ value to include in a future @ListAttributes@ request.+-- When the results of a @ListAttributes@ request exceed @maxResults@, this+-- value can be used to retrieve the next page of results. This value is+-- @null@ when there are no more results to return.+listAttributesResponse_nextToken :: Lens.Lens' ListAttributesResponse (Prelude.Maybe Prelude.Text)+listAttributesResponse_nextToken = Lens.lens (\ListAttributesResponse' {nextToken} -> nextToken) (\s@ListAttributesResponse' {} a -> s {nextToken = a} :: ListAttributesResponse)++-- | The response's http status code.+listAttributesResponse_httpStatus :: Lens.Lens' ListAttributesResponse Prelude.Int+listAttributesResponse_httpStatus = Lens.lens (\ListAttributesResponse' {httpStatus} -> httpStatus) (\s@ListAttributesResponse' {} a -> s {httpStatus = a} :: ListAttributesResponse)++instance Prelude.NFData ListAttributesResponse where+ rnf ListAttributesResponse' {..} =+ Prelude.rnf attributes+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/ListClusters.hs view
@@ -0,0 +1,272 @@+{-# 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.ECS.ListClusters+-- 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 existing clusters.+--+-- This operation returns paginated results.+module Amazonka.ECS.ListClusters+ ( -- * Creating a Request+ ListClusters (..),+ newListClusters,++ -- * Request Lenses+ listClusters_maxResults,+ listClusters_nextToken,++ -- * Destructuring the Response+ ListClustersResponse (..),+ newListClustersResponse,++ -- * Response Lenses+ listClustersResponse_clusterArns,+ listClustersResponse_nextToken,+ listClustersResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListClusters' smart constructor.+data ListClusters = ListClusters'+ { -- | The maximum number of cluster results that @ListClusters@ returned in+ -- paginated output. When this parameter is used, @ListClusters@ only+ -- returns @maxResults@ results in a single page along with a @nextToken@+ -- response element. The remaining results of the initial request can be+ -- seen by sending another @ListClusters@ request with the returned+ -- @nextToken@ value. This value can be between 1 and 100. If this+ -- parameter isn\'t used, then @ListClusters@ returns up to 100 results and+ -- a @nextToken@ value if applicable.+ maxResults :: Prelude.Maybe Prelude.Int,+ -- | The @nextToken@ value returned from a @ListClusters@ request indicating+ -- that more results are available to fulfill the request and further calls+ -- are needed. If @maxResults@ was provided, it\'s possible the number of+ -- results to be fewer than @maxResults@.+ --+ -- This token should be treated as an opaque identifier that is only used+ -- to retrieve the next items in a list and not for other programmatic+ -- purposes.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListClusters' 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', 'listClusters_maxResults' - The maximum number of cluster results that @ListClusters@ returned in+-- paginated output. When this parameter is used, @ListClusters@ only+-- returns @maxResults@ results in a single page along with a @nextToken@+-- response element. The remaining results of the initial request can be+-- seen by sending another @ListClusters@ request with the returned+-- @nextToken@ value. This value can be between 1 and 100. If this+-- parameter isn\'t used, then @ListClusters@ returns up to 100 results and+-- a @nextToken@ value if applicable.+--+-- 'nextToken', 'listClusters_nextToken' - The @nextToken@ value returned from a @ListClusters@ request indicating+-- that more results are available to fulfill the request and further calls+-- are needed. If @maxResults@ was provided, it\'s possible the number of+-- results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+newListClusters ::+ ListClusters+newListClusters =+ ListClusters'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | The maximum number of cluster results that @ListClusters@ returned in+-- paginated output. When this parameter is used, @ListClusters@ only+-- returns @maxResults@ results in a single page along with a @nextToken@+-- response element. The remaining results of the initial request can be+-- seen by sending another @ListClusters@ request with the returned+-- @nextToken@ value. This value can be between 1 and 100. If this+-- parameter isn\'t used, then @ListClusters@ returns up to 100 results and+-- a @nextToken@ value if applicable.+listClusters_maxResults :: Lens.Lens' ListClusters (Prelude.Maybe Prelude.Int)+listClusters_maxResults = Lens.lens (\ListClusters' {maxResults} -> maxResults) (\s@ListClusters' {} a -> s {maxResults = a} :: ListClusters)++-- | The @nextToken@ value returned from a @ListClusters@ request indicating+-- that more results are available to fulfill the request and further calls+-- are needed. If @maxResults@ was provided, it\'s possible the number of+-- results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+listClusters_nextToken :: Lens.Lens' ListClusters (Prelude.Maybe Prelude.Text)+listClusters_nextToken = Lens.lens (\ListClusters' {nextToken} -> nextToken) (\s@ListClusters' {} a -> s {nextToken = a} :: ListClusters)++instance Core.AWSPager ListClusters where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listClustersResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listClustersResponse_clusterArns+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listClusters_nextToken+ Lens..~ rs+ Lens.^? listClustersResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListClusters where+ type AWSResponse ListClusters = ListClustersResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListClustersResponse'+ Prelude.<$> (x Data..?> "clusterArns" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "nextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListClusters where+ hashWithSalt _salt ListClusters' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListClusters where+ rnf ListClusters' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListClusters where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.ListClusters" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListClusters where+ toJSON ListClusters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListClusters where+ toPath = Prelude.const "/"++instance Data.ToQuery ListClusters where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListClustersResponse' smart constructor.+data ListClustersResponse = ListClustersResponse'+ { -- | The list of full Amazon Resource Name (ARN) entries for each cluster+ -- that\'s associated with your account.+ clusterArns :: Prelude.Maybe [Prelude.Text],+ -- | The @nextToken@ value to include in a future @ListClusters@ request.+ -- When the results of a @ListClusters@ request exceed @maxResults@, this+ -- value can be used to retrieve the next page of results. This value is+ -- @null@ when there are no more results to return.+ 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 'ListClustersResponse' 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:+--+-- 'clusterArns', 'listClustersResponse_clusterArns' - The list of full Amazon Resource Name (ARN) entries for each cluster+-- that\'s associated with your account.+--+-- 'nextToken', 'listClustersResponse_nextToken' - The @nextToken@ value to include in a future @ListClusters@ request.+-- When the results of a @ListClusters@ request exceed @maxResults@, this+-- value can be used to retrieve the next page of results. This value is+-- @null@ when there are no more results to return.+--+-- 'httpStatus', 'listClustersResponse_httpStatus' - The response's http status code.+newListClustersResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListClustersResponse+newListClustersResponse pHttpStatus_ =+ ListClustersResponse'+ { clusterArns =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of full Amazon Resource Name (ARN) entries for each cluster+-- that\'s associated with your account.+listClustersResponse_clusterArns :: Lens.Lens' ListClustersResponse (Prelude.Maybe [Prelude.Text])+listClustersResponse_clusterArns = Lens.lens (\ListClustersResponse' {clusterArns} -> clusterArns) (\s@ListClustersResponse' {} a -> s {clusterArns = a} :: ListClustersResponse) Prelude.. Lens.mapping Lens.coerced++-- | The @nextToken@ value to include in a future @ListClusters@ request.+-- When the results of a @ListClusters@ request exceed @maxResults@, this+-- value can be used to retrieve the next page of results. This value is+-- @null@ when there are no more results to return.+listClustersResponse_nextToken :: Lens.Lens' ListClustersResponse (Prelude.Maybe Prelude.Text)+listClustersResponse_nextToken = Lens.lens (\ListClustersResponse' {nextToken} -> nextToken) (\s@ListClustersResponse' {} a -> s {nextToken = a} :: ListClustersResponse)++-- | The response's http status code.+listClustersResponse_httpStatus :: Lens.Lens' ListClustersResponse Prelude.Int+listClustersResponse_httpStatus = Lens.lens (\ListClustersResponse' {httpStatus} -> httpStatus) (\s@ListClustersResponse' {} a -> s {httpStatus = a} :: ListClustersResponse)++instance Prelude.NFData ListClustersResponse where+ rnf ListClustersResponse' {..} =+ Prelude.rnf clusterArns+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/ListContainerInstances.hs view
@@ -0,0 +1,354 @@+{-# 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.ECS.ListContainerInstances+-- 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 container instances in a specified cluster. You can+-- filter the results of a @ListContainerInstances@ operation with cluster+-- query language statements inside the @filter@ parameter. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- This operation returns paginated results.+module Amazonka.ECS.ListContainerInstances+ ( -- * Creating a Request+ ListContainerInstances (..),+ newListContainerInstances,++ -- * Request Lenses+ listContainerInstances_cluster,+ listContainerInstances_filter,+ listContainerInstances_maxResults,+ listContainerInstances_nextToken,+ listContainerInstances_status,++ -- * Destructuring the Response+ ListContainerInstancesResponse (..),+ newListContainerInstancesResponse,++ -- * Response Lenses+ listContainerInstancesResponse_containerInstanceArns,+ listContainerInstancesResponse_nextToken,+ listContainerInstancesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListContainerInstances' smart constructor.+data ListContainerInstances = ListContainerInstances'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the container instances to list. If you do not specify a cluster,+ -- the default cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | You can filter the results of a @ListContainerInstances@ operation with+ -- cluster query language statements. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ filter' :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of container instance results that+ -- @ListContainerInstances@ returned in paginated output. When this+ -- parameter is used, @ListContainerInstances@ only returns @maxResults@+ -- results in a single page along with a @nextToken@ response element. The+ -- remaining results of the initial request can be seen by sending another+ -- @ListContainerInstances@ request with the returned @nextToken@ value.+ -- This value can be between 1 and 100. If this parameter isn\'t used, then+ -- @ListContainerInstances@ returns up to 100 results and a @nextToken@+ -- value if applicable.+ maxResults :: Prelude.Maybe Prelude.Int,+ -- | The @nextToken@ value returned from a @ListContainerInstances@ request+ -- indicating that more results are available to fulfill the request and+ -- further calls are needed. If @maxResults@ was provided, it\'s possible+ -- the number of results to be fewer than @maxResults@.+ --+ -- This token should be treated as an opaque identifier that is only used+ -- to retrieve the next items in a list and not for other programmatic+ -- purposes.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | Filters the container instances by status. For example, if you specify+ -- the @DRAINING@ status, the results include only container instances that+ -- have been set to @DRAINING@ using UpdateContainerInstancesState. If you+ -- don\'t specify this parameter, the default is to include container+ -- instances set to all states other than @INACTIVE@.+ status :: Prelude.Maybe ContainerInstanceStatus+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListContainerInstances' 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:+--+-- 'cluster', 'listContainerInstances_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the container instances to list. If you do not specify a cluster,+-- the default cluster is assumed.+--+-- 'filter'', 'listContainerInstances_filter' - You can filter the results of a @ListContainerInstances@ operation with+-- cluster query language statements. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'maxResults', 'listContainerInstances_maxResults' - The maximum number of container instance results that+-- @ListContainerInstances@ returned in paginated output. When this+-- parameter is used, @ListContainerInstances@ only returns @maxResults@+-- results in a single page along with a @nextToken@ response element. The+-- remaining results of the initial request can be seen by sending another+-- @ListContainerInstances@ request with the returned @nextToken@ value.+-- This value can be between 1 and 100. If this parameter isn\'t used, then+-- @ListContainerInstances@ returns up to 100 results and a @nextToken@+-- value if applicable.+--+-- 'nextToken', 'listContainerInstances_nextToken' - The @nextToken@ value returned from a @ListContainerInstances@ request+-- indicating that more results are available to fulfill the request and+-- further calls are needed. If @maxResults@ was provided, it\'s possible+-- the number of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+--+-- 'status', 'listContainerInstances_status' - Filters the container instances by status. For example, if you specify+-- the @DRAINING@ status, the results include only container instances that+-- have been set to @DRAINING@ using UpdateContainerInstancesState. If you+-- don\'t specify this parameter, the default is to include container+-- instances set to all states other than @INACTIVE@.+newListContainerInstances ::+ ListContainerInstances+newListContainerInstances =+ ListContainerInstances'+ { cluster = Prelude.Nothing,+ filter' = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ status = Prelude.Nothing+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the container instances to list. If you do not specify a cluster,+-- the default cluster is assumed.+listContainerInstances_cluster :: Lens.Lens' ListContainerInstances (Prelude.Maybe Prelude.Text)+listContainerInstances_cluster = Lens.lens (\ListContainerInstances' {cluster} -> cluster) (\s@ListContainerInstances' {} a -> s {cluster = a} :: ListContainerInstances)++-- | You can filter the results of a @ListContainerInstances@ operation with+-- cluster query language statements. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language>+-- in the /Amazon Elastic Container Service Developer Guide/.+listContainerInstances_filter :: Lens.Lens' ListContainerInstances (Prelude.Maybe Prelude.Text)+listContainerInstances_filter = Lens.lens (\ListContainerInstances' {filter'} -> filter') (\s@ListContainerInstances' {} a -> s {filter' = a} :: ListContainerInstances)++-- | The maximum number of container instance results that+-- @ListContainerInstances@ returned in paginated output. When this+-- parameter is used, @ListContainerInstances@ only returns @maxResults@+-- results in a single page along with a @nextToken@ response element. The+-- remaining results of the initial request can be seen by sending another+-- @ListContainerInstances@ request with the returned @nextToken@ value.+-- This value can be between 1 and 100. If this parameter isn\'t used, then+-- @ListContainerInstances@ returns up to 100 results and a @nextToken@+-- value if applicable.+listContainerInstances_maxResults :: Lens.Lens' ListContainerInstances (Prelude.Maybe Prelude.Int)+listContainerInstances_maxResults = Lens.lens (\ListContainerInstances' {maxResults} -> maxResults) (\s@ListContainerInstances' {} a -> s {maxResults = a} :: ListContainerInstances)++-- | The @nextToken@ value returned from a @ListContainerInstances@ request+-- indicating that more results are available to fulfill the request and+-- further calls are needed. If @maxResults@ was provided, it\'s possible+-- the number of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+listContainerInstances_nextToken :: Lens.Lens' ListContainerInstances (Prelude.Maybe Prelude.Text)+listContainerInstances_nextToken = Lens.lens (\ListContainerInstances' {nextToken} -> nextToken) (\s@ListContainerInstances' {} a -> s {nextToken = a} :: ListContainerInstances)++-- | Filters the container instances by status. For example, if you specify+-- the @DRAINING@ status, the results include only container instances that+-- have been set to @DRAINING@ using UpdateContainerInstancesState. If you+-- don\'t specify this parameter, the default is to include container+-- instances set to all states other than @INACTIVE@.+listContainerInstances_status :: Lens.Lens' ListContainerInstances (Prelude.Maybe ContainerInstanceStatus)+listContainerInstances_status = Lens.lens (\ListContainerInstances' {status} -> status) (\s@ListContainerInstances' {} a -> s {status = a} :: ListContainerInstances)++instance Core.AWSPager ListContainerInstances where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listContainerInstancesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listContainerInstancesResponse_containerInstanceArns+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listContainerInstances_nextToken+ Lens..~ rs+ Lens.^? listContainerInstancesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListContainerInstances where+ type+ AWSResponse ListContainerInstances =+ ListContainerInstancesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListContainerInstancesResponse'+ Prelude.<$> ( x+ Data..?> "containerInstanceArns"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "nextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListContainerInstances where+ hashWithSalt _salt ListContainerInstances' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` filter'+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` status++instance Prelude.NFData ListContainerInstances where+ rnf ListContainerInstances' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf filter'+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf status++instance Data.ToHeaders ListContainerInstances where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.ListContainerInstances" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListContainerInstances where+ toJSON ListContainerInstances' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("filter" Data..=) Prelude.<$> filter',+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken,+ ("status" Data..=) Prelude.<$> status+ ]+ )++instance Data.ToPath ListContainerInstances where+ toPath = Prelude.const "/"++instance Data.ToQuery ListContainerInstances where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListContainerInstancesResponse' smart constructor.+data ListContainerInstancesResponse = ListContainerInstancesResponse'+ { -- | The list of container instances with full ARN entries for each container+ -- instance associated with the specified cluster.+ containerInstanceArns :: Prelude.Maybe [Prelude.Text],+ -- | The @nextToken@ value to include in a future @ListContainerInstances@+ -- request. When the results of a @ListContainerInstances@ request exceed+ -- @maxResults@, this value can be used to retrieve the next page of+ -- results. This value is @null@ when there are no more results to return.+ 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 'ListContainerInstancesResponse' 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:+--+-- 'containerInstanceArns', 'listContainerInstancesResponse_containerInstanceArns' - The list of container instances with full ARN entries for each container+-- instance associated with the specified cluster.+--+-- 'nextToken', 'listContainerInstancesResponse_nextToken' - The @nextToken@ value to include in a future @ListContainerInstances@+-- request. When the results of a @ListContainerInstances@ request exceed+-- @maxResults@, this value can be used to retrieve the next page of+-- results. This value is @null@ when there are no more results to return.+--+-- 'httpStatus', 'listContainerInstancesResponse_httpStatus' - The response's http status code.+newListContainerInstancesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListContainerInstancesResponse+newListContainerInstancesResponse pHttpStatus_ =+ ListContainerInstancesResponse'+ { containerInstanceArns =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of container instances with full ARN entries for each container+-- instance associated with the specified cluster.+listContainerInstancesResponse_containerInstanceArns :: Lens.Lens' ListContainerInstancesResponse (Prelude.Maybe [Prelude.Text])+listContainerInstancesResponse_containerInstanceArns = Lens.lens (\ListContainerInstancesResponse' {containerInstanceArns} -> containerInstanceArns) (\s@ListContainerInstancesResponse' {} a -> s {containerInstanceArns = a} :: ListContainerInstancesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The @nextToken@ value to include in a future @ListContainerInstances@+-- request. When the results of a @ListContainerInstances@ request exceed+-- @maxResults@, this value can be used to retrieve the next page of+-- results. This value is @null@ when there are no more results to return.+listContainerInstancesResponse_nextToken :: Lens.Lens' ListContainerInstancesResponse (Prelude.Maybe Prelude.Text)+listContainerInstancesResponse_nextToken = Lens.lens (\ListContainerInstancesResponse' {nextToken} -> nextToken) (\s@ListContainerInstancesResponse' {} a -> s {nextToken = a} :: ListContainerInstancesResponse)++-- | The response's http status code.+listContainerInstancesResponse_httpStatus :: Lens.Lens' ListContainerInstancesResponse Prelude.Int+listContainerInstancesResponse_httpStatus = Lens.lens (\ListContainerInstancesResponse' {httpStatus} -> httpStatus) (\s@ListContainerInstancesResponse' {} a -> s {httpStatus = a} :: ListContainerInstancesResponse)++instance+ Prelude.NFData+ ListContainerInstancesResponse+ where+ rnf ListContainerInstancesResponse' {..} =+ Prelude.rnf containerInstanceArns+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/ListServices.hs view
@@ -0,0 +1,321 @@+{-# 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.ECS.ListServices+-- 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 services. You can filter the results by cluster,+-- launch type, and scheduling strategy.+--+-- This operation returns paginated results.+module Amazonka.ECS.ListServices+ ( -- * Creating a Request+ ListServices (..),+ newListServices,++ -- * Request Lenses+ listServices_cluster,+ listServices_launchType,+ listServices_maxResults,+ listServices_nextToken,+ listServices_schedulingStrategy,++ -- * Destructuring the Response+ ListServicesResponse (..),+ newListServicesResponse,++ -- * Response Lenses+ listServicesResponse_nextToken,+ listServicesResponse_serviceArns,+ listServicesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListServices' smart constructor.+data ListServices = ListServices'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster to use+ -- when filtering the @ListServices@ results. If you do not specify a+ -- cluster, the default cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | The launch type to use when filtering the @ListServices@ results.+ launchType :: Prelude.Maybe LaunchType,+ -- | The maximum number of service results that @ListServices@ returned in+ -- paginated output. When this parameter is used, @ListServices@ only+ -- returns @maxResults@ results in a single page along with a @nextToken@+ -- response element. The remaining results of the initial request can be+ -- seen by sending another @ListServices@ request with the returned+ -- @nextToken@ value. This value can be between 1 and 100. If this+ -- parameter isn\'t used, then @ListServices@ returns up to 10 results and+ -- a @nextToken@ value if applicable.+ maxResults :: Prelude.Maybe Prelude.Int,+ -- | The @nextToken@ value returned from a @ListServices@ request indicating+ -- that more results are available to fulfill the request and further calls+ -- will be needed. If @maxResults@ was provided, it is possible the number+ -- of results to be fewer than @maxResults@.+ --+ -- This token should be treated as an opaque identifier that is only used+ -- to retrieve the next items in a list and not for other programmatic+ -- purposes.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The scheduling strategy to use when filtering the @ListServices@+ -- results.+ schedulingStrategy :: Prelude.Maybe SchedulingStrategy+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListServices' 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:+--+-- 'cluster', 'listServices_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster to use+-- when filtering the @ListServices@ results. If you do not specify a+-- cluster, the default cluster is assumed.+--+-- 'launchType', 'listServices_launchType' - The launch type to use when filtering the @ListServices@ results.+--+-- 'maxResults', 'listServices_maxResults' - The maximum number of service results that @ListServices@ returned in+-- paginated output. When this parameter is used, @ListServices@ only+-- returns @maxResults@ results in a single page along with a @nextToken@+-- response element. The remaining results of the initial request can be+-- seen by sending another @ListServices@ request with the returned+-- @nextToken@ value. This value can be between 1 and 100. If this+-- parameter isn\'t used, then @ListServices@ returns up to 10 results and+-- a @nextToken@ value if applicable.+--+-- 'nextToken', 'listServices_nextToken' - The @nextToken@ value returned from a @ListServices@ request indicating+-- that more results are available to fulfill the request and further calls+-- will be needed. If @maxResults@ was provided, it is possible the number+-- of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+--+-- 'schedulingStrategy', 'listServices_schedulingStrategy' - The scheduling strategy to use when filtering the @ListServices@+-- results.+newListServices ::+ ListServices+newListServices =+ ListServices'+ { cluster = Prelude.Nothing,+ launchType = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ schedulingStrategy = Prelude.Nothing+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster to use+-- when filtering the @ListServices@ results. If you do not specify a+-- cluster, the default cluster is assumed.+listServices_cluster :: Lens.Lens' ListServices (Prelude.Maybe Prelude.Text)+listServices_cluster = Lens.lens (\ListServices' {cluster} -> cluster) (\s@ListServices' {} a -> s {cluster = a} :: ListServices)++-- | The launch type to use when filtering the @ListServices@ results.+listServices_launchType :: Lens.Lens' ListServices (Prelude.Maybe LaunchType)+listServices_launchType = Lens.lens (\ListServices' {launchType} -> launchType) (\s@ListServices' {} a -> s {launchType = a} :: ListServices)++-- | The maximum number of service results that @ListServices@ returned in+-- paginated output. When this parameter is used, @ListServices@ only+-- returns @maxResults@ results in a single page along with a @nextToken@+-- response element. The remaining results of the initial request can be+-- seen by sending another @ListServices@ request with the returned+-- @nextToken@ value. This value can be between 1 and 100. If this+-- parameter isn\'t used, then @ListServices@ returns up to 10 results and+-- a @nextToken@ value if applicable.+listServices_maxResults :: Lens.Lens' ListServices (Prelude.Maybe Prelude.Int)+listServices_maxResults = Lens.lens (\ListServices' {maxResults} -> maxResults) (\s@ListServices' {} a -> s {maxResults = a} :: ListServices)++-- | The @nextToken@ value returned from a @ListServices@ request indicating+-- that more results are available to fulfill the request and further calls+-- will be needed. If @maxResults@ was provided, it is possible the number+-- of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+listServices_nextToken :: Lens.Lens' ListServices (Prelude.Maybe Prelude.Text)+listServices_nextToken = Lens.lens (\ListServices' {nextToken} -> nextToken) (\s@ListServices' {} a -> s {nextToken = a} :: ListServices)++-- | The scheduling strategy to use when filtering the @ListServices@+-- results.+listServices_schedulingStrategy :: Lens.Lens' ListServices (Prelude.Maybe SchedulingStrategy)+listServices_schedulingStrategy = Lens.lens (\ListServices' {schedulingStrategy} -> schedulingStrategy) (\s@ListServices' {} a -> s {schedulingStrategy = a} :: ListServices)++instance Core.AWSPager ListServices where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listServicesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listServicesResponse_serviceArns+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listServices_nextToken+ Lens..~ rs+ Lens.^? listServicesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListServices where+ type AWSResponse ListServices = ListServicesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListServicesResponse'+ Prelude.<$> (x Data..?> "nextToken")+ Prelude.<*> (x Data..?> "serviceArns" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListServices where+ hashWithSalt _salt ListServices' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` launchType+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` schedulingStrategy++instance Prelude.NFData ListServices where+ rnf ListServices' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf launchType+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf schedulingStrategy++instance Data.ToHeaders ListServices where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.ListServices" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListServices where+ toJSON ListServices' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("launchType" Data..=) Prelude.<$> launchType,+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken,+ ("schedulingStrategy" Data..=)+ Prelude.<$> schedulingStrategy+ ]+ )++instance Data.ToPath ListServices where+ toPath = Prelude.const "/"++instance Data.ToQuery ListServices where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListServicesResponse' smart constructor.+data ListServicesResponse = ListServicesResponse'+ { -- | The @nextToken@ value to include in a future @ListServices@ request.+ -- When the results of a @ListServices@ request exceed @maxResults@, this+ -- value can be used to retrieve the next page of results. This value is+ -- @null@ when there are no more results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The list of full ARN entries for each service that\'s associated with+ -- the specified cluster.+ serviceArns :: 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 'ListServicesResponse' 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', 'listServicesResponse_nextToken' - The @nextToken@ value to include in a future @ListServices@ request.+-- When the results of a @ListServices@ request exceed @maxResults@, this+-- value can be used to retrieve the next page of results. This value is+-- @null@ when there are no more results to return.+--+-- 'serviceArns', 'listServicesResponse_serviceArns' - The list of full ARN entries for each service that\'s associated with+-- the specified cluster.+--+-- 'httpStatus', 'listServicesResponse_httpStatus' - The response's http status code.+newListServicesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListServicesResponse+newListServicesResponse pHttpStatus_ =+ ListServicesResponse'+ { nextToken = Prelude.Nothing,+ serviceArns = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The @nextToken@ value to include in a future @ListServices@ request.+-- When the results of a @ListServices@ request exceed @maxResults@, this+-- value can be used to retrieve the next page of results. This value is+-- @null@ when there are no more results to return.+listServicesResponse_nextToken :: Lens.Lens' ListServicesResponse (Prelude.Maybe Prelude.Text)+listServicesResponse_nextToken = Lens.lens (\ListServicesResponse' {nextToken} -> nextToken) (\s@ListServicesResponse' {} a -> s {nextToken = a} :: ListServicesResponse)++-- | The list of full ARN entries for each service that\'s associated with+-- the specified cluster.+listServicesResponse_serviceArns :: Lens.Lens' ListServicesResponse (Prelude.Maybe [Prelude.Text])+listServicesResponse_serviceArns = Lens.lens (\ListServicesResponse' {serviceArns} -> serviceArns) (\s@ListServicesResponse' {} a -> s {serviceArns = a} :: ListServicesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listServicesResponse_httpStatus :: Lens.Lens' ListServicesResponse Prelude.Int+listServicesResponse_httpStatus = Lens.lens (\ListServicesResponse' {httpStatus} -> httpStatus) (\s@ListServicesResponse' {} a -> s {httpStatus = a} :: ListServicesResponse)++instance Prelude.NFData ListServicesResponse where+ rnf ListServicesResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf serviceArns+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/ListServicesByNamespace.hs view
@@ -0,0 +1,321 @@+{-# 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.ECS.ListServicesByNamespace+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This operation lists all of the services that are associated with a+-- Cloud Map namespace. This list might include services in different+-- clusters. In contrast, @ListServices@ can only list services in one+-- cluster at a time. If you need to filter the list of services in a+-- single cluster by various parameters, use @ListServices@. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- This operation returns paginated results.+module Amazonka.ECS.ListServicesByNamespace+ ( -- * Creating a Request+ ListServicesByNamespace (..),+ newListServicesByNamespace,++ -- * Request Lenses+ listServicesByNamespace_maxResults,+ listServicesByNamespace_nextToken,+ listServicesByNamespace_namespace,++ -- * Destructuring the Response+ ListServicesByNamespaceResponse (..),+ newListServicesByNamespaceResponse,++ -- * Response Lenses+ listServicesByNamespaceResponse_nextToken,+ listServicesByNamespaceResponse_serviceArns,+ listServicesByNamespaceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListServicesByNamespace' smart constructor.+data ListServicesByNamespace = ListServicesByNamespace'+ { -- | The maximum number of service results that @ListServicesByNamespace@+ -- returns in paginated output. When this parameter is used,+ -- @ListServicesByNamespace@ only returns @maxResults@ results in a single+ -- page along with a @nextToken@ response element. The remaining results of+ -- the initial request can be seen by sending another+ -- @ListServicesByNamespace@ request with the returned @nextToken@ value.+ -- This value can be between 1 and 100. If this parameter isn\'t used, then+ -- @ListServicesByNamespace@ returns up to 10 results and a @nextToken@+ -- value if applicable.+ maxResults :: Prelude.Maybe Prelude.Int,+ -- | The @nextToken@ value that\'s returned from a @ListServicesByNamespace@+ -- request. It indicates that more results are available to fulfill the+ -- request and further calls are needed. If @maxResults@ is returned, it is+ -- possible the number of results is less than @maxResults@.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+ -- namespace to list the services in.+ --+ -- Tasks that run in a namespace can use short names to connect to services+ -- in the namespace. Tasks can connect to services across all of the+ -- clusters in the namespace. Tasks connect through a managed proxy+ -- container that collects logs and metrics for increased visibility. Only+ -- the tasks that Amazon ECS services create are supported with Service+ -- Connect. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ namespace :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListServicesByNamespace' 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', 'listServicesByNamespace_maxResults' - The maximum number of service results that @ListServicesByNamespace@+-- returns in paginated output. When this parameter is used,+-- @ListServicesByNamespace@ only returns @maxResults@ results in a single+-- page along with a @nextToken@ response element. The remaining results of+-- the initial request can be seen by sending another+-- @ListServicesByNamespace@ request with the returned @nextToken@ value.+-- This value can be between 1 and 100. If this parameter isn\'t used, then+-- @ListServicesByNamespace@ returns up to 10 results and a @nextToken@+-- value if applicable.+--+-- 'nextToken', 'listServicesByNamespace_nextToken' - The @nextToken@ value that\'s returned from a @ListServicesByNamespace@+-- request. It indicates that more results are available to fulfill the+-- request and further calls are needed. If @maxResults@ is returned, it is+-- possible the number of results is less than @maxResults@.+--+-- 'namespace', 'listServicesByNamespace_namespace' - The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+-- namespace to list the services in.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+newListServicesByNamespace ::+ -- | 'namespace'+ Prelude.Text ->+ ListServicesByNamespace+newListServicesByNamespace pNamespace_ =+ ListServicesByNamespace'+ { maxResults =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ namespace = pNamespace_+ }++-- | The maximum number of service results that @ListServicesByNamespace@+-- returns in paginated output. When this parameter is used,+-- @ListServicesByNamespace@ only returns @maxResults@ results in a single+-- page along with a @nextToken@ response element. The remaining results of+-- the initial request can be seen by sending another+-- @ListServicesByNamespace@ request with the returned @nextToken@ value.+-- This value can be between 1 and 100. If this parameter isn\'t used, then+-- @ListServicesByNamespace@ returns up to 10 results and a @nextToken@+-- value if applicable.+listServicesByNamespace_maxResults :: Lens.Lens' ListServicesByNamespace (Prelude.Maybe Prelude.Int)+listServicesByNamespace_maxResults = Lens.lens (\ListServicesByNamespace' {maxResults} -> maxResults) (\s@ListServicesByNamespace' {} a -> s {maxResults = a} :: ListServicesByNamespace)++-- | The @nextToken@ value that\'s returned from a @ListServicesByNamespace@+-- request. It indicates that more results are available to fulfill the+-- request and further calls are needed. If @maxResults@ is returned, it is+-- possible the number of results is less than @maxResults@.+listServicesByNamespace_nextToken :: Lens.Lens' ListServicesByNamespace (Prelude.Maybe Prelude.Text)+listServicesByNamespace_nextToken = Lens.lens (\ListServicesByNamespace' {nextToken} -> nextToken) (\s@ListServicesByNamespace' {} a -> s {nextToken = a} :: ListServicesByNamespace)++-- | The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+-- namespace to list the services in.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+listServicesByNamespace_namespace :: Lens.Lens' ListServicesByNamespace Prelude.Text+listServicesByNamespace_namespace = Lens.lens (\ListServicesByNamespace' {namespace} -> namespace) (\s@ListServicesByNamespace' {} a -> s {namespace = a} :: ListServicesByNamespace)++instance Core.AWSPager ListServicesByNamespace where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listServicesByNamespaceResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listServicesByNamespaceResponse_serviceArns+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listServicesByNamespace_nextToken+ Lens..~ rs+ Lens.^? listServicesByNamespaceResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListServicesByNamespace where+ type+ AWSResponse ListServicesByNamespace =+ ListServicesByNamespaceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListServicesByNamespaceResponse'+ Prelude.<$> (x Data..?> "nextToken")+ Prelude.<*> (x Data..?> "serviceArns" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListServicesByNamespace where+ hashWithSalt _salt ListServicesByNamespace' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` namespace++instance Prelude.NFData ListServicesByNamespace where+ rnf ListServicesByNamespace' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf namespace++instance Data.ToHeaders ListServicesByNamespace where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.ListServicesByNamespace" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListServicesByNamespace where+ toJSON ListServicesByNamespace' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("namespace" Data..= namespace)+ ]+ )++instance Data.ToPath ListServicesByNamespace where+ toPath = Prelude.const "/"++instance Data.ToQuery ListServicesByNamespace where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListServicesByNamespaceResponse' smart constructor.+data ListServicesByNamespaceResponse = ListServicesByNamespaceResponse'+ { -- | The @nextToken@ value to include in a future @ListServicesByNamespace@+ -- request. When the results of a @ListServicesByNamespace@ request exceed+ -- @maxResults@, this value can be used to retrieve the next page of+ -- results. When there are no more results to return, this value is @null@.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The list of full ARN entries for each service that\'s associated with+ -- the specified namespace.+ serviceArns :: 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 'ListServicesByNamespaceResponse' 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', 'listServicesByNamespaceResponse_nextToken' - The @nextToken@ value to include in a future @ListServicesByNamespace@+-- request. When the results of a @ListServicesByNamespace@ request exceed+-- @maxResults@, this value can be used to retrieve the next page of+-- results. When there are no more results to return, this value is @null@.+--+-- 'serviceArns', 'listServicesByNamespaceResponse_serviceArns' - The list of full ARN entries for each service that\'s associated with+-- the specified namespace.+--+-- 'httpStatus', 'listServicesByNamespaceResponse_httpStatus' - The response's http status code.+newListServicesByNamespaceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListServicesByNamespaceResponse+newListServicesByNamespaceResponse pHttpStatus_ =+ ListServicesByNamespaceResponse'+ { nextToken =+ Prelude.Nothing,+ serviceArns = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The @nextToken@ value to include in a future @ListServicesByNamespace@+-- request. When the results of a @ListServicesByNamespace@ request exceed+-- @maxResults@, this value can be used to retrieve the next page of+-- results. When there are no more results to return, this value is @null@.+listServicesByNamespaceResponse_nextToken :: Lens.Lens' ListServicesByNamespaceResponse (Prelude.Maybe Prelude.Text)+listServicesByNamespaceResponse_nextToken = Lens.lens (\ListServicesByNamespaceResponse' {nextToken} -> nextToken) (\s@ListServicesByNamespaceResponse' {} a -> s {nextToken = a} :: ListServicesByNamespaceResponse)++-- | The list of full ARN entries for each service that\'s associated with+-- the specified namespace.+listServicesByNamespaceResponse_serviceArns :: Lens.Lens' ListServicesByNamespaceResponse (Prelude.Maybe [Prelude.Text])+listServicesByNamespaceResponse_serviceArns = Lens.lens (\ListServicesByNamespaceResponse' {serviceArns} -> serviceArns) (\s@ListServicesByNamespaceResponse' {} a -> s {serviceArns = a} :: ListServicesByNamespaceResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listServicesByNamespaceResponse_httpStatus :: Lens.Lens' ListServicesByNamespaceResponse Prelude.Int+listServicesByNamespaceResponse_httpStatus = Lens.lens (\ListServicesByNamespaceResponse' {httpStatus} -> httpStatus) (\s@ListServicesByNamespaceResponse' {} a -> s {httpStatus = a} :: ListServicesByNamespaceResponse)++instance+ Prelude.NFData+ ListServicesByNamespaceResponse+ where+ rnf ListServicesByNamespaceResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf serviceArns+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/ListTagsForResource.hs view
@@ -0,0 +1,175 @@+{-# 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.ECS.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)+--+-- List the tags for an Amazon ECS resource.+module Amazonka.ECS.ListTagsForResource+ ( -- * Creating a Request+ ListTagsForResource (..),+ newListTagsForResource,++ -- * Request Lenses+ listTagsForResource_resourceArn,++ -- * Destructuring the Response+ ListTagsForResourceResponse (..),+ newListTagsForResourceResponse,++ -- * Response Lenses+ 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.ECS.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'+ { -- | The Amazon Resource Name (ARN) that identifies the resource to list the+ -- tags for. Currently, the supported resources are Amazon ECS tasks,+ -- services, task definitions, clusters, and container instances.+ 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:+--+-- 'resourceArn', 'listTagsForResource_resourceArn' - The Amazon Resource Name (ARN) that identifies the resource to list the+-- tags for. Currently, the supported resources are Amazon ECS tasks,+-- services, task definitions, clusters, and container instances.+newListTagsForResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ ListTagsForResource+newListTagsForResource pResourceArn_ =+ ListTagsForResource' {resourceArn = pResourceArn_}++-- | The Amazon Resource Name (ARN) that identifies the resource to list the+-- tags for. Currently, the supported resources are Amazon ECS tasks,+-- services, task definitions, clusters, and container instances.+listTagsForResource_resourceArn :: Lens.Lens' ListTagsForResource Prelude.Text+listTagsForResource_resourceArn = Lens.lens (\ListTagsForResource' {resourceArn} -> resourceArn) (\s@ListTagsForResource' {} a -> s {resourceArn = a} :: ListTagsForResource)++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..?> "tags" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTagsForResource where+ hashWithSalt _salt ListTagsForResource' {..} =+ _salt `Prelude.hashWithSalt` resourceArn++instance Prelude.NFData ListTagsForResource where+ rnf ListTagsForResource' {..} =+ Prelude.rnf resourceArn++instance Data.ToHeaders ListTagsForResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.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+ [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'+ { -- | The tags for 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:+--+-- 'tags', 'listTagsForResourceResponse_tags' - The tags for the resource.+--+-- 'httpStatus', 'listTagsForResourceResponse_httpStatus' - The response's http status code.+newListTagsForResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTagsForResourceResponse+newListTagsForResourceResponse pHttpStatus_ =+ ListTagsForResourceResponse'+ { tags =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The tags for 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 tags+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/ListTaskDefinitionFamilies.hs view
@@ -0,0 +1,350 @@+{-# 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.ECS.ListTaskDefinitionFamilies+-- 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 task definition families that are registered to your+-- account. This list includes task definition families that no longer have+-- any @ACTIVE@ task definition revisions.+--+-- You can filter out task definition families that don\'t contain any+-- @ACTIVE@ task definition revisions by setting the @status@ parameter to+-- @ACTIVE@. You can also filter the results with the @familyPrefix@+-- parameter.+--+-- This operation returns paginated results.+module Amazonka.ECS.ListTaskDefinitionFamilies+ ( -- * Creating a Request+ ListTaskDefinitionFamilies (..),+ newListTaskDefinitionFamilies,++ -- * Request Lenses+ listTaskDefinitionFamilies_familyPrefix,+ listTaskDefinitionFamilies_maxResults,+ listTaskDefinitionFamilies_nextToken,+ listTaskDefinitionFamilies_status,++ -- * Destructuring the Response+ ListTaskDefinitionFamiliesResponse (..),+ newListTaskDefinitionFamiliesResponse,++ -- * Response Lenses+ listTaskDefinitionFamiliesResponse_families,+ listTaskDefinitionFamiliesResponse_nextToken,+ listTaskDefinitionFamiliesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTaskDefinitionFamilies' smart constructor.+data ListTaskDefinitionFamilies = ListTaskDefinitionFamilies'+ { -- | The @familyPrefix@ is a string that\'s used to filter the results of+ -- @ListTaskDefinitionFamilies@. If you specify a @familyPrefix@, only task+ -- definition family names that begin with the @familyPrefix@ string are+ -- returned.+ familyPrefix :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of task definition family results that+ -- @ListTaskDefinitionFamilies@ returned in paginated output. When this+ -- parameter is used, @ListTaskDefinitions@ only returns @maxResults@+ -- results in a single page along with a @nextToken@ response element. The+ -- remaining results of the initial request can be seen by sending another+ -- @ListTaskDefinitionFamilies@ request with the returned @nextToken@+ -- value. This value can be between 1 and 100. If this parameter isn\'t+ -- used, then @ListTaskDefinitionFamilies@ returns up to 100 results and a+ -- @nextToken@ value if applicable.+ maxResults :: Prelude.Maybe Prelude.Int,+ -- | The @nextToken@ value returned from a @ListTaskDefinitionFamilies@+ -- request indicating that more results are available to fulfill the+ -- request and further calls will be needed. If @maxResults@ was provided,+ -- it is possible the number of results to be fewer than @maxResults@.+ --+ -- This token should be treated as an opaque identifier that is only used+ -- to retrieve the next items in a list and not for other programmatic+ -- purposes.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The task definition family status to filter the+ -- @ListTaskDefinitionFamilies@ results with. By default, both @ACTIVE@ and+ -- @INACTIVE@ task definition families are listed. If this parameter is set+ -- to @ACTIVE@, only task definition families that have an @ACTIVE@ task+ -- definition revision are returned. If this parameter is set to+ -- @INACTIVE@, only task definition families that do not have any @ACTIVE@+ -- task definition revisions are returned. If you paginate the resulting+ -- output, be sure to keep the @status@ value constant in each subsequent+ -- request.+ status :: Prelude.Maybe TaskDefinitionFamilyStatus+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTaskDefinitionFamilies' 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:+--+-- 'familyPrefix', 'listTaskDefinitionFamilies_familyPrefix' - The @familyPrefix@ is a string that\'s used to filter the results of+-- @ListTaskDefinitionFamilies@. If you specify a @familyPrefix@, only task+-- definition family names that begin with the @familyPrefix@ string are+-- returned.+--+-- 'maxResults', 'listTaskDefinitionFamilies_maxResults' - The maximum number of task definition family results that+-- @ListTaskDefinitionFamilies@ returned in paginated output. When this+-- parameter is used, @ListTaskDefinitions@ only returns @maxResults@+-- results in a single page along with a @nextToken@ response element. The+-- remaining results of the initial request can be seen by sending another+-- @ListTaskDefinitionFamilies@ request with the returned @nextToken@+-- value. This value can be between 1 and 100. If this parameter isn\'t+-- used, then @ListTaskDefinitionFamilies@ returns up to 100 results and a+-- @nextToken@ value if applicable.+--+-- 'nextToken', 'listTaskDefinitionFamilies_nextToken' - The @nextToken@ value returned from a @ListTaskDefinitionFamilies@+-- request indicating that more results are available to fulfill the+-- request and further calls will be needed. If @maxResults@ was provided,+-- it is possible the number of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+--+-- 'status', 'listTaskDefinitionFamilies_status' - The task definition family status to filter the+-- @ListTaskDefinitionFamilies@ results with. By default, both @ACTIVE@ and+-- @INACTIVE@ task definition families are listed. If this parameter is set+-- to @ACTIVE@, only task definition families that have an @ACTIVE@ task+-- definition revision are returned. If this parameter is set to+-- @INACTIVE@, only task definition families that do not have any @ACTIVE@+-- task definition revisions are returned. If you paginate the resulting+-- output, be sure to keep the @status@ value constant in each subsequent+-- request.+newListTaskDefinitionFamilies ::+ ListTaskDefinitionFamilies+newListTaskDefinitionFamilies =+ ListTaskDefinitionFamilies'+ { familyPrefix =+ Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ status = Prelude.Nothing+ }++-- | The @familyPrefix@ is a string that\'s used to filter the results of+-- @ListTaskDefinitionFamilies@. If you specify a @familyPrefix@, only task+-- definition family names that begin with the @familyPrefix@ string are+-- returned.+listTaskDefinitionFamilies_familyPrefix :: Lens.Lens' ListTaskDefinitionFamilies (Prelude.Maybe Prelude.Text)+listTaskDefinitionFamilies_familyPrefix = Lens.lens (\ListTaskDefinitionFamilies' {familyPrefix} -> familyPrefix) (\s@ListTaskDefinitionFamilies' {} a -> s {familyPrefix = a} :: ListTaskDefinitionFamilies)++-- | The maximum number of task definition family results that+-- @ListTaskDefinitionFamilies@ returned in paginated output. When this+-- parameter is used, @ListTaskDefinitions@ only returns @maxResults@+-- results in a single page along with a @nextToken@ response element. The+-- remaining results of the initial request can be seen by sending another+-- @ListTaskDefinitionFamilies@ request with the returned @nextToken@+-- value. This value can be between 1 and 100. If this parameter isn\'t+-- used, then @ListTaskDefinitionFamilies@ returns up to 100 results and a+-- @nextToken@ value if applicable.+listTaskDefinitionFamilies_maxResults :: Lens.Lens' ListTaskDefinitionFamilies (Prelude.Maybe Prelude.Int)+listTaskDefinitionFamilies_maxResults = Lens.lens (\ListTaskDefinitionFamilies' {maxResults} -> maxResults) (\s@ListTaskDefinitionFamilies' {} a -> s {maxResults = a} :: ListTaskDefinitionFamilies)++-- | The @nextToken@ value returned from a @ListTaskDefinitionFamilies@+-- request indicating that more results are available to fulfill the+-- request and further calls will be needed. If @maxResults@ was provided,+-- it is possible the number of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+listTaskDefinitionFamilies_nextToken :: Lens.Lens' ListTaskDefinitionFamilies (Prelude.Maybe Prelude.Text)+listTaskDefinitionFamilies_nextToken = Lens.lens (\ListTaskDefinitionFamilies' {nextToken} -> nextToken) (\s@ListTaskDefinitionFamilies' {} a -> s {nextToken = a} :: ListTaskDefinitionFamilies)++-- | The task definition family status to filter the+-- @ListTaskDefinitionFamilies@ results with. By default, both @ACTIVE@ and+-- @INACTIVE@ task definition families are listed. If this parameter is set+-- to @ACTIVE@, only task definition families that have an @ACTIVE@ task+-- definition revision are returned. If this parameter is set to+-- @INACTIVE@, only task definition families that do not have any @ACTIVE@+-- task definition revisions are returned. If you paginate the resulting+-- output, be sure to keep the @status@ value constant in each subsequent+-- request.+listTaskDefinitionFamilies_status :: Lens.Lens' ListTaskDefinitionFamilies (Prelude.Maybe TaskDefinitionFamilyStatus)+listTaskDefinitionFamilies_status = Lens.lens (\ListTaskDefinitionFamilies' {status} -> status) (\s@ListTaskDefinitionFamilies' {} a -> s {status = a} :: ListTaskDefinitionFamilies)++instance Core.AWSPager ListTaskDefinitionFamilies where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listTaskDefinitionFamiliesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listTaskDefinitionFamiliesResponse_families+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listTaskDefinitionFamilies_nextToken+ Lens..~ rs+ Lens.^? listTaskDefinitionFamiliesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListTaskDefinitionFamilies where+ type+ AWSResponse ListTaskDefinitionFamilies =+ ListTaskDefinitionFamiliesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTaskDefinitionFamiliesResponse'+ Prelude.<$> (x Data..?> "families" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "nextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTaskDefinitionFamilies where+ hashWithSalt _salt ListTaskDefinitionFamilies' {..} =+ _salt+ `Prelude.hashWithSalt` familyPrefix+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` status++instance Prelude.NFData ListTaskDefinitionFamilies where+ rnf ListTaskDefinitionFamilies' {..} =+ Prelude.rnf familyPrefix+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf status++instance Data.ToHeaders ListTaskDefinitionFamilies where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.ListTaskDefinitionFamilies" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListTaskDefinitionFamilies where+ toJSON ListTaskDefinitionFamilies' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("familyPrefix" Data..=) Prelude.<$> familyPrefix,+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken,+ ("status" Data..=) Prelude.<$> status+ ]+ )++instance Data.ToPath ListTaskDefinitionFamilies where+ toPath = Prelude.const "/"++instance Data.ToQuery ListTaskDefinitionFamilies where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTaskDefinitionFamiliesResponse' smart constructor.+data ListTaskDefinitionFamiliesResponse = ListTaskDefinitionFamiliesResponse'+ { -- | The list of task definition family names that match the+ -- @ListTaskDefinitionFamilies@ request.+ families :: Prelude.Maybe [Prelude.Text],+ -- | The @nextToken@ value to include in a future+ -- @ListTaskDefinitionFamilies@ request. When the results of a+ -- @ListTaskDefinitionFamilies@ request exceed @maxResults@, this value can+ -- be used to retrieve the next page of results. This value is @null@ when+ -- there are no more results to return.+ 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 'ListTaskDefinitionFamiliesResponse' 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:+--+-- 'families', 'listTaskDefinitionFamiliesResponse_families' - The list of task definition family names that match the+-- @ListTaskDefinitionFamilies@ request.+--+-- 'nextToken', 'listTaskDefinitionFamiliesResponse_nextToken' - The @nextToken@ value to include in a future+-- @ListTaskDefinitionFamilies@ request. When the results of a+-- @ListTaskDefinitionFamilies@ request exceed @maxResults@, this value can+-- be used to retrieve the next page of results. This value is @null@ when+-- there are no more results to return.+--+-- 'httpStatus', 'listTaskDefinitionFamiliesResponse_httpStatus' - The response's http status code.+newListTaskDefinitionFamiliesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTaskDefinitionFamiliesResponse+newListTaskDefinitionFamiliesResponse pHttpStatus_ =+ ListTaskDefinitionFamiliesResponse'+ { families =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of task definition family names that match the+-- @ListTaskDefinitionFamilies@ request.+listTaskDefinitionFamiliesResponse_families :: Lens.Lens' ListTaskDefinitionFamiliesResponse (Prelude.Maybe [Prelude.Text])+listTaskDefinitionFamiliesResponse_families = Lens.lens (\ListTaskDefinitionFamiliesResponse' {families} -> families) (\s@ListTaskDefinitionFamiliesResponse' {} a -> s {families = a} :: ListTaskDefinitionFamiliesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The @nextToken@ value to include in a future+-- @ListTaskDefinitionFamilies@ request. When the results of a+-- @ListTaskDefinitionFamilies@ request exceed @maxResults@, this value can+-- be used to retrieve the next page of results. This value is @null@ when+-- there are no more results to return.+listTaskDefinitionFamiliesResponse_nextToken :: Lens.Lens' ListTaskDefinitionFamiliesResponse (Prelude.Maybe Prelude.Text)+listTaskDefinitionFamiliesResponse_nextToken = Lens.lens (\ListTaskDefinitionFamiliesResponse' {nextToken} -> nextToken) (\s@ListTaskDefinitionFamiliesResponse' {} a -> s {nextToken = a} :: ListTaskDefinitionFamiliesResponse)++-- | The response's http status code.+listTaskDefinitionFamiliesResponse_httpStatus :: Lens.Lens' ListTaskDefinitionFamiliesResponse Prelude.Int+listTaskDefinitionFamiliesResponse_httpStatus = Lens.lens (\ListTaskDefinitionFamiliesResponse' {httpStatus} -> httpStatus) (\s@ListTaskDefinitionFamiliesResponse' {} a -> s {httpStatus = a} :: ListTaskDefinitionFamiliesResponse)++instance+ Prelude.NFData+ ListTaskDefinitionFamiliesResponse+ where+ rnf ListTaskDefinitionFamiliesResponse' {..} =+ Prelude.rnf families+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/ListTaskDefinitions.hs view
@@ -0,0 +1,355 @@+{-# 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.ECS.ListTaskDefinitions+-- 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 task definitions that are registered to your account.+-- You can filter the results by family name with the @familyPrefix@+-- parameter or by status with the @status@ parameter.+--+-- This operation returns paginated results.+module Amazonka.ECS.ListTaskDefinitions+ ( -- * Creating a Request+ ListTaskDefinitions (..),+ newListTaskDefinitions,++ -- * Request Lenses+ listTaskDefinitions_familyPrefix,+ listTaskDefinitions_maxResults,+ listTaskDefinitions_nextToken,+ listTaskDefinitions_sort,+ listTaskDefinitions_status,++ -- * Destructuring the Response+ ListTaskDefinitionsResponse (..),+ newListTaskDefinitionsResponse,++ -- * Response Lenses+ listTaskDefinitionsResponse_nextToken,+ listTaskDefinitionsResponse_taskDefinitionArns,+ listTaskDefinitionsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTaskDefinitions' smart constructor.+data ListTaskDefinitions = ListTaskDefinitions'+ { -- | The full family name to filter the @ListTaskDefinitions@ results with.+ -- Specifying a @familyPrefix@ limits the listed task definitions to task+ -- definition revisions that belong to that family.+ familyPrefix :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of task definition results that @ListTaskDefinitions@+ -- returned in paginated output. When this parameter is used,+ -- @ListTaskDefinitions@ only returns @maxResults@ results in a single page+ -- along with a @nextToken@ response element. The remaining results of the+ -- initial request can be seen by sending another @ListTaskDefinitions@+ -- request with the returned @nextToken@ value. This value can be between 1+ -- and 100. If this parameter isn\'t used, then @ListTaskDefinitions@+ -- returns up to 100 results and a @nextToken@ value if applicable.+ maxResults :: Prelude.Maybe Prelude.Int,+ -- | The @nextToken@ value returned from a @ListTaskDefinitions@ request+ -- indicating that more results are available to fulfill the request and+ -- further calls will be needed. If @maxResults@ was provided, it is+ -- possible the number of results to be fewer than @maxResults@.+ --+ -- This token should be treated as an opaque identifier that is only used+ -- to retrieve the next items in a list and not for other programmatic+ -- purposes.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The order to sort the results in. Valid values are @ASC@ and @DESC@. By+ -- default, (@ASC@) task definitions are listed lexicographically by family+ -- name and in ascending numerical order by revision so that the newest+ -- task definitions in a family are listed last. Setting this parameter to+ -- @DESC@ reverses the sort order on family name and revision. This is so+ -- that the newest task definitions in a family are listed first.+ sort :: Prelude.Maybe SortOrder,+ -- | The task definition status to filter the @ListTaskDefinitions@ results+ -- with. By default, only @ACTIVE@ task definitions are listed. By setting+ -- this parameter to @INACTIVE@, you can view task definitions that are+ -- @INACTIVE@ as long as an active task or service still references them.+ -- If you paginate the resulting output, be sure to keep the @status@ value+ -- constant in each subsequent request.+ status :: Prelude.Maybe TaskDefinitionStatus+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTaskDefinitions' 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:+--+-- 'familyPrefix', 'listTaskDefinitions_familyPrefix' - The full family name to filter the @ListTaskDefinitions@ results with.+-- Specifying a @familyPrefix@ limits the listed task definitions to task+-- definition revisions that belong to that family.+--+-- 'maxResults', 'listTaskDefinitions_maxResults' - The maximum number of task definition results that @ListTaskDefinitions@+-- returned in paginated output. When this parameter is used,+-- @ListTaskDefinitions@ only returns @maxResults@ results in a single page+-- along with a @nextToken@ response element. The remaining results of the+-- initial request can be seen by sending another @ListTaskDefinitions@+-- request with the returned @nextToken@ value. This value can be between 1+-- and 100. If this parameter isn\'t used, then @ListTaskDefinitions@+-- returns up to 100 results and a @nextToken@ value if applicable.+--+-- 'nextToken', 'listTaskDefinitions_nextToken' - The @nextToken@ value returned from a @ListTaskDefinitions@ request+-- indicating that more results are available to fulfill the request and+-- further calls will be needed. If @maxResults@ was provided, it is+-- possible the number of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+--+-- 'sort', 'listTaskDefinitions_sort' - The order to sort the results in. Valid values are @ASC@ and @DESC@. By+-- default, (@ASC@) task definitions are listed lexicographically by family+-- name and in ascending numerical order by revision so that the newest+-- task definitions in a family are listed last. Setting this parameter to+-- @DESC@ reverses the sort order on family name and revision. This is so+-- that the newest task definitions in a family are listed first.+--+-- 'status', 'listTaskDefinitions_status' - The task definition status to filter the @ListTaskDefinitions@ results+-- with. By default, only @ACTIVE@ task definitions are listed. By setting+-- this parameter to @INACTIVE@, you can view task definitions that are+-- @INACTIVE@ as long as an active task or service still references them.+-- If you paginate the resulting output, be sure to keep the @status@ value+-- constant in each subsequent request.+newListTaskDefinitions ::+ ListTaskDefinitions+newListTaskDefinitions =+ ListTaskDefinitions'+ { familyPrefix =+ Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ sort = Prelude.Nothing,+ status = Prelude.Nothing+ }++-- | The full family name to filter the @ListTaskDefinitions@ results with.+-- Specifying a @familyPrefix@ limits the listed task definitions to task+-- definition revisions that belong to that family.+listTaskDefinitions_familyPrefix :: Lens.Lens' ListTaskDefinitions (Prelude.Maybe Prelude.Text)+listTaskDefinitions_familyPrefix = Lens.lens (\ListTaskDefinitions' {familyPrefix} -> familyPrefix) (\s@ListTaskDefinitions' {} a -> s {familyPrefix = a} :: ListTaskDefinitions)++-- | The maximum number of task definition results that @ListTaskDefinitions@+-- returned in paginated output. When this parameter is used,+-- @ListTaskDefinitions@ only returns @maxResults@ results in a single page+-- along with a @nextToken@ response element. The remaining results of the+-- initial request can be seen by sending another @ListTaskDefinitions@+-- request with the returned @nextToken@ value. This value can be between 1+-- and 100. If this parameter isn\'t used, then @ListTaskDefinitions@+-- returns up to 100 results and a @nextToken@ value if applicable.+listTaskDefinitions_maxResults :: Lens.Lens' ListTaskDefinitions (Prelude.Maybe Prelude.Int)+listTaskDefinitions_maxResults = Lens.lens (\ListTaskDefinitions' {maxResults} -> maxResults) (\s@ListTaskDefinitions' {} a -> s {maxResults = a} :: ListTaskDefinitions)++-- | The @nextToken@ value returned from a @ListTaskDefinitions@ request+-- indicating that more results are available to fulfill the request and+-- further calls will be needed. If @maxResults@ was provided, it is+-- possible the number of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+listTaskDefinitions_nextToken :: Lens.Lens' ListTaskDefinitions (Prelude.Maybe Prelude.Text)+listTaskDefinitions_nextToken = Lens.lens (\ListTaskDefinitions' {nextToken} -> nextToken) (\s@ListTaskDefinitions' {} a -> s {nextToken = a} :: ListTaskDefinitions)++-- | The order to sort the results in. Valid values are @ASC@ and @DESC@. By+-- default, (@ASC@) task definitions are listed lexicographically by family+-- name and in ascending numerical order by revision so that the newest+-- task definitions in a family are listed last. Setting this parameter to+-- @DESC@ reverses the sort order on family name and revision. This is so+-- that the newest task definitions in a family are listed first.+listTaskDefinitions_sort :: Lens.Lens' ListTaskDefinitions (Prelude.Maybe SortOrder)+listTaskDefinitions_sort = Lens.lens (\ListTaskDefinitions' {sort} -> sort) (\s@ListTaskDefinitions' {} a -> s {sort = a} :: ListTaskDefinitions)++-- | The task definition status to filter the @ListTaskDefinitions@ results+-- with. By default, only @ACTIVE@ task definitions are listed. By setting+-- this parameter to @INACTIVE@, you can view task definitions that are+-- @INACTIVE@ as long as an active task or service still references them.+-- If you paginate the resulting output, be sure to keep the @status@ value+-- constant in each subsequent request.+listTaskDefinitions_status :: Lens.Lens' ListTaskDefinitions (Prelude.Maybe TaskDefinitionStatus)+listTaskDefinitions_status = Lens.lens (\ListTaskDefinitions' {status} -> status) (\s@ListTaskDefinitions' {} a -> s {status = a} :: ListTaskDefinitions)++instance Core.AWSPager ListTaskDefinitions where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listTaskDefinitionsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listTaskDefinitionsResponse_taskDefinitionArns+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listTaskDefinitions_nextToken+ Lens..~ rs+ Lens.^? listTaskDefinitionsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListTaskDefinitions where+ type+ AWSResponse ListTaskDefinitions =+ ListTaskDefinitionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTaskDefinitionsResponse'+ Prelude.<$> (x Data..?> "nextToken")+ Prelude.<*> ( x+ Data..?> "taskDefinitionArns"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTaskDefinitions where+ hashWithSalt _salt ListTaskDefinitions' {..} =+ _salt+ `Prelude.hashWithSalt` familyPrefix+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` sort+ `Prelude.hashWithSalt` status++instance Prelude.NFData ListTaskDefinitions where+ rnf ListTaskDefinitions' {..} =+ Prelude.rnf familyPrefix+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf sort+ `Prelude.seq` Prelude.rnf status++instance Data.ToHeaders ListTaskDefinitions where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.ListTaskDefinitions" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListTaskDefinitions where+ toJSON ListTaskDefinitions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("familyPrefix" Data..=) Prelude.<$> familyPrefix,+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken,+ ("sort" Data..=) Prelude.<$> sort,+ ("status" Data..=) Prelude.<$> status+ ]+ )++instance Data.ToPath ListTaskDefinitions where+ toPath = Prelude.const "/"++instance Data.ToQuery ListTaskDefinitions where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTaskDefinitionsResponse' smart constructor.+data ListTaskDefinitionsResponse = ListTaskDefinitionsResponse'+ { -- | The @nextToken@ value to include in a future @ListTaskDefinitions@+ -- request. When the results of a @ListTaskDefinitions@ request exceed+ -- @maxResults@, this value can be used to retrieve the next page of+ -- results. This value is @null@ when there are no more results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The list of task definition Amazon Resource Name (ARN) entries for the+ -- @ListTaskDefinitions@ request.+ taskDefinitionArns :: 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 'ListTaskDefinitionsResponse' 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', 'listTaskDefinitionsResponse_nextToken' - The @nextToken@ value to include in a future @ListTaskDefinitions@+-- request. When the results of a @ListTaskDefinitions@ request exceed+-- @maxResults@, this value can be used to retrieve the next page of+-- results. This value is @null@ when there are no more results to return.+--+-- 'taskDefinitionArns', 'listTaskDefinitionsResponse_taskDefinitionArns' - The list of task definition Amazon Resource Name (ARN) entries for the+-- @ListTaskDefinitions@ request.+--+-- 'httpStatus', 'listTaskDefinitionsResponse_httpStatus' - The response's http status code.+newListTaskDefinitionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTaskDefinitionsResponse+newListTaskDefinitionsResponse pHttpStatus_ =+ ListTaskDefinitionsResponse'+ { nextToken =+ Prelude.Nothing,+ taskDefinitionArns = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The @nextToken@ value to include in a future @ListTaskDefinitions@+-- request. When the results of a @ListTaskDefinitions@ request exceed+-- @maxResults@, this value can be used to retrieve the next page of+-- results. This value is @null@ when there are no more results to return.+listTaskDefinitionsResponse_nextToken :: Lens.Lens' ListTaskDefinitionsResponse (Prelude.Maybe Prelude.Text)+listTaskDefinitionsResponse_nextToken = Lens.lens (\ListTaskDefinitionsResponse' {nextToken} -> nextToken) (\s@ListTaskDefinitionsResponse' {} a -> s {nextToken = a} :: ListTaskDefinitionsResponse)++-- | The list of task definition Amazon Resource Name (ARN) entries for the+-- @ListTaskDefinitions@ request.+listTaskDefinitionsResponse_taskDefinitionArns :: Lens.Lens' ListTaskDefinitionsResponse (Prelude.Maybe [Prelude.Text])+listTaskDefinitionsResponse_taskDefinitionArns = Lens.lens (\ListTaskDefinitionsResponse' {taskDefinitionArns} -> taskDefinitionArns) (\s@ListTaskDefinitionsResponse' {} a -> s {taskDefinitionArns = a} :: ListTaskDefinitionsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTaskDefinitionsResponse_httpStatus :: Lens.Lens' ListTaskDefinitionsResponse Prelude.Int+listTaskDefinitionsResponse_httpStatus = Lens.lens (\ListTaskDefinitionsResponse' {httpStatus} -> httpStatus) (\s@ListTaskDefinitionsResponse' {} a -> s {httpStatus = a} :: ListTaskDefinitionsResponse)++instance Prelude.NFData ListTaskDefinitionsResponse where+ rnf ListTaskDefinitionsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf taskDefinitionArns+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/ListTasks.hs view
@@ -0,0 +1,434 @@+{-# 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.ECS.ListTasks+-- 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 tasks. You can filter the results by cluster, task+-- definition family, container instance, launch type, what IAM principal+-- started the task, or by the desired status of the task.+--+-- Recently stopped tasks might appear in the returned results. Currently,+-- stopped tasks appear in the returned results for at least one hour.+--+-- This operation returns paginated results.+module Amazonka.ECS.ListTasks+ ( -- * Creating a Request+ ListTasks (..),+ newListTasks,++ -- * Request Lenses+ listTasks_cluster,+ listTasks_containerInstance,+ listTasks_desiredStatus,+ listTasks_family,+ listTasks_launchType,+ listTasks_maxResults,+ listTasks_nextToken,+ listTasks_serviceName,+ listTasks_startedBy,++ -- * Destructuring the Response+ ListTasksResponse (..),+ newListTasksResponse,++ -- * Response Lenses+ listTasksResponse_nextToken,+ listTasksResponse_taskArns,+ listTasksResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTasks' smart constructor.+data ListTasks = ListTasks'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster to use+ -- when filtering the @ListTasks@ results. If you do not specify a cluster,+ -- the default cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | The container instance ID or full ARN of the container instance to use+ -- when filtering the @ListTasks@ results. Specifying a @containerInstance@+ -- limits the results to tasks that belong to that container instance.+ containerInstance :: Prelude.Maybe Prelude.Text,+ -- | The task desired status to use when filtering the @ListTasks@ results.+ -- Specifying a @desiredStatus@ of @STOPPED@ limits the results to tasks+ -- that Amazon ECS has set the desired status to @STOPPED@. This can be+ -- useful for debugging tasks that aren\'t starting properly or have died+ -- or finished. The default status filter is @RUNNING@, which shows tasks+ -- that Amazon ECS has set the desired status to @RUNNING@.+ --+ -- Although you can filter results based on a desired status of @PENDING@,+ -- this doesn\'t return any results. Amazon ECS never sets the desired+ -- status of a task to that value (only a task\'s @lastStatus@ may have a+ -- value of @PENDING@).+ desiredStatus :: Prelude.Maybe DesiredStatus,+ -- | The name of the task definition family to use when filtering the+ -- @ListTasks@ results. Specifying a @family@ limits the results to tasks+ -- that belong to that family.+ family :: Prelude.Maybe Prelude.Text,+ -- | The launch type to use when filtering the @ListTasks@ results.+ launchType :: Prelude.Maybe LaunchType,+ -- | The maximum number of task results that @ListTasks@ returned in+ -- paginated output. When this parameter is used, @ListTasks@ only returns+ -- @maxResults@ results in a single page along with a @nextToken@ response+ -- element. The remaining results of the initial request can be seen by+ -- sending another @ListTasks@ request with the returned @nextToken@ value.+ -- This value can be between 1 and 100. If this parameter isn\'t used, then+ -- @ListTasks@ returns up to 100 results and a @nextToken@ value if+ -- applicable.+ maxResults :: Prelude.Maybe Prelude.Int,+ -- | The @nextToken@ value returned from a @ListTasks@ request indicating+ -- that more results are available to fulfill the request and further calls+ -- will be needed. If @maxResults@ was provided, it\'s possible the number+ -- of results to be fewer than @maxResults@.+ --+ -- This token should be treated as an opaque identifier that is only used+ -- to retrieve the next items in a list and not for other programmatic+ -- purposes.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The name of the service to use when filtering the @ListTasks@ results.+ -- Specifying a @serviceName@ limits the results to tasks that belong to+ -- that service.+ serviceName :: Prelude.Maybe Prelude.Text,+ -- | The @startedBy@ value to filter the task results with. Specifying a+ -- @startedBy@ value limits the results to tasks that were started with+ -- that value.+ --+ -- When you specify @startedBy@ as the filter, it must be the only filter+ -- that you use.+ startedBy :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTasks' 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:+--+-- 'cluster', 'listTasks_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster to use+-- when filtering the @ListTasks@ results. If you do not specify a cluster,+-- the default cluster is assumed.+--+-- 'containerInstance', 'listTasks_containerInstance' - The container instance ID or full ARN of the container instance to use+-- when filtering the @ListTasks@ results. Specifying a @containerInstance@+-- limits the results to tasks that belong to that container instance.+--+-- 'desiredStatus', 'listTasks_desiredStatus' - The task desired status to use when filtering the @ListTasks@ results.+-- Specifying a @desiredStatus@ of @STOPPED@ limits the results to tasks+-- that Amazon ECS has set the desired status to @STOPPED@. This can be+-- useful for debugging tasks that aren\'t starting properly or have died+-- or finished. The default status filter is @RUNNING@, which shows tasks+-- that Amazon ECS has set the desired status to @RUNNING@.+--+-- Although you can filter results based on a desired status of @PENDING@,+-- this doesn\'t return any results. Amazon ECS never sets the desired+-- status of a task to that value (only a task\'s @lastStatus@ may have a+-- value of @PENDING@).+--+-- 'family', 'listTasks_family' - The name of the task definition family to use when filtering the+-- @ListTasks@ results. Specifying a @family@ limits the results to tasks+-- that belong to that family.+--+-- 'launchType', 'listTasks_launchType' - The launch type to use when filtering the @ListTasks@ results.+--+-- 'maxResults', 'listTasks_maxResults' - The maximum number of task results that @ListTasks@ returned in+-- paginated output. When this parameter is used, @ListTasks@ only returns+-- @maxResults@ results in a single page along with a @nextToken@ response+-- element. The remaining results of the initial request can be seen by+-- sending another @ListTasks@ request with the returned @nextToken@ value.+-- This value can be between 1 and 100. If this parameter isn\'t used, then+-- @ListTasks@ returns up to 100 results and a @nextToken@ value if+-- applicable.+--+-- 'nextToken', 'listTasks_nextToken' - The @nextToken@ value returned from a @ListTasks@ request indicating+-- that more results are available to fulfill the request and further calls+-- will be needed. If @maxResults@ was provided, it\'s possible the number+-- of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+--+-- 'serviceName', 'listTasks_serviceName' - The name of the service to use when filtering the @ListTasks@ results.+-- Specifying a @serviceName@ limits the results to tasks that belong to+-- that service.+--+-- 'startedBy', 'listTasks_startedBy' - The @startedBy@ value to filter the task results with. Specifying a+-- @startedBy@ value limits the results to tasks that were started with+-- that value.+--+-- When you specify @startedBy@ as the filter, it must be the only filter+-- that you use.+newListTasks ::+ ListTasks+newListTasks =+ ListTasks'+ { cluster = Prelude.Nothing,+ containerInstance = Prelude.Nothing,+ desiredStatus = Prelude.Nothing,+ family = Prelude.Nothing,+ launchType = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ serviceName = Prelude.Nothing,+ startedBy = Prelude.Nothing+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster to use+-- when filtering the @ListTasks@ results. If you do not specify a cluster,+-- the default cluster is assumed.+listTasks_cluster :: Lens.Lens' ListTasks (Prelude.Maybe Prelude.Text)+listTasks_cluster = Lens.lens (\ListTasks' {cluster} -> cluster) (\s@ListTasks' {} a -> s {cluster = a} :: ListTasks)++-- | The container instance ID or full ARN of the container instance to use+-- when filtering the @ListTasks@ results. Specifying a @containerInstance@+-- limits the results to tasks that belong to that container instance.+listTasks_containerInstance :: Lens.Lens' ListTasks (Prelude.Maybe Prelude.Text)+listTasks_containerInstance = Lens.lens (\ListTasks' {containerInstance} -> containerInstance) (\s@ListTasks' {} a -> s {containerInstance = a} :: ListTasks)++-- | The task desired status to use when filtering the @ListTasks@ results.+-- Specifying a @desiredStatus@ of @STOPPED@ limits the results to tasks+-- that Amazon ECS has set the desired status to @STOPPED@. This can be+-- useful for debugging tasks that aren\'t starting properly or have died+-- or finished. The default status filter is @RUNNING@, which shows tasks+-- that Amazon ECS has set the desired status to @RUNNING@.+--+-- Although you can filter results based on a desired status of @PENDING@,+-- this doesn\'t return any results. Amazon ECS never sets the desired+-- status of a task to that value (only a task\'s @lastStatus@ may have a+-- value of @PENDING@).+listTasks_desiredStatus :: Lens.Lens' ListTasks (Prelude.Maybe DesiredStatus)+listTasks_desiredStatus = Lens.lens (\ListTasks' {desiredStatus} -> desiredStatus) (\s@ListTasks' {} a -> s {desiredStatus = a} :: ListTasks)++-- | The name of the task definition family to use when filtering the+-- @ListTasks@ results. Specifying a @family@ limits the results to tasks+-- that belong to that family.+listTasks_family :: Lens.Lens' ListTasks (Prelude.Maybe Prelude.Text)+listTasks_family = Lens.lens (\ListTasks' {family} -> family) (\s@ListTasks' {} a -> s {family = a} :: ListTasks)++-- | The launch type to use when filtering the @ListTasks@ results.+listTasks_launchType :: Lens.Lens' ListTasks (Prelude.Maybe LaunchType)+listTasks_launchType = Lens.lens (\ListTasks' {launchType} -> launchType) (\s@ListTasks' {} a -> s {launchType = a} :: ListTasks)++-- | The maximum number of task results that @ListTasks@ returned in+-- paginated output. When this parameter is used, @ListTasks@ only returns+-- @maxResults@ results in a single page along with a @nextToken@ response+-- element. The remaining results of the initial request can be seen by+-- sending another @ListTasks@ request with the returned @nextToken@ value.+-- This value can be between 1 and 100. If this parameter isn\'t used, then+-- @ListTasks@ returns up to 100 results and a @nextToken@ value if+-- applicable.+listTasks_maxResults :: Lens.Lens' ListTasks (Prelude.Maybe Prelude.Int)+listTasks_maxResults = Lens.lens (\ListTasks' {maxResults} -> maxResults) (\s@ListTasks' {} a -> s {maxResults = a} :: ListTasks)++-- | The @nextToken@ value returned from a @ListTasks@ request indicating+-- that more results are available to fulfill the request and further calls+-- will be needed. If @maxResults@ was provided, it\'s possible the number+-- of results to be fewer than @maxResults@.+--+-- This token should be treated as an opaque identifier that is only used+-- to retrieve the next items in a list and not for other programmatic+-- purposes.+listTasks_nextToken :: Lens.Lens' ListTasks (Prelude.Maybe Prelude.Text)+listTasks_nextToken = Lens.lens (\ListTasks' {nextToken} -> nextToken) (\s@ListTasks' {} a -> s {nextToken = a} :: ListTasks)++-- | The name of the service to use when filtering the @ListTasks@ results.+-- Specifying a @serviceName@ limits the results to tasks that belong to+-- that service.+listTasks_serviceName :: Lens.Lens' ListTasks (Prelude.Maybe Prelude.Text)+listTasks_serviceName = Lens.lens (\ListTasks' {serviceName} -> serviceName) (\s@ListTasks' {} a -> s {serviceName = a} :: ListTasks)++-- | The @startedBy@ value to filter the task results with. Specifying a+-- @startedBy@ value limits the results to tasks that were started with+-- that value.+--+-- When you specify @startedBy@ as the filter, it must be the only filter+-- that you use.+listTasks_startedBy :: Lens.Lens' ListTasks (Prelude.Maybe Prelude.Text)+listTasks_startedBy = Lens.lens (\ListTasks' {startedBy} -> startedBy) (\s@ListTasks' {} a -> s {startedBy = a} :: ListTasks)++instance Core.AWSPager ListTasks where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listTasksResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listTasksResponse_taskArns+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listTasks_nextToken+ Lens..~ rs+ Lens.^? listTasksResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListTasks where+ type AWSResponse ListTasks = ListTasksResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTasksResponse'+ Prelude.<$> (x Data..?> "nextToken")+ Prelude.<*> (x Data..?> "taskArns" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTasks where+ hashWithSalt _salt ListTasks' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` containerInstance+ `Prelude.hashWithSalt` desiredStatus+ `Prelude.hashWithSalt` family+ `Prelude.hashWithSalt` launchType+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` serviceName+ `Prelude.hashWithSalt` startedBy++instance Prelude.NFData ListTasks where+ rnf ListTasks' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf containerInstance+ `Prelude.seq` Prelude.rnf desiredStatus+ `Prelude.seq` Prelude.rnf family+ `Prelude.seq` Prelude.rnf launchType+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf serviceName+ `Prelude.seq` Prelude.rnf startedBy++instance Data.ToHeaders ListTasks where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.ListTasks" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListTasks where+ toJSON ListTasks' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("containerInstance" Data..=)+ Prelude.<$> containerInstance,+ ("desiredStatus" Data..=) Prelude.<$> desiredStatus,+ ("family" Data..=) Prelude.<$> family,+ ("launchType" Data..=) Prelude.<$> launchType,+ ("maxResults" Data..=) Prelude.<$> maxResults,+ ("nextToken" Data..=) Prelude.<$> nextToken,+ ("serviceName" Data..=) Prelude.<$> serviceName,+ ("startedBy" Data..=) Prelude.<$> startedBy+ ]+ )++instance Data.ToPath ListTasks where+ toPath = Prelude.const "/"++instance Data.ToQuery ListTasks where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTasksResponse' smart constructor.+data ListTasksResponse = ListTasksResponse'+ { -- | The @nextToken@ value to include in a future @ListTasks@ request. When+ -- the results of a @ListTasks@ request exceed @maxResults@, this value can+ -- be used to retrieve the next page of results. This value is @null@ when+ -- there are no more results to return.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The list of task ARN entries for the @ListTasks@ request.+ taskArns :: 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 'ListTasksResponse' 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', 'listTasksResponse_nextToken' - The @nextToken@ value to include in a future @ListTasks@ request. When+-- the results of a @ListTasks@ request exceed @maxResults@, this value can+-- be used to retrieve the next page of results. This value is @null@ when+-- there are no more results to return.+--+-- 'taskArns', 'listTasksResponse_taskArns' - The list of task ARN entries for the @ListTasks@ request.+--+-- 'httpStatus', 'listTasksResponse_httpStatus' - The response's http status code.+newListTasksResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTasksResponse+newListTasksResponse pHttpStatus_ =+ ListTasksResponse'+ { nextToken = Prelude.Nothing,+ taskArns = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The @nextToken@ value to include in a future @ListTasks@ request. When+-- the results of a @ListTasks@ request exceed @maxResults@, this value can+-- be used to retrieve the next page of results. This value is @null@ when+-- there are no more results to return.+listTasksResponse_nextToken :: Lens.Lens' ListTasksResponse (Prelude.Maybe Prelude.Text)+listTasksResponse_nextToken = Lens.lens (\ListTasksResponse' {nextToken} -> nextToken) (\s@ListTasksResponse' {} a -> s {nextToken = a} :: ListTasksResponse)++-- | The list of task ARN entries for the @ListTasks@ request.+listTasksResponse_taskArns :: Lens.Lens' ListTasksResponse (Prelude.Maybe [Prelude.Text])+listTasksResponse_taskArns = Lens.lens (\ListTasksResponse' {taskArns} -> taskArns) (\s@ListTasksResponse' {} a -> s {taskArns = a} :: ListTasksResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTasksResponse_httpStatus :: Lens.Lens' ListTasksResponse Prelude.Int+listTasksResponse_httpStatus = Lens.lens (\ListTasksResponse' {httpStatus} -> httpStatus) (\s@ListTasksResponse' {} a -> s {httpStatus = a} :: ListTasksResponse)++instance Prelude.NFData ListTasksResponse where+ rnf ListTasksResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf taskArns+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/PutAccountSetting.hs view
@@ -0,0 +1,285 @@+{-# 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.ECS.PutAccountSetting+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies an account setting. Account settings are set on a per-Region+-- basis.+--+-- If you change the account setting for the root user, the default+-- settings for all of the IAM users and roles that no individual account+-- setting was specified are reset for. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html Account Settings>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- When @serviceLongArnFormat@, @taskLongArnFormat@, or+-- @containerInstanceLongArnFormat@ are specified, the Amazon Resource Name+-- (ARN) and resource ID format of the resource type for a specified IAM+-- user, IAM role, or the root user for an account is affected. The opt-in+-- and opt-out account setting must be set for each Amazon ECS resource+-- separately. The ARN and resource ID format of a resource is defined by+-- the opt-in status of the IAM user or role that created the resource. You+-- must turn on this setting to use Amazon ECS features such as resource+-- tagging.+--+-- When @awsvpcTrunking@ is specified, the elastic network interface (ENI)+-- limit for any new container instances that support the feature is+-- changed. If @awsvpcTrunking@ is enabled, any new container instances+-- that support the feature are launched have the increased ENI limits+-- available to them. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html Elastic Network Interface Trunking>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- When @containerInsights@ is specified, the default setting indicating+-- whether CloudWatch Container Insights is enabled for your clusters is+-- changed. If @containerInsights@ is enabled, any new clusters that are+-- created will have Container Insights enabled unless you disable it+-- during cluster creation. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html CloudWatch Container Insights>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.PutAccountSetting+ ( -- * Creating a Request+ PutAccountSetting (..),+ newPutAccountSetting,++ -- * Request Lenses+ putAccountSetting_principalArn,+ putAccountSetting_name,+ putAccountSetting_value,++ -- * Destructuring the Response+ PutAccountSettingResponse (..),+ newPutAccountSettingResponse,++ -- * Response Lenses+ putAccountSettingResponse_setting,+ putAccountSettingResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutAccountSetting' smart constructor.+data PutAccountSetting = PutAccountSetting'+ { -- | The ARN of the principal, which can be an IAM user, IAM role, or the+ -- root user. If you specify the root user, it modifies the account setting+ -- for all IAM users, IAM roles, and the root user of the account unless an+ -- IAM user or role explicitly overrides these settings. If this field is+ -- omitted, the setting is changed only for the authenticated user.+ --+ -- Federated users assume the account setting of the root user and can\'t+ -- have explicit account settings set for them.+ principalArn :: Prelude.Maybe Prelude.Text,+ -- | The Amazon ECS resource name for which to modify the account setting. If+ -- @serviceLongArnFormat@ is specified, the ARN for your Amazon ECS+ -- services is affected. If @taskLongArnFormat@ is specified, the ARN and+ -- resource ID for your Amazon ECS tasks is affected. If+ -- @containerInstanceLongArnFormat@ is specified, the ARN and resource ID+ -- for your Amazon ECS container instances is affected. If @awsvpcTrunking@+ -- is specified, the elastic network interface (ENI) limit for your Amazon+ -- ECS container instances is affected. If @containerInsights@ is+ -- specified, the default setting for CloudWatch Container Insights for+ -- your clusters is affected.+ name :: SettingName,+ -- | The account setting value for the specified principal ARN. Accepted+ -- values are @enabled@ and @disabled@.+ value :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutAccountSetting' 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:+--+-- 'principalArn', 'putAccountSetting_principalArn' - The ARN of the principal, which can be an IAM user, IAM role, or the+-- root user. If you specify the root user, it modifies the account setting+-- for all IAM users, IAM roles, and the root user of the account unless an+-- IAM user or role explicitly overrides these settings. If this field is+-- omitted, the setting is changed only for the authenticated user.+--+-- Federated users assume the account setting of the root user and can\'t+-- have explicit account settings set for them.+--+-- 'name', 'putAccountSetting_name' - The Amazon ECS resource name for which to modify the account setting. If+-- @serviceLongArnFormat@ is specified, the ARN for your Amazon ECS+-- services is affected. If @taskLongArnFormat@ is specified, the ARN and+-- resource ID for your Amazon ECS tasks is affected. If+-- @containerInstanceLongArnFormat@ is specified, the ARN and resource ID+-- for your Amazon ECS container instances is affected. If @awsvpcTrunking@+-- is specified, the elastic network interface (ENI) limit for your Amazon+-- ECS container instances is affected. If @containerInsights@ is+-- specified, the default setting for CloudWatch Container Insights for+-- your clusters is affected.+--+-- 'value', 'putAccountSetting_value' - The account setting value for the specified principal ARN. Accepted+-- values are @enabled@ and @disabled@.+newPutAccountSetting ::+ -- | 'name'+ SettingName ->+ -- | 'value'+ Prelude.Text ->+ PutAccountSetting+newPutAccountSetting pName_ pValue_ =+ PutAccountSetting'+ { principalArn = Prelude.Nothing,+ name = pName_,+ value = pValue_+ }++-- | The ARN of the principal, which can be an IAM user, IAM role, or the+-- root user. If you specify the root user, it modifies the account setting+-- for all IAM users, IAM roles, and the root user of the account unless an+-- IAM user or role explicitly overrides these settings. If this field is+-- omitted, the setting is changed only for the authenticated user.+--+-- Federated users assume the account setting of the root user and can\'t+-- have explicit account settings set for them.+putAccountSetting_principalArn :: Lens.Lens' PutAccountSetting (Prelude.Maybe Prelude.Text)+putAccountSetting_principalArn = Lens.lens (\PutAccountSetting' {principalArn} -> principalArn) (\s@PutAccountSetting' {} a -> s {principalArn = a} :: PutAccountSetting)++-- | The Amazon ECS resource name for which to modify the account setting. If+-- @serviceLongArnFormat@ is specified, the ARN for your Amazon ECS+-- services is affected. If @taskLongArnFormat@ is specified, the ARN and+-- resource ID for your Amazon ECS tasks is affected. If+-- @containerInstanceLongArnFormat@ is specified, the ARN and resource ID+-- for your Amazon ECS container instances is affected. If @awsvpcTrunking@+-- is specified, the elastic network interface (ENI) limit for your Amazon+-- ECS container instances is affected. If @containerInsights@ is+-- specified, the default setting for CloudWatch Container Insights for+-- your clusters is affected.+putAccountSetting_name :: Lens.Lens' PutAccountSetting SettingName+putAccountSetting_name = Lens.lens (\PutAccountSetting' {name} -> name) (\s@PutAccountSetting' {} a -> s {name = a} :: PutAccountSetting)++-- | The account setting value for the specified principal ARN. Accepted+-- values are @enabled@ and @disabled@.+putAccountSetting_value :: Lens.Lens' PutAccountSetting Prelude.Text+putAccountSetting_value = Lens.lens (\PutAccountSetting' {value} -> value) (\s@PutAccountSetting' {} a -> s {value = a} :: PutAccountSetting)++instance Core.AWSRequest PutAccountSetting where+ type+ AWSResponse PutAccountSetting =+ PutAccountSettingResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ PutAccountSettingResponse'+ Prelude.<$> (x Data..?> "setting")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutAccountSetting where+ hashWithSalt _salt PutAccountSetting' {..} =+ _salt+ `Prelude.hashWithSalt` principalArn+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` value++instance Prelude.NFData PutAccountSetting where+ rnf PutAccountSetting' {..} =+ Prelude.rnf principalArn+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf value++instance Data.ToHeaders PutAccountSetting where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.PutAccountSetting" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutAccountSetting where+ toJSON PutAccountSetting' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("principalArn" Data..=) Prelude.<$> principalArn,+ Prelude.Just ("name" Data..= name),+ Prelude.Just ("value" Data..= value)+ ]+ )++instance Data.ToPath PutAccountSetting where+ toPath = Prelude.const "/"++instance Data.ToQuery PutAccountSetting where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutAccountSettingResponse' smart constructor.+data PutAccountSettingResponse = PutAccountSettingResponse'+ { -- | The current account setting for a resource.+ setting :: Prelude.Maybe Setting,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutAccountSettingResponse' 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:+--+-- 'setting', 'putAccountSettingResponse_setting' - The current account setting for a resource.+--+-- 'httpStatus', 'putAccountSettingResponse_httpStatus' - The response's http status code.+newPutAccountSettingResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutAccountSettingResponse+newPutAccountSettingResponse pHttpStatus_ =+ PutAccountSettingResponse'+ { setting =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The current account setting for a resource.+putAccountSettingResponse_setting :: Lens.Lens' PutAccountSettingResponse (Prelude.Maybe Setting)+putAccountSettingResponse_setting = Lens.lens (\PutAccountSettingResponse' {setting} -> setting) (\s@PutAccountSettingResponse' {} a -> s {setting = a} :: PutAccountSettingResponse)++-- | The response's http status code.+putAccountSettingResponse_httpStatus :: Lens.Lens' PutAccountSettingResponse Prelude.Int+putAccountSettingResponse_httpStatus = Lens.lens (\PutAccountSettingResponse' {httpStatus} -> httpStatus) (\s@PutAccountSettingResponse' {} a -> s {httpStatus = a} :: PutAccountSettingResponse)++instance Prelude.NFData PutAccountSettingResponse where+ rnf PutAccountSettingResponse' {..} =+ Prelude.rnf setting+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/PutAccountSettingDefault.hs view
@@ -0,0 +1,237 @@+{-# 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.ECS.PutAccountSettingDefault+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies an account setting for all IAM users on an account for whom no+-- individual account setting has been specified. Account settings are set+-- on a per-Region basis.+module Amazonka.ECS.PutAccountSettingDefault+ ( -- * Creating a Request+ PutAccountSettingDefault (..),+ newPutAccountSettingDefault,++ -- * Request Lenses+ putAccountSettingDefault_name,+ putAccountSettingDefault_value,++ -- * Destructuring the Response+ PutAccountSettingDefaultResponse (..),+ newPutAccountSettingDefaultResponse,++ -- * Response Lenses+ putAccountSettingDefaultResponse_setting,+ putAccountSettingDefaultResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutAccountSettingDefault' smart constructor.+data PutAccountSettingDefault = PutAccountSettingDefault'+ { -- | The resource name for which to modify the account setting. If+ -- @serviceLongArnFormat@ is specified, the ARN for your Amazon ECS+ -- services is affected. If @taskLongArnFormat@ is specified, the ARN and+ -- resource ID for your Amazon ECS tasks is affected. If+ -- @containerInstanceLongArnFormat@ is specified, the ARN and resource ID+ -- for your Amazon ECS container instances is affected. If @awsvpcTrunking@+ -- is specified, the ENI limit for your Amazon ECS container instances is+ -- affected. If @containerInsights@ is specified, the default setting for+ -- CloudWatch Container Insights for your clusters is affected.+ --+ -- Fargate is transitioning from task count-based quotas to vCPU-based+ -- quotas. You can set the name to @fargateVCPULimit@ to opt in or opt out+ -- of the vCPU-based quotas. For information about the opt in timeline, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#fargate-quota-timeline Fargate vCPU-based quotas timeline>+ -- in the /Amazon ECS Developer Guide/.+ name :: SettingName,+ -- | The account setting value for the specified principal ARN. Accepted+ -- values are @enabled@ and @disabled@.+ value :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutAccountSettingDefault' 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', 'putAccountSettingDefault_name' - The resource name for which to modify the account setting. If+-- @serviceLongArnFormat@ is specified, the ARN for your Amazon ECS+-- services is affected. If @taskLongArnFormat@ is specified, the ARN and+-- resource ID for your Amazon ECS tasks is affected. If+-- @containerInstanceLongArnFormat@ is specified, the ARN and resource ID+-- for your Amazon ECS container instances is affected. If @awsvpcTrunking@+-- is specified, the ENI limit for your Amazon ECS container instances is+-- affected. If @containerInsights@ is specified, the default setting for+-- CloudWatch Container Insights for your clusters is affected.+--+-- Fargate is transitioning from task count-based quotas to vCPU-based+-- quotas. You can set the name to @fargateVCPULimit@ to opt in or opt out+-- of the vCPU-based quotas. For information about the opt in timeline, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#fargate-quota-timeline Fargate vCPU-based quotas timeline>+-- in the /Amazon ECS Developer Guide/.+--+-- 'value', 'putAccountSettingDefault_value' - The account setting value for the specified principal ARN. Accepted+-- values are @enabled@ and @disabled@.+newPutAccountSettingDefault ::+ -- | 'name'+ SettingName ->+ -- | 'value'+ Prelude.Text ->+ PutAccountSettingDefault+newPutAccountSettingDefault pName_ pValue_ =+ PutAccountSettingDefault'+ { name = pName_,+ value = pValue_+ }++-- | The resource name for which to modify the account setting. If+-- @serviceLongArnFormat@ is specified, the ARN for your Amazon ECS+-- services is affected. If @taskLongArnFormat@ is specified, the ARN and+-- resource ID for your Amazon ECS tasks is affected. If+-- @containerInstanceLongArnFormat@ is specified, the ARN and resource ID+-- for your Amazon ECS container instances is affected. If @awsvpcTrunking@+-- is specified, the ENI limit for your Amazon ECS container instances is+-- affected. If @containerInsights@ is specified, the default setting for+-- CloudWatch Container Insights for your clusters is affected.+--+-- Fargate is transitioning from task count-based quotas to vCPU-based+-- quotas. You can set the name to @fargateVCPULimit@ to opt in or opt out+-- of the vCPU-based quotas. For information about the opt in timeline, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#fargate-quota-timeline Fargate vCPU-based quotas timeline>+-- in the /Amazon ECS Developer Guide/.+putAccountSettingDefault_name :: Lens.Lens' PutAccountSettingDefault SettingName+putAccountSettingDefault_name = Lens.lens (\PutAccountSettingDefault' {name} -> name) (\s@PutAccountSettingDefault' {} a -> s {name = a} :: PutAccountSettingDefault)++-- | The account setting value for the specified principal ARN. Accepted+-- values are @enabled@ and @disabled@.+putAccountSettingDefault_value :: Lens.Lens' PutAccountSettingDefault Prelude.Text+putAccountSettingDefault_value = Lens.lens (\PutAccountSettingDefault' {value} -> value) (\s@PutAccountSettingDefault' {} a -> s {value = a} :: PutAccountSettingDefault)++instance Core.AWSRequest PutAccountSettingDefault where+ type+ AWSResponse PutAccountSettingDefault =+ PutAccountSettingDefaultResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ PutAccountSettingDefaultResponse'+ Prelude.<$> (x Data..?> "setting")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutAccountSettingDefault where+ hashWithSalt _salt PutAccountSettingDefault' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` value++instance Prelude.NFData PutAccountSettingDefault where+ rnf PutAccountSettingDefault' {..} =+ Prelude.rnf name `Prelude.seq` Prelude.rnf value++instance Data.ToHeaders PutAccountSettingDefault where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.PutAccountSettingDefault" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutAccountSettingDefault where+ toJSON PutAccountSettingDefault' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("name" Data..= name),+ Prelude.Just ("value" Data..= value)+ ]+ )++instance Data.ToPath PutAccountSettingDefault where+ toPath = Prelude.const "/"++instance Data.ToQuery PutAccountSettingDefault where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutAccountSettingDefaultResponse' smart constructor.+data PutAccountSettingDefaultResponse = PutAccountSettingDefaultResponse'+ { -- | The current setting for a resource.+ setting :: Prelude.Maybe Setting,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutAccountSettingDefaultResponse' 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:+--+-- 'setting', 'putAccountSettingDefaultResponse_setting' - The current setting for a resource.+--+-- 'httpStatus', 'putAccountSettingDefaultResponse_httpStatus' - The response's http status code.+newPutAccountSettingDefaultResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutAccountSettingDefaultResponse+newPutAccountSettingDefaultResponse pHttpStatus_ =+ PutAccountSettingDefaultResponse'+ { setting =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The current setting for a resource.+putAccountSettingDefaultResponse_setting :: Lens.Lens' PutAccountSettingDefaultResponse (Prelude.Maybe Setting)+putAccountSettingDefaultResponse_setting = Lens.lens (\PutAccountSettingDefaultResponse' {setting} -> setting) (\s@PutAccountSettingDefaultResponse' {} a -> s {setting = a} :: PutAccountSettingDefaultResponse)++-- | The response's http status code.+putAccountSettingDefaultResponse_httpStatus :: Lens.Lens' PutAccountSettingDefaultResponse Prelude.Int+putAccountSettingDefaultResponse_httpStatus = Lens.lens (\PutAccountSettingDefaultResponse' {httpStatus} -> httpStatus) (\s@PutAccountSettingDefaultResponse' {} a -> s {httpStatus = a} :: PutAccountSettingDefaultResponse)++instance+ Prelude.NFData+ PutAccountSettingDefaultResponse+ where+ rnf PutAccountSettingDefaultResponse' {..} =+ Prelude.rnf setting+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/PutAttributes.hs view
@@ -0,0 +1,201 @@+{-# 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.ECS.PutAttributes+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Create or update an attribute on an Amazon ECS resource. If the+-- attribute doesn\'t exist, it\'s created. If the attribute exists, its+-- value is replaced with the specified value. To delete an attribute, use+-- DeleteAttributes. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes Attributes>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.PutAttributes+ ( -- * Creating a Request+ PutAttributes (..),+ newPutAttributes,++ -- * Request Lenses+ putAttributes_cluster,+ putAttributes_attributes,++ -- * Destructuring the Response+ PutAttributesResponse (..),+ newPutAttributesResponse,++ -- * Response Lenses+ putAttributesResponse_attributes,+ putAttributesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutAttributes' smart constructor.+data PutAttributes = PutAttributes'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- contains the resource to apply attributes. If you do not specify a+ -- cluster, the default cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | The attributes to apply to your resource. You can specify up to 10+ -- custom attributes for each resource. You can specify up to 10 attributes+ -- in a single call.+ attributes :: [Attribute]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutAttributes' 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:+--+-- 'cluster', 'putAttributes_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- contains the resource to apply attributes. If you do not specify a+-- cluster, the default cluster is assumed.+--+-- 'attributes', 'putAttributes_attributes' - The attributes to apply to your resource. You can specify up to 10+-- custom attributes for each resource. You can specify up to 10 attributes+-- in a single call.+newPutAttributes ::+ PutAttributes+newPutAttributes =+ PutAttributes'+ { cluster = Prelude.Nothing,+ attributes = Prelude.mempty+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- contains the resource to apply attributes. If you do not specify a+-- cluster, the default cluster is assumed.+putAttributes_cluster :: Lens.Lens' PutAttributes (Prelude.Maybe Prelude.Text)+putAttributes_cluster = Lens.lens (\PutAttributes' {cluster} -> cluster) (\s@PutAttributes' {} a -> s {cluster = a} :: PutAttributes)++-- | The attributes to apply to your resource. You can specify up to 10+-- custom attributes for each resource. You can specify up to 10 attributes+-- in a single call.+putAttributes_attributes :: Lens.Lens' PutAttributes [Attribute]+putAttributes_attributes = Lens.lens (\PutAttributes' {attributes} -> attributes) (\s@PutAttributes' {} a -> s {attributes = a} :: PutAttributes) Prelude.. Lens.coerced++instance Core.AWSRequest PutAttributes where+ type+ AWSResponse PutAttributes =+ PutAttributesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ PutAttributesResponse'+ Prelude.<$> (x Data..?> "attributes" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutAttributes where+ hashWithSalt _salt PutAttributes' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` attributes++instance Prelude.NFData PutAttributes where+ rnf PutAttributes' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf attributes++instance Data.ToHeaders PutAttributes where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.PutAttributes" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutAttributes where+ toJSON PutAttributes' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ Prelude.Just ("attributes" Data..= attributes)+ ]+ )++instance Data.ToPath PutAttributes where+ toPath = Prelude.const "/"++instance Data.ToQuery PutAttributes where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutAttributesResponse' smart constructor.+data PutAttributesResponse = PutAttributesResponse'+ { -- | The attributes applied to your resource.+ attributes :: Prelude.Maybe [Attribute],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutAttributesResponse' 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', 'putAttributesResponse_attributes' - The attributes applied to your resource.+--+-- 'httpStatus', 'putAttributesResponse_httpStatus' - The response's http status code.+newPutAttributesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutAttributesResponse+newPutAttributesResponse pHttpStatus_ =+ PutAttributesResponse'+ { attributes =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The attributes applied to your resource.+putAttributesResponse_attributes :: Lens.Lens' PutAttributesResponse (Prelude.Maybe [Attribute])+putAttributesResponse_attributes = Lens.lens (\PutAttributesResponse' {attributes} -> attributes) (\s@PutAttributesResponse' {} a -> s {attributes = a} :: PutAttributesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+putAttributesResponse_httpStatus :: Lens.Lens' PutAttributesResponse Prelude.Int+putAttributesResponse_httpStatus = Lens.lens (\PutAttributesResponse' {httpStatus} -> httpStatus) (\s@PutAttributesResponse' {} a -> s {httpStatus = a} :: PutAttributesResponse)++instance Prelude.NFData PutAttributesResponse where+ rnf PutAttributesResponse' {..} =+ Prelude.rnf attributes+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/PutClusterCapacityProviders.hs view
@@ -0,0 +1,320 @@+{-# 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.ECS.PutClusterCapacityProviders+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies the available capacity providers and the default capacity+-- provider strategy for a cluster.+--+-- You must specify both the available capacity providers and a default+-- capacity provider strategy for the cluster. If the specified cluster has+-- existing capacity providers associated with it, you must specify all+-- existing capacity providers in addition to any new ones you want to add.+-- Any existing capacity providers that are associated with a cluster that+-- are omitted from a PutClusterCapacityProviders API call will be+-- disassociated with the cluster. You can only disassociate an existing+-- capacity provider from a cluster if it\'s not being used by any existing+-- tasks.+--+-- When creating a service or running a task on a cluster, if no capacity+-- provider or launch type is specified, then the cluster\'s default+-- capacity provider strategy is used. We recommend that you define a+-- default capacity provider strategy for your cluster. However, you must+-- specify an empty array (@[]@) to bypass defining a default strategy.+module Amazonka.ECS.PutClusterCapacityProviders+ ( -- * Creating a Request+ PutClusterCapacityProviders (..),+ newPutClusterCapacityProviders,++ -- * Request Lenses+ putClusterCapacityProviders_cluster,+ putClusterCapacityProviders_capacityProviders,+ putClusterCapacityProviders_defaultCapacityProviderStrategy,++ -- * Destructuring the Response+ PutClusterCapacityProvidersResponse (..),+ newPutClusterCapacityProvidersResponse,++ -- * Response Lenses+ putClusterCapacityProvidersResponse_cluster,+ putClusterCapacityProvidersResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutClusterCapacityProviders' smart constructor.+data PutClusterCapacityProviders = PutClusterCapacityProviders'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster to+ -- modify the capacity provider settings for. If you don\'t specify a+ -- cluster, the default cluster is assumed.+ cluster :: Prelude.Text,+ -- | The name of one or more capacity providers to associate with the+ -- cluster.+ --+ -- If specifying a capacity provider that uses an Auto Scaling group, the+ -- capacity provider must already be created. New capacity providers can be+ -- created with the CreateCapacityProvider API operation.+ --+ -- To use a Fargate capacity provider, specify either the @FARGATE@ or+ -- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+ -- available to all accounts and only need to be associated with a cluster+ -- to be used.+ capacityProviders :: [Prelude.Text],+ -- | The capacity provider strategy to use by default for the cluster.+ --+ -- When creating a service or running a task on a cluster, if no capacity+ -- provider or launch type is specified then the default capacity provider+ -- strategy for the cluster is used.+ --+ -- A capacity provider strategy consists of one or more capacity providers+ -- along with the @base@ and @weight@ to assign to them. A capacity+ -- provider must be associated with the cluster to be used in a capacity+ -- provider strategy. The PutClusterCapacityProviders API is used to+ -- associate a capacity provider with a cluster. Only capacity providers+ -- with an @ACTIVE@ or @UPDATING@ status can be used.+ --+ -- If specifying a capacity provider that uses an Auto Scaling group, the+ -- capacity provider must already be created. New capacity providers can be+ -- created with the CreateCapacityProvider API operation.+ --+ -- To use a Fargate capacity provider, specify either the @FARGATE@ or+ -- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+ -- available to all accounts and only need to be associated with a cluster+ -- to be used.+ defaultCapacityProviderStrategy :: [CapacityProviderStrategyItem]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutClusterCapacityProviders' 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:+--+-- 'cluster', 'putClusterCapacityProviders_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster to+-- modify the capacity provider settings for. If you don\'t specify a+-- cluster, the default cluster is assumed.+--+-- 'capacityProviders', 'putClusterCapacityProviders_capacityProviders' - The name of one or more capacity providers to associate with the+-- cluster.+--+-- If specifying a capacity provider that uses an Auto Scaling group, the+-- capacity provider must already be created. New capacity providers can be+-- created with the CreateCapacityProvider API operation.+--+-- To use a Fargate capacity provider, specify either the @FARGATE@ or+-- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+-- available to all accounts and only need to be associated with a cluster+-- to be used.+--+-- 'defaultCapacityProviderStrategy', 'putClusterCapacityProviders_defaultCapacityProviderStrategy' - The capacity provider strategy to use by default for the cluster.+--+-- When creating a service or running a task on a cluster, if no capacity+-- provider or launch type is specified then the default capacity provider+-- strategy for the cluster is used.+--+-- A capacity provider strategy consists of one or more capacity providers+-- along with the @base@ and @weight@ to assign to them. A capacity+-- provider must be associated with the cluster to be used in a capacity+-- provider strategy. The PutClusterCapacityProviders API is used to+-- associate a capacity provider with a cluster. Only capacity providers+-- with an @ACTIVE@ or @UPDATING@ status can be used.+--+-- If specifying a capacity provider that uses an Auto Scaling group, the+-- capacity provider must already be created. New capacity providers can be+-- created with the CreateCapacityProvider API operation.+--+-- To use a Fargate capacity provider, specify either the @FARGATE@ or+-- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+-- available to all accounts and only need to be associated with a cluster+-- to be used.+newPutClusterCapacityProviders ::+ -- | 'cluster'+ Prelude.Text ->+ PutClusterCapacityProviders+newPutClusterCapacityProviders pCluster_ =+ PutClusterCapacityProviders'+ { cluster = pCluster_,+ capacityProviders = Prelude.mempty,+ defaultCapacityProviderStrategy =+ Prelude.mempty+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster to+-- modify the capacity provider settings for. If you don\'t specify a+-- cluster, the default cluster is assumed.+putClusterCapacityProviders_cluster :: Lens.Lens' PutClusterCapacityProviders Prelude.Text+putClusterCapacityProviders_cluster = Lens.lens (\PutClusterCapacityProviders' {cluster} -> cluster) (\s@PutClusterCapacityProviders' {} a -> s {cluster = a} :: PutClusterCapacityProviders)++-- | The name of one or more capacity providers to associate with the+-- cluster.+--+-- If specifying a capacity provider that uses an Auto Scaling group, the+-- capacity provider must already be created. New capacity providers can be+-- created with the CreateCapacityProvider API operation.+--+-- To use a Fargate capacity provider, specify either the @FARGATE@ or+-- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+-- available to all accounts and only need to be associated with a cluster+-- to be used.+putClusterCapacityProviders_capacityProviders :: Lens.Lens' PutClusterCapacityProviders [Prelude.Text]+putClusterCapacityProviders_capacityProviders = Lens.lens (\PutClusterCapacityProviders' {capacityProviders} -> capacityProviders) (\s@PutClusterCapacityProviders' {} a -> s {capacityProviders = a} :: PutClusterCapacityProviders) Prelude.. Lens.coerced++-- | The capacity provider strategy to use by default for the cluster.+--+-- When creating a service or running a task on a cluster, if no capacity+-- provider or launch type is specified then the default capacity provider+-- strategy for the cluster is used.+--+-- A capacity provider strategy consists of one or more capacity providers+-- along with the @base@ and @weight@ to assign to them. A capacity+-- provider must be associated with the cluster to be used in a capacity+-- provider strategy. The PutClusterCapacityProviders API is used to+-- associate a capacity provider with a cluster. Only capacity providers+-- with an @ACTIVE@ or @UPDATING@ status can be used.+--+-- If specifying a capacity provider that uses an Auto Scaling group, the+-- capacity provider must already be created. New capacity providers can be+-- created with the CreateCapacityProvider API operation.+--+-- To use a Fargate capacity provider, specify either the @FARGATE@ or+-- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+-- available to all accounts and only need to be associated with a cluster+-- to be used.+putClusterCapacityProviders_defaultCapacityProviderStrategy :: Lens.Lens' PutClusterCapacityProviders [CapacityProviderStrategyItem]+putClusterCapacityProviders_defaultCapacityProviderStrategy = Lens.lens (\PutClusterCapacityProviders' {defaultCapacityProviderStrategy} -> defaultCapacityProviderStrategy) (\s@PutClusterCapacityProviders' {} a -> s {defaultCapacityProviderStrategy = a} :: PutClusterCapacityProviders) Prelude.. Lens.coerced++instance Core.AWSRequest PutClusterCapacityProviders where+ type+ AWSResponse PutClusterCapacityProviders =+ PutClusterCapacityProvidersResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ PutClusterCapacityProvidersResponse'+ Prelude.<$> (x Data..?> "cluster")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutClusterCapacityProviders where+ hashWithSalt _salt PutClusterCapacityProviders' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` capacityProviders+ `Prelude.hashWithSalt` defaultCapacityProviderStrategy++instance Prelude.NFData PutClusterCapacityProviders where+ rnf PutClusterCapacityProviders' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf capacityProviders+ `Prelude.seq` Prelude.rnf defaultCapacityProviderStrategy++instance Data.ToHeaders PutClusterCapacityProviders where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.PutClusterCapacityProviders" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutClusterCapacityProviders where+ toJSON PutClusterCapacityProviders' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("cluster" Data..= cluster),+ Prelude.Just+ ("capacityProviders" Data..= capacityProviders),+ Prelude.Just+ ( "defaultCapacityProviderStrategy"+ Data..= defaultCapacityProviderStrategy+ )+ ]+ )++instance Data.ToPath PutClusterCapacityProviders where+ toPath = Prelude.const "/"++instance Data.ToQuery PutClusterCapacityProviders where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutClusterCapacityProvidersResponse' smart constructor.+data PutClusterCapacityProvidersResponse = PutClusterCapacityProvidersResponse'+ { -- | Details about the cluster.+ cluster :: Prelude.Maybe Cluster,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutClusterCapacityProvidersResponse' 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:+--+-- 'cluster', 'putClusterCapacityProvidersResponse_cluster' - Details about the cluster.+--+-- 'httpStatus', 'putClusterCapacityProvidersResponse_httpStatus' - The response's http status code.+newPutClusterCapacityProvidersResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutClusterCapacityProvidersResponse+newPutClusterCapacityProvidersResponse pHttpStatus_ =+ PutClusterCapacityProvidersResponse'+ { cluster =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Details about the cluster.+putClusterCapacityProvidersResponse_cluster :: Lens.Lens' PutClusterCapacityProvidersResponse (Prelude.Maybe Cluster)+putClusterCapacityProvidersResponse_cluster = Lens.lens (\PutClusterCapacityProvidersResponse' {cluster} -> cluster) (\s@PutClusterCapacityProvidersResponse' {} a -> s {cluster = a} :: PutClusterCapacityProvidersResponse)++-- | The response's http status code.+putClusterCapacityProvidersResponse_httpStatus :: Lens.Lens' PutClusterCapacityProvidersResponse Prelude.Int+putClusterCapacityProvidersResponse_httpStatus = Lens.lens (\PutClusterCapacityProvidersResponse' {httpStatus} -> httpStatus) (\s@PutClusterCapacityProvidersResponse' {} a -> s {httpStatus = a} :: PutClusterCapacityProvidersResponse)++instance+ Prelude.NFData+ PutClusterCapacityProvidersResponse+ where+ rnf PutClusterCapacityProvidersResponse' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/RegisterContainerInstance.hs view
@@ -0,0 +1,400 @@+{-# 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.ECS.RegisterContainerInstance+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This action is only used by the Amazon ECS agent, and it is not intended+-- for use outside of the agent.+--+-- Registers an EC2 instance into the specified cluster. This instance+-- becomes available to place containers on.+module Amazonka.ECS.RegisterContainerInstance+ ( -- * Creating a Request+ RegisterContainerInstance (..),+ newRegisterContainerInstance,++ -- * Request Lenses+ registerContainerInstance_attributes,+ registerContainerInstance_cluster,+ registerContainerInstance_containerInstanceArn,+ registerContainerInstance_instanceIdentityDocument,+ registerContainerInstance_instanceIdentityDocumentSignature,+ registerContainerInstance_platformDevices,+ registerContainerInstance_tags,+ registerContainerInstance_totalResources,+ registerContainerInstance_versionInfo,++ -- * Destructuring the Response+ RegisterContainerInstanceResponse (..),+ newRegisterContainerInstanceResponse,++ -- * Response Lenses+ registerContainerInstanceResponse_containerInstance,+ registerContainerInstanceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newRegisterContainerInstance' smart constructor.+data RegisterContainerInstance = RegisterContainerInstance'+ { -- | The container instance attributes that this container instance supports.+ attributes :: Prelude.Maybe [Attribute],+ -- | The short name or full Amazon Resource Name (ARN) of the cluster to+ -- register your container instance with. If you do not specify a cluster,+ -- the default cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the container instance (if it was previously registered).+ containerInstanceArn :: Prelude.Maybe Prelude.Text,+ -- | The instance identity document for the EC2 instance to register. This+ -- document can be found by running the following command from the+ -- instance:+ -- @curl http:\/\/169.254.169.254\/latest\/dynamic\/instance-identity\/document\/@+ instanceIdentityDocument :: Prelude.Maybe Prelude.Text,+ -- | The instance identity document signature for the EC2 instance to+ -- register. This signature can be found by running the following command+ -- from the instance:+ -- @curl http:\/\/169.254.169.254\/latest\/dynamic\/instance-identity\/signature\/@+ instanceIdentityDocumentSignature :: Prelude.Maybe Prelude.Text,+ -- | The devices that are available on the container instance. The only+ -- supported device type is a GPU.+ platformDevices :: Prelude.Maybe [PlatformDevice],+ -- | The metadata that you apply to the container instance to help you+ -- categorize and organize them. Each tag consists of a key and an optional+ -- value. You define both.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The resources available on the instance.+ totalResources :: Prelude.Maybe [Resource],+ -- | The version information for the Amazon ECS container agent and Docker+ -- daemon that runs on the container instance.+ versionInfo :: Prelude.Maybe VersionInfo+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterContainerInstance' 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', 'registerContainerInstance_attributes' - The container instance attributes that this container instance supports.+--+-- 'cluster', 'registerContainerInstance_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster to+-- register your container instance with. If you do not specify a cluster,+-- the default cluster is assumed.+--+-- 'containerInstanceArn', 'registerContainerInstance_containerInstanceArn' - The ARN of the container instance (if it was previously registered).+--+-- 'instanceIdentityDocument', 'registerContainerInstance_instanceIdentityDocument' - The instance identity document for the EC2 instance to register. This+-- document can be found by running the following command from the+-- instance:+-- @curl http:\/\/169.254.169.254\/latest\/dynamic\/instance-identity\/document\/@+--+-- 'instanceIdentityDocumentSignature', 'registerContainerInstance_instanceIdentityDocumentSignature' - The instance identity document signature for the EC2 instance to+-- register. This signature can be found by running the following command+-- from the instance:+-- @curl http:\/\/169.254.169.254\/latest\/dynamic\/instance-identity\/signature\/@+--+-- 'platformDevices', 'registerContainerInstance_platformDevices' - The devices that are available on the container instance. The only+-- supported device type is a GPU.+--+-- 'tags', 'registerContainerInstance_tags' - The metadata that you apply to the container instance to help you+-- categorize and organize them. Each tag consists of a key and an optional+-- value. You define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'totalResources', 'registerContainerInstance_totalResources' - The resources available on the instance.+--+-- 'versionInfo', 'registerContainerInstance_versionInfo' - The version information for the Amazon ECS container agent and Docker+-- daemon that runs on the container instance.+newRegisterContainerInstance ::+ RegisterContainerInstance+newRegisterContainerInstance =+ RegisterContainerInstance'+ { attributes =+ Prelude.Nothing,+ cluster = Prelude.Nothing,+ containerInstanceArn = Prelude.Nothing,+ instanceIdentityDocument = Prelude.Nothing,+ instanceIdentityDocumentSignature =+ Prelude.Nothing,+ platformDevices = Prelude.Nothing,+ tags = Prelude.Nothing,+ totalResources = Prelude.Nothing,+ versionInfo = Prelude.Nothing+ }++-- | The container instance attributes that this container instance supports.+registerContainerInstance_attributes :: Lens.Lens' RegisterContainerInstance (Prelude.Maybe [Attribute])+registerContainerInstance_attributes = Lens.lens (\RegisterContainerInstance' {attributes} -> attributes) (\s@RegisterContainerInstance' {} a -> s {attributes = a} :: RegisterContainerInstance) Prelude.. Lens.mapping Lens.coerced++-- | The short name or full Amazon Resource Name (ARN) of the cluster to+-- register your container instance with. If you do not specify a cluster,+-- the default cluster is assumed.+registerContainerInstance_cluster :: Lens.Lens' RegisterContainerInstance (Prelude.Maybe Prelude.Text)+registerContainerInstance_cluster = Lens.lens (\RegisterContainerInstance' {cluster} -> cluster) (\s@RegisterContainerInstance' {} a -> s {cluster = a} :: RegisterContainerInstance)++-- | The ARN of the container instance (if it was previously registered).+registerContainerInstance_containerInstanceArn :: Lens.Lens' RegisterContainerInstance (Prelude.Maybe Prelude.Text)+registerContainerInstance_containerInstanceArn = Lens.lens (\RegisterContainerInstance' {containerInstanceArn} -> containerInstanceArn) (\s@RegisterContainerInstance' {} a -> s {containerInstanceArn = a} :: RegisterContainerInstance)++-- | The instance identity document for the EC2 instance to register. This+-- document can be found by running the following command from the+-- instance:+-- @curl http:\/\/169.254.169.254\/latest\/dynamic\/instance-identity\/document\/@+registerContainerInstance_instanceIdentityDocument :: Lens.Lens' RegisterContainerInstance (Prelude.Maybe Prelude.Text)+registerContainerInstance_instanceIdentityDocument = Lens.lens (\RegisterContainerInstance' {instanceIdentityDocument} -> instanceIdentityDocument) (\s@RegisterContainerInstance' {} a -> s {instanceIdentityDocument = a} :: RegisterContainerInstance)++-- | The instance identity document signature for the EC2 instance to+-- register. This signature can be found by running the following command+-- from the instance:+-- @curl http:\/\/169.254.169.254\/latest\/dynamic\/instance-identity\/signature\/@+registerContainerInstance_instanceIdentityDocumentSignature :: Lens.Lens' RegisterContainerInstance (Prelude.Maybe Prelude.Text)+registerContainerInstance_instanceIdentityDocumentSignature = Lens.lens (\RegisterContainerInstance' {instanceIdentityDocumentSignature} -> instanceIdentityDocumentSignature) (\s@RegisterContainerInstance' {} a -> s {instanceIdentityDocumentSignature = a} :: RegisterContainerInstance)++-- | The devices that are available on the container instance. The only+-- supported device type is a GPU.+registerContainerInstance_platformDevices :: Lens.Lens' RegisterContainerInstance (Prelude.Maybe [PlatformDevice])+registerContainerInstance_platformDevices = Lens.lens (\RegisterContainerInstance' {platformDevices} -> platformDevices) (\s@RegisterContainerInstance' {} a -> s {platformDevices = a} :: RegisterContainerInstance) Prelude.. Lens.mapping Lens.coerced++-- | The metadata that you apply to the container instance to help you+-- categorize and organize them. Each tag consists of a key and an optional+-- value. You define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+registerContainerInstance_tags :: Lens.Lens' RegisterContainerInstance (Prelude.Maybe [Tag])+registerContainerInstance_tags = Lens.lens (\RegisterContainerInstance' {tags} -> tags) (\s@RegisterContainerInstance' {} a -> s {tags = a} :: RegisterContainerInstance) Prelude.. Lens.mapping Lens.coerced++-- | The resources available on the instance.+registerContainerInstance_totalResources :: Lens.Lens' RegisterContainerInstance (Prelude.Maybe [Resource])+registerContainerInstance_totalResources = Lens.lens (\RegisterContainerInstance' {totalResources} -> totalResources) (\s@RegisterContainerInstance' {} a -> s {totalResources = a} :: RegisterContainerInstance) Prelude.. Lens.mapping Lens.coerced++-- | The version information for the Amazon ECS container agent and Docker+-- daemon that runs on the container instance.+registerContainerInstance_versionInfo :: Lens.Lens' RegisterContainerInstance (Prelude.Maybe VersionInfo)+registerContainerInstance_versionInfo = Lens.lens (\RegisterContainerInstance' {versionInfo} -> versionInfo) (\s@RegisterContainerInstance' {} a -> s {versionInfo = a} :: RegisterContainerInstance)++instance Core.AWSRequest RegisterContainerInstance where+ type+ AWSResponse RegisterContainerInstance =+ RegisterContainerInstanceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ RegisterContainerInstanceResponse'+ Prelude.<$> (x Data..?> "containerInstance")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable RegisterContainerInstance where+ hashWithSalt _salt RegisterContainerInstance' {..} =+ _salt+ `Prelude.hashWithSalt` attributes+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` containerInstanceArn+ `Prelude.hashWithSalt` instanceIdentityDocument+ `Prelude.hashWithSalt` instanceIdentityDocumentSignature+ `Prelude.hashWithSalt` platformDevices+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` totalResources+ `Prelude.hashWithSalt` versionInfo++instance Prelude.NFData RegisterContainerInstance where+ rnf RegisterContainerInstance' {..} =+ Prelude.rnf attributes+ `Prelude.seq` Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf containerInstanceArn+ `Prelude.seq` Prelude.rnf instanceIdentityDocument+ `Prelude.seq` Prelude.rnf instanceIdentityDocumentSignature+ `Prelude.seq` Prelude.rnf platformDevices+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf totalResources+ `Prelude.seq` Prelude.rnf versionInfo++instance Data.ToHeaders RegisterContainerInstance where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.RegisterContainerInstance" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON RegisterContainerInstance where+ toJSON RegisterContainerInstance' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("attributes" Data..=) Prelude.<$> attributes,+ ("cluster" Data..=) Prelude.<$> cluster,+ ("containerInstanceArn" Data..=)+ Prelude.<$> containerInstanceArn,+ ("instanceIdentityDocument" Data..=)+ Prelude.<$> instanceIdentityDocument,+ ("instanceIdentityDocumentSignature" Data..=)+ Prelude.<$> instanceIdentityDocumentSignature,+ ("platformDevices" Data..=)+ Prelude.<$> platformDevices,+ ("tags" Data..=) Prelude.<$> tags,+ ("totalResources" Data..=)+ Prelude.<$> totalResources,+ ("versionInfo" Data..=) Prelude.<$> versionInfo+ ]+ )++instance Data.ToPath RegisterContainerInstance where+ toPath = Prelude.const "/"++instance Data.ToQuery RegisterContainerInstance where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRegisterContainerInstanceResponse' smart constructor.+data RegisterContainerInstanceResponse = RegisterContainerInstanceResponse'+ { -- | The container instance that was registered.+ containerInstance :: Prelude.Maybe ContainerInstance,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterContainerInstanceResponse' 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:+--+-- 'containerInstance', 'registerContainerInstanceResponse_containerInstance' - The container instance that was registered.+--+-- 'httpStatus', 'registerContainerInstanceResponse_httpStatus' - The response's http status code.+newRegisterContainerInstanceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ RegisterContainerInstanceResponse+newRegisterContainerInstanceResponse pHttpStatus_ =+ RegisterContainerInstanceResponse'+ { containerInstance =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The container instance that was registered.+registerContainerInstanceResponse_containerInstance :: Lens.Lens' RegisterContainerInstanceResponse (Prelude.Maybe ContainerInstance)+registerContainerInstanceResponse_containerInstance = Lens.lens (\RegisterContainerInstanceResponse' {containerInstance} -> containerInstance) (\s@RegisterContainerInstanceResponse' {} a -> s {containerInstance = a} :: RegisterContainerInstanceResponse)++-- | The response's http status code.+registerContainerInstanceResponse_httpStatus :: Lens.Lens' RegisterContainerInstanceResponse Prelude.Int+registerContainerInstanceResponse_httpStatus = Lens.lens (\RegisterContainerInstanceResponse' {httpStatus} -> httpStatus) (\s@RegisterContainerInstanceResponse' {} a -> s {httpStatus = a} :: RegisterContainerInstanceResponse)++instance+ Prelude.NFData+ RegisterContainerInstanceResponse+ where+ rnf RegisterContainerInstanceResponse' {..} =+ Prelude.rnf containerInstance+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/RegisterTaskDefinition.hs view
@@ -0,0 +1,1153 @@+{-# 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.ECS.RegisterTaskDefinition+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Registers a new task definition from the supplied @family@ and+-- @containerDefinitions@. Optionally, you can add data volumes to your+-- containers with the @volumes@ parameter. For more information about task+-- definition parameters and defaults, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- You can specify an IAM role for your task with the @taskRoleArn@+-- parameter. When you specify an IAM role for a task, its containers can+-- then use the latest versions of the CLI or SDKs to make API requests to+-- the Amazon Web Services services that are specified in the IAM policy+-- that\'s associated with the role. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM Roles for Tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- You can specify a Docker networking mode for the containers in your task+-- definition with the @networkMode@ parameter. The available network modes+-- correspond to those described in+-- <https://docs.docker.com/engine/reference/run/#/network-settings Network settings>+-- in the Docker run reference. If you specify the @awsvpc@ network mode,+-- the task is allocated an elastic network interface, and you must specify+-- a NetworkConfiguration when you create a service or run a task with the+-- task definition. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.RegisterTaskDefinition+ ( -- * Creating a Request+ RegisterTaskDefinition (..),+ newRegisterTaskDefinition,++ -- * Request Lenses+ registerTaskDefinition_cpu,+ registerTaskDefinition_ephemeralStorage,+ registerTaskDefinition_executionRoleArn,+ registerTaskDefinition_inferenceAccelerators,+ registerTaskDefinition_ipcMode,+ registerTaskDefinition_memory,+ registerTaskDefinition_networkMode,+ registerTaskDefinition_pidMode,+ registerTaskDefinition_placementConstraints,+ registerTaskDefinition_proxyConfiguration,+ registerTaskDefinition_requiresCompatibilities,+ registerTaskDefinition_runtimePlatform,+ registerTaskDefinition_tags,+ registerTaskDefinition_taskRoleArn,+ registerTaskDefinition_volumes,+ registerTaskDefinition_family,+ registerTaskDefinition_containerDefinitions,++ -- * Destructuring the Response+ RegisterTaskDefinitionResponse (..),+ newRegisterTaskDefinitionResponse,++ -- * Response Lenses+ registerTaskDefinitionResponse_tags,+ registerTaskDefinitionResponse_taskDefinition,+ registerTaskDefinitionResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newRegisterTaskDefinition' smart constructor.+data RegisterTaskDefinition = RegisterTaskDefinition'+ { -- | The number of CPU units used by the task. It can be expressed as an+ -- integer using CPU units (for example, @1024@) or as a string using vCPUs+ -- (for example, @1 vCPU@ or @1 vcpu@) in a task definition. String values+ -- are converted to an integer indicating the CPU units when the task+ -- definition is registered.+ --+ -- Task-level CPU and memory parameters are ignored for Windows containers.+ -- We recommend specifying container-level resources for Windows+ -- containers.+ --+ -- If you\'re using the EC2 launch type, this field is optional. Supported+ -- values are between @128@ CPU units (@0.125@ vCPUs) and @10240@ CPU units+ -- (@10@ vCPUs). If you do not specify a value, the parameter is ignored.+ --+ -- If you\'re using the Fargate launch type, this field is required and you+ -- must use one of the following values, which determines your range of+ -- supported values for the @memory@ parameter:+ --+ -- The CPU units cannot be less than 1 vCPU when you use Windows containers+ -- on Fargate.+ --+ -- - 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1+ -- GB), 2048 (2 GB)+ --+ -- - 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB),+ -- 3072 (3 GB), 4096 (4 GB)+ --+ -- - 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB),+ -- 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)+ --+ -- - 2048 (2 vCPU) - Available @memory@ values: 4096 (4 GB) and 16384 (16+ -- GB) in increments of 1024 (1 GB)+ --+ -- - 4096 (4 vCPU) - Available @memory@ values: 8192 (8 GB) and 30720 (30+ -- GB) in increments of 1024 (1 GB)+ --+ -- - 8192 (8 vCPU) - Available @memory@ values: 16 GB and 60 GB in 4 GB+ -- increments+ --+ -- This option requires Linux platform @1.4.0@ or later.+ --+ -- - 16384 (16vCPU) - Available @memory@ values: 32GB and 120 GB in 8 GB+ -- increments+ --+ -- This option requires Linux platform @1.4.0@ or later.+ cpu :: Prelude.Maybe Prelude.Text,+ -- | The amount of ephemeral storage to allocate for the task. This parameter+ -- is used to expand the total amount of ephemeral storage available,+ -- beyond the default amount, for tasks hosted on Fargate. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html Fargate task storage>+ -- in the /Amazon ECS User Guide for Fargate/.+ --+ -- This parameter is only supported for tasks hosted on Fargate using the+ -- following platform versions:+ --+ -- - Linux platform version @1.4.0@ or later.+ ephemeralStorage :: Prelude.Maybe EphemeralStorage,+ -- | The Amazon Resource Name (ARN) of the task execution role that grants+ -- the Amazon ECS container agent permission to make Amazon Web Services+ -- API calls on your behalf. The task execution IAM role is required+ -- depending on the requirements of your task. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html Amazon ECS task execution IAM role>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ executionRoleArn :: Prelude.Maybe Prelude.Text,+ -- | The Elastic Inference accelerators to use for the containers in the+ -- task.+ inferenceAccelerators :: Prelude.Maybe [InferenceAccelerator],+ -- | The IPC resource namespace to use for the containers in the task. The+ -- valid values are @host@, @task@, or @none@. If @host@ is specified, then+ -- all containers within the tasks that specified the @host@ IPC mode on+ -- the same container instance share the same IPC resources with the host+ -- Amazon EC2 instance. If @task@ is specified, all containers within the+ -- specified task share the same IPC resources. If @none@ is specified,+ -- then IPC resources within the containers of a task are private and not+ -- shared with other containers in a task or on the container instance. If+ -- no value is specified, then the IPC resource namespace sharing depends+ -- on the Docker daemon setting on the container instance. For more+ -- information, see+ -- <https://docs.docker.com/engine/reference/run/#ipc-settings---ipc IPC settings>+ -- in the /Docker run reference/.+ --+ -- If the @host@ IPC mode is used, be aware that there is a heightened risk+ -- of undesired IPC namespace expose. For more information, see+ -- <https://docs.docker.com/engine/security/security/ Docker security>.+ --+ -- If you are setting namespaced kernel parameters using @systemControls@+ -- for the containers in the task, the following will apply to your IPC+ -- resource namespace. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html System Controls>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- - For tasks that use the @host@ IPC mode, IPC namespace related+ -- @systemControls@ are not supported.+ --+ -- - For tasks that use the @task@ IPC mode, IPC namespace related+ -- @systemControls@ will apply to all containers within a task.+ --+ -- This parameter is not supported for Windows containers or tasks run on+ -- Fargate.+ ipcMode :: Prelude.Maybe IpcMode,+ -- | The amount of memory (in MiB) used by the task. It can be expressed as+ -- an integer using MiB (for example ,@1024@) or as a string using GB (for+ -- example, @1GB@ or @1 GB@) in a task definition. String values are+ -- converted to an integer indicating the MiB when the task definition is+ -- registered.+ --+ -- Task-level CPU and memory parameters are ignored for Windows containers.+ -- We recommend specifying container-level resources for Windows+ -- containers.+ --+ -- If using the EC2 launch type, this field is optional.+ --+ -- If using the Fargate launch type, this field is required and you must+ -- use one of the following values. This determines your range of supported+ -- values for the @cpu@ parameter.+ --+ -- The CPU units cannot be less than 1 vCPU when you use Windows containers+ -- on Fargate.+ --+ -- - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256+ -- (.25 vCPU)+ --+ -- - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@+ -- values: 512 (.5 vCPU)+ --+ -- - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),+ -- 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU)+ --+ -- - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) -+ -- Available @cpu@ values: 2048 (2 vCPU)+ --+ -- - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -+ -- Available @cpu@ values: 4096 (4 vCPU)+ --+ -- - Between 16 GB and 60 GB in 4 GB increments - Available @cpu@ values:+ -- 8192 (8 vCPU)+ --+ -- This option requires Linux platform @1.4.0@ or later.+ --+ -- - Between 32GB and 120 GB in 8 GB increments - Available @cpu@ values:+ -- 16384 (16 vCPU)+ --+ -- This option requires Linux platform @1.4.0@ or later.+ memory :: Prelude.Maybe Prelude.Text,+ -- | The Docker networking mode to use for the containers in the task. The+ -- valid values are @none@, @bridge@, @awsvpc@, and @host@. If no network+ -- mode is specified, the default is @bridge@.+ --+ -- For Amazon ECS tasks on Fargate, the @awsvpc@ network mode is required.+ -- For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can+ -- be used. For Amazon ECS tasks on Amazon EC2 Windows instances,+ -- @\<default>@ or @awsvpc@ can be used. If the network mode is set to+ -- @none@, you cannot specify port mappings in your container definitions,+ -- and the tasks containers do not have external connectivity. The @host@+ -- and @awsvpc@ network modes offer the highest networking performance for+ -- containers because they use the EC2 network stack instead of the+ -- virtualized network stack provided by the @bridge@ mode.+ --+ -- With the @host@ and @awsvpc@ network modes, exposed container ports are+ -- mapped directly to the corresponding host port (for the @host@ network+ -- mode) or the attached elastic network interface port (for the @awsvpc@+ -- network mode), so you cannot take advantage of dynamic host port+ -- mappings.+ --+ -- When using the @host@ network mode, you should not run containers using+ -- the root user (UID 0). It is considered best practice to use a non-root+ -- user.+ --+ -- If the network mode is @awsvpc@, the task is allocated an elastic+ -- network interface, and you must specify a NetworkConfiguration value+ -- when you create a service or run a task with the task definition. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- If the network mode is @host@, you cannot run multiple instantiations of+ -- the same task on a single container instance when port mappings are+ -- used.+ --+ -- For more information, see+ -- <https://docs.docker.com/engine/reference/run/#network-settings Network settings>+ -- in the /Docker run reference/.+ networkMode :: Prelude.Maybe NetworkMode,+ -- | The process namespace to use for the containers in the task. The valid+ -- values are @host@ or @task@. If @host@ is specified, then all containers+ -- within the tasks that specified the @host@ PID mode on the same+ -- container instance share the same process namespace with the host Amazon+ -- EC2 instance. If @task@ is specified, all containers within the+ -- specified task share the same process namespace. If no value is+ -- specified, the default is a private namespace. For more information, see+ -- <https://docs.docker.com/engine/reference/run/#pid-settings---pid PID settings>+ -- in the /Docker run reference/.+ --+ -- If the @host@ PID mode is used, be aware that there is a heightened risk+ -- of undesired process namespace expose. For more information, see+ -- <https://docs.docker.com/engine/security/security/ Docker security>.+ --+ -- This parameter is not supported for Windows containers or tasks run on+ -- Fargate.+ pidMode :: Prelude.Maybe PidMode,+ -- | An array of placement constraint objects to use for the task. You can+ -- specify a maximum of 10 constraints for each task. This limit includes+ -- constraints in the task definition and those specified at runtime.+ placementConstraints :: Prelude.Maybe [TaskDefinitionPlacementConstraint],+ -- | The configuration details for the App Mesh proxy.+ --+ -- For tasks hosted on Amazon EC2 instances, the container instances+ -- require at least version @1.26.0@ of the container agent and at least+ -- version @1.26.0-1@ of the @ecs-init@ package to use a proxy+ -- configuration. If your container instances are launched from the Amazon+ -- ECS-optimized AMI version @20190301@ or later, then they contain the+ -- required versions of the container agent and @ecs-init@. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-ami-versions.html Amazon ECS-optimized AMI versions>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ proxyConfiguration :: Prelude.Maybe ProxyConfiguration,+ -- | The task launch type that Amazon ECS validates the task definition+ -- against. A client exception is returned if the task definition doesn\'t+ -- validate against the compatibilities specified. If no value is+ -- specified, the parameter is omitted from the response.+ requiresCompatibilities :: Prelude.Maybe [Compatibility],+ -- | The operating system that your tasks definitions run on. A platform+ -- family is specified only for tasks using the Fargate launch type.+ --+ -- When you specify a task definition in a service, this value must match+ -- the @runtimePlatform@ value of the service.+ runtimePlatform :: Prelude.Maybe RuntimePlatform,+ -- | The metadata that you apply to the task definition to help you+ -- categorize and organize them. Each tag consists of a key and an optional+ -- value. You define both of them.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The short name or full Amazon Resource Name (ARN) of the IAM role that+ -- containers in this task can assume. All containers in this task are+ -- granted the permissions that are specified in this role. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM Roles for Tasks>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ taskRoleArn :: Prelude.Maybe Prelude.Text,+ -- | A list of volume definitions in JSON format that containers in your task+ -- might use.+ volumes :: Prelude.Maybe [Volume],+ -- | You must specify a @family@ for a task definition. You can use it track+ -- multiple versions of the same task definition. The @family@ is used as a+ -- name for your task definition. Up to 255 letters (uppercase and+ -- lowercase), numbers, underscores, and hyphens are allowed.+ family :: Prelude.Text,+ -- | A list of container definitions in JSON format that describe the+ -- different containers that make up your task.+ containerDefinitions :: [ContainerDefinition]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterTaskDefinition' 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:+--+-- 'cpu', 'registerTaskDefinition_cpu' - The number of CPU units used by the task. It can be expressed as an+-- integer using CPU units (for example, @1024@) or as a string using vCPUs+-- (for example, @1 vCPU@ or @1 vcpu@) in a task definition. String values+-- are converted to an integer indicating the CPU units when the task+-- definition is registered.+--+-- Task-level CPU and memory parameters are ignored for Windows containers.+-- We recommend specifying container-level resources for Windows+-- containers.+--+-- If you\'re using the EC2 launch type, this field is optional. Supported+-- values are between @128@ CPU units (@0.125@ vCPUs) and @10240@ CPU units+-- (@10@ vCPUs). If you do not specify a value, the parameter is ignored.+--+-- If you\'re using the Fargate launch type, this field is required and you+-- must use one of the following values, which determines your range of+-- supported values for the @memory@ parameter:+--+-- The CPU units cannot be less than 1 vCPU when you use Windows containers+-- on Fargate.+--+-- - 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1+-- GB), 2048 (2 GB)+--+-- - 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB),+-- 3072 (3 GB), 4096 (4 GB)+--+-- - 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB),+-- 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)+--+-- - 2048 (2 vCPU) - Available @memory@ values: 4096 (4 GB) and 16384 (16+-- GB) in increments of 1024 (1 GB)+--+-- - 4096 (4 vCPU) - Available @memory@ values: 8192 (8 GB) and 30720 (30+-- GB) in increments of 1024 (1 GB)+--+-- - 8192 (8 vCPU) - Available @memory@ values: 16 GB and 60 GB in 4 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - 16384 (16vCPU) - Available @memory@ values: 32GB and 120 GB in 8 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- 'ephemeralStorage', 'registerTaskDefinition_ephemeralStorage' - The amount of ephemeral storage to allocate for the task. This parameter+-- is used to expand the total amount of ephemeral storage available,+-- beyond the default amount, for tasks hosted on Fargate. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html Fargate task storage>+-- in the /Amazon ECS User Guide for Fargate/.+--+-- This parameter is only supported for tasks hosted on Fargate using the+-- following platform versions:+--+-- - Linux platform version @1.4.0@ or later.+--+-- 'executionRoleArn', 'registerTaskDefinition_executionRoleArn' - The Amazon Resource Name (ARN) of the task execution role that grants+-- the Amazon ECS container agent permission to make Amazon Web Services+-- API calls on your behalf. The task execution IAM role is required+-- depending on the requirements of your task. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html Amazon ECS task execution IAM role>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'inferenceAccelerators', 'registerTaskDefinition_inferenceAccelerators' - The Elastic Inference accelerators to use for the containers in the+-- task.+--+-- 'ipcMode', 'registerTaskDefinition_ipcMode' - The IPC resource namespace to use for the containers in the task. The+-- valid values are @host@, @task@, or @none@. If @host@ is specified, then+-- all containers within the tasks that specified the @host@ IPC mode on+-- the same container instance share the same IPC resources with the host+-- Amazon EC2 instance. If @task@ is specified, all containers within the+-- specified task share the same IPC resources. If @none@ is specified,+-- then IPC resources within the containers of a task are private and not+-- shared with other containers in a task or on the container instance. If+-- no value is specified, then the IPC resource namespace sharing depends+-- on the Docker daemon setting on the container instance. For more+-- information, see+-- <https://docs.docker.com/engine/reference/run/#ipc-settings---ipc IPC settings>+-- in the /Docker run reference/.+--+-- If the @host@ IPC mode is used, be aware that there is a heightened risk+-- of undesired IPC namespace expose. For more information, see+-- <https://docs.docker.com/engine/security/security/ Docker security>.+--+-- If you are setting namespaced kernel parameters using @systemControls@+-- for the containers in the task, the following will apply to your IPC+-- resource namespace. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html System Controls>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- - For tasks that use the @host@ IPC mode, IPC namespace related+-- @systemControls@ are not supported.+--+-- - For tasks that use the @task@ IPC mode, IPC namespace related+-- @systemControls@ will apply to all containers within a task.+--+-- This parameter is not supported for Windows containers or tasks run on+-- Fargate.+--+-- 'memory', 'registerTaskDefinition_memory' - The amount of memory (in MiB) used by the task. It can be expressed as+-- an integer using MiB (for example ,@1024@) or as a string using GB (for+-- example, @1GB@ or @1 GB@) in a task definition. String values are+-- converted to an integer indicating the MiB when the task definition is+-- registered.+--+-- Task-level CPU and memory parameters are ignored for Windows containers.+-- We recommend specifying container-level resources for Windows+-- containers.+--+-- If using the EC2 launch type, this field is optional.+--+-- If using the Fargate launch type, this field is required and you must+-- use one of the following values. This determines your range of supported+-- values for the @cpu@ parameter.+--+-- The CPU units cannot be less than 1 vCPU when you use Windows containers+-- on Fargate.+--+-- - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256+-- (.25 vCPU)+--+-- - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@+-- values: 512 (.5 vCPU)+--+-- - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),+-- 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU)+--+-- - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 2048 (2 vCPU)+--+-- - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 4096 (4 vCPU)+--+-- - Between 16 GB and 60 GB in 4 GB increments - Available @cpu@ values:+-- 8192 (8 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - Between 32GB and 120 GB in 8 GB increments - Available @cpu@ values:+-- 16384 (16 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- 'networkMode', 'registerTaskDefinition_networkMode' - The Docker networking mode to use for the containers in the task. The+-- valid values are @none@, @bridge@, @awsvpc@, and @host@. If no network+-- mode is specified, the default is @bridge@.+--+-- For Amazon ECS tasks on Fargate, the @awsvpc@ network mode is required.+-- For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can+-- be used. For Amazon ECS tasks on Amazon EC2 Windows instances,+-- @\<default>@ or @awsvpc@ can be used. If the network mode is set to+-- @none@, you cannot specify port mappings in your container definitions,+-- and the tasks containers do not have external connectivity. The @host@+-- and @awsvpc@ network modes offer the highest networking performance for+-- containers because they use the EC2 network stack instead of the+-- virtualized network stack provided by the @bridge@ mode.+--+-- With the @host@ and @awsvpc@ network modes, exposed container ports are+-- mapped directly to the corresponding host port (for the @host@ network+-- mode) or the attached elastic network interface port (for the @awsvpc@+-- network mode), so you cannot take advantage of dynamic host port+-- mappings.+--+-- When using the @host@ network mode, you should not run containers using+-- the root user (UID 0). It is considered best practice to use a non-root+-- user.+--+-- If the network mode is @awsvpc@, the task is allocated an elastic+-- network interface, and you must specify a NetworkConfiguration value+-- when you create a service or run a task with the task definition. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If the network mode is @host@, you cannot run multiple instantiations of+-- the same task on a single container instance when port mappings are+-- used.+--+-- For more information, see+-- <https://docs.docker.com/engine/reference/run/#network-settings Network settings>+-- in the /Docker run reference/.+--+-- 'pidMode', 'registerTaskDefinition_pidMode' - The process namespace to use for the containers in the task. The valid+-- values are @host@ or @task@. If @host@ is specified, then all containers+-- within the tasks that specified the @host@ PID mode on the same+-- container instance share the same process namespace with the host Amazon+-- EC2 instance. If @task@ is specified, all containers within the+-- specified task share the same process namespace. If no value is+-- specified, the default is a private namespace. For more information, see+-- <https://docs.docker.com/engine/reference/run/#pid-settings---pid PID settings>+-- in the /Docker run reference/.+--+-- If the @host@ PID mode is used, be aware that there is a heightened risk+-- of undesired process namespace expose. For more information, see+-- <https://docs.docker.com/engine/security/security/ Docker security>.+--+-- This parameter is not supported for Windows containers or tasks run on+-- Fargate.+--+-- 'placementConstraints', 'registerTaskDefinition_placementConstraints' - An array of placement constraint objects to use for the task. You can+-- specify a maximum of 10 constraints for each task. This limit includes+-- constraints in the task definition and those specified at runtime.+--+-- 'proxyConfiguration', 'registerTaskDefinition_proxyConfiguration' - The configuration details for the App Mesh proxy.+--+-- For tasks hosted on Amazon EC2 instances, the container instances+-- require at least version @1.26.0@ of the container agent and at least+-- version @1.26.0-1@ of the @ecs-init@ package to use a proxy+-- configuration. If your container instances are launched from the Amazon+-- ECS-optimized AMI version @20190301@ or later, then they contain the+-- required versions of the container agent and @ecs-init@. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-ami-versions.html Amazon ECS-optimized AMI versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'requiresCompatibilities', 'registerTaskDefinition_requiresCompatibilities' - The task launch type that Amazon ECS validates the task definition+-- against. A client exception is returned if the task definition doesn\'t+-- validate against the compatibilities specified. If no value is+-- specified, the parameter is omitted from the response.+--+-- 'runtimePlatform', 'registerTaskDefinition_runtimePlatform' - The operating system that your tasks definitions run on. A platform+-- family is specified only for tasks using the Fargate launch type.+--+-- When you specify a task definition in a service, this value must match+-- the @runtimePlatform@ value of the service.+--+-- 'tags', 'registerTaskDefinition_tags' - The metadata that you apply to the task definition to help you+-- categorize and organize them. Each tag consists of a key and an optional+-- value. You define both of them.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'taskRoleArn', 'registerTaskDefinition_taskRoleArn' - The short name or full Amazon Resource Name (ARN) of the IAM role that+-- containers in this task can assume. All containers in this task are+-- granted the permissions that are specified in this role. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM Roles for Tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'volumes', 'registerTaskDefinition_volumes' - A list of volume definitions in JSON format that containers in your task+-- might use.+--+-- 'family', 'registerTaskDefinition_family' - You must specify a @family@ for a task definition. You can use it track+-- multiple versions of the same task definition. The @family@ is used as a+-- name for your task definition. Up to 255 letters (uppercase and+-- lowercase), numbers, underscores, and hyphens are allowed.+--+-- 'containerDefinitions', 'registerTaskDefinition_containerDefinitions' - A list of container definitions in JSON format that describe the+-- different containers that make up your task.+newRegisterTaskDefinition ::+ -- | 'family'+ Prelude.Text ->+ RegisterTaskDefinition+newRegisterTaskDefinition pFamily_ =+ RegisterTaskDefinition'+ { cpu = Prelude.Nothing,+ ephemeralStorage = Prelude.Nothing,+ executionRoleArn = Prelude.Nothing,+ inferenceAccelerators = Prelude.Nothing,+ ipcMode = Prelude.Nothing,+ memory = Prelude.Nothing,+ networkMode = Prelude.Nothing,+ pidMode = Prelude.Nothing,+ placementConstraints = Prelude.Nothing,+ proxyConfiguration = Prelude.Nothing,+ requiresCompatibilities = Prelude.Nothing,+ runtimePlatform = Prelude.Nothing,+ tags = Prelude.Nothing,+ taskRoleArn = Prelude.Nothing,+ volumes = Prelude.Nothing,+ family = pFamily_,+ containerDefinitions = Prelude.mempty+ }++-- | The number of CPU units used by the task. It can be expressed as an+-- integer using CPU units (for example, @1024@) or as a string using vCPUs+-- (for example, @1 vCPU@ or @1 vcpu@) in a task definition. String values+-- are converted to an integer indicating the CPU units when the task+-- definition is registered.+--+-- Task-level CPU and memory parameters are ignored for Windows containers.+-- We recommend specifying container-level resources for Windows+-- containers.+--+-- If you\'re using the EC2 launch type, this field is optional. Supported+-- values are between @128@ CPU units (@0.125@ vCPUs) and @10240@ CPU units+-- (@10@ vCPUs). If you do not specify a value, the parameter is ignored.+--+-- If you\'re using the Fargate launch type, this field is required and you+-- must use one of the following values, which determines your range of+-- supported values for the @memory@ parameter:+--+-- The CPU units cannot be less than 1 vCPU when you use Windows containers+-- on Fargate.+--+-- - 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1+-- GB), 2048 (2 GB)+--+-- - 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB),+-- 3072 (3 GB), 4096 (4 GB)+--+-- - 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB),+-- 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)+--+-- - 2048 (2 vCPU) - Available @memory@ values: 4096 (4 GB) and 16384 (16+-- GB) in increments of 1024 (1 GB)+--+-- - 4096 (4 vCPU) - Available @memory@ values: 8192 (8 GB) and 30720 (30+-- GB) in increments of 1024 (1 GB)+--+-- - 8192 (8 vCPU) - Available @memory@ values: 16 GB and 60 GB in 4 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - 16384 (16vCPU) - Available @memory@ values: 32GB and 120 GB in 8 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+registerTaskDefinition_cpu :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe Prelude.Text)+registerTaskDefinition_cpu = Lens.lens (\RegisterTaskDefinition' {cpu} -> cpu) (\s@RegisterTaskDefinition' {} a -> s {cpu = a} :: RegisterTaskDefinition)++-- | The amount of ephemeral storage to allocate for the task. This parameter+-- is used to expand the total amount of ephemeral storage available,+-- beyond the default amount, for tasks hosted on Fargate. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html Fargate task storage>+-- in the /Amazon ECS User Guide for Fargate/.+--+-- This parameter is only supported for tasks hosted on Fargate using the+-- following platform versions:+--+-- - Linux platform version @1.4.0@ or later.+registerTaskDefinition_ephemeralStorage :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe EphemeralStorage)+registerTaskDefinition_ephemeralStorage = Lens.lens (\RegisterTaskDefinition' {ephemeralStorage} -> ephemeralStorage) (\s@RegisterTaskDefinition' {} a -> s {ephemeralStorage = a} :: RegisterTaskDefinition)++-- | The Amazon Resource Name (ARN) of the task execution role that grants+-- the Amazon ECS container agent permission to make Amazon Web Services+-- API calls on your behalf. The task execution IAM role is required+-- depending on the requirements of your task. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html Amazon ECS task execution IAM role>+-- in the /Amazon Elastic Container Service Developer Guide/.+registerTaskDefinition_executionRoleArn :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe Prelude.Text)+registerTaskDefinition_executionRoleArn = Lens.lens (\RegisterTaskDefinition' {executionRoleArn} -> executionRoleArn) (\s@RegisterTaskDefinition' {} a -> s {executionRoleArn = a} :: RegisterTaskDefinition)++-- | The Elastic Inference accelerators to use for the containers in the+-- task.+registerTaskDefinition_inferenceAccelerators :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe [InferenceAccelerator])+registerTaskDefinition_inferenceAccelerators = Lens.lens (\RegisterTaskDefinition' {inferenceAccelerators} -> inferenceAccelerators) (\s@RegisterTaskDefinition' {} a -> s {inferenceAccelerators = a} :: RegisterTaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The IPC resource namespace to use for the containers in the task. The+-- valid values are @host@, @task@, or @none@. If @host@ is specified, then+-- all containers within the tasks that specified the @host@ IPC mode on+-- the same container instance share the same IPC resources with the host+-- Amazon EC2 instance. If @task@ is specified, all containers within the+-- specified task share the same IPC resources. If @none@ is specified,+-- then IPC resources within the containers of a task are private and not+-- shared with other containers in a task or on the container instance. If+-- no value is specified, then the IPC resource namespace sharing depends+-- on the Docker daemon setting on the container instance. For more+-- information, see+-- <https://docs.docker.com/engine/reference/run/#ipc-settings---ipc IPC settings>+-- in the /Docker run reference/.+--+-- If the @host@ IPC mode is used, be aware that there is a heightened risk+-- of undesired IPC namespace expose. For more information, see+-- <https://docs.docker.com/engine/security/security/ Docker security>.+--+-- If you are setting namespaced kernel parameters using @systemControls@+-- for the containers in the task, the following will apply to your IPC+-- resource namespace. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html System Controls>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- - For tasks that use the @host@ IPC mode, IPC namespace related+-- @systemControls@ are not supported.+--+-- - For tasks that use the @task@ IPC mode, IPC namespace related+-- @systemControls@ will apply to all containers within a task.+--+-- This parameter is not supported for Windows containers or tasks run on+-- Fargate.+registerTaskDefinition_ipcMode :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe IpcMode)+registerTaskDefinition_ipcMode = Lens.lens (\RegisterTaskDefinition' {ipcMode} -> ipcMode) (\s@RegisterTaskDefinition' {} a -> s {ipcMode = a} :: RegisterTaskDefinition)++-- | The amount of memory (in MiB) used by the task. It can be expressed as+-- an integer using MiB (for example ,@1024@) or as a string using GB (for+-- example, @1GB@ or @1 GB@) in a task definition. String values are+-- converted to an integer indicating the MiB when the task definition is+-- registered.+--+-- Task-level CPU and memory parameters are ignored for Windows containers.+-- We recommend specifying container-level resources for Windows+-- containers.+--+-- If using the EC2 launch type, this field is optional.+--+-- If using the Fargate launch type, this field is required and you must+-- use one of the following values. This determines your range of supported+-- values for the @cpu@ parameter.+--+-- The CPU units cannot be less than 1 vCPU when you use Windows containers+-- on Fargate.+--+-- - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256+-- (.25 vCPU)+--+-- - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@+-- values: 512 (.5 vCPU)+--+-- - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),+-- 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU)+--+-- - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 2048 (2 vCPU)+--+-- - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 4096 (4 vCPU)+--+-- - Between 16 GB and 60 GB in 4 GB increments - Available @cpu@ values:+-- 8192 (8 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - Between 32GB and 120 GB in 8 GB increments - Available @cpu@ values:+-- 16384 (16 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+registerTaskDefinition_memory :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe Prelude.Text)+registerTaskDefinition_memory = Lens.lens (\RegisterTaskDefinition' {memory} -> memory) (\s@RegisterTaskDefinition' {} a -> s {memory = a} :: RegisterTaskDefinition)++-- | The Docker networking mode to use for the containers in the task. The+-- valid values are @none@, @bridge@, @awsvpc@, and @host@. If no network+-- mode is specified, the default is @bridge@.+--+-- For Amazon ECS tasks on Fargate, the @awsvpc@ network mode is required.+-- For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can+-- be used. For Amazon ECS tasks on Amazon EC2 Windows instances,+-- @\<default>@ or @awsvpc@ can be used. If the network mode is set to+-- @none@, you cannot specify port mappings in your container definitions,+-- and the tasks containers do not have external connectivity. The @host@+-- and @awsvpc@ network modes offer the highest networking performance for+-- containers because they use the EC2 network stack instead of the+-- virtualized network stack provided by the @bridge@ mode.+--+-- With the @host@ and @awsvpc@ network modes, exposed container ports are+-- mapped directly to the corresponding host port (for the @host@ network+-- mode) or the attached elastic network interface port (for the @awsvpc@+-- network mode), so you cannot take advantage of dynamic host port+-- mappings.+--+-- When using the @host@ network mode, you should not run containers using+-- the root user (UID 0). It is considered best practice to use a non-root+-- user.+--+-- If the network mode is @awsvpc@, the task is allocated an elastic+-- network interface, and you must specify a NetworkConfiguration value+-- when you create a service or run a task with the task definition. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If the network mode is @host@, you cannot run multiple instantiations of+-- the same task on a single container instance when port mappings are+-- used.+--+-- For more information, see+-- <https://docs.docker.com/engine/reference/run/#network-settings Network settings>+-- in the /Docker run reference/.+registerTaskDefinition_networkMode :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe NetworkMode)+registerTaskDefinition_networkMode = Lens.lens (\RegisterTaskDefinition' {networkMode} -> networkMode) (\s@RegisterTaskDefinition' {} a -> s {networkMode = a} :: RegisterTaskDefinition)++-- | The process namespace to use for the containers in the task. The valid+-- values are @host@ or @task@. If @host@ is specified, then all containers+-- within the tasks that specified the @host@ PID mode on the same+-- container instance share the same process namespace with the host Amazon+-- EC2 instance. If @task@ is specified, all containers within the+-- specified task share the same process namespace. If no value is+-- specified, the default is a private namespace. For more information, see+-- <https://docs.docker.com/engine/reference/run/#pid-settings---pid PID settings>+-- in the /Docker run reference/.+--+-- If the @host@ PID mode is used, be aware that there is a heightened risk+-- of undesired process namespace expose. For more information, see+-- <https://docs.docker.com/engine/security/security/ Docker security>.+--+-- This parameter is not supported for Windows containers or tasks run on+-- Fargate.+registerTaskDefinition_pidMode :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe PidMode)+registerTaskDefinition_pidMode = Lens.lens (\RegisterTaskDefinition' {pidMode} -> pidMode) (\s@RegisterTaskDefinition' {} a -> s {pidMode = a} :: RegisterTaskDefinition)++-- | An array of placement constraint objects to use for the task. You can+-- specify a maximum of 10 constraints for each task. This limit includes+-- constraints in the task definition and those specified at runtime.+registerTaskDefinition_placementConstraints :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe [TaskDefinitionPlacementConstraint])+registerTaskDefinition_placementConstraints = Lens.lens (\RegisterTaskDefinition' {placementConstraints} -> placementConstraints) (\s@RegisterTaskDefinition' {} a -> s {placementConstraints = a} :: RegisterTaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The configuration details for the App Mesh proxy.+--+-- For tasks hosted on Amazon EC2 instances, the container instances+-- require at least version @1.26.0@ of the container agent and at least+-- version @1.26.0-1@ of the @ecs-init@ package to use a proxy+-- configuration. If your container instances are launched from the Amazon+-- ECS-optimized AMI version @20190301@ or later, then they contain the+-- required versions of the container agent and @ecs-init@. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-ami-versions.html Amazon ECS-optimized AMI versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+registerTaskDefinition_proxyConfiguration :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe ProxyConfiguration)+registerTaskDefinition_proxyConfiguration = Lens.lens (\RegisterTaskDefinition' {proxyConfiguration} -> proxyConfiguration) (\s@RegisterTaskDefinition' {} a -> s {proxyConfiguration = a} :: RegisterTaskDefinition)++-- | The task launch type that Amazon ECS validates the task definition+-- against. A client exception is returned if the task definition doesn\'t+-- validate against the compatibilities specified. If no value is+-- specified, the parameter is omitted from the response.+registerTaskDefinition_requiresCompatibilities :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe [Compatibility])+registerTaskDefinition_requiresCompatibilities = Lens.lens (\RegisterTaskDefinition' {requiresCompatibilities} -> requiresCompatibilities) (\s@RegisterTaskDefinition' {} a -> s {requiresCompatibilities = a} :: RegisterTaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The operating system that your tasks definitions run on. A platform+-- family is specified only for tasks using the Fargate launch type.+--+-- When you specify a task definition in a service, this value must match+-- the @runtimePlatform@ value of the service.+registerTaskDefinition_runtimePlatform :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe RuntimePlatform)+registerTaskDefinition_runtimePlatform = Lens.lens (\RegisterTaskDefinition' {runtimePlatform} -> runtimePlatform) (\s@RegisterTaskDefinition' {} a -> s {runtimePlatform = a} :: RegisterTaskDefinition)++-- | The metadata that you apply to the task definition to help you+-- categorize and organize them. Each tag consists of a key and an optional+-- value. You define both of them.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+registerTaskDefinition_tags :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe [Tag])+registerTaskDefinition_tags = Lens.lens (\RegisterTaskDefinition' {tags} -> tags) (\s@RegisterTaskDefinition' {} a -> s {tags = a} :: RegisterTaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The short name or full Amazon Resource Name (ARN) of the IAM role that+-- containers in this task can assume. All containers in this task are+-- granted the permissions that are specified in this role. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM Roles for Tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+registerTaskDefinition_taskRoleArn :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe Prelude.Text)+registerTaskDefinition_taskRoleArn = Lens.lens (\RegisterTaskDefinition' {taskRoleArn} -> taskRoleArn) (\s@RegisterTaskDefinition' {} a -> s {taskRoleArn = a} :: RegisterTaskDefinition)++-- | A list of volume definitions in JSON format that containers in your task+-- might use.+registerTaskDefinition_volumes :: Lens.Lens' RegisterTaskDefinition (Prelude.Maybe [Volume])+registerTaskDefinition_volumes = Lens.lens (\RegisterTaskDefinition' {volumes} -> volumes) (\s@RegisterTaskDefinition' {} a -> s {volumes = a} :: RegisterTaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | You must specify a @family@ for a task definition. You can use it track+-- multiple versions of the same task definition. The @family@ is used as a+-- name for your task definition. Up to 255 letters (uppercase and+-- lowercase), numbers, underscores, and hyphens are allowed.+registerTaskDefinition_family :: Lens.Lens' RegisterTaskDefinition Prelude.Text+registerTaskDefinition_family = Lens.lens (\RegisterTaskDefinition' {family} -> family) (\s@RegisterTaskDefinition' {} a -> s {family = a} :: RegisterTaskDefinition)++-- | A list of container definitions in JSON format that describe the+-- different containers that make up your task.+registerTaskDefinition_containerDefinitions :: Lens.Lens' RegisterTaskDefinition [ContainerDefinition]+registerTaskDefinition_containerDefinitions = Lens.lens (\RegisterTaskDefinition' {containerDefinitions} -> containerDefinitions) (\s@RegisterTaskDefinition' {} a -> s {containerDefinitions = a} :: RegisterTaskDefinition) Prelude.. Lens.coerced++instance Core.AWSRequest RegisterTaskDefinition where+ type+ AWSResponse RegisterTaskDefinition =+ RegisterTaskDefinitionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ RegisterTaskDefinitionResponse'+ Prelude.<$> (x Data..?> "tags" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "taskDefinition")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable RegisterTaskDefinition where+ hashWithSalt _salt RegisterTaskDefinition' {..} =+ _salt+ `Prelude.hashWithSalt` cpu+ `Prelude.hashWithSalt` ephemeralStorage+ `Prelude.hashWithSalt` executionRoleArn+ `Prelude.hashWithSalt` inferenceAccelerators+ `Prelude.hashWithSalt` ipcMode+ `Prelude.hashWithSalt` memory+ `Prelude.hashWithSalt` networkMode+ `Prelude.hashWithSalt` pidMode+ `Prelude.hashWithSalt` placementConstraints+ `Prelude.hashWithSalt` proxyConfiguration+ `Prelude.hashWithSalt` requiresCompatibilities+ `Prelude.hashWithSalt` runtimePlatform+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` taskRoleArn+ `Prelude.hashWithSalt` volumes+ `Prelude.hashWithSalt` family+ `Prelude.hashWithSalt` containerDefinitions++instance Prelude.NFData RegisterTaskDefinition where+ rnf RegisterTaskDefinition' {..} =+ Prelude.rnf cpu+ `Prelude.seq` Prelude.rnf ephemeralStorage+ `Prelude.seq` Prelude.rnf executionRoleArn+ `Prelude.seq` Prelude.rnf inferenceAccelerators+ `Prelude.seq` Prelude.rnf ipcMode+ `Prelude.seq` Prelude.rnf memory+ `Prelude.seq` Prelude.rnf networkMode+ `Prelude.seq` Prelude.rnf pidMode+ `Prelude.seq` Prelude.rnf placementConstraints+ `Prelude.seq` Prelude.rnf proxyConfiguration+ `Prelude.seq` Prelude.rnf requiresCompatibilities+ `Prelude.seq` Prelude.rnf runtimePlatform+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf taskRoleArn+ `Prelude.seq` Prelude.rnf volumes+ `Prelude.seq` Prelude.rnf family+ `Prelude.seq` Prelude.rnf containerDefinitions++instance Data.ToHeaders RegisterTaskDefinition where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.RegisterTaskDefinition" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON RegisterTaskDefinition where+ toJSON RegisterTaskDefinition' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cpu" Data..=) Prelude.<$> cpu,+ ("ephemeralStorage" Data..=)+ Prelude.<$> ephemeralStorage,+ ("executionRoleArn" Data..=)+ Prelude.<$> executionRoleArn,+ ("inferenceAccelerators" Data..=)+ Prelude.<$> inferenceAccelerators,+ ("ipcMode" Data..=) Prelude.<$> ipcMode,+ ("memory" Data..=) Prelude.<$> memory,+ ("networkMode" Data..=) Prelude.<$> networkMode,+ ("pidMode" Data..=) Prelude.<$> pidMode,+ ("placementConstraints" Data..=)+ Prelude.<$> placementConstraints,+ ("proxyConfiguration" Data..=)+ Prelude.<$> proxyConfiguration,+ ("requiresCompatibilities" Data..=)+ Prelude.<$> requiresCompatibilities,+ ("runtimePlatform" Data..=)+ Prelude.<$> runtimePlatform,+ ("tags" Data..=) Prelude.<$> tags,+ ("taskRoleArn" Data..=) Prelude.<$> taskRoleArn,+ ("volumes" Data..=) Prelude.<$> volumes,+ Prelude.Just ("family" Data..= family),+ Prelude.Just+ ( "containerDefinitions"+ Data..= containerDefinitions+ )+ ]+ )++instance Data.ToPath RegisterTaskDefinition where+ toPath = Prelude.const "/"++instance Data.ToQuery RegisterTaskDefinition where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRegisterTaskDefinitionResponse' smart constructor.+data RegisterTaskDefinitionResponse = RegisterTaskDefinitionResponse'+ { -- | The list of tags associated with the task definition.+ tags :: Prelude.Maybe [Tag],+ -- | The full description of the registered task definition.+ taskDefinition :: Prelude.Maybe TaskDefinition,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterTaskDefinitionResponse' 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:+--+-- 'tags', 'registerTaskDefinitionResponse_tags' - The list of tags associated with the task definition.+--+-- 'taskDefinition', 'registerTaskDefinitionResponse_taskDefinition' - The full description of the registered task definition.+--+-- 'httpStatus', 'registerTaskDefinitionResponse_httpStatus' - The response's http status code.+newRegisterTaskDefinitionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ RegisterTaskDefinitionResponse+newRegisterTaskDefinitionResponse pHttpStatus_ =+ RegisterTaskDefinitionResponse'+ { tags =+ Prelude.Nothing,+ taskDefinition = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of tags associated with the task definition.+registerTaskDefinitionResponse_tags :: Lens.Lens' RegisterTaskDefinitionResponse (Prelude.Maybe [Tag])+registerTaskDefinitionResponse_tags = Lens.lens (\RegisterTaskDefinitionResponse' {tags} -> tags) (\s@RegisterTaskDefinitionResponse' {} a -> s {tags = a} :: RegisterTaskDefinitionResponse) Prelude.. Lens.mapping Lens.coerced++-- | The full description of the registered task definition.+registerTaskDefinitionResponse_taskDefinition :: Lens.Lens' RegisterTaskDefinitionResponse (Prelude.Maybe TaskDefinition)+registerTaskDefinitionResponse_taskDefinition = Lens.lens (\RegisterTaskDefinitionResponse' {taskDefinition} -> taskDefinition) (\s@RegisterTaskDefinitionResponse' {} a -> s {taskDefinition = a} :: RegisterTaskDefinitionResponse)++-- | The response's http status code.+registerTaskDefinitionResponse_httpStatus :: Lens.Lens' RegisterTaskDefinitionResponse Prelude.Int+registerTaskDefinitionResponse_httpStatus = Lens.lens (\RegisterTaskDefinitionResponse' {httpStatus} -> httpStatus) (\s@RegisterTaskDefinitionResponse' {} a -> s {httpStatus = a} :: RegisterTaskDefinitionResponse)++instance+ Prelude.NFData+ RegisterTaskDefinitionResponse+ where+ rnf RegisterTaskDefinitionResponse' {..} =+ Prelude.rnf tags+ `Prelude.seq` Prelude.rnf taskDefinition+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/RunTask.hs view
@@ -0,0 +1,847 @@+{-# 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.ECS.RunTask+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Starts a new task using the specified task definition.+--+-- You can allow Amazon ECS to place tasks for you, or you can customize+-- how Amazon ECS places tasks using placement constraints and placement+-- strategies. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html Scheduling Tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- Alternatively, you can use StartTask to use your own scheduler or place+-- tasks manually on specific container instances.+--+-- The Amazon ECS API follows an eventual consistency model. This is+-- because of the distributed nature of the system supporting the API. This+-- means that the result of an API command you run that affects your Amazon+-- ECS resources might not be immediately visible to all subsequent+-- commands you run. Keep this in mind when you carry out an API command+-- that immediately follows a previous API command.+--+-- To manage eventual consistency, you can do the following:+--+-- - Confirm the state of the resource before you run a command to modify+-- it. Run the DescribeTasks command using an exponential backoff+-- algorithm to ensure that you allow enough time for the previous+-- command to propagate through the system. To do this, run the+-- DescribeTasks command repeatedly, starting with a couple of seconds+-- of wait time and increasing gradually up to five minutes of wait+-- time.+--+-- - Add wait time between subsequent commands, even if the DescribeTasks+-- command returns an accurate response. Apply an exponential backoff+-- algorithm starting with a couple of seconds of wait time, and+-- increase gradually up to about five minutes of wait time.+module Amazonka.ECS.RunTask+ ( -- * Creating a Request+ RunTask (..),+ newRunTask,++ -- * Request Lenses+ runTask_capacityProviderStrategy,+ runTask_cluster,+ runTask_count,+ runTask_enableECSManagedTags,+ runTask_enableExecuteCommand,+ runTask_group,+ runTask_launchType,+ runTask_networkConfiguration,+ runTask_overrides,+ runTask_placementConstraints,+ runTask_placementStrategy,+ runTask_platformVersion,+ runTask_propagateTags,+ runTask_referenceId,+ runTask_startedBy,+ runTask_tags,+ runTask_taskDefinition,++ -- * Destructuring the Response+ RunTaskResponse (..),+ newRunTaskResponse,++ -- * Response Lenses+ runTaskResponse_failures,+ runTaskResponse_tasks,+ runTaskResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newRunTask' smart constructor.+data RunTask = RunTask'+ { -- | The capacity provider strategy to use for the task.+ --+ -- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+ -- must be omitted. If no @capacityProviderStrategy@ or @launchType@ is+ -- specified, the @defaultCapacityProviderStrategy@ for the cluster is+ -- used.+ --+ -- When you use cluster auto scaling, you must specify+ -- @capacityProviderStrategy@ and not @launchType@.+ --+ -- A capacity provider strategy may contain a maximum of 6 capacity+ -- providers.+ capacityProviderStrategy :: Prelude.Maybe [CapacityProviderStrategyItem],+ -- | The short name or full Amazon Resource Name (ARN) of the cluster to run+ -- your task on. If you do not specify a cluster, the default cluster is+ -- assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | The number of instantiations of the specified task to place on your+ -- cluster. You can specify up to 10 tasks for each call.+ count :: Prelude.Maybe Prelude.Int,+ -- | Specifies whether to use Amazon ECS managed tags for the task. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ enableECSManagedTags :: Prelude.Maybe Prelude.Bool,+ -- | Determines whether to use the execute command functionality for the+ -- containers in this task. If @true@, this enables execute command+ -- functionality on all containers in the task.+ --+ -- If @true@, then the task definition must have a task role, or you must+ -- provide one as an override.+ enableExecuteCommand :: Prelude.Maybe Prelude.Bool,+ -- | The name of the task group to associate with the task. The default value+ -- is the family name of the task definition (for example,+ -- @family:my-family-name@).+ group' :: Prelude.Maybe Prelude.Text,+ -- | The infrastructure to run your standalone task on. For more information,+ -- see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- The @FARGATE@ launch type runs your tasks on Fargate On-Demand+ -- infrastructure.+ --+ -- Fargate Spot infrastructure is available for use but a capacity provider+ -- strategy must be used. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html Fargate capacity providers>+ -- in the /Amazon ECS User Guide for Fargate/.+ --+ -- The @EC2@ launch type runs your tasks on Amazon EC2 instances registered+ -- to your cluster.+ --+ -- The @EXTERNAL@ launch type runs your tasks on your on-premises server or+ -- virtual machine (VM) capacity registered to your cluster.+ --+ -- A task can use either a launch type or a capacity provider strategy. If+ -- a @launchType@ is specified, the @capacityProviderStrategy@ parameter+ -- must be omitted.+ --+ -- When you use cluster auto scaling, you must specify+ -- @capacityProviderStrategy@ and not @launchType@.+ launchType :: Prelude.Maybe LaunchType,+ -- | The network configuration for the task. This parameter is required for+ -- task definitions that use the @awsvpc@ network mode to receive their own+ -- elastic network interface, and it isn\'t supported for other network+ -- modes. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task networking>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ networkConfiguration :: Prelude.Maybe NetworkConfiguration,+ -- | A list of container overrides in JSON format that specify the name of a+ -- container in the specified task definition and the overrides it should+ -- receive. You can override the default command for a container (that\'s+ -- specified in the task definition or Docker image) with a @command@+ -- override. You can also override existing environment variables (that are+ -- specified in the task definition or Docker image) on a container or add+ -- new environment variables to it with an @environment@ override.+ --+ -- A total of 8192 characters are allowed for overrides. This limit+ -- includes the JSON formatting characters of the override structure.+ overrides :: Prelude.Maybe TaskOverride,+ -- | An array of placement constraint objects to use for the task. You can+ -- specify up to 10 constraints for each task (including constraints in the+ -- task definition and those specified at runtime).+ placementConstraints :: Prelude.Maybe [PlacementConstraint],+ -- | The placement strategy objects to use for the task. You can specify a+ -- maximum of 5 strategy rules for each task.+ placementStrategy :: Prelude.Maybe [PlacementStrategy],+ -- | The platform version the task uses. A platform version is only specified+ -- for tasks hosted on Fargate. If one isn\'t specified, the @LATEST@+ -- platform version is used. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ platformVersion :: Prelude.Maybe Prelude.Text,+ -- | Specifies whether to propagate the tags from the task definition to the+ -- task. If no value is specified, the tags aren\'t propagated. Tags can+ -- only be propagated to the task during task creation. To add tags to a+ -- task after task creation, use the TagResource API action.+ --+ -- An error will be received if you specify the @SERVICE@ option when+ -- running a task.+ propagateTags :: Prelude.Maybe PropagateTags,+ -- | The reference ID to use for the task. The reference ID can have a+ -- maximum length of 1024 characters.+ referenceId :: Prelude.Maybe Prelude.Text,+ -- | An optional tag specified when a task is started. For example, if you+ -- automatically trigger a task to run a batch process job, you could apply+ -- a unique identifier for that job to your task with the @startedBy@+ -- parameter. You can then identify which tasks belong to that job by+ -- filtering the results of a ListTasks call with the @startedBy@ value. Up+ -- to 36 letters (uppercase and lowercase), numbers, hyphens (-), and+ -- underscores (_) are allowed.+ --+ -- If a task is started by an Amazon ECS service, then the @startedBy@+ -- parameter contains the deployment ID of the service that starts it.+ startedBy :: Prelude.Maybe Prelude.Text,+ -- | The metadata that you apply to the task to help you categorize and+ -- organize them. Each tag consists of a key and an optional value, both of+ -- which you define.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The @family@ and @revision@ (@family:revision@) or full ARN of the task+ -- definition to run. If a @revision@ isn\'t specified, the latest @ACTIVE@+ -- revision is used.+ --+ -- When you create an IAM policy for run-task, you can set the resource to+ -- be the latest task definition revision, or a specific revision.+ --+ -- The full ARN value must match the value that you specified as the+ -- @Resource@ of the IAM principal\'s permissions policy.+ --+ -- When you specify the policy resource as the latest task definition+ -- version (by setting the @Resource@ in the policy to+ -- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName@),+ -- then set this value to+ -- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName@.+ --+ -- When you specify the policy resource as a specific task definition+ -- version (by setting the @Resource@ in the policy to+ -- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName:1@+ -- or+ -- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName:*@),+ -- then set this value to+ -- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName:1@.+ --+ -- For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources Policy Resources for Amazon ECS>+ -- in the Amazon Elastic Container Service developer Guide.+ taskDefinition :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RunTask' 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:+--+-- 'capacityProviderStrategy', 'runTask_capacityProviderStrategy' - The capacity provider strategy to use for the task.+--+-- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+-- must be omitted. If no @capacityProviderStrategy@ or @launchType@ is+-- specified, the @defaultCapacityProviderStrategy@ for the cluster is+-- used.+--+-- When you use cluster auto scaling, you must specify+-- @capacityProviderStrategy@ and not @launchType@.+--+-- A capacity provider strategy may contain a maximum of 6 capacity+-- providers.+--+-- 'cluster', 'runTask_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster to run+-- your task on. If you do not specify a cluster, the default cluster is+-- assumed.+--+-- 'count', 'runTask_count' - The number of instantiations of the specified task to place on your+-- cluster. You can specify up to 10 tasks for each call.+--+-- 'enableECSManagedTags', 'runTask_enableECSManagedTags' - Specifies whether to use Amazon ECS managed tags for the task. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'enableExecuteCommand', 'runTask_enableExecuteCommand' - Determines whether to use the execute command functionality for the+-- containers in this task. If @true@, this enables execute command+-- functionality on all containers in the task.+--+-- If @true@, then the task definition must have a task role, or you must+-- provide one as an override.+--+-- 'group'', 'runTask_group' - The name of the task group to associate with the task. The default value+-- is the family name of the task definition (for example,+-- @family:my-family-name@).+--+-- 'launchType', 'runTask_launchType' - The infrastructure to run your standalone task on. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- The @FARGATE@ launch type runs your tasks on Fargate On-Demand+-- infrastructure.+--+-- Fargate Spot infrastructure is available for use but a capacity provider+-- strategy must be used. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html Fargate capacity providers>+-- in the /Amazon ECS User Guide for Fargate/.+--+-- The @EC2@ launch type runs your tasks on Amazon EC2 instances registered+-- to your cluster.+--+-- The @EXTERNAL@ launch type runs your tasks on your on-premises server or+-- virtual machine (VM) capacity registered to your cluster.+--+-- A task can use either a launch type or a capacity provider strategy. If+-- a @launchType@ is specified, the @capacityProviderStrategy@ parameter+-- must be omitted.+--+-- When you use cluster auto scaling, you must specify+-- @capacityProviderStrategy@ and not @launchType@.+--+-- 'networkConfiguration', 'runTask_networkConfiguration' - The network configuration for the task. This parameter is required for+-- task definitions that use the @awsvpc@ network mode to receive their own+-- elastic network interface, and it isn\'t supported for other network+-- modes. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task networking>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'overrides', 'runTask_overrides' - A list of container overrides in JSON format that specify the name of a+-- container in the specified task definition and the overrides it should+-- receive. You can override the default command for a container (that\'s+-- specified in the task definition or Docker image) with a @command@+-- override. You can also override existing environment variables (that are+-- specified in the task definition or Docker image) on a container or add+-- new environment variables to it with an @environment@ override.+--+-- A total of 8192 characters are allowed for overrides. This limit+-- includes the JSON formatting characters of the override structure.+--+-- 'placementConstraints', 'runTask_placementConstraints' - An array of placement constraint objects to use for the task. You can+-- specify up to 10 constraints for each task (including constraints in the+-- task definition and those specified at runtime).+--+-- 'placementStrategy', 'runTask_placementStrategy' - The placement strategy objects to use for the task. You can specify a+-- maximum of 5 strategy rules for each task.+--+-- 'platformVersion', 'runTask_platformVersion' - The platform version the task uses. A platform version is only specified+-- for tasks hosted on Fargate. If one isn\'t specified, the @LATEST@+-- platform version is used. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'propagateTags', 'runTask_propagateTags' - Specifies whether to propagate the tags from the task definition to the+-- task. If no value is specified, the tags aren\'t propagated. Tags can+-- only be propagated to the task during task creation. To add tags to a+-- task after task creation, use the TagResource API action.+--+-- An error will be received if you specify the @SERVICE@ option when+-- running a task.+--+-- 'referenceId', 'runTask_referenceId' - The reference ID to use for the task. The reference ID can have a+-- maximum length of 1024 characters.+--+-- 'startedBy', 'runTask_startedBy' - An optional tag specified when a task is started. For example, if you+-- automatically trigger a task to run a batch process job, you could apply+-- a unique identifier for that job to your task with the @startedBy@+-- parameter. You can then identify which tasks belong to that job by+-- filtering the results of a ListTasks call with the @startedBy@ value. Up+-- to 36 letters (uppercase and lowercase), numbers, hyphens (-), and+-- underscores (_) are allowed.+--+-- If a task is started by an Amazon ECS service, then the @startedBy@+-- parameter contains the deployment ID of the service that starts it.+--+-- 'tags', 'runTask_tags' - The metadata that you apply to the task to help you categorize and+-- organize them. Each tag consists of a key and an optional value, both of+-- which you define.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'taskDefinition', 'runTask_taskDefinition' - The @family@ and @revision@ (@family:revision@) or full ARN of the task+-- definition to run. If a @revision@ isn\'t specified, the latest @ACTIVE@+-- revision is used.+--+-- When you create an IAM policy for run-task, you can set the resource to+-- be the latest task definition revision, or a specific revision.+--+-- The full ARN value must match the value that you specified as the+-- @Resource@ of the IAM principal\'s permissions policy.+--+-- When you specify the policy resource as the latest task definition+-- version (by setting the @Resource@ in the policy to+-- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName@),+-- then set this value to+-- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName@.+--+-- When you specify the policy resource as a specific task definition+-- version (by setting the @Resource@ in the policy to+-- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName:1@+-- or+-- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName:*@),+-- then set this value to+-- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName:1@.+--+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources Policy Resources for Amazon ECS>+-- in the Amazon Elastic Container Service developer Guide.+newRunTask ::+ -- | 'taskDefinition'+ Prelude.Text ->+ RunTask+newRunTask pTaskDefinition_ =+ RunTask'+ { capacityProviderStrategy =+ Prelude.Nothing,+ cluster = Prelude.Nothing,+ count = Prelude.Nothing,+ enableECSManagedTags = Prelude.Nothing,+ enableExecuteCommand = Prelude.Nothing,+ group' = Prelude.Nothing,+ launchType = Prelude.Nothing,+ networkConfiguration = Prelude.Nothing,+ overrides = Prelude.Nothing,+ placementConstraints = Prelude.Nothing,+ placementStrategy = Prelude.Nothing,+ platformVersion = Prelude.Nothing,+ propagateTags = Prelude.Nothing,+ referenceId = Prelude.Nothing,+ startedBy = Prelude.Nothing,+ tags = Prelude.Nothing,+ taskDefinition = pTaskDefinition_+ }++-- | The capacity provider strategy to use for the task.+--+-- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+-- must be omitted. If no @capacityProviderStrategy@ or @launchType@ is+-- specified, the @defaultCapacityProviderStrategy@ for the cluster is+-- used.+--+-- When you use cluster auto scaling, you must specify+-- @capacityProviderStrategy@ and not @launchType@.+--+-- A capacity provider strategy may contain a maximum of 6 capacity+-- providers.+runTask_capacityProviderStrategy :: Lens.Lens' RunTask (Prelude.Maybe [CapacityProviderStrategyItem])+runTask_capacityProviderStrategy = Lens.lens (\RunTask' {capacityProviderStrategy} -> capacityProviderStrategy) (\s@RunTask' {} a -> s {capacityProviderStrategy = a} :: RunTask) Prelude.. Lens.mapping Lens.coerced++-- | The short name or full Amazon Resource Name (ARN) of the cluster to run+-- your task on. If you do not specify a cluster, the default cluster is+-- assumed.+runTask_cluster :: Lens.Lens' RunTask (Prelude.Maybe Prelude.Text)+runTask_cluster = Lens.lens (\RunTask' {cluster} -> cluster) (\s@RunTask' {} a -> s {cluster = a} :: RunTask)++-- | The number of instantiations of the specified task to place on your+-- cluster. You can specify up to 10 tasks for each call.+runTask_count :: Lens.Lens' RunTask (Prelude.Maybe Prelude.Int)+runTask_count = Lens.lens (\RunTask' {count} -> count) (\s@RunTask' {} a -> s {count = a} :: RunTask)++-- | Specifies whether to use Amazon ECS managed tags for the task. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+-- in the /Amazon Elastic Container Service Developer Guide/.+runTask_enableECSManagedTags :: Lens.Lens' RunTask (Prelude.Maybe Prelude.Bool)+runTask_enableECSManagedTags = Lens.lens (\RunTask' {enableECSManagedTags} -> enableECSManagedTags) (\s@RunTask' {} a -> s {enableECSManagedTags = a} :: RunTask)++-- | Determines whether to use the execute command functionality for the+-- containers in this task. If @true@, this enables execute command+-- functionality on all containers in the task.+--+-- If @true@, then the task definition must have a task role, or you must+-- provide one as an override.+runTask_enableExecuteCommand :: Lens.Lens' RunTask (Prelude.Maybe Prelude.Bool)+runTask_enableExecuteCommand = Lens.lens (\RunTask' {enableExecuteCommand} -> enableExecuteCommand) (\s@RunTask' {} a -> s {enableExecuteCommand = a} :: RunTask)++-- | The name of the task group to associate with the task. The default value+-- is the family name of the task definition (for example,+-- @family:my-family-name@).+runTask_group :: Lens.Lens' RunTask (Prelude.Maybe Prelude.Text)+runTask_group = Lens.lens (\RunTask' {group'} -> group') (\s@RunTask' {} a -> s {group' = a} :: RunTask)++-- | The infrastructure to run your standalone task on. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- The @FARGATE@ launch type runs your tasks on Fargate On-Demand+-- infrastructure.+--+-- Fargate Spot infrastructure is available for use but a capacity provider+-- strategy must be used. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html Fargate capacity providers>+-- in the /Amazon ECS User Guide for Fargate/.+--+-- The @EC2@ launch type runs your tasks on Amazon EC2 instances registered+-- to your cluster.+--+-- The @EXTERNAL@ launch type runs your tasks on your on-premises server or+-- virtual machine (VM) capacity registered to your cluster.+--+-- A task can use either a launch type or a capacity provider strategy. If+-- a @launchType@ is specified, the @capacityProviderStrategy@ parameter+-- must be omitted.+--+-- When you use cluster auto scaling, you must specify+-- @capacityProviderStrategy@ and not @launchType@.+runTask_launchType :: Lens.Lens' RunTask (Prelude.Maybe LaunchType)+runTask_launchType = Lens.lens (\RunTask' {launchType} -> launchType) (\s@RunTask' {} a -> s {launchType = a} :: RunTask)++-- | The network configuration for the task. This parameter is required for+-- task definitions that use the @awsvpc@ network mode to receive their own+-- elastic network interface, and it isn\'t supported for other network+-- modes. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task networking>+-- in the /Amazon Elastic Container Service Developer Guide/.+runTask_networkConfiguration :: Lens.Lens' RunTask (Prelude.Maybe NetworkConfiguration)+runTask_networkConfiguration = Lens.lens (\RunTask' {networkConfiguration} -> networkConfiguration) (\s@RunTask' {} a -> s {networkConfiguration = a} :: RunTask)++-- | A list of container overrides in JSON format that specify the name of a+-- container in the specified task definition and the overrides it should+-- receive. You can override the default command for a container (that\'s+-- specified in the task definition or Docker image) with a @command@+-- override. You can also override existing environment variables (that are+-- specified in the task definition or Docker image) on a container or add+-- new environment variables to it with an @environment@ override.+--+-- A total of 8192 characters are allowed for overrides. This limit+-- includes the JSON formatting characters of the override structure.+runTask_overrides :: Lens.Lens' RunTask (Prelude.Maybe TaskOverride)+runTask_overrides = Lens.lens (\RunTask' {overrides} -> overrides) (\s@RunTask' {} a -> s {overrides = a} :: RunTask)++-- | An array of placement constraint objects to use for the task. You can+-- specify up to 10 constraints for each task (including constraints in the+-- task definition and those specified at runtime).+runTask_placementConstraints :: Lens.Lens' RunTask (Prelude.Maybe [PlacementConstraint])+runTask_placementConstraints = Lens.lens (\RunTask' {placementConstraints} -> placementConstraints) (\s@RunTask' {} a -> s {placementConstraints = a} :: RunTask) Prelude.. Lens.mapping Lens.coerced++-- | The placement strategy objects to use for the task. You can specify a+-- maximum of 5 strategy rules for each task.+runTask_placementStrategy :: Lens.Lens' RunTask (Prelude.Maybe [PlacementStrategy])+runTask_placementStrategy = Lens.lens (\RunTask' {placementStrategy} -> placementStrategy) (\s@RunTask' {} a -> s {placementStrategy = a} :: RunTask) Prelude.. Lens.mapping Lens.coerced++-- | The platform version the task uses. A platform version is only specified+-- for tasks hosted on Fargate. If one isn\'t specified, the @LATEST@+-- platform version is used. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+runTask_platformVersion :: Lens.Lens' RunTask (Prelude.Maybe Prelude.Text)+runTask_platformVersion = Lens.lens (\RunTask' {platformVersion} -> platformVersion) (\s@RunTask' {} a -> s {platformVersion = a} :: RunTask)++-- | Specifies whether to propagate the tags from the task definition to the+-- task. If no value is specified, the tags aren\'t propagated. Tags can+-- only be propagated to the task during task creation. To add tags to a+-- task after task creation, use the TagResource API action.+--+-- An error will be received if you specify the @SERVICE@ option when+-- running a task.+runTask_propagateTags :: Lens.Lens' RunTask (Prelude.Maybe PropagateTags)+runTask_propagateTags = Lens.lens (\RunTask' {propagateTags} -> propagateTags) (\s@RunTask' {} a -> s {propagateTags = a} :: RunTask)++-- | The reference ID to use for the task. The reference ID can have a+-- maximum length of 1024 characters.+runTask_referenceId :: Lens.Lens' RunTask (Prelude.Maybe Prelude.Text)+runTask_referenceId = Lens.lens (\RunTask' {referenceId} -> referenceId) (\s@RunTask' {} a -> s {referenceId = a} :: RunTask)++-- | An optional tag specified when a task is started. For example, if you+-- automatically trigger a task to run a batch process job, you could apply+-- a unique identifier for that job to your task with the @startedBy@+-- parameter. You can then identify which tasks belong to that job by+-- filtering the results of a ListTasks call with the @startedBy@ value. Up+-- to 36 letters (uppercase and lowercase), numbers, hyphens (-), and+-- underscores (_) are allowed.+--+-- If a task is started by an Amazon ECS service, then the @startedBy@+-- parameter contains the deployment ID of the service that starts it.+runTask_startedBy :: Lens.Lens' RunTask (Prelude.Maybe Prelude.Text)+runTask_startedBy = Lens.lens (\RunTask' {startedBy} -> startedBy) (\s@RunTask' {} a -> s {startedBy = a} :: RunTask)++-- | The metadata that you apply to the task to help you categorize and+-- organize them. Each tag consists of a key and an optional value, both of+-- which you define.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+runTask_tags :: Lens.Lens' RunTask (Prelude.Maybe [Tag])+runTask_tags = Lens.lens (\RunTask' {tags} -> tags) (\s@RunTask' {} a -> s {tags = a} :: RunTask) Prelude.. Lens.mapping Lens.coerced++-- | The @family@ and @revision@ (@family:revision@) or full ARN of the task+-- definition to run. If a @revision@ isn\'t specified, the latest @ACTIVE@+-- revision is used.+--+-- When you create an IAM policy for run-task, you can set the resource to+-- be the latest task definition revision, or a specific revision.+--+-- The full ARN value must match the value that you specified as the+-- @Resource@ of the IAM principal\'s permissions policy.+--+-- When you specify the policy resource as the latest task definition+-- version (by setting the @Resource@ in the policy to+-- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName@),+-- then set this value to+-- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName@.+--+-- When you specify the policy resource as a specific task definition+-- version (by setting the @Resource@ in the policy to+-- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName:1@+-- or+-- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName:*@),+-- then set this value to+-- @arn:aws:ecs:us-east-1:111122223333:task-definition\/TaskFamilyName:1@.+--+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources Policy Resources for Amazon ECS>+-- in the Amazon Elastic Container Service developer Guide.+runTask_taskDefinition :: Lens.Lens' RunTask Prelude.Text+runTask_taskDefinition = Lens.lens (\RunTask' {taskDefinition} -> taskDefinition) (\s@RunTask' {} a -> s {taskDefinition = a} :: RunTask)++instance Core.AWSRequest RunTask where+ type AWSResponse RunTask = RunTaskResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ RunTaskResponse'+ Prelude.<$> (x Data..?> "failures" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "tasks" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable RunTask where+ hashWithSalt _salt RunTask' {..} =+ _salt+ `Prelude.hashWithSalt` capacityProviderStrategy+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` count+ `Prelude.hashWithSalt` enableECSManagedTags+ `Prelude.hashWithSalt` enableExecuteCommand+ `Prelude.hashWithSalt` group'+ `Prelude.hashWithSalt` launchType+ `Prelude.hashWithSalt` networkConfiguration+ `Prelude.hashWithSalt` overrides+ `Prelude.hashWithSalt` placementConstraints+ `Prelude.hashWithSalt` placementStrategy+ `Prelude.hashWithSalt` platformVersion+ `Prelude.hashWithSalt` propagateTags+ `Prelude.hashWithSalt` referenceId+ `Prelude.hashWithSalt` startedBy+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` taskDefinition++instance Prelude.NFData RunTask where+ rnf RunTask' {..} =+ Prelude.rnf capacityProviderStrategy+ `Prelude.seq` Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf count+ `Prelude.seq` Prelude.rnf enableECSManagedTags+ `Prelude.seq` Prelude.rnf enableExecuteCommand+ `Prelude.seq` Prelude.rnf group'+ `Prelude.seq` Prelude.rnf launchType+ `Prelude.seq` Prelude.rnf networkConfiguration+ `Prelude.seq` Prelude.rnf overrides+ `Prelude.seq` Prelude.rnf placementConstraints+ `Prelude.seq` Prelude.rnf placementStrategy+ `Prelude.seq` Prelude.rnf platformVersion+ `Prelude.seq` Prelude.rnf propagateTags+ `Prelude.seq` Prelude.rnf referenceId+ `Prelude.seq` Prelude.rnf startedBy+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf taskDefinition++instance Data.ToHeaders RunTask where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.RunTask" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON RunTask where+ toJSON RunTask' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("capacityProviderStrategy" Data..=)+ Prelude.<$> capacityProviderStrategy,+ ("cluster" Data..=) Prelude.<$> cluster,+ ("count" Data..=) Prelude.<$> count,+ ("enableECSManagedTags" Data..=)+ Prelude.<$> enableECSManagedTags,+ ("enableExecuteCommand" Data..=)+ Prelude.<$> enableExecuteCommand,+ ("group" Data..=) Prelude.<$> group',+ ("launchType" Data..=) Prelude.<$> launchType,+ ("networkConfiguration" Data..=)+ Prelude.<$> networkConfiguration,+ ("overrides" Data..=) Prelude.<$> overrides,+ ("placementConstraints" Data..=)+ Prelude.<$> placementConstraints,+ ("placementStrategy" Data..=)+ Prelude.<$> placementStrategy,+ ("platformVersion" Data..=)+ Prelude.<$> platformVersion,+ ("propagateTags" Data..=) Prelude.<$> propagateTags,+ ("referenceId" Data..=) Prelude.<$> referenceId,+ ("startedBy" Data..=) Prelude.<$> startedBy,+ ("tags" Data..=) Prelude.<$> tags,+ Prelude.Just+ ("taskDefinition" Data..= taskDefinition)+ ]+ )++instance Data.ToPath RunTask where+ toPath = Prelude.const "/"++instance Data.ToQuery RunTask where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRunTaskResponse' smart constructor.+data RunTaskResponse = RunTaskResponse'+ { -- | Any failures associated with the call.+ failures :: Prelude.Maybe [Failure],+ -- | A full description of the tasks that were run. The tasks that were+ -- successfully placed on your cluster are described here.+ tasks :: Prelude.Maybe [Task],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RunTaskResponse' 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:+--+-- 'failures', 'runTaskResponse_failures' - Any failures associated with the call.+--+-- 'tasks', 'runTaskResponse_tasks' - A full description of the tasks that were run. The tasks that were+-- successfully placed on your cluster are described here.+--+-- 'httpStatus', 'runTaskResponse_httpStatus' - The response's http status code.+newRunTaskResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ RunTaskResponse+newRunTaskResponse pHttpStatus_ =+ RunTaskResponse'+ { failures = Prelude.Nothing,+ tasks = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Any failures associated with the call.+runTaskResponse_failures :: Lens.Lens' RunTaskResponse (Prelude.Maybe [Failure])+runTaskResponse_failures = Lens.lens (\RunTaskResponse' {failures} -> failures) (\s@RunTaskResponse' {} a -> s {failures = a} :: RunTaskResponse) Prelude.. Lens.mapping Lens.coerced++-- | A full description of the tasks that were run. The tasks that were+-- successfully placed on your cluster are described here.+runTaskResponse_tasks :: Lens.Lens' RunTaskResponse (Prelude.Maybe [Task])+runTaskResponse_tasks = Lens.lens (\RunTaskResponse' {tasks} -> tasks) (\s@RunTaskResponse' {} a -> s {tasks = a} :: RunTaskResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+runTaskResponse_httpStatus :: Lens.Lens' RunTaskResponse Prelude.Int+runTaskResponse_httpStatus = Lens.lens (\RunTaskResponse' {httpStatus} -> httpStatus) (\s@RunTaskResponse' {} a -> s {httpStatus = a} :: RunTaskResponse)++instance Prelude.NFData RunTaskResponse where+ rnf RunTaskResponse' {..} =+ Prelude.rnf failures+ `Prelude.seq` Prelude.rnf tasks+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/StartTask.hs view
@@ -0,0 +1,525 @@+{-# 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.ECS.StartTask+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Starts a new task from the specified task definition on the specified+-- container instance or instances.+--+-- Alternatively, you can use RunTask to place tasks for you. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html Scheduling Tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.StartTask+ ( -- * Creating a Request+ StartTask (..),+ newStartTask,++ -- * Request Lenses+ startTask_cluster,+ startTask_enableECSManagedTags,+ startTask_enableExecuteCommand,+ startTask_group,+ startTask_networkConfiguration,+ startTask_overrides,+ startTask_propagateTags,+ startTask_referenceId,+ startTask_startedBy,+ startTask_tags,+ startTask_containerInstances,+ startTask_taskDefinition,++ -- * Destructuring the Response+ StartTaskResponse (..),+ newStartTaskResponse,++ -- * Response Lenses+ startTaskResponse_failures,+ startTaskResponse_tasks,+ startTaskResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newStartTask' smart constructor.+data StartTask = StartTask'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster where+ -- to start your task. If you do not specify a cluster, the default cluster+ -- is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | Specifies whether to use Amazon ECS managed tags for the task. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ enableECSManagedTags :: Prelude.Maybe Prelude.Bool,+ -- | Whether or not the execute command functionality is enabled for the+ -- task. If @true@, this enables execute command functionality on all+ -- containers in the task.+ enableExecuteCommand :: Prelude.Maybe Prelude.Bool,+ -- | The name of the task group to associate with the task. The default value+ -- is the family name of the task definition (for example,+ -- family:my-family-name).+ group' :: Prelude.Maybe Prelude.Text,+ -- | The VPC subnet and security group configuration for tasks that receive+ -- their own elastic network interface by using the @awsvpc@ networking+ -- mode.+ networkConfiguration :: Prelude.Maybe NetworkConfiguration,+ -- | A list of container overrides in JSON format that specify the name of a+ -- container in the specified task definition and the overrides it+ -- receives. You can override the default command for a container (that\'s+ -- specified in the task definition or Docker image) with a @command@+ -- override. You can also override existing environment variables (that are+ -- specified in the task definition or Docker image) on a container or add+ -- new environment variables to it with an @environment@ override.+ --+ -- A total of 8192 characters are allowed for overrides. This limit+ -- includes the JSON formatting characters of the override structure.+ overrides :: Prelude.Maybe TaskOverride,+ -- | Specifies whether to propagate the tags from the task definition or the+ -- service to the task. If no value is specified, the tags aren\'t+ -- propagated.+ propagateTags :: Prelude.Maybe PropagateTags,+ -- | The reference ID to use for the task.+ referenceId :: Prelude.Maybe Prelude.Text,+ -- | An optional tag specified when a task is started. For example, if you+ -- automatically trigger a task to run a batch process job, you could apply+ -- a unique identifier for that job to your task with the @startedBy@+ -- parameter. You can then identify which tasks belong to that job by+ -- filtering the results of a ListTasks call with the @startedBy@ value. Up+ -- to 36 letters (uppercase and lowercase), numbers, hyphens (-), and+ -- underscores (_) are allowed.+ --+ -- If a task is started by an Amazon ECS service, the @startedBy@ parameter+ -- contains the deployment ID of the service that starts it.+ startedBy :: Prelude.Maybe Prelude.Text,+ -- | The metadata that you apply to the task to help you categorize and+ -- organize them. Each tag consists of a key and an optional value, both of+ -- which you define.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The container instance IDs or full ARN entries for the container+ -- instances where you would like to place your task. You can specify up to+ -- 10 container instances.+ containerInstances :: [Prelude.Text],+ -- | The @family@ and @revision@ (@family:revision@) or full ARN of the task+ -- definition to start. If a @revision@ isn\'t specified, the latest+ -- @ACTIVE@ revision is used.+ taskDefinition :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartTask' 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:+--+-- 'cluster', 'startTask_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster where+-- to start your task. If you do not specify a cluster, the default cluster+-- is assumed.+--+-- 'enableECSManagedTags', 'startTask_enableECSManagedTags' - Specifies whether to use Amazon ECS managed tags for the task. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'enableExecuteCommand', 'startTask_enableExecuteCommand' - Whether or not the execute command functionality is enabled for the+-- task. If @true@, this enables execute command functionality on all+-- containers in the task.+--+-- 'group'', 'startTask_group' - The name of the task group to associate with the task. The default value+-- is the family name of the task definition (for example,+-- family:my-family-name).+--+-- 'networkConfiguration', 'startTask_networkConfiguration' - The VPC subnet and security group configuration for tasks that receive+-- their own elastic network interface by using the @awsvpc@ networking+-- mode.+--+-- 'overrides', 'startTask_overrides' - A list of container overrides in JSON format that specify the name of a+-- container in the specified task definition and the overrides it+-- receives. You can override the default command for a container (that\'s+-- specified in the task definition or Docker image) with a @command@+-- override. You can also override existing environment variables (that are+-- specified in the task definition or Docker image) on a container or add+-- new environment variables to it with an @environment@ override.+--+-- A total of 8192 characters are allowed for overrides. This limit+-- includes the JSON formatting characters of the override structure.+--+-- 'propagateTags', 'startTask_propagateTags' - Specifies whether to propagate the tags from the task definition or the+-- service to the task. If no value is specified, the tags aren\'t+-- propagated.+--+-- 'referenceId', 'startTask_referenceId' - The reference ID to use for the task.+--+-- 'startedBy', 'startTask_startedBy' - An optional tag specified when a task is started. For example, if you+-- automatically trigger a task to run a batch process job, you could apply+-- a unique identifier for that job to your task with the @startedBy@+-- parameter. You can then identify which tasks belong to that job by+-- filtering the results of a ListTasks call with the @startedBy@ value. Up+-- to 36 letters (uppercase and lowercase), numbers, hyphens (-), and+-- underscores (_) are allowed.+--+-- If a task is started by an Amazon ECS service, the @startedBy@ parameter+-- contains the deployment ID of the service that starts it.+--+-- 'tags', 'startTask_tags' - The metadata that you apply to the task to help you categorize and+-- organize them. Each tag consists of a key and an optional value, both of+-- which you define.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'containerInstances', 'startTask_containerInstances' - The container instance IDs or full ARN entries for the container+-- instances where you would like to place your task. You can specify up to+-- 10 container instances.+--+-- 'taskDefinition', 'startTask_taskDefinition' - The @family@ and @revision@ (@family:revision@) or full ARN of the task+-- definition to start. If a @revision@ isn\'t specified, the latest+-- @ACTIVE@ revision is used.+newStartTask ::+ -- | 'taskDefinition'+ Prelude.Text ->+ StartTask+newStartTask pTaskDefinition_ =+ StartTask'+ { cluster = Prelude.Nothing,+ enableECSManagedTags = Prelude.Nothing,+ enableExecuteCommand = Prelude.Nothing,+ group' = Prelude.Nothing,+ networkConfiguration = Prelude.Nothing,+ overrides = Prelude.Nothing,+ propagateTags = Prelude.Nothing,+ referenceId = Prelude.Nothing,+ startedBy = Prelude.Nothing,+ tags = Prelude.Nothing,+ containerInstances = Prelude.mempty,+ taskDefinition = pTaskDefinition_+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster where+-- to start your task. If you do not specify a cluster, the default cluster+-- is assumed.+startTask_cluster :: Lens.Lens' StartTask (Prelude.Maybe Prelude.Text)+startTask_cluster = Lens.lens (\StartTask' {cluster} -> cluster) (\s@StartTask' {} a -> s {cluster = a} :: StartTask)++-- | Specifies whether to use Amazon ECS managed tags for the task. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+-- in the /Amazon Elastic Container Service Developer Guide/.+startTask_enableECSManagedTags :: Lens.Lens' StartTask (Prelude.Maybe Prelude.Bool)+startTask_enableECSManagedTags = Lens.lens (\StartTask' {enableECSManagedTags} -> enableECSManagedTags) (\s@StartTask' {} a -> s {enableECSManagedTags = a} :: StartTask)++-- | Whether or not the execute command functionality is enabled for the+-- task. If @true@, this enables execute command functionality on all+-- containers in the task.+startTask_enableExecuteCommand :: Lens.Lens' StartTask (Prelude.Maybe Prelude.Bool)+startTask_enableExecuteCommand = Lens.lens (\StartTask' {enableExecuteCommand} -> enableExecuteCommand) (\s@StartTask' {} a -> s {enableExecuteCommand = a} :: StartTask)++-- | The name of the task group to associate with the task. The default value+-- is the family name of the task definition (for example,+-- family:my-family-name).+startTask_group :: Lens.Lens' StartTask (Prelude.Maybe Prelude.Text)+startTask_group = Lens.lens (\StartTask' {group'} -> group') (\s@StartTask' {} a -> s {group' = a} :: StartTask)++-- | The VPC subnet and security group configuration for tasks that receive+-- their own elastic network interface by using the @awsvpc@ networking+-- mode.+startTask_networkConfiguration :: Lens.Lens' StartTask (Prelude.Maybe NetworkConfiguration)+startTask_networkConfiguration = Lens.lens (\StartTask' {networkConfiguration} -> networkConfiguration) (\s@StartTask' {} a -> s {networkConfiguration = a} :: StartTask)++-- | A list of container overrides in JSON format that specify the name of a+-- container in the specified task definition and the overrides it+-- receives. You can override the default command for a container (that\'s+-- specified in the task definition or Docker image) with a @command@+-- override. You can also override existing environment variables (that are+-- specified in the task definition or Docker image) on a container or add+-- new environment variables to it with an @environment@ override.+--+-- A total of 8192 characters are allowed for overrides. This limit+-- includes the JSON formatting characters of the override structure.+startTask_overrides :: Lens.Lens' StartTask (Prelude.Maybe TaskOverride)+startTask_overrides = Lens.lens (\StartTask' {overrides} -> overrides) (\s@StartTask' {} a -> s {overrides = a} :: StartTask)++-- | Specifies whether to propagate the tags from the task definition or the+-- service to the task. If no value is specified, the tags aren\'t+-- propagated.+startTask_propagateTags :: Lens.Lens' StartTask (Prelude.Maybe PropagateTags)+startTask_propagateTags = Lens.lens (\StartTask' {propagateTags} -> propagateTags) (\s@StartTask' {} a -> s {propagateTags = a} :: StartTask)++-- | The reference ID to use for the task.+startTask_referenceId :: Lens.Lens' StartTask (Prelude.Maybe Prelude.Text)+startTask_referenceId = Lens.lens (\StartTask' {referenceId} -> referenceId) (\s@StartTask' {} a -> s {referenceId = a} :: StartTask)++-- | An optional tag specified when a task is started. For example, if you+-- automatically trigger a task to run a batch process job, you could apply+-- a unique identifier for that job to your task with the @startedBy@+-- parameter. You can then identify which tasks belong to that job by+-- filtering the results of a ListTasks call with the @startedBy@ value. Up+-- to 36 letters (uppercase and lowercase), numbers, hyphens (-), and+-- underscores (_) are allowed.+--+-- If a task is started by an Amazon ECS service, the @startedBy@ parameter+-- contains the deployment ID of the service that starts it.+startTask_startedBy :: Lens.Lens' StartTask (Prelude.Maybe Prelude.Text)+startTask_startedBy = Lens.lens (\StartTask' {startedBy} -> startedBy) (\s@StartTask' {} a -> s {startedBy = a} :: StartTask)++-- | The metadata that you apply to the task to help you categorize and+-- organize them. Each tag consists of a key and an optional value, both of+-- which you define.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+startTask_tags :: Lens.Lens' StartTask (Prelude.Maybe [Tag])+startTask_tags = Lens.lens (\StartTask' {tags} -> tags) (\s@StartTask' {} a -> s {tags = a} :: StartTask) Prelude.. Lens.mapping Lens.coerced++-- | The container instance IDs or full ARN entries for the container+-- instances where you would like to place your task. You can specify up to+-- 10 container instances.+startTask_containerInstances :: Lens.Lens' StartTask [Prelude.Text]+startTask_containerInstances = Lens.lens (\StartTask' {containerInstances} -> containerInstances) (\s@StartTask' {} a -> s {containerInstances = a} :: StartTask) Prelude.. Lens.coerced++-- | The @family@ and @revision@ (@family:revision@) or full ARN of the task+-- definition to start. If a @revision@ isn\'t specified, the latest+-- @ACTIVE@ revision is used.+startTask_taskDefinition :: Lens.Lens' StartTask Prelude.Text+startTask_taskDefinition = Lens.lens (\StartTask' {taskDefinition} -> taskDefinition) (\s@StartTask' {} a -> s {taskDefinition = a} :: StartTask)++instance Core.AWSRequest StartTask where+ type AWSResponse StartTask = StartTaskResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ StartTaskResponse'+ Prelude.<$> (x Data..?> "failures" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "tasks" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable StartTask where+ hashWithSalt _salt StartTask' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` enableECSManagedTags+ `Prelude.hashWithSalt` enableExecuteCommand+ `Prelude.hashWithSalt` group'+ `Prelude.hashWithSalt` networkConfiguration+ `Prelude.hashWithSalt` overrides+ `Prelude.hashWithSalt` propagateTags+ `Prelude.hashWithSalt` referenceId+ `Prelude.hashWithSalt` startedBy+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` containerInstances+ `Prelude.hashWithSalt` taskDefinition++instance Prelude.NFData StartTask where+ rnf StartTask' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf enableECSManagedTags+ `Prelude.seq` Prelude.rnf enableExecuteCommand+ `Prelude.seq` Prelude.rnf group'+ `Prelude.seq` Prelude.rnf networkConfiguration+ `Prelude.seq` Prelude.rnf overrides+ `Prelude.seq` Prelude.rnf propagateTags+ `Prelude.seq` Prelude.rnf referenceId+ `Prelude.seq` Prelude.rnf startedBy+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf containerInstances+ `Prelude.seq` Prelude.rnf taskDefinition++instance Data.ToHeaders StartTask where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.StartTask" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StartTask where+ toJSON StartTask' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("enableECSManagedTags" Data..=)+ Prelude.<$> enableECSManagedTags,+ ("enableExecuteCommand" Data..=)+ Prelude.<$> enableExecuteCommand,+ ("group" Data..=) Prelude.<$> group',+ ("networkConfiguration" Data..=)+ Prelude.<$> networkConfiguration,+ ("overrides" Data..=) Prelude.<$> overrides,+ ("propagateTags" Data..=) Prelude.<$> propagateTags,+ ("referenceId" Data..=) Prelude.<$> referenceId,+ ("startedBy" Data..=) Prelude.<$> startedBy,+ ("tags" Data..=) Prelude.<$> tags,+ Prelude.Just+ ("containerInstances" Data..= containerInstances),+ Prelude.Just+ ("taskDefinition" Data..= taskDefinition)+ ]+ )++instance Data.ToPath StartTask where+ toPath = Prelude.const "/"++instance Data.ToQuery StartTask where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStartTaskResponse' smart constructor.+data StartTaskResponse = StartTaskResponse'+ { -- | Any failures associated with the call.+ failures :: Prelude.Maybe [Failure],+ -- | A full description of the tasks that were started. Each task that was+ -- successfully placed on your container instances is described.+ tasks :: Prelude.Maybe [Task],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartTaskResponse' 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:+--+-- 'failures', 'startTaskResponse_failures' - Any failures associated with the call.+--+-- 'tasks', 'startTaskResponse_tasks' - A full description of the tasks that were started. Each task that was+-- successfully placed on your container instances is described.+--+-- 'httpStatus', 'startTaskResponse_httpStatus' - The response's http status code.+newStartTaskResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ StartTaskResponse+newStartTaskResponse pHttpStatus_ =+ StartTaskResponse'+ { failures = Prelude.Nothing,+ tasks = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Any failures associated with the call.+startTaskResponse_failures :: Lens.Lens' StartTaskResponse (Prelude.Maybe [Failure])+startTaskResponse_failures = Lens.lens (\StartTaskResponse' {failures} -> failures) (\s@StartTaskResponse' {} a -> s {failures = a} :: StartTaskResponse) Prelude.. Lens.mapping Lens.coerced++-- | A full description of the tasks that were started. Each task that was+-- successfully placed on your container instances is described.+startTaskResponse_tasks :: Lens.Lens' StartTaskResponse (Prelude.Maybe [Task])+startTaskResponse_tasks = Lens.lens (\StartTaskResponse' {tasks} -> tasks) (\s@StartTaskResponse' {} a -> s {tasks = a} :: StartTaskResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+startTaskResponse_httpStatus :: Lens.Lens' StartTaskResponse Prelude.Int+startTaskResponse_httpStatus = Lens.lens (\StartTaskResponse' {httpStatus} -> httpStatus) (\s@StartTaskResponse' {} a -> s {httpStatus = a} :: StartTaskResponse)++instance Prelude.NFData StartTaskResponse where+ rnf StartTaskResponse' {..} =+ Prelude.rnf failures+ `Prelude.seq` Prelude.rnf tasks+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/StopTask.hs view
@@ -0,0 +1,227 @@+{-# 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.ECS.StopTask+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Stops a running task. Any tags associated with the task will be deleted.+--+-- When StopTask is called on a task, the equivalent of @docker stop@ is+-- issued to the containers running in the task. This results in a+-- @SIGTERM@ value and a default 30-second timeout, after which the+-- @SIGKILL@ value is sent and the containers are forcibly stopped. If the+-- container handles the @SIGTERM@ value gracefully and exits within 30+-- seconds from receiving it, no @SIGKILL@ value is sent.+--+-- The default 30-second timeout can be configured on the Amazon ECS+-- container agent with the @ECS_CONTAINER_STOP_TIMEOUT@ variable. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS Container Agent Configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.StopTask+ ( -- * Creating a Request+ StopTask (..),+ newStopTask,++ -- * Request Lenses+ stopTask_cluster,+ stopTask_reason,+ stopTask_task,++ -- * Destructuring the Response+ StopTaskResponse (..),+ newStopTaskResponse,++ -- * Response Lenses+ stopTaskResponse_task,+ stopTaskResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newStopTask' smart constructor.+data StopTask = StopTask'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the task to stop. If you do not specify a cluster, the default+ -- cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | An optional message specified when a task is stopped. For example, if+ -- you\'re using a custom scheduler, you can use this parameter to specify+ -- the reason for stopping the task here, and the message appears in+ -- subsequent DescribeTasks API operations on this task. Up to 255+ -- characters are allowed in this message.+ reason :: Prelude.Maybe Prelude.Text,+ -- | The task ID or full Amazon Resource Name (ARN) of the task to stop.+ task :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StopTask' 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:+--+-- 'cluster', 'stopTask_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the task to stop. If you do not specify a cluster, the default+-- cluster is assumed.+--+-- 'reason', 'stopTask_reason' - An optional message specified when a task is stopped. For example, if+-- you\'re using a custom scheduler, you can use this parameter to specify+-- the reason for stopping the task here, and the message appears in+-- subsequent DescribeTasks API operations on this task. Up to 255+-- characters are allowed in this message.+--+-- 'task', 'stopTask_task' - The task ID or full Amazon Resource Name (ARN) of the task to stop.+newStopTask ::+ -- | 'task'+ Prelude.Text ->+ StopTask+newStopTask pTask_ =+ StopTask'+ { cluster = Prelude.Nothing,+ reason = Prelude.Nothing,+ task = pTask_+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the task to stop. If you do not specify a cluster, the default+-- cluster is assumed.+stopTask_cluster :: Lens.Lens' StopTask (Prelude.Maybe Prelude.Text)+stopTask_cluster = Lens.lens (\StopTask' {cluster} -> cluster) (\s@StopTask' {} a -> s {cluster = a} :: StopTask)++-- | An optional message specified when a task is stopped. For example, if+-- you\'re using a custom scheduler, you can use this parameter to specify+-- the reason for stopping the task here, and the message appears in+-- subsequent DescribeTasks API operations on this task. Up to 255+-- characters are allowed in this message.+stopTask_reason :: Lens.Lens' StopTask (Prelude.Maybe Prelude.Text)+stopTask_reason = Lens.lens (\StopTask' {reason} -> reason) (\s@StopTask' {} a -> s {reason = a} :: StopTask)++-- | The task ID or full Amazon Resource Name (ARN) of the task to stop.+stopTask_task :: Lens.Lens' StopTask Prelude.Text+stopTask_task = Lens.lens (\StopTask' {task} -> task) (\s@StopTask' {} a -> s {task = a} :: StopTask)++instance Core.AWSRequest StopTask where+ type AWSResponse StopTask = StopTaskResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ StopTaskResponse'+ Prelude.<$> (x Data..?> "task")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable StopTask where+ hashWithSalt _salt StopTask' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` reason+ `Prelude.hashWithSalt` task++instance Prelude.NFData StopTask where+ rnf StopTask' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf reason+ `Prelude.seq` Prelude.rnf task++instance Data.ToHeaders StopTask where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.StopTask" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StopTask where+ toJSON StopTask' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("reason" Data..=) Prelude.<$> reason,+ Prelude.Just ("task" Data..= task)+ ]+ )++instance Data.ToPath StopTask where+ toPath = Prelude.const "/"++instance Data.ToQuery StopTask where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStopTaskResponse' smart constructor.+data StopTaskResponse = StopTaskResponse'+ { -- | The task that was stopped.+ task :: Prelude.Maybe Task,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StopTaskResponse' 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:+--+-- 'task', 'stopTaskResponse_task' - The task that was stopped.+--+-- 'httpStatus', 'stopTaskResponse_httpStatus' - The response's http status code.+newStopTaskResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ StopTaskResponse+newStopTaskResponse pHttpStatus_ =+ StopTaskResponse'+ { task = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The task that was stopped.+stopTaskResponse_task :: Lens.Lens' StopTaskResponse (Prelude.Maybe Task)+stopTaskResponse_task = Lens.lens (\StopTaskResponse' {task} -> task) (\s@StopTaskResponse' {} a -> s {task = a} :: StopTaskResponse)++-- | The response's http status code.+stopTaskResponse_httpStatus :: Lens.Lens' StopTaskResponse Prelude.Int+stopTaskResponse_httpStatus = Lens.lens (\StopTaskResponse' {httpStatus} -> httpStatus) (\s@StopTaskResponse' {} a -> s {httpStatus = a} :: StopTaskResponse)++instance Prelude.NFData StopTaskResponse where+ rnf StopTaskResponse' {..} =+ Prelude.rnf task+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/SubmitAttachmentStateChanges.hs view
@@ -0,0 +1,197 @@+{-# 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.ECS.SubmitAttachmentStateChanges+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This action is only used by the Amazon ECS agent, and it is not intended+-- for use outside of the agent.+--+-- Sent to acknowledge that an attachment changed states.+module Amazonka.ECS.SubmitAttachmentStateChanges+ ( -- * Creating a Request+ SubmitAttachmentStateChanges (..),+ newSubmitAttachmentStateChanges,++ -- * Request Lenses+ submitAttachmentStateChanges_cluster,+ submitAttachmentStateChanges_attachments,++ -- * Destructuring the Response+ SubmitAttachmentStateChangesResponse (..),+ newSubmitAttachmentStateChangesResponse,++ -- * Response Lenses+ submitAttachmentStateChangesResponse_acknowledgment,+ submitAttachmentStateChangesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newSubmitAttachmentStateChanges' smart constructor.+data SubmitAttachmentStateChanges = SubmitAttachmentStateChanges'+ { -- | The short name or full ARN of the cluster that hosts the container+ -- instance the attachment belongs to.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | Any attachments associated with the state change request.+ attachments :: [AttachmentStateChange]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SubmitAttachmentStateChanges' 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:+--+-- 'cluster', 'submitAttachmentStateChanges_cluster' - The short name or full ARN of the cluster that hosts the container+-- instance the attachment belongs to.+--+-- 'attachments', 'submitAttachmentStateChanges_attachments' - Any attachments associated with the state change request.+newSubmitAttachmentStateChanges ::+ SubmitAttachmentStateChanges+newSubmitAttachmentStateChanges =+ SubmitAttachmentStateChanges'+ { cluster =+ Prelude.Nothing,+ attachments = Prelude.mempty+ }++-- | The short name or full ARN of the cluster that hosts the container+-- instance the attachment belongs to.+submitAttachmentStateChanges_cluster :: Lens.Lens' SubmitAttachmentStateChanges (Prelude.Maybe Prelude.Text)+submitAttachmentStateChanges_cluster = Lens.lens (\SubmitAttachmentStateChanges' {cluster} -> cluster) (\s@SubmitAttachmentStateChanges' {} a -> s {cluster = a} :: SubmitAttachmentStateChanges)++-- | Any attachments associated with the state change request.+submitAttachmentStateChanges_attachments :: Lens.Lens' SubmitAttachmentStateChanges [AttachmentStateChange]+submitAttachmentStateChanges_attachments = Lens.lens (\SubmitAttachmentStateChanges' {attachments} -> attachments) (\s@SubmitAttachmentStateChanges' {} a -> s {attachments = a} :: SubmitAttachmentStateChanges) Prelude.. Lens.coerced++instance Core.AWSRequest SubmitAttachmentStateChanges where+ type+ AWSResponse SubmitAttachmentStateChanges =+ SubmitAttachmentStateChangesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ SubmitAttachmentStateChangesResponse'+ Prelude.<$> (x Data..?> "acknowledgment")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ SubmitAttachmentStateChanges+ where+ hashWithSalt _salt SubmitAttachmentStateChanges' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` attachments++instance Prelude.NFData SubmitAttachmentStateChanges where+ rnf SubmitAttachmentStateChanges' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf attachments++instance Data.ToHeaders SubmitAttachmentStateChanges where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.SubmitAttachmentStateChanges" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON SubmitAttachmentStateChanges where+ toJSON SubmitAttachmentStateChanges' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ Prelude.Just ("attachments" Data..= attachments)+ ]+ )++instance Data.ToPath SubmitAttachmentStateChanges where+ toPath = Prelude.const "/"++instance Data.ToQuery SubmitAttachmentStateChanges where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newSubmitAttachmentStateChangesResponse' smart constructor.+data SubmitAttachmentStateChangesResponse = SubmitAttachmentStateChangesResponse'+ { -- | Acknowledgement of the state change.+ acknowledgment :: 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 'SubmitAttachmentStateChangesResponse' 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:+--+-- 'acknowledgment', 'submitAttachmentStateChangesResponse_acknowledgment' - Acknowledgement of the state change.+--+-- 'httpStatus', 'submitAttachmentStateChangesResponse_httpStatus' - The response's http status code.+newSubmitAttachmentStateChangesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ SubmitAttachmentStateChangesResponse+newSubmitAttachmentStateChangesResponse pHttpStatus_ =+ SubmitAttachmentStateChangesResponse'+ { acknowledgment =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Acknowledgement of the state change.+submitAttachmentStateChangesResponse_acknowledgment :: Lens.Lens' SubmitAttachmentStateChangesResponse (Prelude.Maybe Prelude.Text)+submitAttachmentStateChangesResponse_acknowledgment = Lens.lens (\SubmitAttachmentStateChangesResponse' {acknowledgment} -> acknowledgment) (\s@SubmitAttachmentStateChangesResponse' {} a -> s {acknowledgment = a} :: SubmitAttachmentStateChangesResponse)++-- | The response's http status code.+submitAttachmentStateChangesResponse_httpStatus :: Lens.Lens' SubmitAttachmentStateChangesResponse Prelude.Int+submitAttachmentStateChangesResponse_httpStatus = Lens.lens (\SubmitAttachmentStateChangesResponse' {httpStatus} -> httpStatus) (\s@SubmitAttachmentStateChangesResponse' {} a -> s {httpStatus = a} :: SubmitAttachmentStateChangesResponse)++instance+ Prelude.NFData+ SubmitAttachmentStateChangesResponse+ where+ rnf SubmitAttachmentStateChangesResponse' {..} =+ Prelude.rnf acknowledgment+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/SubmitContainerStateChange.hs view
@@ -0,0 +1,273 @@+{-# 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.ECS.SubmitContainerStateChange+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This action is only used by the Amazon ECS agent, and it is not intended+-- for use outside of the agent.+--+-- Sent to acknowledge that a container changed states.+module Amazonka.ECS.SubmitContainerStateChange+ ( -- * Creating a Request+ SubmitContainerStateChange (..),+ newSubmitContainerStateChange,++ -- * Request Lenses+ submitContainerStateChange_cluster,+ submitContainerStateChange_containerName,+ submitContainerStateChange_exitCode,+ submitContainerStateChange_networkBindings,+ submitContainerStateChange_reason,+ submitContainerStateChange_runtimeId,+ submitContainerStateChange_status,+ submitContainerStateChange_task,++ -- * Destructuring the Response+ SubmitContainerStateChangeResponse (..),+ newSubmitContainerStateChangeResponse,++ -- * Response Lenses+ submitContainerStateChangeResponse_acknowledgment,+ submitContainerStateChangeResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newSubmitContainerStateChange' smart constructor.+data SubmitContainerStateChange = SubmitContainerStateChange'+ { -- | The short name or full ARN of the cluster that hosts the container.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | The name of the container.+ containerName :: Prelude.Maybe Prelude.Text,+ -- | The exit code that\'s returned for the state change request.+ exitCode :: Prelude.Maybe Prelude.Int,+ -- | The network bindings of the container.+ networkBindings :: Prelude.Maybe [NetworkBinding],+ -- | The reason for the state change request.+ reason :: Prelude.Maybe Prelude.Text,+ -- | The ID of the Docker container.+ runtimeId :: Prelude.Maybe Prelude.Text,+ -- | The status of the state change request.+ status :: Prelude.Maybe Prelude.Text,+ -- | The task ID or full Amazon Resource Name (ARN) of the task that hosts+ -- the container.+ task :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SubmitContainerStateChange' 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:+--+-- 'cluster', 'submitContainerStateChange_cluster' - The short name or full ARN of the cluster that hosts the container.+--+-- 'containerName', 'submitContainerStateChange_containerName' - The name of the container.+--+-- 'exitCode', 'submitContainerStateChange_exitCode' - The exit code that\'s returned for the state change request.+--+-- 'networkBindings', 'submitContainerStateChange_networkBindings' - The network bindings of the container.+--+-- 'reason', 'submitContainerStateChange_reason' - The reason for the state change request.+--+-- 'runtimeId', 'submitContainerStateChange_runtimeId' - The ID of the Docker container.+--+-- 'status', 'submitContainerStateChange_status' - The status of the state change request.+--+-- 'task', 'submitContainerStateChange_task' - The task ID or full Amazon Resource Name (ARN) of the task that hosts+-- the container.+newSubmitContainerStateChange ::+ SubmitContainerStateChange+newSubmitContainerStateChange =+ SubmitContainerStateChange'+ { cluster =+ Prelude.Nothing,+ containerName = Prelude.Nothing,+ exitCode = Prelude.Nothing,+ networkBindings = Prelude.Nothing,+ reason = Prelude.Nothing,+ runtimeId = Prelude.Nothing,+ status = Prelude.Nothing,+ task = Prelude.Nothing+ }++-- | The short name or full ARN of the cluster that hosts the container.+submitContainerStateChange_cluster :: Lens.Lens' SubmitContainerStateChange (Prelude.Maybe Prelude.Text)+submitContainerStateChange_cluster = Lens.lens (\SubmitContainerStateChange' {cluster} -> cluster) (\s@SubmitContainerStateChange' {} a -> s {cluster = a} :: SubmitContainerStateChange)++-- | The name of the container.+submitContainerStateChange_containerName :: Lens.Lens' SubmitContainerStateChange (Prelude.Maybe Prelude.Text)+submitContainerStateChange_containerName = Lens.lens (\SubmitContainerStateChange' {containerName} -> containerName) (\s@SubmitContainerStateChange' {} a -> s {containerName = a} :: SubmitContainerStateChange)++-- | The exit code that\'s returned for the state change request.+submitContainerStateChange_exitCode :: Lens.Lens' SubmitContainerStateChange (Prelude.Maybe Prelude.Int)+submitContainerStateChange_exitCode = Lens.lens (\SubmitContainerStateChange' {exitCode} -> exitCode) (\s@SubmitContainerStateChange' {} a -> s {exitCode = a} :: SubmitContainerStateChange)++-- | The network bindings of the container.+submitContainerStateChange_networkBindings :: Lens.Lens' SubmitContainerStateChange (Prelude.Maybe [NetworkBinding])+submitContainerStateChange_networkBindings = Lens.lens (\SubmitContainerStateChange' {networkBindings} -> networkBindings) (\s@SubmitContainerStateChange' {} a -> s {networkBindings = a} :: SubmitContainerStateChange) Prelude.. Lens.mapping Lens.coerced++-- | The reason for the state change request.+submitContainerStateChange_reason :: Lens.Lens' SubmitContainerStateChange (Prelude.Maybe Prelude.Text)+submitContainerStateChange_reason = Lens.lens (\SubmitContainerStateChange' {reason} -> reason) (\s@SubmitContainerStateChange' {} a -> s {reason = a} :: SubmitContainerStateChange)++-- | The ID of the Docker container.+submitContainerStateChange_runtimeId :: Lens.Lens' SubmitContainerStateChange (Prelude.Maybe Prelude.Text)+submitContainerStateChange_runtimeId = Lens.lens (\SubmitContainerStateChange' {runtimeId} -> runtimeId) (\s@SubmitContainerStateChange' {} a -> s {runtimeId = a} :: SubmitContainerStateChange)++-- | The status of the state change request.+submitContainerStateChange_status :: Lens.Lens' SubmitContainerStateChange (Prelude.Maybe Prelude.Text)+submitContainerStateChange_status = Lens.lens (\SubmitContainerStateChange' {status} -> status) (\s@SubmitContainerStateChange' {} a -> s {status = a} :: SubmitContainerStateChange)++-- | The task ID or full Amazon Resource Name (ARN) of the task that hosts+-- the container.+submitContainerStateChange_task :: Lens.Lens' SubmitContainerStateChange (Prelude.Maybe Prelude.Text)+submitContainerStateChange_task = Lens.lens (\SubmitContainerStateChange' {task} -> task) (\s@SubmitContainerStateChange' {} a -> s {task = a} :: SubmitContainerStateChange)++instance Core.AWSRequest SubmitContainerStateChange where+ type+ AWSResponse SubmitContainerStateChange =+ SubmitContainerStateChangeResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ SubmitContainerStateChangeResponse'+ Prelude.<$> (x Data..?> "acknowledgment")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable SubmitContainerStateChange where+ hashWithSalt _salt SubmitContainerStateChange' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` containerName+ `Prelude.hashWithSalt` exitCode+ `Prelude.hashWithSalt` networkBindings+ `Prelude.hashWithSalt` reason+ `Prelude.hashWithSalt` runtimeId+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` task++instance Prelude.NFData SubmitContainerStateChange where+ rnf SubmitContainerStateChange' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf containerName+ `Prelude.seq` Prelude.rnf exitCode+ `Prelude.seq` Prelude.rnf networkBindings+ `Prelude.seq` Prelude.rnf reason+ `Prelude.seq` Prelude.rnf runtimeId+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf task++instance Data.ToHeaders SubmitContainerStateChange where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.SubmitContainerStateChange" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON SubmitContainerStateChange where+ toJSON SubmitContainerStateChange' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ ("containerName" Data..=) Prelude.<$> containerName,+ ("exitCode" Data..=) Prelude.<$> exitCode,+ ("networkBindings" Data..=)+ Prelude.<$> networkBindings,+ ("reason" Data..=) Prelude.<$> reason,+ ("runtimeId" Data..=) Prelude.<$> runtimeId,+ ("status" Data..=) Prelude.<$> status,+ ("task" Data..=) Prelude.<$> task+ ]+ )++instance Data.ToPath SubmitContainerStateChange where+ toPath = Prelude.const "/"++instance Data.ToQuery SubmitContainerStateChange where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newSubmitContainerStateChangeResponse' smart constructor.+data SubmitContainerStateChangeResponse = SubmitContainerStateChangeResponse'+ { -- | Acknowledgement of the state change.+ acknowledgment :: 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 'SubmitContainerStateChangeResponse' 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:+--+-- 'acknowledgment', 'submitContainerStateChangeResponse_acknowledgment' - Acknowledgement of the state change.+--+-- 'httpStatus', 'submitContainerStateChangeResponse_httpStatus' - The response's http status code.+newSubmitContainerStateChangeResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ SubmitContainerStateChangeResponse+newSubmitContainerStateChangeResponse pHttpStatus_ =+ SubmitContainerStateChangeResponse'+ { acknowledgment =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Acknowledgement of the state change.+submitContainerStateChangeResponse_acknowledgment :: Lens.Lens' SubmitContainerStateChangeResponse (Prelude.Maybe Prelude.Text)+submitContainerStateChangeResponse_acknowledgment = Lens.lens (\SubmitContainerStateChangeResponse' {acknowledgment} -> acknowledgment) (\s@SubmitContainerStateChangeResponse' {} a -> s {acknowledgment = a} :: SubmitContainerStateChangeResponse)++-- | The response's http status code.+submitContainerStateChangeResponse_httpStatus :: Lens.Lens' SubmitContainerStateChangeResponse Prelude.Int+submitContainerStateChangeResponse_httpStatus = Lens.lens (\SubmitContainerStateChangeResponse' {httpStatus} -> httpStatus) (\s@SubmitContainerStateChangeResponse' {} a -> s {httpStatus = a} :: SubmitContainerStateChangeResponse)++instance+ Prelude.NFData+ SubmitContainerStateChangeResponse+ where+ rnf SubmitContainerStateChangeResponse' {..} =+ Prelude.rnf acknowledgment+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/SubmitTaskStateChange.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.ECS.SubmitTaskStateChange+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This action is only used by the Amazon ECS agent, and it is not intended+-- for use outside of the agent.+--+-- Sent to acknowledge that a task changed states.+module Amazonka.ECS.SubmitTaskStateChange+ ( -- * Creating a Request+ SubmitTaskStateChange (..),+ newSubmitTaskStateChange,++ -- * Request Lenses+ submitTaskStateChange_attachments,+ submitTaskStateChange_cluster,+ submitTaskStateChange_containers,+ submitTaskStateChange_executionStoppedAt,+ submitTaskStateChange_managedAgents,+ submitTaskStateChange_pullStartedAt,+ submitTaskStateChange_pullStoppedAt,+ submitTaskStateChange_reason,+ submitTaskStateChange_status,+ submitTaskStateChange_task,++ -- * Destructuring the Response+ SubmitTaskStateChangeResponse (..),+ newSubmitTaskStateChangeResponse,++ -- * Response Lenses+ submitTaskStateChangeResponse_acknowledgment,+ submitTaskStateChangeResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newSubmitTaskStateChange' smart constructor.+data SubmitTaskStateChange = SubmitTaskStateChange'+ { -- | Any attachments associated with the state change request.+ attachments :: Prelude.Maybe [AttachmentStateChange],+ -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the task.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | Any containers that\'s associated with the state change request.+ containers :: Prelude.Maybe [ContainerStateChange],+ -- | The Unix timestamp for the time when the task execution stopped.+ executionStoppedAt :: Prelude.Maybe Data.POSIX,+ -- | The details for the managed agent that\'s associated with the task.+ managedAgents :: Prelude.Maybe [ManagedAgentStateChange],+ -- | The Unix timestamp for the time when the container image pull started.+ pullStartedAt :: Prelude.Maybe Data.POSIX,+ -- | The Unix timestamp for the time when the container image pull completed.+ pullStoppedAt :: Prelude.Maybe Data.POSIX,+ -- | The reason for the state change request.+ reason :: Prelude.Maybe Prelude.Text,+ -- | The status of the state change request.+ status :: Prelude.Maybe Prelude.Text,+ -- | The task ID or full ARN of the task in the state change request.+ task :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SubmitTaskStateChange' 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:+--+-- 'attachments', 'submitTaskStateChange_attachments' - Any attachments associated with the state change request.+--+-- 'cluster', 'submitTaskStateChange_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the task.+--+-- 'containers', 'submitTaskStateChange_containers' - Any containers that\'s associated with the state change request.+--+-- 'executionStoppedAt', 'submitTaskStateChange_executionStoppedAt' - The Unix timestamp for the time when the task execution stopped.+--+-- 'managedAgents', 'submitTaskStateChange_managedAgents' - The details for the managed agent that\'s associated with the task.+--+-- 'pullStartedAt', 'submitTaskStateChange_pullStartedAt' - The Unix timestamp for the time when the container image pull started.+--+-- 'pullStoppedAt', 'submitTaskStateChange_pullStoppedAt' - The Unix timestamp for the time when the container image pull completed.+--+-- 'reason', 'submitTaskStateChange_reason' - The reason for the state change request.+--+-- 'status', 'submitTaskStateChange_status' - The status of the state change request.+--+-- 'task', 'submitTaskStateChange_task' - The task ID or full ARN of the task in the state change request.+newSubmitTaskStateChange ::+ SubmitTaskStateChange+newSubmitTaskStateChange =+ SubmitTaskStateChange'+ { attachments =+ Prelude.Nothing,+ cluster = Prelude.Nothing,+ containers = Prelude.Nothing,+ executionStoppedAt = Prelude.Nothing,+ managedAgents = Prelude.Nothing,+ pullStartedAt = Prelude.Nothing,+ pullStoppedAt = Prelude.Nothing,+ reason = Prelude.Nothing,+ status = Prelude.Nothing,+ task = Prelude.Nothing+ }++-- | Any attachments associated with the state change request.+submitTaskStateChange_attachments :: Lens.Lens' SubmitTaskStateChange (Prelude.Maybe [AttachmentStateChange])+submitTaskStateChange_attachments = Lens.lens (\SubmitTaskStateChange' {attachments} -> attachments) (\s@SubmitTaskStateChange' {} a -> s {attachments = a} :: SubmitTaskStateChange) Prelude.. Lens.mapping Lens.coerced++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the task.+submitTaskStateChange_cluster :: Lens.Lens' SubmitTaskStateChange (Prelude.Maybe Prelude.Text)+submitTaskStateChange_cluster = Lens.lens (\SubmitTaskStateChange' {cluster} -> cluster) (\s@SubmitTaskStateChange' {} a -> s {cluster = a} :: SubmitTaskStateChange)++-- | Any containers that\'s associated with the state change request.+submitTaskStateChange_containers :: Lens.Lens' SubmitTaskStateChange (Prelude.Maybe [ContainerStateChange])+submitTaskStateChange_containers = Lens.lens (\SubmitTaskStateChange' {containers} -> containers) (\s@SubmitTaskStateChange' {} a -> s {containers = a} :: SubmitTaskStateChange) Prelude.. Lens.mapping Lens.coerced++-- | The Unix timestamp for the time when the task execution stopped.+submitTaskStateChange_executionStoppedAt :: Lens.Lens' SubmitTaskStateChange (Prelude.Maybe Prelude.UTCTime)+submitTaskStateChange_executionStoppedAt = Lens.lens (\SubmitTaskStateChange' {executionStoppedAt} -> executionStoppedAt) (\s@SubmitTaskStateChange' {} a -> s {executionStoppedAt = a} :: SubmitTaskStateChange) Prelude.. Lens.mapping Data._Time++-- | The details for the managed agent that\'s associated with the task.+submitTaskStateChange_managedAgents :: Lens.Lens' SubmitTaskStateChange (Prelude.Maybe [ManagedAgentStateChange])+submitTaskStateChange_managedAgents = Lens.lens (\SubmitTaskStateChange' {managedAgents} -> managedAgents) (\s@SubmitTaskStateChange' {} a -> s {managedAgents = a} :: SubmitTaskStateChange) Prelude.. Lens.mapping Lens.coerced++-- | The Unix timestamp for the time when the container image pull started.+submitTaskStateChange_pullStartedAt :: Lens.Lens' SubmitTaskStateChange (Prelude.Maybe Prelude.UTCTime)+submitTaskStateChange_pullStartedAt = Lens.lens (\SubmitTaskStateChange' {pullStartedAt} -> pullStartedAt) (\s@SubmitTaskStateChange' {} a -> s {pullStartedAt = a} :: SubmitTaskStateChange) Prelude.. Lens.mapping Data._Time++-- | The Unix timestamp for the time when the container image pull completed.+submitTaskStateChange_pullStoppedAt :: Lens.Lens' SubmitTaskStateChange (Prelude.Maybe Prelude.UTCTime)+submitTaskStateChange_pullStoppedAt = Lens.lens (\SubmitTaskStateChange' {pullStoppedAt} -> pullStoppedAt) (\s@SubmitTaskStateChange' {} a -> s {pullStoppedAt = a} :: SubmitTaskStateChange) Prelude.. Lens.mapping Data._Time++-- | The reason for the state change request.+submitTaskStateChange_reason :: Lens.Lens' SubmitTaskStateChange (Prelude.Maybe Prelude.Text)+submitTaskStateChange_reason = Lens.lens (\SubmitTaskStateChange' {reason} -> reason) (\s@SubmitTaskStateChange' {} a -> s {reason = a} :: SubmitTaskStateChange)++-- | The status of the state change request.+submitTaskStateChange_status :: Lens.Lens' SubmitTaskStateChange (Prelude.Maybe Prelude.Text)+submitTaskStateChange_status = Lens.lens (\SubmitTaskStateChange' {status} -> status) (\s@SubmitTaskStateChange' {} a -> s {status = a} :: SubmitTaskStateChange)++-- | The task ID or full ARN of the task in the state change request.+submitTaskStateChange_task :: Lens.Lens' SubmitTaskStateChange (Prelude.Maybe Prelude.Text)+submitTaskStateChange_task = Lens.lens (\SubmitTaskStateChange' {task} -> task) (\s@SubmitTaskStateChange' {} a -> s {task = a} :: SubmitTaskStateChange)++instance Core.AWSRequest SubmitTaskStateChange where+ type+ AWSResponse SubmitTaskStateChange =+ SubmitTaskStateChangeResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ SubmitTaskStateChangeResponse'+ Prelude.<$> (x Data..?> "acknowledgment")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable SubmitTaskStateChange where+ hashWithSalt _salt SubmitTaskStateChange' {..} =+ _salt+ `Prelude.hashWithSalt` attachments+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` containers+ `Prelude.hashWithSalt` executionStoppedAt+ `Prelude.hashWithSalt` managedAgents+ `Prelude.hashWithSalt` pullStartedAt+ `Prelude.hashWithSalt` pullStoppedAt+ `Prelude.hashWithSalt` reason+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` task++instance Prelude.NFData SubmitTaskStateChange where+ rnf SubmitTaskStateChange' {..} =+ Prelude.rnf attachments+ `Prelude.seq` Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf containers+ `Prelude.seq` Prelude.rnf executionStoppedAt+ `Prelude.seq` Prelude.rnf managedAgents+ `Prelude.seq` Prelude.rnf pullStartedAt+ `Prelude.seq` Prelude.rnf pullStoppedAt+ `Prelude.seq` Prelude.rnf reason+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf task++instance Data.ToHeaders SubmitTaskStateChange where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.SubmitTaskStateChange" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON SubmitTaskStateChange where+ toJSON SubmitTaskStateChange' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("attachments" Data..=) Prelude.<$> attachments,+ ("cluster" Data..=) Prelude.<$> cluster,+ ("containers" Data..=) Prelude.<$> containers,+ ("executionStoppedAt" Data..=)+ Prelude.<$> executionStoppedAt,+ ("managedAgents" Data..=) Prelude.<$> managedAgents,+ ("pullStartedAt" Data..=) Prelude.<$> pullStartedAt,+ ("pullStoppedAt" Data..=) Prelude.<$> pullStoppedAt,+ ("reason" Data..=) Prelude.<$> reason,+ ("status" Data..=) Prelude.<$> status,+ ("task" Data..=) Prelude.<$> task+ ]+ )++instance Data.ToPath SubmitTaskStateChange where+ toPath = Prelude.const "/"++instance Data.ToQuery SubmitTaskStateChange where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newSubmitTaskStateChangeResponse' smart constructor.+data SubmitTaskStateChangeResponse = SubmitTaskStateChangeResponse'+ { -- | Acknowledgement of the state change.+ acknowledgment :: 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 'SubmitTaskStateChangeResponse' 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:+--+-- 'acknowledgment', 'submitTaskStateChangeResponse_acknowledgment' - Acknowledgement of the state change.+--+-- 'httpStatus', 'submitTaskStateChangeResponse_httpStatus' - The response's http status code.+newSubmitTaskStateChangeResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ SubmitTaskStateChangeResponse+newSubmitTaskStateChangeResponse pHttpStatus_ =+ SubmitTaskStateChangeResponse'+ { acknowledgment =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Acknowledgement of the state change.+submitTaskStateChangeResponse_acknowledgment :: Lens.Lens' SubmitTaskStateChangeResponse (Prelude.Maybe Prelude.Text)+submitTaskStateChangeResponse_acknowledgment = Lens.lens (\SubmitTaskStateChangeResponse' {acknowledgment} -> acknowledgment) (\s@SubmitTaskStateChangeResponse' {} a -> s {acknowledgment = a} :: SubmitTaskStateChangeResponse)++-- | The response's http status code.+submitTaskStateChangeResponse_httpStatus :: Lens.Lens' SubmitTaskStateChangeResponse Prelude.Int+submitTaskStateChangeResponse_httpStatus = Lens.lens (\SubmitTaskStateChangeResponse' {httpStatus} -> httpStatus) (\s@SubmitTaskStateChangeResponse' {} a -> s {httpStatus = a} :: SubmitTaskStateChangeResponse)++instance Prelude.NFData SubmitTaskStateChangeResponse where+ rnf SubmitTaskStateChangeResponse' {..} =+ Prelude.rnf acknowledgment+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/TagResource.hs view
@@ -0,0 +1,252 @@+{-# 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.ECS.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)+--+-- Associates the specified tags to a resource with the specified+-- @resourceArn@. If existing tags on a resource aren\'t specified in the+-- request parameters, they aren\'t changed. When a resource is deleted,+-- the tags that are associated with that resource are deleted as well.+module Amazonka.ECS.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.ECS.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 Name (ARN) of the resource to add tags to.+ -- Currently, the supported resources are Amazon ECS capacity providers,+ -- tasks, services, task definitions, clusters, and container instances.+ resourceArn :: Prelude.Text,+ -- | The tags to add to the resource. A tag is an array of key-value pairs.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ 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 Name (ARN) of the resource to add tags to.+-- Currently, the supported resources are Amazon ECS capacity providers,+-- tasks, services, task definitions, clusters, and container instances.+--+-- 'tags', 'tagResource_tags' - The tags to add to the resource. A tag is an array of key-value pairs.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+newTagResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ TagResource+newTagResource pResourceArn_ =+ TagResource'+ { resourceArn = pResourceArn_,+ tags = Prelude.mempty+ }++-- | The Amazon Resource Name (ARN) of the resource to add tags to.+-- Currently, the supported resources are Amazon ECS capacity providers,+-- tasks, services, task definitions, clusters, and container instances.+tagResource_resourceArn :: Lens.Lens' TagResource Prelude.Text+tagResource_resourceArn = Lens.lens (\TagResource' {resourceArn} -> resourceArn) (\s@TagResource' {} a -> s {resourceArn = a} :: TagResource)++-- | The tags to add to the resource. A tag is an array of key-value pairs.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+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.=# ( "AmazonEC2ContainerServiceV20141113.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/ECS/Types.hs view
@@ -0,0 +1,1482 @@+{-# 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.ECS.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.ECS.Types+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ _AccessDeniedException,+ _AttributeLimitExceededException,+ _BlockedException,+ _ClientException,+ _ClusterContainsContainerInstancesException,+ _ClusterContainsServicesException,+ _ClusterContainsTasksException,+ _ClusterNotFoundException,+ _InvalidParameterException,+ _LimitExceededException,+ _MissingVersionException,+ _NamespaceNotFoundException,+ _NoUpdateAvailableException,+ _PlatformTaskDefinitionIncompatibilityException,+ _PlatformUnknownException,+ _ResourceInUseException,+ _ResourceNotFoundException,+ _ServerException,+ _ServiceNotActiveException,+ _ServiceNotFoundException,+ _TargetNotConnectedException,+ _TargetNotFoundException,+ _TaskSetNotFoundException,+ _UnsupportedFeatureException,+ _UpdateInProgressException,++ -- * AgentUpdateStatus+ AgentUpdateStatus (..),++ -- * ApplicationProtocol+ ApplicationProtocol (..),++ -- * AssignPublicIp+ AssignPublicIp (..),++ -- * CPUArchitecture+ CPUArchitecture (..),++ -- * CapacityProviderField+ CapacityProviderField (..),++ -- * CapacityProviderStatus+ CapacityProviderStatus (..),++ -- * CapacityProviderUpdateStatus+ CapacityProviderUpdateStatus (..),++ -- * ClusterField+ ClusterField (..),++ -- * ClusterSettingName+ ClusterSettingName (..),++ -- * Compatibility+ Compatibility (..),++ -- * Connectivity+ Connectivity (..),++ -- * ContainerCondition+ ContainerCondition (..),++ -- * ContainerInstanceField+ ContainerInstanceField (..),++ -- * ContainerInstanceStatus+ ContainerInstanceStatus (..),++ -- * DeploymentControllerType+ DeploymentControllerType (..),++ -- * DeploymentRolloutState+ DeploymentRolloutState (..),++ -- * DesiredStatus+ DesiredStatus (..),++ -- * DeviceCgroupPermission+ DeviceCgroupPermission (..),++ -- * EFSAuthorizationConfigIAM+ EFSAuthorizationConfigIAM (..),++ -- * EFSTransitEncryption+ EFSTransitEncryption (..),++ -- * EnvironmentFileType+ EnvironmentFileType (..),++ -- * ExecuteCommandLogging+ ExecuteCommandLogging (..),++ -- * FirelensConfigurationType+ FirelensConfigurationType (..),++ -- * HealthStatus+ HealthStatus (..),++ -- * InstanceHealthCheckState+ InstanceHealthCheckState (..),++ -- * InstanceHealthCheckType+ InstanceHealthCheckType (..),++ -- * IpcMode+ IpcMode (..),++ -- * LaunchType+ LaunchType (..),++ -- * LogDriver+ LogDriver (..),++ -- * ManagedAgentName+ ManagedAgentName (..),++ -- * ManagedScalingStatus+ ManagedScalingStatus (..),++ -- * ManagedTerminationProtection+ ManagedTerminationProtection (..),++ -- * NetworkMode+ NetworkMode (..),++ -- * OSFamily+ OSFamily (..),++ -- * PidMode+ PidMode (..),++ -- * PlacementConstraintType+ PlacementConstraintType (..),++ -- * PlacementStrategyType+ PlacementStrategyType (..),++ -- * PlatformDeviceType+ PlatformDeviceType (..),++ -- * PropagateTags+ PropagateTags (..),++ -- * ProxyConfigurationType+ ProxyConfigurationType (..),++ -- * ResourceType+ ResourceType (..),++ -- * ScaleUnit+ ScaleUnit (..),++ -- * SchedulingStrategy+ SchedulingStrategy (..),++ -- * Scope+ Scope (..),++ -- * ServiceField+ ServiceField (..),++ -- * SettingName+ SettingName (..),++ -- * SortOrder+ SortOrder (..),++ -- * StabilityStatus+ StabilityStatus (..),++ -- * TargetType+ TargetType (..),++ -- * TaskDefinitionFamilyStatus+ TaskDefinitionFamilyStatus (..),++ -- * TaskDefinitionField+ TaskDefinitionField (..),++ -- * TaskDefinitionPlacementConstraintType+ TaskDefinitionPlacementConstraintType (..),++ -- * TaskDefinitionStatus+ TaskDefinitionStatus (..),++ -- * TaskField+ TaskField (..),++ -- * TaskSetField+ TaskSetField (..),++ -- * TaskStopCode+ TaskStopCode (..),++ -- * TransportProtocol+ TransportProtocol (..),++ -- * UlimitName+ UlimitName (..),++ -- * Attachment+ Attachment (..),+ newAttachment,+ attachment_details,+ attachment_id,+ attachment_status,+ attachment_type,++ -- * AttachmentStateChange+ AttachmentStateChange (..),+ newAttachmentStateChange,+ attachmentStateChange_attachmentArn,+ attachmentStateChange_status,++ -- * Attribute+ Attribute (..),+ newAttribute,+ attribute_targetId,+ attribute_targetType,+ attribute_value,+ attribute_name,++ -- * AutoScalingGroupProvider+ AutoScalingGroupProvider (..),+ newAutoScalingGroupProvider,+ autoScalingGroupProvider_managedScaling,+ autoScalingGroupProvider_managedTerminationProtection,+ autoScalingGroupProvider_autoScalingGroupArn,++ -- * AutoScalingGroupProviderUpdate+ AutoScalingGroupProviderUpdate (..),+ newAutoScalingGroupProviderUpdate,+ autoScalingGroupProviderUpdate_managedScaling,+ autoScalingGroupProviderUpdate_managedTerminationProtection,++ -- * AwsVpcConfiguration+ AwsVpcConfiguration (..),+ newAwsVpcConfiguration,+ awsVpcConfiguration_assignPublicIp,+ awsVpcConfiguration_securityGroups,+ awsVpcConfiguration_subnets,++ -- * CapacityProvider+ CapacityProvider (..),+ newCapacityProvider,+ capacityProvider_autoScalingGroupProvider,+ capacityProvider_capacityProviderArn,+ capacityProvider_name,+ capacityProvider_status,+ capacityProvider_tags,+ capacityProvider_updateStatus,+ capacityProvider_updateStatusReason,++ -- * CapacityProviderStrategyItem+ CapacityProviderStrategyItem (..),+ newCapacityProviderStrategyItem,+ capacityProviderStrategyItem_base,+ capacityProviderStrategyItem_weight,+ capacityProviderStrategyItem_capacityProvider,++ -- * Cluster+ Cluster (..),+ newCluster,+ cluster_activeServicesCount,+ cluster_attachments,+ cluster_attachmentsStatus,+ cluster_capacityProviders,+ cluster_clusterArn,+ cluster_clusterName,+ cluster_configuration,+ cluster_defaultCapacityProviderStrategy,+ cluster_pendingTasksCount,+ cluster_registeredContainerInstancesCount,+ cluster_runningTasksCount,+ cluster_serviceConnectDefaults,+ cluster_settings,+ cluster_statistics,+ cluster_status,+ cluster_tags,++ -- * ClusterConfiguration+ ClusterConfiguration (..),+ newClusterConfiguration,+ clusterConfiguration_executeCommandConfiguration,++ -- * ClusterServiceConnectDefaults+ ClusterServiceConnectDefaults (..),+ newClusterServiceConnectDefaults,+ clusterServiceConnectDefaults_namespace,++ -- * ClusterServiceConnectDefaultsRequest+ ClusterServiceConnectDefaultsRequest (..),+ newClusterServiceConnectDefaultsRequest,+ clusterServiceConnectDefaultsRequest_namespace,++ -- * ClusterSetting+ ClusterSetting (..),+ newClusterSetting,+ clusterSetting_name,+ clusterSetting_value,++ -- * Container+ Container (..),+ newContainer,+ container_containerArn,+ container_cpu,+ container_exitCode,+ container_gpuIds,+ container_healthStatus,+ container_image,+ container_imageDigest,+ container_lastStatus,+ container_managedAgents,+ container_memory,+ container_memoryReservation,+ container_name,+ container_networkBindings,+ container_networkInterfaces,+ container_reason,+ container_runtimeId,+ container_taskArn,++ -- * ContainerDefinition+ ContainerDefinition (..),+ newContainerDefinition,+ containerDefinition_command,+ containerDefinition_cpu,+ containerDefinition_dependsOn,+ containerDefinition_disableNetworking,+ containerDefinition_dnsSearchDomains,+ containerDefinition_dnsServers,+ containerDefinition_dockerLabels,+ containerDefinition_dockerSecurityOptions,+ containerDefinition_entryPoint,+ containerDefinition_environment,+ containerDefinition_environmentFiles,+ containerDefinition_essential,+ containerDefinition_extraHosts,+ containerDefinition_firelensConfiguration,+ containerDefinition_healthCheck,+ containerDefinition_hostname,+ containerDefinition_image,+ containerDefinition_interactive,+ containerDefinition_links,+ containerDefinition_linuxParameters,+ containerDefinition_logConfiguration,+ containerDefinition_memory,+ containerDefinition_memoryReservation,+ containerDefinition_mountPoints,+ containerDefinition_name,+ containerDefinition_portMappings,+ containerDefinition_privileged,+ containerDefinition_pseudoTerminal,+ containerDefinition_readonlyRootFilesystem,+ containerDefinition_repositoryCredentials,+ containerDefinition_resourceRequirements,+ containerDefinition_secrets,+ containerDefinition_startTimeout,+ containerDefinition_stopTimeout,+ containerDefinition_systemControls,+ containerDefinition_ulimits,+ containerDefinition_user,+ containerDefinition_volumesFrom,+ containerDefinition_workingDirectory,++ -- * ContainerDependency+ ContainerDependency (..),+ newContainerDependency,+ containerDependency_containerName,+ containerDependency_condition,++ -- * ContainerInstance+ ContainerInstance (..),+ newContainerInstance,+ containerInstance_agentConnected,+ containerInstance_agentUpdateStatus,+ containerInstance_attachments,+ containerInstance_attributes,+ containerInstance_capacityProviderName,+ containerInstance_containerInstanceArn,+ containerInstance_ec2InstanceId,+ containerInstance_healthStatus,+ containerInstance_pendingTasksCount,+ containerInstance_registeredAt,+ containerInstance_registeredResources,+ containerInstance_remainingResources,+ containerInstance_runningTasksCount,+ containerInstance_status,+ containerInstance_statusReason,+ containerInstance_tags,+ containerInstance_version,+ containerInstance_versionInfo,++ -- * ContainerInstanceHealthStatus+ ContainerInstanceHealthStatus (..),+ newContainerInstanceHealthStatus,+ containerInstanceHealthStatus_details,+ containerInstanceHealthStatus_overallStatus,++ -- * ContainerOverride+ ContainerOverride (..),+ newContainerOverride,+ containerOverride_command,+ containerOverride_cpu,+ containerOverride_environment,+ containerOverride_environmentFiles,+ containerOverride_memory,+ containerOverride_memoryReservation,+ containerOverride_name,+ containerOverride_resourceRequirements,++ -- * ContainerService+ ContainerService (..),+ newContainerService,+ containerService_capacityProviderStrategy,+ containerService_clusterArn,+ containerService_createdAt,+ containerService_createdBy,+ containerService_deploymentConfiguration,+ containerService_deploymentController,+ containerService_deployments,+ containerService_desiredCount,+ containerService_enableECSManagedTags,+ containerService_enableExecuteCommand,+ containerService_events,+ containerService_healthCheckGracePeriodSeconds,+ containerService_launchType,+ containerService_loadBalancers,+ containerService_networkConfiguration,+ containerService_pendingCount,+ containerService_placementConstraints,+ containerService_placementStrategy,+ containerService_platformFamily,+ containerService_platformVersion,+ containerService_propagateTags,+ containerService_roleArn,+ containerService_runningCount,+ containerService_schedulingStrategy,+ containerService_serviceArn,+ containerService_serviceName,+ containerService_serviceRegistries,+ containerService_status,+ containerService_tags,+ containerService_taskDefinition,+ containerService_taskSets,++ -- * ContainerStateChange+ ContainerStateChange (..),+ newContainerStateChange,+ containerStateChange_containerName,+ containerStateChange_exitCode,+ containerStateChange_imageDigest,+ containerStateChange_networkBindings,+ containerStateChange_reason,+ containerStateChange_runtimeId,+ containerStateChange_status,++ -- * Deployment+ Deployment (..),+ newDeployment,+ deployment_capacityProviderStrategy,+ deployment_createdAt,+ deployment_desiredCount,+ deployment_failedTasks,+ deployment_id,+ deployment_launchType,+ deployment_networkConfiguration,+ deployment_pendingCount,+ deployment_platformFamily,+ deployment_platformVersion,+ deployment_rolloutState,+ deployment_rolloutStateReason,+ deployment_runningCount,+ deployment_serviceConnectConfiguration,+ deployment_serviceConnectResources,+ deployment_status,+ deployment_taskDefinition,+ deployment_updatedAt,++ -- * DeploymentAlarms+ DeploymentAlarms (..),+ newDeploymentAlarms,+ deploymentAlarms_alarmNames,+ deploymentAlarms_enable,+ deploymentAlarms_rollback,++ -- * DeploymentCircuitBreaker+ DeploymentCircuitBreaker (..),+ newDeploymentCircuitBreaker,+ deploymentCircuitBreaker_enable,+ deploymentCircuitBreaker_rollback,++ -- * DeploymentConfiguration+ DeploymentConfiguration (..),+ newDeploymentConfiguration,+ deploymentConfiguration_alarms,+ deploymentConfiguration_deploymentCircuitBreaker,+ deploymentConfiguration_maximumPercent,+ deploymentConfiguration_minimumHealthyPercent,++ -- * DeploymentController+ DeploymentController (..),+ newDeploymentController,+ deploymentController_type,++ -- * Device+ Device (..),+ newDevice,+ device_containerPath,+ device_permissions,+ device_hostPath,++ -- * DockerVolumeConfiguration+ DockerVolumeConfiguration (..),+ newDockerVolumeConfiguration,+ dockerVolumeConfiguration_autoprovision,+ dockerVolumeConfiguration_driver,+ dockerVolumeConfiguration_driverOpts,+ dockerVolumeConfiguration_labels,+ dockerVolumeConfiguration_scope,++ -- * EFSAuthorizationConfig+ EFSAuthorizationConfig (..),+ newEFSAuthorizationConfig,+ eFSAuthorizationConfig_accessPointId,+ eFSAuthorizationConfig_iam,++ -- * EFSVolumeConfiguration+ EFSVolumeConfiguration (..),+ newEFSVolumeConfiguration,+ eFSVolumeConfiguration_authorizationConfig,+ eFSVolumeConfiguration_rootDirectory,+ eFSVolumeConfiguration_transitEncryption,+ eFSVolumeConfiguration_transitEncryptionPort,+ eFSVolumeConfiguration_fileSystemId,++ -- * EnvironmentFile+ EnvironmentFile (..),+ newEnvironmentFile,+ environmentFile_value,+ environmentFile_type,++ -- * EphemeralStorage+ EphemeralStorage (..),+ newEphemeralStorage,+ ephemeralStorage_sizeInGiB,++ -- * ExecuteCommandConfiguration+ ExecuteCommandConfiguration (..),+ newExecuteCommandConfiguration,+ executeCommandConfiguration_kmsKeyId,+ executeCommandConfiguration_logConfiguration,+ executeCommandConfiguration_logging,++ -- * ExecuteCommandLogConfiguration+ ExecuteCommandLogConfiguration (..),+ newExecuteCommandLogConfiguration,+ executeCommandLogConfiguration_cloudWatchEncryptionEnabled,+ executeCommandLogConfiguration_cloudWatchLogGroupName,+ executeCommandLogConfiguration_s3BucketName,+ executeCommandLogConfiguration_s3EncryptionEnabled,+ executeCommandLogConfiguration_s3KeyPrefix,++ -- * FSxWindowsFileServerAuthorizationConfig+ FSxWindowsFileServerAuthorizationConfig (..),+ newFSxWindowsFileServerAuthorizationConfig,+ fSxWindowsFileServerAuthorizationConfig_credentialsParameter,+ fSxWindowsFileServerAuthorizationConfig_domain,++ -- * FSxWindowsFileServerVolumeConfiguration+ FSxWindowsFileServerVolumeConfiguration (..),+ newFSxWindowsFileServerVolumeConfiguration,+ fSxWindowsFileServerVolumeConfiguration_fileSystemId,+ fSxWindowsFileServerVolumeConfiguration_rootDirectory,+ fSxWindowsFileServerVolumeConfiguration_authorizationConfig,++ -- * Failure+ Failure (..),+ newFailure,+ failure_arn,+ failure_detail,+ failure_reason,++ -- * FirelensConfiguration+ FirelensConfiguration (..),+ newFirelensConfiguration,+ firelensConfiguration_options,+ firelensConfiguration_type,++ -- * HealthCheck+ HealthCheck (..),+ newHealthCheck,+ healthCheck_interval,+ healthCheck_retries,+ healthCheck_startPeriod,+ healthCheck_timeout,+ healthCheck_command,++ -- * HostEntry+ HostEntry (..),+ newHostEntry,+ hostEntry_hostname,+ hostEntry_ipAddress,++ -- * HostVolumeProperties+ HostVolumeProperties (..),+ newHostVolumeProperties,+ hostVolumeProperties_sourcePath,++ -- * InferenceAccelerator+ InferenceAccelerator (..),+ newInferenceAccelerator,+ inferenceAccelerator_deviceName,+ inferenceAccelerator_deviceType,++ -- * InferenceAcceleratorOverride+ InferenceAcceleratorOverride (..),+ newInferenceAcceleratorOverride,+ inferenceAcceleratorOverride_deviceName,+ inferenceAcceleratorOverride_deviceType,++ -- * InstanceHealthCheckResult+ InstanceHealthCheckResult (..),+ newInstanceHealthCheckResult,+ instanceHealthCheckResult_lastStatusChange,+ instanceHealthCheckResult_lastUpdated,+ instanceHealthCheckResult_status,+ instanceHealthCheckResult_type,++ -- * KernelCapabilities+ KernelCapabilities (..),+ newKernelCapabilities,+ kernelCapabilities_add,+ kernelCapabilities_drop,++ -- * KeyValuePair+ KeyValuePair (..),+ newKeyValuePair,+ keyValuePair_name,+ keyValuePair_value,++ -- * LinuxParameters+ LinuxParameters (..),+ newLinuxParameters,+ linuxParameters_capabilities,+ linuxParameters_devices,+ linuxParameters_initProcessEnabled,+ linuxParameters_maxSwap,+ linuxParameters_sharedMemorySize,+ linuxParameters_swappiness,+ linuxParameters_tmpfs,++ -- * LoadBalancer+ LoadBalancer (..),+ newLoadBalancer,+ loadBalancer_containerName,+ loadBalancer_containerPort,+ loadBalancer_loadBalancerName,+ loadBalancer_targetGroupArn,++ -- * LogConfiguration+ LogConfiguration (..),+ newLogConfiguration,+ logConfiguration_options,+ logConfiguration_secretOptions,+ logConfiguration_logDriver,++ -- * ManagedAgent+ ManagedAgent (..),+ newManagedAgent,+ managedAgent_lastStartedAt,+ managedAgent_lastStatus,+ managedAgent_name,+ managedAgent_reason,++ -- * ManagedAgentStateChange+ ManagedAgentStateChange (..),+ newManagedAgentStateChange,+ managedAgentStateChange_reason,+ managedAgentStateChange_containerName,+ managedAgentStateChange_managedAgentName,+ managedAgentStateChange_status,++ -- * ManagedScaling+ ManagedScaling (..),+ newManagedScaling,+ managedScaling_instanceWarmupPeriod,+ managedScaling_maximumScalingStepSize,+ managedScaling_minimumScalingStepSize,+ managedScaling_status,+ managedScaling_targetCapacity,++ -- * MountPoint+ MountPoint (..),+ newMountPoint,+ mountPoint_containerPath,+ mountPoint_readOnly,+ mountPoint_sourceVolume,++ -- * NetworkBinding+ NetworkBinding (..),+ newNetworkBinding,+ networkBinding_bindIP,+ networkBinding_containerPort,+ networkBinding_containerPortRange,+ networkBinding_hostPort,+ networkBinding_hostPortRange,+ networkBinding_protocol,++ -- * NetworkConfiguration+ NetworkConfiguration (..),+ newNetworkConfiguration,+ networkConfiguration_awsvpcConfiguration,++ -- * NetworkInterface+ NetworkInterface (..),+ newNetworkInterface,+ networkInterface_attachmentId,+ networkInterface_ipv6Address,+ networkInterface_privateIpv4Address,++ -- * PlacementConstraint+ PlacementConstraint (..),+ newPlacementConstraint,+ placementConstraint_expression,+ placementConstraint_type,++ -- * PlacementStrategy+ PlacementStrategy (..),+ newPlacementStrategy,+ placementStrategy_field,+ placementStrategy_type,++ -- * PlatformDevice+ PlatformDevice (..),+ newPlatformDevice,+ platformDevice_id,+ platformDevice_type,++ -- * PortMapping+ PortMapping (..),+ newPortMapping,+ portMapping_appProtocol,+ portMapping_containerPort,+ portMapping_containerPortRange,+ portMapping_hostPort,+ portMapping_name,+ portMapping_protocol,++ -- * ProtectedTask+ ProtectedTask (..),+ newProtectedTask,+ protectedTask_expirationDate,+ protectedTask_protectionEnabled,+ protectedTask_taskArn,++ -- * ProxyConfiguration+ ProxyConfiguration (..),+ newProxyConfiguration,+ proxyConfiguration_properties,+ proxyConfiguration_type,+ proxyConfiguration_containerName,++ -- * RepositoryCredentials+ RepositoryCredentials (..),+ newRepositoryCredentials,+ repositoryCredentials_credentialsParameter,++ -- * Resource+ Resource (..),+ newResource,+ resource_doubleValue,+ resource_integerValue,+ resource_longValue,+ resource_name,+ resource_stringSetValue,+ resource_type,++ -- * ResourceRequirement+ ResourceRequirement (..),+ newResourceRequirement,+ resourceRequirement_value,+ resourceRequirement_type,++ -- * RuntimePlatform+ RuntimePlatform (..),+ newRuntimePlatform,+ runtimePlatform_cpuArchitecture,+ runtimePlatform_operatingSystemFamily,++ -- * Scale+ Scale (..),+ newScale,+ scale_unit,+ scale_value,++ -- * Secret+ Secret (..),+ newSecret,+ secret_name,+ secret_valueFrom,++ -- * ServiceConnectClientAlias+ ServiceConnectClientAlias (..),+ newServiceConnectClientAlias,+ serviceConnectClientAlias_dnsName,+ serviceConnectClientAlias_port,++ -- * ServiceConnectConfiguration+ ServiceConnectConfiguration (..),+ newServiceConnectConfiguration,+ serviceConnectConfiguration_logConfiguration,+ serviceConnectConfiguration_namespace,+ serviceConnectConfiguration_services,+ serviceConnectConfiguration_enabled,++ -- * ServiceConnectService+ ServiceConnectService (..),+ newServiceConnectService,+ serviceConnectService_clientAliases,+ serviceConnectService_discoveryName,+ serviceConnectService_ingressPortOverride,+ serviceConnectService_portName,++ -- * ServiceConnectServiceResource+ ServiceConnectServiceResource (..),+ newServiceConnectServiceResource,+ serviceConnectServiceResource_discoveryArn,+ serviceConnectServiceResource_discoveryName,++ -- * ServiceEvent+ ServiceEvent (..),+ newServiceEvent,+ serviceEvent_createdAt,+ serviceEvent_id,+ serviceEvent_message,++ -- * ServiceRegistry+ ServiceRegistry (..),+ newServiceRegistry,+ serviceRegistry_containerName,+ serviceRegistry_containerPort,+ serviceRegistry_port,+ serviceRegistry_registryArn,++ -- * Session+ Session (..),+ newSession,+ session_sessionId,+ session_streamUrl,+ session_tokenValue,++ -- * Setting+ Setting (..),+ newSetting,+ setting_name,+ setting_principalArn,+ setting_value,++ -- * SystemControl+ SystemControl (..),+ newSystemControl,+ systemControl_namespace,+ systemControl_value,++ -- * Tag+ Tag (..),+ newTag,+ tag_key,+ tag_value,++ -- * Task+ Task (..),+ newTask,+ task_attachments,+ task_attributes,+ task_availabilityZone,+ task_capacityProviderName,+ task_clusterArn,+ task_connectivity,+ task_connectivityAt,+ task_containerInstanceArn,+ task_containers,+ task_cpu,+ task_createdAt,+ task_desiredStatus,+ task_enableExecuteCommand,+ task_ephemeralStorage,+ task_executionStoppedAt,+ task_group,+ task_healthStatus,+ task_inferenceAccelerators,+ task_lastStatus,+ task_launchType,+ task_memory,+ task_overrides,+ task_platformFamily,+ task_platformVersion,+ task_pullStartedAt,+ task_pullStoppedAt,+ task_startedAt,+ task_startedBy,+ task_stopCode,+ task_stoppedAt,+ task_stoppedReason,+ task_stoppingAt,+ task_tags,+ task_taskArn,+ task_taskDefinitionArn,+ task_version,++ -- * TaskDefinition+ TaskDefinition (..),+ newTaskDefinition,+ taskDefinition_compatibilities,+ taskDefinition_containerDefinitions,+ taskDefinition_cpu,+ taskDefinition_deregisteredAt,+ taskDefinition_ephemeralStorage,+ taskDefinition_executionRoleArn,+ taskDefinition_family,+ taskDefinition_inferenceAccelerators,+ taskDefinition_ipcMode,+ taskDefinition_memory,+ taskDefinition_networkMode,+ taskDefinition_pidMode,+ taskDefinition_placementConstraints,+ taskDefinition_proxyConfiguration,+ taskDefinition_registeredAt,+ taskDefinition_registeredBy,+ taskDefinition_requiresAttributes,+ taskDefinition_requiresCompatibilities,+ taskDefinition_revision,+ taskDefinition_runtimePlatform,+ taskDefinition_status,+ taskDefinition_taskDefinitionArn,+ taskDefinition_taskRoleArn,+ taskDefinition_volumes,++ -- * TaskDefinitionPlacementConstraint+ TaskDefinitionPlacementConstraint (..),+ newTaskDefinitionPlacementConstraint,+ taskDefinitionPlacementConstraint_expression,+ taskDefinitionPlacementConstraint_type,++ -- * TaskOverride+ TaskOverride (..),+ newTaskOverride,+ taskOverride_containerOverrides,+ taskOverride_cpu,+ taskOverride_ephemeralStorage,+ taskOverride_executionRoleArn,+ taskOverride_inferenceAcceleratorOverrides,+ taskOverride_memory,+ taskOverride_taskRoleArn,++ -- * TaskSet+ TaskSet (..),+ newTaskSet,+ taskSet_capacityProviderStrategy,+ taskSet_clusterArn,+ taskSet_computedDesiredCount,+ taskSet_createdAt,+ taskSet_externalId,+ taskSet_id,+ taskSet_launchType,+ taskSet_loadBalancers,+ taskSet_networkConfiguration,+ taskSet_pendingCount,+ taskSet_platformFamily,+ taskSet_platformVersion,+ taskSet_runningCount,+ taskSet_scale,+ taskSet_serviceArn,+ taskSet_serviceRegistries,+ taskSet_stabilityStatus,+ taskSet_stabilityStatusAt,+ taskSet_startedBy,+ taskSet_status,+ taskSet_tags,+ taskSet_taskDefinition,+ taskSet_taskSetArn,+ taskSet_updatedAt,++ -- * Tmpfs+ Tmpfs (..),+ newTmpfs,+ tmpfs_mountOptions,+ tmpfs_containerPath,+ tmpfs_size,++ -- * Ulimit+ Ulimit (..),+ newUlimit,+ ulimit_name,+ ulimit_softLimit,+ ulimit_hardLimit,++ -- * VersionInfo+ VersionInfo (..),+ newVersionInfo,+ versionInfo_agentHash,+ versionInfo_agentVersion,+ versionInfo_dockerVersion,++ -- * Volume+ Volume (..),+ newVolume,+ volume_dockerVolumeConfiguration,+ volume_efsVolumeConfiguration,+ volume_fsxWindowsFileServerVolumeConfiguration,+ volume_host,+ volume_name,++ -- * VolumeFrom+ VolumeFrom (..),+ newVolumeFrom,+ volumeFrom_readOnly,+ volumeFrom_sourceContainer,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import Amazonka.ECS.Types.AgentUpdateStatus+import Amazonka.ECS.Types.ApplicationProtocol+import Amazonka.ECS.Types.AssignPublicIp+import Amazonka.ECS.Types.Attachment+import Amazonka.ECS.Types.AttachmentStateChange+import Amazonka.ECS.Types.Attribute+import Amazonka.ECS.Types.AutoScalingGroupProvider+import Amazonka.ECS.Types.AutoScalingGroupProviderUpdate+import Amazonka.ECS.Types.AwsVpcConfiguration+import Amazonka.ECS.Types.CPUArchitecture+import Amazonka.ECS.Types.CapacityProvider+import Amazonka.ECS.Types.CapacityProviderField+import Amazonka.ECS.Types.CapacityProviderStatus+import Amazonka.ECS.Types.CapacityProviderStrategyItem+import Amazonka.ECS.Types.CapacityProviderUpdateStatus+import Amazonka.ECS.Types.Cluster+import Amazonka.ECS.Types.ClusterConfiguration+import Amazonka.ECS.Types.ClusterField+import Amazonka.ECS.Types.ClusterServiceConnectDefaults+import Amazonka.ECS.Types.ClusterServiceConnectDefaultsRequest+import Amazonka.ECS.Types.ClusterSetting+import Amazonka.ECS.Types.ClusterSettingName+import Amazonka.ECS.Types.Compatibility+import Amazonka.ECS.Types.Connectivity+import Amazonka.ECS.Types.Container+import Amazonka.ECS.Types.ContainerCondition+import Amazonka.ECS.Types.ContainerDefinition+import Amazonka.ECS.Types.ContainerDependency+import Amazonka.ECS.Types.ContainerInstance+import Amazonka.ECS.Types.ContainerInstanceField+import Amazonka.ECS.Types.ContainerInstanceHealthStatus+import Amazonka.ECS.Types.ContainerInstanceStatus+import Amazonka.ECS.Types.ContainerOverride+import Amazonka.ECS.Types.ContainerService+import Amazonka.ECS.Types.ContainerStateChange+import Amazonka.ECS.Types.Deployment+import Amazonka.ECS.Types.DeploymentAlarms+import Amazonka.ECS.Types.DeploymentCircuitBreaker+import Amazonka.ECS.Types.DeploymentConfiguration+import Amazonka.ECS.Types.DeploymentController+import Amazonka.ECS.Types.DeploymentControllerType+import Amazonka.ECS.Types.DeploymentRolloutState+import Amazonka.ECS.Types.DesiredStatus+import Amazonka.ECS.Types.Device+import Amazonka.ECS.Types.DeviceCgroupPermission+import Amazonka.ECS.Types.DockerVolumeConfiguration+import Amazonka.ECS.Types.EFSAuthorizationConfig+import Amazonka.ECS.Types.EFSAuthorizationConfigIAM+import Amazonka.ECS.Types.EFSTransitEncryption+import Amazonka.ECS.Types.EFSVolumeConfiguration+import Amazonka.ECS.Types.EnvironmentFile+import Amazonka.ECS.Types.EnvironmentFileType+import Amazonka.ECS.Types.EphemeralStorage+import Amazonka.ECS.Types.ExecuteCommandConfiguration+import Amazonka.ECS.Types.ExecuteCommandLogConfiguration+import Amazonka.ECS.Types.ExecuteCommandLogging+import Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig+import Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration+import Amazonka.ECS.Types.Failure+import Amazonka.ECS.Types.FirelensConfiguration+import Amazonka.ECS.Types.FirelensConfigurationType+import Amazonka.ECS.Types.HealthCheck+import Amazonka.ECS.Types.HealthStatus+import Amazonka.ECS.Types.HostEntry+import Amazonka.ECS.Types.HostVolumeProperties+import Amazonka.ECS.Types.InferenceAccelerator+import Amazonka.ECS.Types.InferenceAcceleratorOverride+import Amazonka.ECS.Types.InstanceHealthCheckResult+import Amazonka.ECS.Types.InstanceHealthCheckState+import Amazonka.ECS.Types.InstanceHealthCheckType+import Amazonka.ECS.Types.IpcMode+import Amazonka.ECS.Types.KernelCapabilities+import Amazonka.ECS.Types.KeyValuePair+import Amazonka.ECS.Types.LaunchType+import Amazonka.ECS.Types.LinuxParameters+import Amazonka.ECS.Types.LoadBalancer+import Amazonka.ECS.Types.LogConfiguration+import Amazonka.ECS.Types.LogDriver+import Amazonka.ECS.Types.ManagedAgent+import Amazonka.ECS.Types.ManagedAgentName+import Amazonka.ECS.Types.ManagedAgentStateChange+import Amazonka.ECS.Types.ManagedScaling+import Amazonka.ECS.Types.ManagedScalingStatus+import Amazonka.ECS.Types.ManagedTerminationProtection+import Amazonka.ECS.Types.MountPoint+import Amazonka.ECS.Types.NetworkBinding+import Amazonka.ECS.Types.NetworkConfiguration+import Amazonka.ECS.Types.NetworkInterface+import Amazonka.ECS.Types.NetworkMode+import Amazonka.ECS.Types.OSFamily+import Amazonka.ECS.Types.PidMode+import Amazonka.ECS.Types.PlacementConstraint+import Amazonka.ECS.Types.PlacementConstraintType+import Amazonka.ECS.Types.PlacementStrategy+import Amazonka.ECS.Types.PlacementStrategyType+import Amazonka.ECS.Types.PlatformDevice+import Amazonka.ECS.Types.PlatformDeviceType+import Amazonka.ECS.Types.PortMapping+import Amazonka.ECS.Types.PropagateTags+import Amazonka.ECS.Types.ProtectedTask+import Amazonka.ECS.Types.ProxyConfiguration+import Amazonka.ECS.Types.ProxyConfigurationType+import Amazonka.ECS.Types.RepositoryCredentials+import Amazonka.ECS.Types.Resource+import Amazonka.ECS.Types.ResourceRequirement+import Amazonka.ECS.Types.ResourceType+import Amazonka.ECS.Types.RuntimePlatform+import Amazonka.ECS.Types.Scale+import Amazonka.ECS.Types.ScaleUnit+import Amazonka.ECS.Types.SchedulingStrategy+import Amazonka.ECS.Types.Scope+import Amazonka.ECS.Types.Secret+import Amazonka.ECS.Types.ServiceConnectClientAlias+import Amazonka.ECS.Types.ServiceConnectConfiguration+import Amazonka.ECS.Types.ServiceConnectService+import Amazonka.ECS.Types.ServiceConnectServiceResource+import Amazonka.ECS.Types.ServiceEvent+import Amazonka.ECS.Types.ServiceField+import Amazonka.ECS.Types.ServiceRegistry+import Amazonka.ECS.Types.Session+import Amazonka.ECS.Types.Setting+import Amazonka.ECS.Types.SettingName+import Amazonka.ECS.Types.SortOrder+import Amazonka.ECS.Types.StabilityStatus+import Amazonka.ECS.Types.SystemControl+import Amazonka.ECS.Types.Tag+import Amazonka.ECS.Types.TargetType+import Amazonka.ECS.Types.Task+import Amazonka.ECS.Types.TaskDefinition+import Amazonka.ECS.Types.TaskDefinitionFamilyStatus+import Amazonka.ECS.Types.TaskDefinitionField+import Amazonka.ECS.Types.TaskDefinitionPlacementConstraint+import Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType+import Amazonka.ECS.Types.TaskDefinitionStatus+import Amazonka.ECS.Types.TaskField+import Amazonka.ECS.Types.TaskOverride+import Amazonka.ECS.Types.TaskSet+import Amazonka.ECS.Types.TaskSetField+import Amazonka.ECS.Types.TaskStopCode+import Amazonka.ECS.Types.Tmpfs+import Amazonka.ECS.Types.TransportProtocol+import Amazonka.ECS.Types.Ulimit+import Amazonka.ECS.Types.UlimitName+import Amazonka.ECS.Types.VersionInfo+import Amazonka.ECS.Types.Volume+import Amazonka.ECS.Types.VolumeFrom+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2014-11-13@ of the Amazon EC2 Container Service SDK configuration.+defaultService :: Core.Service+defaultService =+ Core.Service+ { Core.abbrev = "ECS",+ Core.signer = Sign.v4,+ Core.endpointPrefix = "ecs",+ Core.signingName = "ecs",+ Core.version = "2014-11-13",+ Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+ Core.endpoint = Core.defaultEndpoint defaultService,+ Core.timeout = Prelude.Just 70,+ Core.check = Core.statusSuccess,+ Core.error = Core.parseJSONError "ECS",+ 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++-- | You don\'t have authorization to perform the requested action.+_AccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AccessDeniedException =+ Core._MatchServiceError+ defaultService+ "AccessDeniedException"++-- | You can apply up to 10 custom attributes for each resource. You can view+-- the attributes of a resource with ListAttributes. You can remove+-- existing attributes on a resource with DeleteAttributes.+_AttributeLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_AttributeLimitExceededException =+ Core._MatchServiceError+ defaultService+ "AttributeLimitExceededException"++-- | Your Amazon Web Services account was blocked. For more information,+-- contact <http://aws.amazon.com/contact-us/ Amazon Web Services Support>.+_BlockedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_BlockedException =+ Core._MatchServiceError+ defaultService+ "BlockedException"++-- | These errors are usually caused by a client action. This client action+-- might be using an action or resource on behalf of a user that doesn\'t+-- have permissions to use the action or resource,. Or, it might be+-- specifying an identifier that isn\'t valid.+_ClientException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ClientException =+ Core._MatchServiceError+ defaultService+ "ClientException"++-- | You can\'t delete a cluster that has registered container instances.+-- First, deregister the container instances before you can delete the+-- cluster. For more information, see DeregisterContainerInstance.+_ClusterContainsContainerInstancesException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ClusterContainsContainerInstancesException =+ Core._MatchServiceError+ defaultService+ "ClusterContainsContainerInstancesException"++-- | You can\'t delete a cluster that contains services. First, update the+-- service to reduce its desired task count to 0, and then delete the+-- service. For more information, see UpdateService and DeleteService.+_ClusterContainsServicesException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ClusterContainsServicesException =+ Core._MatchServiceError+ defaultService+ "ClusterContainsServicesException"++-- | You can\'t delete a cluster that has active tasks.+_ClusterContainsTasksException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ClusterContainsTasksException =+ Core._MatchServiceError+ defaultService+ "ClusterContainsTasksException"++-- | The specified cluster wasn\'t found. You can view your available+-- clusters with ListClusters. Amazon ECS clusters are Region specific.+_ClusterNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ClusterNotFoundException =+ Core._MatchServiceError+ defaultService+ "ClusterNotFoundException"++-- | The specified parameter isn\'t valid. Review the available parameters+-- for the API request.+_InvalidParameterException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidParameterException =+ Core._MatchServiceError+ defaultService+ "InvalidParameterException"++-- | The limit for the resource was exceeded.+_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_LimitExceededException =+ Core._MatchServiceError+ defaultService+ "LimitExceededException"++-- | Amazon ECS can\'t determine the current version of the Amazon ECS+-- container agent on the container instance and doesn\'t have enough+-- information to proceed with an update. This could be because the agent+-- running on the container instance is a previous or custom version that+-- doesn\'t use our version information.+_MissingVersionException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_MissingVersionException =+ Core._MatchServiceError+ defaultService+ "MissingVersionException"++-- | The specified namespace wasn\'t found.+_NamespaceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_NamespaceNotFoundException =+ Core._MatchServiceError+ defaultService+ "NamespaceNotFoundException"++-- | There\'s no update available for this Amazon ECS container agent. This+-- might be because the agent is already running the latest version or+-- because it\'s so old that there\'s no update path to the current+-- version.+_NoUpdateAvailableException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_NoUpdateAvailableException =+ Core._MatchServiceError+ defaultService+ "NoUpdateAvailableException"++-- | The specified platform version doesn\'t satisfy the required+-- capabilities of the task definition.+_PlatformTaskDefinitionIncompatibilityException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PlatformTaskDefinitionIncompatibilityException =+ Core._MatchServiceError+ defaultService+ "PlatformTaskDefinitionIncompatibilityException"++-- | The specified platform version doesn\'t exist.+_PlatformUnknownException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PlatformUnknownException =+ Core._MatchServiceError+ defaultService+ "PlatformUnknownException"++-- | The specified resource is in-use and can\'t be removed.+_ResourceInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceInUseException =+ Core._MatchServiceError+ defaultService+ "ResourceInUseException"++-- | The specified resource wasn\'t found.+_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceNotFoundException =+ Core._MatchServiceError+ defaultService+ "ResourceNotFoundException"++-- | These errors are usually caused by a server issue.+_ServerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ServerException =+ Core._MatchServiceError+ defaultService+ "ServerException"++-- | The specified service isn\'t active. You can\'t update a service that\'s+-- inactive. If you have previously deleted a service, you can re-create it+-- with CreateService.+_ServiceNotActiveException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ServiceNotActiveException =+ Core._MatchServiceError+ defaultService+ "ServiceNotActiveException"++-- | The specified service wasn\'t found. You can view your available+-- services with ListServices. Amazon ECS services are cluster specific and+-- Region specific.+_ServiceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ServiceNotFoundException =+ Core._MatchServiceError+ defaultService+ "ServiceNotFoundException"++-- | The execute command cannot run. This error can be caused by any of the+-- following configuration issues:+--+-- - Incorrect IAM permissions+--+-- - The SSM agent is not installed or is not running+--+-- - There is an interface Amazon VPC endpoint for Amazon ECS, but there+-- is not one for for Systems Manager Session Manager+--+-- For information about how to troubleshoot the issues, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html Troubleshooting issues with ECS Exec>+-- in the /Amazon Elastic Container Service Developer Guide/.+_TargetNotConnectedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TargetNotConnectedException =+ Core._MatchServiceError+ defaultService+ "TargetNotConnectedException"++-- | The specified target wasn\'t found. You can view your available+-- container instances with ListContainerInstances. Amazon ECS container+-- instances are cluster-specific and Region-specific.+_TargetNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TargetNotFoundException =+ Core._MatchServiceError+ defaultService+ "TargetNotFoundException"++-- | The specified task set wasn\'t found. You can view your available task+-- sets with DescribeTaskSets. Task sets are specific to each cluster,+-- service and Region.+_TaskSetNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TaskSetNotFoundException =+ Core._MatchServiceError+ defaultService+ "TaskSetNotFoundException"++-- | The specified task isn\'t supported in this Region.+_UnsupportedFeatureException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_UnsupportedFeatureException =+ Core._MatchServiceError+ defaultService+ "UnsupportedFeatureException"++-- | There\'s already a current Amazon ECS container agent update in progress+-- on the container instance that\'s specified. If the container agent+-- becomes disconnected while it\'s in a transitional stage, such as+-- @PENDING@ or @STAGING@, the update process can get stuck in that state.+-- However, when the agent reconnects, it resumes where it stopped+-- previously.+_UpdateInProgressException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_UpdateInProgressException =+ Core._MatchServiceError+ defaultService+ "UpdateInProgressException"
+ gen/Amazonka/ECS/Types/AgentUpdateStatus.hs view
@@ -0,0 +1,91 @@+{-# 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.ECS.Types.AgentUpdateStatus+-- 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.ECS.Types.AgentUpdateStatus+ ( AgentUpdateStatus+ ( ..,+ AgentUpdateStatus_FAILED,+ AgentUpdateStatus_PENDING,+ AgentUpdateStatus_STAGED,+ AgentUpdateStatus_STAGING,+ AgentUpdateStatus_UPDATED,+ AgentUpdateStatus_UPDATING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype AgentUpdateStatus = AgentUpdateStatus'+ { fromAgentUpdateStatus ::+ 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 AgentUpdateStatus_FAILED :: AgentUpdateStatus+pattern AgentUpdateStatus_FAILED = AgentUpdateStatus' "FAILED"++pattern AgentUpdateStatus_PENDING :: AgentUpdateStatus+pattern AgentUpdateStatus_PENDING = AgentUpdateStatus' "PENDING"++pattern AgentUpdateStatus_STAGED :: AgentUpdateStatus+pattern AgentUpdateStatus_STAGED = AgentUpdateStatus' "STAGED"++pattern AgentUpdateStatus_STAGING :: AgentUpdateStatus+pattern AgentUpdateStatus_STAGING = AgentUpdateStatus' "STAGING"++pattern AgentUpdateStatus_UPDATED :: AgentUpdateStatus+pattern AgentUpdateStatus_UPDATED = AgentUpdateStatus' "UPDATED"++pattern AgentUpdateStatus_UPDATING :: AgentUpdateStatus+pattern AgentUpdateStatus_UPDATING = AgentUpdateStatus' "UPDATING"++{-# COMPLETE+ AgentUpdateStatus_FAILED,+ AgentUpdateStatus_PENDING,+ AgentUpdateStatus_STAGED,+ AgentUpdateStatus_STAGING,+ AgentUpdateStatus_UPDATED,+ AgentUpdateStatus_UPDATING,+ AgentUpdateStatus'+ #-}
+ gen/Amazonka/ECS/Types/ApplicationProtocol.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.ApplicationProtocol+-- 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.ECS.Types.ApplicationProtocol+ ( ApplicationProtocol+ ( ..,+ ApplicationProtocol_Grpc,+ ApplicationProtocol_Http,+ ApplicationProtocol_Http2+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ApplicationProtocol = ApplicationProtocol'+ { fromApplicationProtocol ::+ 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 ApplicationProtocol_Grpc :: ApplicationProtocol+pattern ApplicationProtocol_Grpc = ApplicationProtocol' "grpc"++pattern ApplicationProtocol_Http :: ApplicationProtocol+pattern ApplicationProtocol_Http = ApplicationProtocol' "http"++pattern ApplicationProtocol_Http2 :: ApplicationProtocol+pattern ApplicationProtocol_Http2 = ApplicationProtocol' "http2"++{-# COMPLETE+ ApplicationProtocol_Grpc,+ ApplicationProtocol_Http,+ ApplicationProtocol_Http2,+ ApplicationProtocol'+ #-}
+ gen/Amazonka/ECS/Types/AssignPublicIp.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.ECS.Types.AssignPublicIp+-- 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.ECS.Types.AssignPublicIp+ ( AssignPublicIp+ ( ..,+ AssignPublicIp_DISABLED,+ AssignPublicIp_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype AssignPublicIp = AssignPublicIp'+ { fromAssignPublicIp ::+ 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 AssignPublicIp_DISABLED :: AssignPublicIp+pattern AssignPublicIp_DISABLED = AssignPublicIp' "DISABLED"++pattern AssignPublicIp_ENABLED :: AssignPublicIp+pattern AssignPublicIp_ENABLED = AssignPublicIp' "ENABLED"++{-# COMPLETE+ AssignPublicIp_DISABLED,+ AssignPublicIp_ENABLED,+ AssignPublicIp'+ #-}
+ gen/Amazonka/ECS/Types/Attachment.hs view
@@ -0,0 +1,121 @@+{-# 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.ECS.Types.Attachment+-- 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.ECS.Types.Attachment where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.KeyValuePair+import qualified Amazonka.Prelude as Prelude++-- | An object representing a container instance or task attachment.+--+-- /See:/ 'newAttachment' smart constructor.+data Attachment = Attachment'+ { -- | Details of the attachment. For elastic network interfaces, this includes+ -- the network interface ID, the MAC address, the subnet ID, and the+ -- private IPv4 address.+ details :: Prelude.Maybe [KeyValuePair],+ -- | The unique identifier for the attachment.+ id :: Prelude.Maybe Prelude.Text,+ -- | The status of the attachment. Valid values are @PRECREATED@, @CREATED@,+ -- @ATTACHING@, @ATTACHED@, @DETACHING@, @DETACHED@, @DELETED@, and+ -- @FAILED@.+ status :: Prelude.Maybe Prelude.Text,+ -- | The type of the attachment, such as @ElasticNetworkInterface@.+ type' :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Attachment' 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:+--+-- 'details', 'attachment_details' - Details of the attachment. For elastic network interfaces, this includes+-- the network interface ID, the MAC address, the subnet ID, and the+-- private IPv4 address.+--+-- 'id', 'attachment_id' - The unique identifier for the attachment.+--+-- 'status', 'attachment_status' - The status of the attachment. Valid values are @PRECREATED@, @CREATED@,+-- @ATTACHING@, @ATTACHED@, @DETACHING@, @DETACHED@, @DELETED@, and+-- @FAILED@.+--+-- 'type'', 'attachment_type' - The type of the attachment, such as @ElasticNetworkInterface@.+newAttachment ::+ Attachment+newAttachment =+ Attachment'+ { details = Prelude.Nothing,+ id = Prelude.Nothing,+ status = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | Details of the attachment. For elastic network interfaces, this includes+-- the network interface ID, the MAC address, the subnet ID, and the+-- private IPv4 address.+attachment_details :: Lens.Lens' Attachment (Prelude.Maybe [KeyValuePair])+attachment_details = Lens.lens (\Attachment' {details} -> details) (\s@Attachment' {} a -> s {details = a} :: Attachment) Prelude.. Lens.mapping Lens.coerced++-- | The unique identifier for the attachment.+attachment_id :: Lens.Lens' Attachment (Prelude.Maybe Prelude.Text)+attachment_id = Lens.lens (\Attachment' {id} -> id) (\s@Attachment' {} a -> s {id = a} :: Attachment)++-- | The status of the attachment. Valid values are @PRECREATED@, @CREATED@,+-- @ATTACHING@, @ATTACHED@, @DETACHING@, @DETACHED@, @DELETED@, and+-- @FAILED@.+attachment_status :: Lens.Lens' Attachment (Prelude.Maybe Prelude.Text)+attachment_status = Lens.lens (\Attachment' {status} -> status) (\s@Attachment' {} a -> s {status = a} :: Attachment)++-- | The type of the attachment, such as @ElasticNetworkInterface@.+attachment_type :: Lens.Lens' Attachment (Prelude.Maybe Prelude.Text)+attachment_type = Lens.lens (\Attachment' {type'} -> type') (\s@Attachment' {} a -> s {type' = a} :: Attachment)++instance Data.FromJSON Attachment where+ parseJSON =+ Data.withObject+ "Attachment"+ ( \x ->+ Attachment'+ Prelude.<$> (x Data..:? "details" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "id")+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "type")+ )++instance Prelude.Hashable Attachment where+ hashWithSalt _salt Attachment' {..} =+ _salt+ `Prelude.hashWithSalt` details+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` type'++instance Prelude.NFData Attachment where+ rnf Attachment' {..} =+ Prelude.rnf details+ `Prelude.seq` Prelude.rnf id+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/ECS/Types/AttachmentStateChange.hs view
@@ -0,0 +1,89 @@+{-# 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.ECS.Types.AttachmentStateChange+-- 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.ECS.Types.AttachmentStateChange 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 object representing a change in state for a task attachment.+--+-- /See:/ 'newAttachmentStateChange' smart constructor.+data AttachmentStateChange = AttachmentStateChange'+ { -- | The Amazon Resource Name (ARN) of the attachment.+ attachmentArn :: Prelude.Text,+ -- | The status of the attachment.+ status :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AttachmentStateChange' 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:+--+-- 'attachmentArn', 'attachmentStateChange_attachmentArn' - The Amazon Resource Name (ARN) of the attachment.+--+-- 'status', 'attachmentStateChange_status' - The status of the attachment.+newAttachmentStateChange ::+ -- | 'attachmentArn'+ Prelude.Text ->+ -- | 'status'+ Prelude.Text ->+ AttachmentStateChange+newAttachmentStateChange pAttachmentArn_ pStatus_ =+ AttachmentStateChange'+ { attachmentArn =+ pAttachmentArn_,+ status = pStatus_+ }++-- | The Amazon Resource Name (ARN) of the attachment.+attachmentStateChange_attachmentArn :: Lens.Lens' AttachmentStateChange Prelude.Text+attachmentStateChange_attachmentArn = Lens.lens (\AttachmentStateChange' {attachmentArn} -> attachmentArn) (\s@AttachmentStateChange' {} a -> s {attachmentArn = a} :: AttachmentStateChange)++-- | The status of the attachment.+attachmentStateChange_status :: Lens.Lens' AttachmentStateChange Prelude.Text+attachmentStateChange_status = Lens.lens (\AttachmentStateChange' {status} -> status) (\s@AttachmentStateChange' {} a -> s {status = a} :: AttachmentStateChange)++instance Prelude.Hashable AttachmentStateChange where+ hashWithSalt _salt AttachmentStateChange' {..} =+ _salt+ `Prelude.hashWithSalt` attachmentArn+ `Prelude.hashWithSalt` status++instance Prelude.NFData AttachmentStateChange where+ rnf AttachmentStateChange' {..} =+ Prelude.rnf attachmentArn+ `Prelude.seq` Prelude.rnf status++instance Data.ToJSON AttachmentStateChange where+ toJSON AttachmentStateChange' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("attachmentArn" Data..= attachmentArn),+ Prelude.Just ("status" Data..= status)+ ]+ )
+ gen/Amazonka/ECS/Types/Attribute.hs view
@@ -0,0 +1,156 @@+{-# 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.ECS.Types.Attribute+-- 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.ECS.Types.Attribute where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.TargetType+import qualified Amazonka.Prelude as Prelude++-- | An attribute is a name-value pair that\'s associated with an Amazon ECS+-- object. Use attributes to extend the Amazon ECS data model by adding+-- custom metadata to your resources. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes Attributes>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newAttribute' smart constructor.+data Attribute = Attribute'+ { -- | The ID of the target. You can specify the short form ID for a resource+ -- or the full Amazon Resource Name (ARN).+ targetId :: Prelude.Maybe Prelude.Text,+ -- | The type of the target to attach the attribute with. This parameter is+ -- required if you use the short form ID for a resource instead of the full+ -- ARN.+ targetType :: Prelude.Maybe TargetType,+ -- | The value of the attribute. The @value@ must contain between 1 and 128+ -- characters. It can contain letters (uppercase and lowercase), numbers,+ -- hyphens (-), underscores (_), periods (.), at signs (\@), forward+ -- slashes (\/), back slashes (\\), colons (:), or spaces. The value can\'t+ -- start or end with a space.+ value :: Prelude.Maybe Prelude.Text,+ -- | The name of the attribute. The @name@ must contain between 1 and 128+ -- characters. The name may contain letters (uppercase and lowercase),+ -- numbers, hyphens (-), underscores (_), forward slashes (\/), back+ -- slashes (\\), or periods (.).+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Attribute' 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:+--+-- 'targetId', 'attribute_targetId' - The ID of the target. You can specify the short form ID for a resource+-- or the full Amazon Resource Name (ARN).+--+-- 'targetType', 'attribute_targetType' - The type of the target to attach the attribute with. This parameter is+-- required if you use the short form ID for a resource instead of the full+-- ARN.+--+-- 'value', 'attribute_value' - The value of the attribute. The @value@ must contain between 1 and 128+-- characters. It can contain letters (uppercase and lowercase), numbers,+-- hyphens (-), underscores (_), periods (.), at signs (\@), forward+-- slashes (\/), back slashes (\\), colons (:), or spaces. The value can\'t+-- start or end with a space.+--+-- 'name', 'attribute_name' - The name of the attribute. The @name@ must contain between 1 and 128+-- characters. The name may contain letters (uppercase and lowercase),+-- numbers, hyphens (-), underscores (_), forward slashes (\/), back+-- slashes (\\), or periods (.).+newAttribute ::+ -- | 'name'+ Prelude.Text ->+ Attribute+newAttribute pName_ =+ Attribute'+ { targetId = Prelude.Nothing,+ targetType = Prelude.Nothing,+ value = Prelude.Nothing,+ name = pName_+ }++-- | The ID of the target. You can specify the short form ID for a resource+-- or the full Amazon Resource Name (ARN).+attribute_targetId :: Lens.Lens' Attribute (Prelude.Maybe Prelude.Text)+attribute_targetId = Lens.lens (\Attribute' {targetId} -> targetId) (\s@Attribute' {} a -> s {targetId = a} :: Attribute)++-- | The type of the target to attach the attribute with. This parameter is+-- required if you use the short form ID for a resource instead of the full+-- ARN.+attribute_targetType :: Lens.Lens' Attribute (Prelude.Maybe TargetType)+attribute_targetType = Lens.lens (\Attribute' {targetType} -> targetType) (\s@Attribute' {} a -> s {targetType = a} :: Attribute)++-- | The value of the attribute. The @value@ must contain between 1 and 128+-- characters. It can contain letters (uppercase and lowercase), numbers,+-- hyphens (-), underscores (_), periods (.), at signs (\@), forward+-- slashes (\/), back slashes (\\), colons (:), or spaces. The value can\'t+-- start or end with a space.+attribute_value :: Lens.Lens' Attribute (Prelude.Maybe Prelude.Text)+attribute_value = Lens.lens (\Attribute' {value} -> value) (\s@Attribute' {} a -> s {value = a} :: Attribute)++-- | The name of the attribute. The @name@ must contain between 1 and 128+-- characters. The name may contain letters (uppercase and lowercase),+-- numbers, hyphens (-), underscores (_), forward slashes (\/), back+-- slashes (\\), or periods (.).+attribute_name :: Lens.Lens' Attribute Prelude.Text+attribute_name = Lens.lens (\Attribute' {name} -> name) (\s@Attribute' {} a -> s {name = a} :: Attribute)++instance Data.FromJSON Attribute where+ parseJSON =+ Data.withObject+ "Attribute"+ ( \x ->+ Attribute'+ Prelude.<$> (x Data..:? "targetId")+ Prelude.<*> (x Data..:? "targetType")+ Prelude.<*> (x Data..:? "value")+ Prelude.<*> (x Data..: "name")+ )++instance Prelude.Hashable Attribute where+ hashWithSalt _salt Attribute' {..} =+ _salt+ `Prelude.hashWithSalt` targetId+ `Prelude.hashWithSalt` targetType+ `Prelude.hashWithSalt` value+ `Prelude.hashWithSalt` name++instance Prelude.NFData Attribute where+ rnf Attribute' {..} =+ Prelude.rnf targetId+ `Prelude.seq` Prelude.rnf targetType+ `Prelude.seq` Prelude.rnf value+ `Prelude.seq` Prelude.rnf name++instance Data.ToJSON Attribute where+ toJSON Attribute' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("targetId" Data..=) Prelude.<$> targetId,+ ("targetType" Data..=) Prelude.<$> targetType,+ ("value" Data..=) Prelude.<$> value,+ Prelude.Just ("name" Data..= name)+ ]+ )
+ gen/Amazonka/ECS/Types/AutoScalingGroupProvider.hs view
@@ -0,0 +1,168 @@+{-# 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.ECS.Types.AutoScalingGroupProvider+-- 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.ECS.Types.AutoScalingGroupProvider where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ManagedScaling+import Amazonka.ECS.Types.ManagedTerminationProtection+import qualified Amazonka.Prelude as Prelude++-- | The details of the Auto Scaling group for the capacity provider.+--+-- /See:/ 'newAutoScalingGroupProvider' smart constructor.+data AutoScalingGroupProvider = AutoScalingGroupProvider'+ { -- | The managed scaling settings for the Auto Scaling group capacity+ -- provider.+ managedScaling :: Prelude.Maybe ManagedScaling,+ -- | The managed termination protection setting to use for the Auto Scaling+ -- group capacity provider. This determines whether the Auto Scaling group+ -- has managed termination protection. The default is disabled.+ --+ -- When using managed termination protection, managed scaling must also be+ -- used otherwise managed termination protection doesn\'t work.+ --+ -- When managed termination protection is enabled, Amazon ECS prevents the+ -- Amazon EC2 instances in an Auto Scaling group that contain tasks from+ -- being terminated during a scale-in action. The Auto Scaling group and+ -- each instance in the Auto Scaling group must have instance protection+ -- from scale-in actions enabled as well. For more information, see+ -- <https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection Instance Protection>+ -- in the /Auto Scaling User Guide/.+ --+ -- When managed termination protection is disabled, your Amazon EC2+ -- instances aren\'t protected from termination when the Auto Scaling group+ -- scales in.+ managedTerminationProtection :: Prelude.Maybe ManagedTerminationProtection,+ -- | The Amazon Resource Name (ARN) that identifies the Auto Scaling group.+ autoScalingGroupArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AutoScalingGroupProvider' 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:+--+-- 'managedScaling', 'autoScalingGroupProvider_managedScaling' - The managed scaling settings for the Auto Scaling group capacity+-- provider.+--+-- 'managedTerminationProtection', 'autoScalingGroupProvider_managedTerminationProtection' - The managed termination protection setting to use for the Auto Scaling+-- group capacity provider. This determines whether the Auto Scaling group+-- has managed termination protection. The default is disabled.+--+-- When using managed termination protection, managed scaling must also be+-- used otherwise managed termination protection doesn\'t work.+--+-- When managed termination protection is enabled, Amazon ECS prevents the+-- Amazon EC2 instances in an Auto Scaling group that contain tasks from+-- being terminated during a scale-in action. The Auto Scaling group and+-- each instance in the Auto Scaling group must have instance protection+-- from scale-in actions enabled as well. For more information, see+-- <https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection Instance Protection>+-- in the /Auto Scaling User Guide/.+--+-- When managed termination protection is disabled, your Amazon EC2+-- instances aren\'t protected from termination when the Auto Scaling group+-- scales in.+--+-- 'autoScalingGroupArn', 'autoScalingGroupProvider_autoScalingGroupArn' - The Amazon Resource Name (ARN) that identifies the Auto Scaling group.+newAutoScalingGroupProvider ::+ -- | 'autoScalingGroupArn'+ Prelude.Text ->+ AutoScalingGroupProvider+newAutoScalingGroupProvider pAutoScalingGroupArn_ =+ AutoScalingGroupProvider'+ { managedScaling =+ Prelude.Nothing,+ managedTerminationProtection = Prelude.Nothing,+ autoScalingGroupArn = pAutoScalingGroupArn_+ }++-- | The managed scaling settings for the Auto Scaling group capacity+-- provider.+autoScalingGroupProvider_managedScaling :: Lens.Lens' AutoScalingGroupProvider (Prelude.Maybe ManagedScaling)+autoScalingGroupProvider_managedScaling = Lens.lens (\AutoScalingGroupProvider' {managedScaling} -> managedScaling) (\s@AutoScalingGroupProvider' {} a -> s {managedScaling = a} :: AutoScalingGroupProvider)++-- | The managed termination protection setting to use for the Auto Scaling+-- group capacity provider. This determines whether the Auto Scaling group+-- has managed termination protection. The default is disabled.+--+-- When using managed termination protection, managed scaling must also be+-- used otherwise managed termination protection doesn\'t work.+--+-- When managed termination protection is enabled, Amazon ECS prevents the+-- Amazon EC2 instances in an Auto Scaling group that contain tasks from+-- being terminated during a scale-in action. The Auto Scaling group and+-- each instance in the Auto Scaling group must have instance protection+-- from scale-in actions enabled as well. For more information, see+-- <https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection Instance Protection>+-- in the /Auto Scaling User Guide/.+--+-- When managed termination protection is disabled, your Amazon EC2+-- instances aren\'t protected from termination when the Auto Scaling group+-- scales in.+autoScalingGroupProvider_managedTerminationProtection :: Lens.Lens' AutoScalingGroupProvider (Prelude.Maybe ManagedTerminationProtection)+autoScalingGroupProvider_managedTerminationProtection = Lens.lens (\AutoScalingGroupProvider' {managedTerminationProtection} -> managedTerminationProtection) (\s@AutoScalingGroupProvider' {} a -> s {managedTerminationProtection = a} :: AutoScalingGroupProvider)++-- | The Amazon Resource Name (ARN) that identifies the Auto Scaling group.+autoScalingGroupProvider_autoScalingGroupArn :: Lens.Lens' AutoScalingGroupProvider Prelude.Text+autoScalingGroupProvider_autoScalingGroupArn = Lens.lens (\AutoScalingGroupProvider' {autoScalingGroupArn} -> autoScalingGroupArn) (\s@AutoScalingGroupProvider' {} a -> s {autoScalingGroupArn = a} :: AutoScalingGroupProvider)++instance Data.FromJSON AutoScalingGroupProvider where+ parseJSON =+ Data.withObject+ "AutoScalingGroupProvider"+ ( \x ->+ AutoScalingGroupProvider'+ Prelude.<$> (x Data..:? "managedScaling")+ Prelude.<*> (x Data..:? "managedTerminationProtection")+ Prelude.<*> (x Data..: "autoScalingGroupArn")+ )++instance Prelude.Hashable AutoScalingGroupProvider where+ hashWithSalt _salt AutoScalingGroupProvider' {..} =+ _salt+ `Prelude.hashWithSalt` managedScaling+ `Prelude.hashWithSalt` managedTerminationProtection+ `Prelude.hashWithSalt` autoScalingGroupArn++instance Prelude.NFData AutoScalingGroupProvider where+ rnf AutoScalingGroupProvider' {..} =+ Prelude.rnf managedScaling+ `Prelude.seq` Prelude.rnf managedTerminationProtection+ `Prelude.seq` Prelude.rnf autoScalingGroupArn++instance Data.ToJSON AutoScalingGroupProvider where+ toJSON AutoScalingGroupProvider' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("managedScaling" Data..=)+ Prelude.<$> managedScaling,+ ("managedTerminationProtection" Data..=)+ Prelude.<$> managedTerminationProtection,+ Prelude.Just+ ("autoScalingGroupArn" Data..= autoScalingGroupArn)+ ]+ )
+ gen/Amazonka/ECS/Types/AutoScalingGroupProviderUpdate.hs view
@@ -0,0 +1,151 @@+{-# 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.ECS.Types.AutoScalingGroupProviderUpdate+-- 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.ECS.Types.AutoScalingGroupProviderUpdate where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ManagedScaling+import Amazonka.ECS.Types.ManagedTerminationProtection+import qualified Amazonka.Prelude as Prelude++-- | The details of the Auto Scaling group capacity provider to update.+--+-- /See:/ 'newAutoScalingGroupProviderUpdate' smart constructor.+data AutoScalingGroupProviderUpdate = AutoScalingGroupProviderUpdate'+ { -- | The managed scaling settings for the Auto Scaling group capacity+ -- provider.+ managedScaling :: Prelude.Maybe ManagedScaling,+ -- | The managed termination protection setting to use for the Auto Scaling+ -- group capacity provider. This determines whether the Auto Scaling group+ -- has managed termination protection.+ --+ -- When using managed termination protection, managed scaling must also be+ -- used otherwise managed termination protection doesn\'t work.+ --+ -- When managed termination protection is enabled, Amazon ECS prevents the+ -- Amazon EC2 instances in an Auto Scaling group that contain tasks from+ -- being terminated during a scale-in action. The Auto Scaling group and+ -- each instance in the Auto Scaling group must have instance protection+ -- from scale-in actions enabled. For more information, see+ -- <https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection Instance Protection>+ -- in the /Auto Scaling User Guide/.+ --+ -- When managed termination protection is disabled, your Amazon EC2+ -- instances aren\'t protected from termination when the Auto Scaling group+ -- scales in.+ managedTerminationProtection :: Prelude.Maybe ManagedTerminationProtection+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AutoScalingGroupProviderUpdate' 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:+--+-- 'managedScaling', 'autoScalingGroupProviderUpdate_managedScaling' - The managed scaling settings for the Auto Scaling group capacity+-- provider.+--+-- 'managedTerminationProtection', 'autoScalingGroupProviderUpdate_managedTerminationProtection' - The managed termination protection setting to use for the Auto Scaling+-- group capacity provider. This determines whether the Auto Scaling group+-- has managed termination protection.+--+-- When using managed termination protection, managed scaling must also be+-- used otherwise managed termination protection doesn\'t work.+--+-- When managed termination protection is enabled, Amazon ECS prevents the+-- Amazon EC2 instances in an Auto Scaling group that contain tasks from+-- being terminated during a scale-in action. The Auto Scaling group and+-- each instance in the Auto Scaling group must have instance protection+-- from scale-in actions enabled. For more information, see+-- <https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection Instance Protection>+-- in the /Auto Scaling User Guide/.+--+-- When managed termination protection is disabled, your Amazon EC2+-- instances aren\'t protected from termination when the Auto Scaling group+-- scales in.+newAutoScalingGroupProviderUpdate ::+ AutoScalingGroupProviderUpdate+newAutoScalingGroupProviderUpdate =+ AutoScalingGroupProviderUpdate'+ { managedScaling =+ Prelude.Nothing,+ managedTerminationProtection =+ Prelude.Nothing+ }++-- | The managed scaling settings for the Auto Scaling group capacity+-- provider.+autoScalingGroupProviderUpdate_managedScaling :: Lens.Lens' AutoScalingGroupProviderUpdate (Prelude.Maybe ManagedScaling)+autoScalingGroupProviderUpdate_managedScaling = Lens.lens (\AutoScalingGroupProviderUpdate' {managedScaling} -> managedScaling) (\s@AutoScalingGroupProviderUpdate' {} a -> s {managedScaling = a} :: AutoScalingGroupProviderUpdate)++-- | The managed termination protection setting to use for the Auto Scaling+-- group capacity provider. This determines whether the Auto Scaling group+-- has managed termination protection.+--+-- When using managed termination protection, managed scaling must also be+-- used otherwise managed termination protection doesn\'t work.+--+-- When managed termination protection is enabled, Amazon ECS prevents the+-- Amazon EC2 instances in an Auto Scaling group that contain tasks from+-- being terminated during a scale-in action. The Auto Scaling group and+-- each instance in the Auto Scaling group must have instance protection+-- from scale-in actions enabled. For more information, see+-- <https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection Instance Protection>+-- in the /Auto Scaling User Guide/.+--+-- When managed termination protection is disabled, your Amazon EC2+-- instances aren\'t protected from termination when the Auto Scaling group+-- scales in.+autoScalingGroupProviderUpdate_managedTerminationProtection :: Lens.Lens' AutoScalingGroupProviderUpdate (Prelude.Maybe ManagedTerminationProtection)+autoScalingGroupProviderUpdate_managedTerminationProtection = Lens.lens (\AutoScalingGroupProviderUpdate' {managedTerminationProtection} -> managedTerminationProtection) (\s@AutoScalingGroupProviderUpdate' {} a -> s {managedTerminationProtection = a} :: AutoScalingGroupProviderUpdate)++instance+ Prelude.Hashable+ AutoScalingGroupProviderUpdate+ where+ hashWithSalt+ _salt+ AutoScalingGroupProviderUpdate' {..} =+ _salt+ `Prelude.hashWithSalt` managedScaling+ `Prelude.hashWithSalt` managedTerminationProtection++instance+ Prelude.NFData+ AutoScalingGroupProviderUpdate+ where+ rnf AutoScalingGroupProviderUpdate' {..} =+ Prelude.rnf managedScaling+ `Prelude.seq` Prelude.rnf managedTerminationProtection++instance Data.ToJSON AutoScalingGroupProviderUpdate where+ toJSON AutoScalingGroupProviderUpdate' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("managedScaling" Data..=)+ Prelude.<$> managedScaling,+ ("managedTerminationProtection" Data..=)+ Prelude.<$> managedTerminationProtection+ ]+ )
+ gen/Amazonka/ECS/Types/AwsVpcConfiguration.hs view
@@ -0,0 +1,137 @@+{-# 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.ECS.Types.AwsVpcConfiguration+-- 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.ECS.Types.AwsVpcConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.AssignPublicIp+import qualified Amazonka.Prelude as Prelude++-- | An object representing the networking details for a task or service.+--+-- /See:/ 'newAwsVpcConfiguration' smart constructor.+data AwsVpcConfiguration = AwsVpcConfiguration'+ { -- | Whether the task\'s elastic network interface receives a public IP+ -- address. The default value is @DISABLED@.+ assignPublicIp :: Prelude.Maybe AssignPublicIp,+ -- | The IDs of the security groups associated with the task or service. If+ -- you don\'t specify a security group, the default security group for the+ -- VPC is used. There\'s a limit of 5 security groups that can be specified+ -- per @AwsVpcConfiguration@.+ --+ -- All specified security groups must be from the same VPC.+ securityGroups :: Prelude.Maybe [Prelude.Text],+ -- | The IDs of the subnets associated with the task or service. There\'s a+ -- limit of 16 subnets that can be specified per @AwsVpcConfiguration@.+ --+ -- All specified subnets must be from the same VPC.+ subnets :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AwsVpcConfiguration' 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:+--+-- 'assignPublicIp', 'awsVpcConfiguration_assignPublicIp' - Whether the task\'s elastic network interface receives a public IP+-- address. The default value is @DISABLED@.+--+-- 'securityGroups', 'awsVpcConfiguration_securityGroups' - The IDs of the security groups associated with the task or service. If+-- you don\'t specify a security group, the default security group for the+-- VPC is used. There\'s a limit of 5 security groups that can be specified+-- per @AwsVpcConfiguration@.+--+-- All specified security groups must be from the same VPC.+--+-- 'subnets', 'awsVpcConfiguration_subnets' - The IDs of the subnets associated with the task or service. There\'s a+-- limit of 16 subnets that can be specified per @AwsVpcConfiguration@.+--+-- All specified subnets must be from the same VPC.+newAwsVpcConfiguration ::+ AwsVpcConfiguration+newAwsVpcConfiguration =+ AwsVpcConfiguration'+ { assignPublicIp =+ Prelude.Nothing,+ securityGroups = Prelude.Nothing,+ subnets = Prelude.mempty+ }++-- | Whether the task\'s elastic network interface receives a public IP+-- address. The default value is @DISABLED@.+awsVpcConfiguration_assignPublicIp :: Lens.Lens' AwsVpcConfiguration (Prelude.Maybe AssignPublicIp)+awsVpcConfiguration_assignPublicIp = Lens.lens (\AwsVpcConfiguration' {assignPublicIp} -> assignPublicIp) (\s@AwsVpcConfiguration' {} a -> s {assignPublicIp = a} :: AwsVpcConfiguration)++-- | The IDs of the security groups associated with the task or service. If+-- you don\'t specify a security group, the default security group for the+-- VPC is used. There\'s a limit of 5 security groups that can be specified+-- per @AwsVpcConfiguration@.+--+-- All specified security groups must be from the same VPC.+awsVpcConfiguration_securityGroups :: Lens.Lens' AwsVpcConfiguration (Prelude.Maybe [Prelude.Text])+awsVpcConfiguration_securityGroups = Lens.lens (\AwsVpcConfiguration' {securityGroups} -> securityGroups) (\s@AwsVpcConfiguration' {} a -> s {securityGroups = a} :: AwsVpcConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | The IDs of the subnets associated with the task or service. There\'s a+-- limit of 16 subnets that can be specified per @AwsVpcConfiguration@.+--+-- All specified subnets must be from the same VPC.+awsVpcConfiguration_subnets :: Lens.Lens' AwsVpcConfiguration [Prelude.Text]+awsVpcConfiguration_subnets = Lens.lens (\AwsVpcConfiguration' {subnets} -> subnets) (\s@AwsVpcConfiguration' {} a -> s {subnets = a} :: AwsVpcConfiguration) Prelude.. Lens.coerced++instance Data.FromJSON AwsVpcConfiguration where+ parseJSON =+ Data.withObject+ "AwsVpcConfiguration"+ ( \x ->+ AwsVpcConfiguration'+ Prelude.<$> (x Data..:? "assignPublicIp")+ Prelude.<*> (x Data..:? "securityGroups" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "subnets" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable AwsVpcConfiguration where+ hashWithSalt _salt AwsVpcConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` assignPublicIp+ `Prelude.hashWithSalt` securityGroups+ `Prelude.hashWithSalt` subnets++instance Prelude.NFData AwsVpcConfiguration where+ rnf AwsVpcConfiguration' {..} =+ Prelude.rnf assignPublicIp+ `Prelude.seq` Prelude.rnf securityGroups+ `Prelude.seq` Prelude.rnf subnets++instance Data.ToJSON AwsVpcConfiguration where+ toJSON AwsVpcConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("assignPublicIp" Data..=)+ Prelude.<$> assignPublicIp,+ ("securityGroups" Data..=)+ Prelude.<$> securityGroups,+ Prelude.Just ("subnets" Data..= subnets)+ ]+ )
+ gen/Amazonka/ECS/Types/CPUArchitecture.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.ECS.Types.CPUArchitecture+-- 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.ECS.Types.CPUArchitecture+ ( CPUArchitecture+ ( ..,+ CPUArchitecture_ARM64,+ CPUArchitecture_X86_64+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CPUArchitecture = CPUArchitecture'+ { fromCPUArchitecture ::+ 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 CPUArchitecture_ARM64 :: CPUArchitecture+pattern CPUArchitecture_ARM64 = CPUArchitecture' "ARM64"++pattern CPUArchitecture_X86_64 :: CPUArchitecture+pattern CPUArchitecture_X86_64 = CPUArchitecture' "X86_64"++{-# COMPLETE+ CPUArchitecture_ARM64,+ CPUArchitecture_X86_64,+ CPUArchitecture'+ #-}
+ gen/Amazonka/ECS/Types/CapacityProvider.hs view
@@ -0,0 +1,275 @@+{-# 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.ECS.Types.CapacityProvider+-- 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.ECS.Types.CapacityProvider where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.AutoScalingGroupProvider+import Amazonka.ECS.Types.CapacityProviderStatus+import Amazonka.ECS.Types.CapacityProviderUpdateStatus+import Amazonka.ECS.Types.Tag+import qualified Amazonka.Prelude as Prelude++-- | The details for a capacity provider.+--+-- /See:/ 'newCapacityProvider' smart constructor.+data CapacityProvider = CapacityProvider'+ { -- | The Auto Scaling group settings for the capacity provider.+ autoScalingGroupProvider :: Prelude.Maybe AutoScalingGroupProvider,+ -- | The Amazon Resource Name (ARN) that identifies the capacity provider.+ capacityProviderArn :: Prelude.Maybe Prelude.Text,+ -- | The name of the capacity provider.+ name :: Prelude.Maybe Prelude.Text,+ -- | The current status of the capacity provider. Only capacity providers in+ -- an @ACTIVE@ state can be used in a cluster. When a capacity provider is+ -- successfully deleted, it has an @INACTIVE@ status.+ status :: Prelude.Maybe CapacityProviderStatus,+ -- | The metadata that you apply to the capacity provider to help you+ -- categorize and organize it. Each tag consists of a key and an optional+ -- value. You define both.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The update status of the capacity provider. The following are the+ -- possible states that is returned.+ --+ -- [DELETE_IN_PROGRESS]+ -- The capacity provider is in the process of being deleted.+ --+ -- [DELETE_COMPLETE]+ -- The capacity provider was successfully deleted and has an @INACTIVE@+ -- status.+ --+ -- [DELETE_FAILED]+ -- The capacity provider can\'t be deleted. The update status reason+ -- provides further details about why the delete failed.+ updateStatus :: Prelude.Maybe CapacityProviderUpdateStatus,+ -- | The update status reason. This provides further details about the update+ -- status for the capacity provider.+ updateStatusReason :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CapacityProvider' 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:+--+-- 'autoScalingGroupProvider', 'capacityProvider_autoScalingGroupProvider' - The Auto Scaling group settings for the capacity provider.+--+-- 'capacityProviderArn', 'capacityProvider_capacityProviderArn' - The Amazon Resource Name (ARN) that identifies the capacity provider.+--+-- 'name', 'capacityProvider_name' - The name of the capacity provider.+--+-- 'status', 'capacityProvider_status' - The current status of the capacity provider. Only capacity providers in+-- an @ACTIVE@ state can be used in a cluster. When a capacity provider is+-- successfully deleted, it has an @INACTIVE@ status.+--+-- 'tags', 'capacityProvider_tags' - The metadata that you apply to the capacity provider to help you+-- categorize and organize it. Each tag consists of a key and an optional+-- value. You define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'updateStatus', 'capacityProvider_updateStatus' - The update status of the capacity provider. The following are the+-- possible states that is returned.+--+-- [DELETE_IN_PROGRESS]+-- The capacity provider is in the process of being deleted.+--+-- [DELETE_COMPLETE]+-- The capacity provider was successfully deleted and has an @INACTIVE@+-- status.+--+-- [DELETE_FAILED]+-- The capacity provider can\'t be deleted. The update status reason+-- provides further details about why the delete failed.+--+-- 'updateStatusReason', 'capacityProvider_updateStatusReason' - The update status reason. This provides further details about the update+-- status for the capacity provider.+newCapacityProvider ::+ CapacityProvider+newCapacityProvider =+ CapacityProvider'+ { autoScalingGroupProvider =+ Prelude.Nothing,+ capacityProviderArn = Prelude.Nothing,+ name = Prelude.Nothing,+ status = Prelude.Nothing,+ tags = Prelude.Nothing,+ updateStatus = Prelude.Nothing,+ updateStatusReason = Prelude.Nothing+ }++-- | The Auto Scaling group settings for the capacity provider.+capacityProvider_autoScalingGroupProvider :: Lens.Lens' CapacityProvider (Prelude.Maybe AutoScalingGroupProvider)+capacityProvider_autoScalingGroupProvider = Lens.lens (\CapacityProvider' {autoScalingGroupProvider} -> autoScalingGroupProvider) (\s@CapacityProvider' {} a -> s {autoScalingGroupProvider = a} :: CapacityProvider)++-- | The Amazon Resource Name (ARN) that identifies the capacity provider.+capacityProvider_capacityProviderArn :: Lens.Lens' CapacityProvider (Prelude.Maybe Prelude.Text)+capacityProvider_capacityProviderArn = Lens.lens (\CapacityProvider' {capacityProviderArn} -> capacityProviderArn) (\s@CapacityProvider' {} a -> s {capacityProviderArn = a} :: CapacityProvider)++-- | The name of the capacity provider.+capacityProvider_name :: Lens.Lens' CapacityProvider (Prelude.Maybe Prelude.Text)+capacityProvider_name = Lens.lens (\CapacityProvider' {name} -> name) (\s@CapacityProvider' {} a -> s {name = a} :: CapacityProvider)++-- | The current status of the capacity provider. Only capacity providers in+-- an @ACTIVE@ state can be used in a cluster. When a capacity provider is+-- successfully deleted, it has an @INACTIVE@ status.+capacityProvider_status :: Lens.Lens' CapacityProvider (Prelude.Maybe CapacityProviderStatus)+capacityProvider_status = Lens.lens (\CapacityProvider' {status} -> status) (\s@CapacityProvider' {} a -> s {status = a} :: CapacityProvider)++-- | The metadata that you apply to the capacity provider to help you+-- categorize and organize it. Each tag consists of a key and an optional+-- value. You define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+capacityProvider_tags :: Lens.Lens' CapacityProvider (Prelude.Maybe [Tag])+capacityProvider_tags = Lens.lens (\CapacityProvider' {tags} -> tags) (\s@CapacityProvider' {} a -> s {tags = a} :: CapacityProvider) Prelude.. Lens.mapping Lens.coerced++-- | The update status of the capacity provider. The following are the+-- possible states that is returned.+--+-- [DELETE_IN_PROGRESS]+-- The capacity provider is in the process of being deleted.+--+-- [DELETE_COMPLETE]+-- The capacity provider was successfully deleted and has an @INACTIVE@+-- status.+--+-- [DELETE_FAILED]+-- The capacity provider can\'t be deleted. The update status reason+-- provides further details about why the delete failed.+capacityProvider_updateStatus :: Lens.Lens' CapacityProvider (Prelude.Maybe CapacityProviderUpdateStatus)+capacityProvider_updateStatus = Lens.lens (\CapacityProvider' {updateStatus} -> updateStatus) (\s@CapacityProvider' {} a -> s {updateStatus = a} :: CapacityProvider)++-- | The update status reason. This provides further details about the update+-- status for the capacity provider.+capacityProvider_updateStatusReason :: Lens.Lens' CapacityProvider (Prelude.Maybe Prelude.Text)+capacityProvider_updateStatusReason = Lens.lens (\CapacityProvider' {updateStatusReason} -> updateStatusReason) (\s@CapacityProvider' {} a -> s {updateStatusReason = a} :: CapacityProvider)++instance Data.FromJSON CapacityProvider where+ parseJSON =+ Data.withObject+ "CapacityProvider"+ ( \x ->+ CapacityProvider'+ Prelude.<$> (x Data..:? "autoScalingGroupProvider")+ Prelude.<*> (x Data..:? "capacityProviderArn")+ Prelude.<*> (x Data..:? "name")+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "updateStatus")+ Prelude.<*> (x Data..:? "updateStatusReason")+ )++instance Prelude.Hashable CapacityProvider where+ hashWithSalt _salt CapacityProvider' {..} =+ _salt+ `Prelude.hashWithSalt` autoScalingGroupProvider+ `Prelude.hashWithSalt` capacityProviderArn+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` updateStatus+ `Prelude.hashWithSalt` updateStatusReason++instance Prelude.NFData CapacityProvider where+ rnf CapacityProvider' {..} =+ Prelude.rnf autoScalingGroupProvider+ `Prelude.seq` Prelude.rnf capacityProviderArn+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf updateStatus+ `Prelude.seq` Prelude.rnf updateStatusReason
+ gen/Amazonka/ECS/Types/CapacityProviderField.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.CapacityProviderField+-- 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.ECS.Types.CapacityProviderField+ ( CapacityProviderField+ ( ..,+ CapacityProviderField_TAGS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CapacityProviderField = CapacityProviderField'+ { fromCapacityProviderField ::+ 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 CapacityProviderField_TAGS :: CapacityProviderField+pattern CapacityProviderField_TAGS = CapacityProviderField' "TAGS"++{-# COMPLETE+ CapacityProviderField_TAGS,+ CapacityProviderField'+ #-}
+ gen/Amazonka/ECS/Types/CapacityProviderStatus.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.ECS.Types.CapacityProviderStatus+-- 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.ECS.Types.CapacityProviderStatus+ ( CapacityProviderStatus+ ( ..,+ CapacityProviderStatus_ACTIVE,+ CapacityProviderStatus_INACTIVE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CapacityProviderStatus = CapacityProviderStatus'+ { fromCapacityProviderStatus ::+ 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 CapacityProviderStatus_ACTIVE :: CapacityProviderStatus+pattern CapacityProviderStatus_ACTIVE = CapacityProviderStatus' "ACTIVE"++pattern CapacityProviderStatus_INACTIVE :: CapacityProviderStatus+pattern CapacityProviderStatus_INACTIVE = CapacityProviderStatus' "INACTIVE"++{-# COMPLETE+ CapacityProviderStatus_ACTIVE,+ CapacityProviderStatus_INACTIVE,+ CapacityProviderStatus'+ #-}
+ gen/Amazonka/ECS/Types/CapacityProviderStrategyItem.hs view
@@ -0,0 +1,200 @@+{-# 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.ECS.Types.CapacityProviderStrategyItem+-- 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.ECS.Types.CapacityProviderStrategyItem 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++-- | The details of a capacity provider strategy. A capacity provider+-- strategy can be set when using the RunTask or CreateCluster APIs or as+-- the default capacity provider strategy for a cluster with the+-- CreateCluster API.+--+-- Only capacity providers that are already associated with a cluster and+-- have an @ACTIVE@ or @UPDATING@ status can be used in a capacity provider+-- strategy. The PutClusterCapacityProviders API is used to associate a+-- capacity provider with a cluster.+--+-- If specifying a capacity provider that uses an Auto Scaling group, the+-- capacity provider must already be created. New Auto Scaling group+-- capacity providers can be created with the CreateCapacityProvider API+-- operation.+--+-- To use a Fargate capacity provider, specify either the @FARGATE@ or+-- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+-- available to all accounts and only need to be associated with a cluster+-- to be used in a capacity provider strategy.+--+-- A capacity provider strategy may contain a maximum of 6 capacity+-- providers.+--+-- /See:/ 'newCapacityProviderStrategyItem' smart constructor.+data CapacityProviderStrategyItem = CapacityProviderStrategyItem'+ { -- | The /base/ value designates how many tasks, at a minimum, to run on the+ -- specified capacity provider. Only one capacity provider in a capacity+ -- provider strategy can have a /base/ defined. If no value is specified,+ -- the default value of @0@ is used.+ base :: Prelude.Maybe Prelude.Natural,+ -- | The /weight/ value designates the relative percentage of the total+ -- number of tasks launched that should use the specified capacity+ -- provider. The @weight@ value is taken into consideration after the+ -- @base@ value, if defined, is satisfied.+ --+ -- If no @weight@ value is specified, the default value of @0@ is used.+ -- When multiple capacity providers are specified within a capacity+ -- provider strategy, at least one of the capacity providers must have a+ -- weight value greater than zero and any capacity providers with a weight+ -- of @0@ can\'t be used to place tasks. If you specify multiple capacity+ -- providers in a strategy that all have a weight of @0@, any @RunTask@ or+ -- @CreateService@ actions using the capacity provider strategy will fail.+ --+ -- An example scenario for using weights is defining a strategy that+ -- contains two capacity providers and both have a weight of @1@, then when+ -- the @base@ is satisfied, the tasks will be split evenly across the two+ -- capacity providers. Using that same logic, if you specify a weight of+ -- @1@ for /capacityProviderA/ and a weight of @4@ for /capacityProviderB/,+ -- then for every one task that\'s run using /capacityProviderA/, four+ -- tasks would use /capacityProviderB/.+ weight :: Prelude.Maybe Prelude.Natural,+ -- | The short name of the capacity provider.+ capacityProvider :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CapacityProviderStrategyItem' 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:+--+-- 'base', 'capacityProviderStrategyItem_base' - The /base/ value designates how many tasks, at a minimum, to run on the+-- specified capacity provider. Only one capacity provider in a capacity+-- provider strategy can have a /base/ defined. If no value is specified,+-- the default value of @0@ is used.+--+-- 'weight', 'capacityProviderStrategyItem_weight' - The /weight/ value designates the relative percentage of the total+-- number of tasks launched that should use the specified capacity+-- provider. The @weight@ value is taken into consideration after the+-- @base@ value, if defined, is satisfied.+--+-- If no @weight@ value is specified, the default value of @0@ is used.+-- When multiple capacity providers are specified within a capacity+-- provider strategy, at least one of the capacity providers must have a+-- weight value greater than zero and any capacity providers with a weight+-- of @0@ can\'t be used to place tasks. If you specify multiple capacity+-- providers in a strategy that all have a weight of @0@, any @RunTask@ or+-- @CreateService@ actions using the capacity provider strategy will fail.+--+-- An example scenario for using weights is defining a strategy that+-- contains two capacity providers and both have a weight of @1@, then when+-- the @base@ is satisfied, the tasks will be split evenly across the two+-- capacity providers. Using that same logic, if you specify a weight of+-- @1@ for /capacityProviderA/ and a weight of @4@ for /capacityProviderB/,+-- then for every one task that\'s run using /capacityProviderA/, four+-- tasks would use /capacityProviderB/.+--+-- 'capacityProvider', 'capacityProviderStrategyItem_capacityProvider' - The short name of the capacity provider.+newCapacityProviderStrategyItem ::+ -- | 'capacityProvider'+ Prelude.Text ->+ CapacityProviderStrategyItem+newCapacityProviderStrategyItem pCapacityProvider_ =+ CapacityProviderStrategyItem'+ { base =+ Prelude.Nothing,+ weight = Prelude.Nothing,+ capacityProvider = pCapacityProvider_+ }++-- | The /base/ value designates how many tasks, at a minimum, to run on the+-- specified capacity provider. Only one capacity provider in a capacity+-- provider strategy can have a /base/ defined. If no value is specified,+-- the default value of @0@ is used.+capacityProviderStrategyItem_base :: Lens.Lens' CapacityProviderStrategyItem (Prelude.Maybe Prelude.Natural)+capacityProviderStrategyItem_base = Lens.lens (\CapacityProviderStrategyItem' {base} -> base) (\s@CapacityProviderStrategyItem' {} a -> s {base = a} :: CapacityProviderStrategyItem)++-- | The /weight/ value designates the relative percentage of the total+-- number of tasks launched that should use the specified capacity+-- provider. The @weight@ value is taken into consideration after the+-- @base@ value, if defined, is satisfied.+--+-- If no @weight@ value is specified, the default value of @0@ is used.+-- When multiple capacity providers are specified within a capacity+-- provider strategy, at least one of the capacity providers must have a+-- weight value greater than zero and any capacity providers with a weight+-- of @0@ can\'t be used to place tasks. If you specify multiple capacity+-- providers in a strategy that all have a weight of @0@, any @RunTask@ or+-- @CreateService@ actions using the capacity provider strategy will fail.+--+-- An example scenario for using weights is defining a strategy that+-- contains two capacity providers and both have a weight of @1@, then when+-- the @base@ is satisfied, the tasks will be split evenly across the two+-- capacity providers. Using that same logic, if you specify a weight of+-- @1@ for /capacityProviderA/ and a weight of @4@ for /capacityProviderB/,+-- then for every one task that\'s run using /capacityProviderA/, four+-- tasks would use /capacityProviderB/.+capacityProviderStrategyItem_weight :: Lens.Lens' CapacityProviderStrategyItem (Prelude.Maybe Prelude.Natural)+capacityProviderStrategyItem_weight = Lens.lens (\CapacityProviderStrategyItem' {weight} -> weight) (\s@CapacityProviderStrategyItem' {} a -> s {weight = a} :: CapacityProviderStrategyItem)++-- | The short name of the capacity provider.+capacityProviderStrategyItem_capacityProvider :: Lens.Lens' CapacityProviderStrategyItem Prelude.Text+capacityProviderStrategyItem_capacityProvider = Lens.lens (\CapacityProviderStrategyItem' {capacityProvider} -> capacityProvider) (\s@CapacityProviderStrategyItem' {} a -> s {capacityProvider = a} :: CapacityProviderStrategyItem)++instance Data.FromJSON CapacityProviderStrategyItem where+ parseJSON =+ Data.withObject+ "CapacityProviderStrategyItem"+ ( \x ->+ CapacityProviderStrategyItem'+ Prelude.<$> (x Data..:? "base")+ Prelude.<*> (x Data..:? "weight")+ Prelude.<*> (x Data..: "capacityProvider")+ )++instance+ Prelude.Hashable+ CapacityProviderStrategyItem+ where+ hashWithSalt _salt CapacityProviderStrategyItem' {..} =+ _salt+ `Prelude.hashWithSalt` base+ `Prelude.hashWithSalt` weight+ `Prelude.hashWithSalt` capacityProvider++instance Prelude.NFData CapacityProviderStrategyItem where+ rnf CapacityProviderStrategyItem' {..} =+ Prelude.rnf base+ `Prelude.seq` Prelude.rnf weight+ `Prelude.seq` Prelude.rnf capacityProvider++instance Data.ToJSON CapacityProviderStrategyItem where+ toJSON CapacityProviderStrategyItem' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("base" Data..=) Prelude.<$> base,+ ("weight" Data..=) Prelude.<$> weight,+ Prelude.Just+ ("capacityProvider" Data..= capacityProvider)+ ]+ )
+ gen/Amazonka/ECS/Types/CapacityProviderUpdateStatus.hs view
@@ -0,0 +1,91 @@+{-# 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.ECS.Types.CapacityProviderUpdateStatus+-- 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.ECS.Types.CapacityProviderUpdateStatus+ ( CapacityProviderUpdateStatus+ ( ..,+ CapacityProviderUpdateStatus_DELETE_COMPLETE,+ CapacityProviderUpdateStatus_DELETE_FAILED,+ CapacityProviderUpdateStatus_DELETE_IN_PROGRESS,+ CapacityProviderUpdateStatus_UPDATE_COMPLETE,+ CapacityProviderUpdateStatus_UPDATE_FAILED,+ CapacityProviderUpdateStatus_UPDATE_IN_PROGRESS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CapacityProviderUpdateStatus = CapacityProviderUpdateStatus'+ { fromCapacityProviderUpdateStatus ::+ 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 CapacityProviderUpdateStatus_DELETE_COMPLETE :: CapacityProviderUpdateStatus+pattern CapacityProviderUpdateStatus_DELETE_COMPLETE = CapacityProviderUpdateStatus' "DELETE_COMPLETE"++pattern CapacityProviderUpdateStatus_DELETE_FAILED :: CapacityProviderUpdateStatus+pattern CapacityProviderUpdateStatus_DELETE_FAILED = CapacityProviderUpdateStatus' "DELETE_FAILED"++pattern CapacityProviderUpdateStatus_DELETE_IN_PROGRESS :: CapacityProviderUpdateStatus+pattern CapacityProviderUpdateStatus_DELETE_IN_PROGRESS = CapacityProviderUpdateStatus' "DELETE_IN_PROGRESS"++pattern CapacityProviderUpdateStatus_UPDATE_COMPLETE :: CapacityProviderUpdateStatus+pattern CapacityProviderUpdateStatus_UPDATE_COMPLETE = CapacityProviderUpdateStatus' "UPDATE_COMPLETE"++pattern CapacityProviderUpdateStatus_UPDATE_FAILED :: CapacityProviderUpdateStatus+pattern CapacityProviderUpdateStatus_UPDATE_FAILED = CapacityProviderUpdateStatus' "UPDATE_FAILED"++pattern CapacityProviderUpdateStatus_UPDATE_IN_PROGRESS :: CapacityProviderUpdateStatus+pattern CapacityProviderUpdateStatus_UPDATE_IN_PROGRESS = CapacityProviderUpdateStatus' "UPDATE_IN_PROGRESS"++{-# COMPLETE+ CapacityProviderUpdateStatus_DELETE_COMPLETE,+ CapacityProviderUpdateStatus_DELETE_FAILED,+ CapacityProviderUpdateStatus_DELETE_IN_PROGRESS,+ CapacityProviderUpdateStatus_UPDATE_COMPLETE,+ CapacityProviderUpdateStatus_UPDATE_FAILED,+ CapacityProviderUpdateStatus_UPDATE_IN_PROGRESS,+ CapacityProviderUpdateStatus'+ #-}
+ gen/Amazonka/ECS/Types/Cluster.hs view
@@ -0,0 +1,580 @@+{-# 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.ECS.Types.Cluster+-- 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.ECS.Types.Cluster where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.Attachment+import Amazonka.ECS.Types.CapacityProviderStrategyItem+import Amazonka.ECS.Types.ClusterConfiguration+import Amazonka.ECS.Types.ClusterServiceConnectDefaults+import Amazonka.ECS.Types.ClusterSetting+import Amazonka.ECS.Types.KeyValuePair+import Amazonka.ECS.Types.Tag+import qualified Amazonka.Prelude as Prelude++-- | A regional grouping of one or more container instances where you can run+-- task requests. Each account receives a default cluster the first time+-- you use the Amazon ECS service, but you may also create other clusters.+-- Clusters may contain more than one instance type simultaneously.+--+-- /See:/ 'newCluster' smart constructor.+data Cluster = Cluster'+ { -- | The number of services that are running on the cluster in an @ACTIVE@+ -- state. You can view these services with ListServices.+ activeServicesCount :: Prelude.Maybe Prelude.Int,+ -- | The resources attached to a cluster. When using a capacity provider with+ -- a cluster, the capacity provider and associated resources are returned+ -- as cluster attachments.+ attachments :: Prelude.Maybe [Attachment],+ -- | The status of the capacity providers associated with the cluster. The+ -- following are the states that are returned.+ --+ -- [UPDATE_IN_PROGRESS]+ -- The available capacity providers for the cluster are updating.+ --+ -- [UPDATE_COMPLETE]+ -- The capacity providers have successfully updated.+ --+ -- [UPDATE_FAILED]+ -- The capacity provider updates failed.+ attachmentsStatus :: Prelude.Maybe Prelude.Text,+ -- | The capacity providers associated with the cluster.+ capacityProviders :: Prelude.Maybe [Prelude.Text],+ -- | The Amazon Resource Name (ARN) that identifies the cluster. For more+ -- information about the ARN format, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+ -- in the /Amazon ECS Developer Guide/.+ clusterArn :: Prelude.Maybe Prelude.Text,+ -- | A user-generated string that you use to identify your cluster.+ clusterName :: Prelude.Maybe Prelude.Text,+ -- | The execute command configuration for the cluster.+ configuration :: Prelude.Maybe ClusterConfiguration,+ -- | The default capacity provider strategy for the cluster. When services or+ -- tasks are run in the cluster with no launch type or capacity provider+ -- strategy specified, the default capacity provider strategy is used.+ defaultCapacityProviderStrategy :: Prelude.Maybe [CapacityProviderStrategyItem],+ -- | The number of tasks in the cluster that are in the @PENDING@ state.+ pendingTasksCount :: Prelude.Maybe Prelude.Int,+ -- | The number of container instances registered into the cluster. This+ -- includes container instances in both @ACTIVE@ and @DRAINING@ status.+ registeredContainerInstancesCount :: Prelude.Maybe Prelude.Int,+ -- | The number of tasks in the cluster that are in the @RUNNING@ state.+ runningTasksCount :: Prelude.Maybe Prelude.Int,+ -- | Use this parameter to set a default Service Connect namespace. After you+ -- set a default Service Connect namespace, any new services with Service+ -- Connect turned on that are created in the cluster are added as client+ -- services in the namespace. This setting only applies to new services+ -- that set the @enabled@ parameter to @true@ in the+ -- @ServiceConnectConfiguration@. You can set the namespace of each service+ -- individually in the @ServiceConnectConfiguration@ to override this+ -- default parameter.+ --+ -- Tasks that run in a namespace can use short names to connect to services+ -- in the namespace. Tasks can connect to services across all of the+ -- clusters in the namespace. Tasks connect through a managed proxy+ -- container that collects logs and metrics for increased visibility. Only+ -- the tasks that Amazon ECS services create are supported with Service+ -- Connect. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ serviceConnectDefaults :: Prelude.Maybe ClusterServiceConnectDefaults,+ -- | The settings for the cluster. This parameter indicates whether+ -- CloudWatch Container Insights is enabled or disabled for a cluster.+ settings :: Prelude.Maybe [ClusterSetting],+ -- | Additional information about your clusters that are separated by launch+ -- type. They include the following:+ --+ -- - runningEC2TasksCount+ --+ -- - RunningFargateTasksCount+ --+ -- - pendingEC2TasksCount+ --+ -- - pendingFargateTasksCount+ --+ -- - activeEC2ServiceCount+ --+ -- - activeFargateServiceCount+ --+ -- - drainingEC2ServiceCount+ --+ -- - drainingFargateServiceCount+ statistics :: Prelude.Maybe [KeyValuePair],+ -- | The status of the cluster. The following are the possible states that+ -- are returned.+ --+ -- [ACTIVE]+ -- The cluster is ready to accept tasks and if applicable you can+ -- register container instances with the cluster.+ --+ -- [PROVISIONING]+ -- The cluster has capacity providers that are associated with it and+ -- the resources needed for the capacity provider are being created.+ --+ -- [DEPROVISIONING]+ -- The cluster has capacity providers that are associated with it and+ -- the resources needed for the capacity provider are being deleted.+ --+ -- [FAILED]+ -- The cluster has capacity providers that are associated with it and+ -- the resources needed for the capacity provider have failed to+ -- create.+ --+ -- [INACTIVE]+ -- The cluster has been deleted. Clusters with an @INACTIVE@ status may+ -- remain discoverable in your account for a period of time. However,+ -- this behavior is subject to change in the future. We don\'t+ -- recommend that you rely on @INACTIVE@ clusters persisting.+ status :: Prelude.Maybe Prelude.Text,+ -- | The metadata that you apply to the cluster to help you categorize and+ -- organize them. Each tag consists of a key and an optional value. You+ -- define both.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Cluster' 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:+--+-- 'activeServicesCount', 'cluster_activeServicesCount' - The number of services that are running on the cluster in an @ACTIVE@+-- state. You can view these services with ListServices.+--+-- 'attachments', 'cluster_attachments' - The resources attached to a cluster. When using a capacity provider with+-- a cluster, the capacity provider and associated resources are returned+-- as cluster attachments.+--+-- 'attachmentsStatus', 'cluster_attachmentsStatus' - The status of the capacity providers associated with the cluster. The+-- following are the states that are returned.+--+-- [UPDATE_IN_PROGRESS]+-- The available capacity providers for the cluster are updating.+--+-- [UPDATE_COMPLETE]+-- The capacity providers have successfully updated.+--+-- [UPDATE_FAILED]+-- The capacity provider updates failed.+--+-- 'capacityProviders', 'cluster_capacityProviders' - The capacity providers associated with the cluster.+--+-- 'clusterArn', 'cluster_clusterArn' - The Amazon Resource Name (ARN) that identifies the cluster. For more+-- information about the ARN format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+-- in the /Amazon ECS Developer Guide/.+--+-- 'clusterName', 'cluster_clusterName' - A user-generated string that you use to identify your cluster.+--+-- 'configuration', 'cluster_configuration' - The execute command configuration for the cluster.+--+-- 'defaultCapacityProviderStrategy', 'cluster_defaultCapacityProviderStrategy' - The default capacity provider strategy for the cluster. When services or+-- tasks are run in the cluster with no launch type or capacity provider+-- strategy specified, the default capacity provider strategy is used.+--+-- 'pendingTasksCount', 'cluster_pendingTasksCount' - The number of tasks in the cluster that are in the @PENDING@ state.+--+-- 'registeredContainerInstancesCount', 'cluster_registeredContainerInstancesCount' - The number of container instances registered into the cluster. This+-- includes container instances in both @ACTIVE@ and @DRAINING@ status.+--+-- 'runningTasksCount', 'cluster_runningTasksCount' - The number of tasks in the cluster that are in the @RUNNING@ state.+--+-- 'serviceConnectDefaults', 'cluster_serviceConnectDefaults' - Use this parameter to set a default Service Connect namespace. After you+-- set a default Service Connect namespace, any new services with Service+-- Connect turned on that are created in the cluster are added as client+-- services in the namespace. This setting only applies to new services+-- that set the @enabled@ parameter to @true@ in the+-- @ServiceConnectConfiguration@. You can set the namespace of each service+-- individually in the @ServiceConnectConfiguration@ to override this+-- default parameter.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'settings', 'cluster_settings' - The settings for the cluster. This parameter indicates whether+-- CloudWatch Container Insights is enabled or disabled for a cluster.+--+-- 'statistics', 'cluster_statistics' - Additional information about your clusters that are separated by launch+-- type. They include the following:+--+-- - runningEC2TasksCount+--+-- - RunningFargateTasksCount+--+-- - pendingEC2TasksCount+--+-- - pendingFargateTasksCount+--+-- - activeEC2ServiceCount+--+-- - activeFargateServiceCount+--+-- - drainingEC2ServiceCount+--+-- - drainingFargateServiceCount+--+-- 'status', 'cluster_status' - The status of the cluster. The following are the possible states that+-- are returned.+--+-- [ACTIVE]+-- The cluster is ready to accept tasks and if applicable you can+-- register container instances with the cluster.+--+-- [PROVISIONING]+-- The cluster has capacity providers that are associated with it and+-- the resources needed for the capacity provider are being created.+--+-- [DEPROVISIONING]+-- The cluster has capacity providers that are associated with it and+-- the resources needed for the capacity provider are being deleted.+--+-- [FAILED]+-- The cluster has capacity providers that are associated with it and+-- the resources needed for the capacity provider have failed to+-- create.+--+-- [INACTIVE]+-- The cluster has been deleted. Clusters with an @INACTIVE@ status may+-- remain discoverable in your account for a period of time. However,+-- this behavior is subject to change in the future. We don\'t+-- recommend that you rely on @INACTIVE@ clusters persisting.+--+-- 'tags', 'cluster_tags' - The metadata that you apply to the cluster to help you categorize and+-- organize them. Each tag consists of a key and an optional value. You+-- define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+newCluster ::+ Cluster+newCluster =+ Cluster'+ { activeServicesCount = Prelude.Nothing,+ attachments = Prelude.Nothing,+ attachmentsStatus = Prelude.Nothing,+ capacityProviders = Prelude.Nothing,+ clusterArn = Prelude.Nothing,+ clusterName = Prelude.Nothing,+ configuration = Prelude.Nothing,+ defaultCapacityProviderStrategy = Prelude.Nothing,+ pendingTasksCount = Prelude.Nothing,+ registeredContainerInstancesCount = Prelude.Nothing,+ runningTasksCount = Prelude.Nothing,+ serviceConnectDefaults = Prelude.Nothing,+ settings = Prelude.Nothing,+ statistics = Prelude.Nothing,+ status = Prelude.Nothing,+ tags = Prelude.Nothing+ }++-- | The number of services that are running on the cluster in an @ACTIVE@+-- state. You can view these services with ListServices.+cluster_activeServicesCount :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Int)+cluster_activeServicesCount = Lens.lens (\Cluster' {activeServicesCount} -> activeServicesCount) (\s@Cluster' {} a -> s {activeServicesCount = a} :: Cluster)++-- | The resources attached to a cluster. When using a capacity provider with+-- a cluster, the capacity provider and associated resources are returned+-- as cluster attachments.+cluster_attachments :: Lens.Lens' Cluster (Prelude.Maybe [Attachment])+cluster_attachments = Lens.lens (\Cluster' {attachments} -> attachments) (\s@Cluster' {} a -> s {attachments = a} :: Cluster) Prelude.. Lens.mapping Lens.coerced++-- | The status of the capacity providers associated with the cluster. The+-- following are the states that are returned.+--+-- [UPDATE_IN_PROGRESS]+-- The available capacity providers for the cluster are updating.+--+-- [UPDATE_COMPLETE]+-- The capacity providers have successfully updated.+--+-- [UPDATE_FAILED]+-- The capacity provider updates failed.+cluster_attachmentsStatus :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Text)+cluster_attachmentsStatus = Lens.lens (\Cluster' {attachmentsStatus} -> attachmentsStatus) (\s@Cluster' {} a -> s {attachmentsStatus = a} :: Cluster)++-- | The capacity providers associated with the cluster.+cluster_capacityProviders :: Lens.Lens' Cluster (Prelude.Maybe [Prelude.Text])+cluster_capacityProviders = Lens.lens (\Cluster' {capacityProviders} -> capacityProviders) (\s@Cluster' {} a -> s {capacityProviders = a} :: Cluster) Prelude.. Lens.mapping Lens.coerced++-- | The Amazon Resource Name (ARN) that identifies the cluster. For more+-- information about the ARN format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+-- in the /Amazon ECS Developer Guide/.+cluster_clusterArn :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Text)+cluster_clusterArn = Lens.lens (\Cluster' {clusterArn} -> clusterArn) (\s@Cluster' {} a -> s {clusterArn = a} :: Cluster)++-- | A user-generated string that you use to identify your cluster.+cluster_clusterName :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Text)+cluster_clusterName = Lens.lens (\Cluster' {clusterName} -> clusterName) (\s@Cluster' {} a -> s {clusterName = a} :: Cluster)++-- | The execute command configuration for the cluster.+cluster_configuration :: Lens.Lens' Cluster (Prelude.Maybe ClusterConfiguration)+cluster_configuration = Lens.lens (\Cluster' {configuration} -> configuration) (\s@Cluster' {} a -> s {configuration = a} :: Cluster)++-- | The default capacity provider strategy for the cluster. When services or+-- tasks are run in the cluster with no launch type or capacity provider+-- strategy specified, the default capacity provider strategy is used.+cluster_defaultCapacityProviderStrategy :: Lens.Lens' Cluster (Prelude.Maybe [CapacityProviderStrategyItem])+cluster_defaultCapacityProviderStrategy = Lens.lens (\Cluster' {defaultCapacityProviderStrategy} -> defaultCapacityProviderStrategy) (\s@Cluster' {} a -> s {defaultCapacityProviderStrategy = a} :: Cluster) Prelude.. Lens.mapping Lens.coerced++-- | The number of tasks in the cluster that are in the @PENDING@ state.+cluster_pendingTasksCount :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Int)+cluster_pendingTasksCount = Lens.lens (\Cluster' {pendingTasksCount} -> pendingTasksCount) (\s@Cluster' {} a -> s {pendingTasksCount = a} :: Cluster)++-- | The number of container instances registered into the cluster. This+-- includes container instances in both @ACTIVE@ and @DRAINING@ status.+cluster_registeredContainerInstancesCount :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Int)+cluster_registeredContainerInstancesCount = Lens.lens (\Cluster' {registeredContainerInstancesCount} -> registeredContainerInstancesCount) (\s@Cluster' {} a -> s {registeredContainerInstancesCount = a} :: Cluster)++-- | The number of tasks in the cluster that are in the @RUNNING@ state.+cluster_runningTasksCount :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Int)+cluster_runningTasksCount = Lens.lens (\Cluster' {runningTasksCount} -> runningTasksCount) (\s@Cluster' {} a -> s {runningTasksCount = a} :: Cluster)++-- | Use this parameter to set a default Service Connect namespace. After you+-- set a default Service Connect namespace, any new services with Service+-- Connect turned on that are created in the cluster are added as client+-- services in the namespace. This setting only applies to new services+-- that set the @enabled@ parameter to @true@ in the+-- @ServiceConnectConfiguration@. You can set the namespace of each service+-- individually in the @ServiceConnectConfiguration@ to override this+-- default parameter.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+cluster_serviceConnectDefaults :: Lens.Lens' Cluster (Prelude.Maybe ClusterServiceConnectDefaults)+cluster_serviceConnectDefaults = Lens.lens (\Cluster' {serviceConnectDefaults} -> serviceConnectDefaults) (\s@Cluster' {} a -> s {serviceConnectDefaults = a} :: Cluster)++-- | The settings for the cluster. This parameter indicates whether+-- CloudWatch Container Insights is enabled or disabled for a cluster.+cluster_settings :: Lens.Lens' Cluster (Prelude.Maybe [ClusterSetting])+cluster_settings = Lens.lens (\Cluster' {settings} -> settings) (\s@Cluster' {} a -> s {settings = a} :: Cluster) Prelude.. Lens.mapping Lens.coerced++-- | Additional information about your clusters that are separated by launch+-- type. They include the following:+--+-- - runningEC2TasksCount+--+-- - RunningFargateTasksCount+--+-- - pendingEC2TasksCount+--+-- - pendingFargateTasksCount+--+-- - activeEC2ServiceCount+--+-- - activeFargateServiceCount+--+-- - drainingEC2ServiceCount+--+-- - drainingFargateServiceCount+cluster_statistics :: Lens.Lens' Cluster (Prelude.Maybe [KeyValuePair])+cluster_statistics = Lens.lens (\Cluster' {statistics} -> statistics) (\s@Cluster' {} a -> s {statistics = a} :: Cluster) Prelude.. Lens.mapping Lens.coerced++-- | The status of the cluster. The following are the possible states that+-- are returned.+--+-- [ACTIVE]+-- The cluster is ready to accept tasks and if applicable you can+-- register container instances with the cluster.+--+-- [PROVISIONING]+-- The cluster has capacity providers that are associated with it and+-- the resources needed for the capacity provider are being created.+--+-- [DEPROVISIONING]+-- The cluster has capacity providers that are associated with it and+-- the resources needed for the capacity provider are being deleted.+--+-- [FAILED]+-- The cluster has capacity providers that are associated with it and+-- the resources needed for the capacity provider have failed to+-- create.+--+-- [INACTIVE]+-- The cluster has been deleted. Clusters with an @INACTIVE@ status may+-- remain discoverable in your account for a period of time. However,+-- this behavior is subject to change in the future. We don\'t+-- recommend that you rely on @INACTIVE@ clusters persisting.+cluster_status :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Text)+cluster_status = Lens.lens (\Cluster' {status} -> status) (\s@Cluster' {} a -> s {status = a} :: Cluster)++-- | The metadata that you apply to the cluster to help you categorize and+-- organize them. Each tag consists of a key and an optional value. You+-- define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+cluster_tags :: Lens.Lens' Cluster (Prelude.Maybe [Tag])+cluster_tags = Lens.lens (\Cluster' {tags} -> tags) (\s@Cluster' {} a -> s {tags = a} :: Cluster) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON Cluster where+ parseJSON =+ Data.withObject+ "Cluster"+ ( \x ->+ Cluster'+ Prelude.<$> (x Data..:? "activeServicesCount")+ Prelude.<*> (x Data..:? "attachments" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "attachmentsStatus")+ Prelude.<*> ( x+ Data..:? "capacityProviders"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "clusterArn")+ Prelude.<*> (x Data..:? "clusterName")+ Prelude.<*> (x Data..:? "configuration")+ Prelude.<*> ( x+ Data..:? "defaultCapacityProviderStrategy"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "pendingTasksCount")+ Prelude.<*> (x Data..:? "registeredContainerInstancesCount")+ Prelude.<*> (x Data..:? "runningTasksCount")+ Prelude.<*> (x Data..:? "serviceConnectDefaults")+ Prelude.<*> (x Data..:? "settings" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "statistics" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable Cluster where+ hashWithSalt _salt Cluster' {..} =+ _salt+ `Prelude.hashWithSalt` activeServicesCount+ `Prelude.hashWithSalt` attachments+ `Prelude.hashWithSalt` attachmentsStatus+ `Prelude.hashWithSalt` capacityProviders+ `Prelude.hashWithSalt` clusterArn+ `Prelude.hashWithSalt` clusterName+ `Prelude.hashWithSalt` configuration+ `Prelude.hashWithSalt` defaultCapacityProviderStrategy+ `Prelude.hashWithSalt` pendingTasksCount+ `Prelude.hashWithSalt` registeredContainerInstancesCount+ `Prelude.hashWithSalt` runningTasksCount+ `Prelude.hashWithSalt` serviceConnectDefaults+ `Prelude.hashWithSalt` settings+ `Prelude.hashWithSalt` statistics+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` tags++instance Prelude.NFData Cluster where+ rnf Cluster' {..} =+ Prelude.rnf activeServicesCount+ `Prelude.seq` Prelude.rnf attachments+ `Prelude.seq` Prelude.rnf attachmentsStatus+ `Prelude.seq` Prelude.rnf capacityProviders+ `Prelude.seq` Prelude.rnf clusterArn+ `Prelude.seq` Prelude.rnf clusterName+ `Prelude.seq` Prelude.rnf configuration+ `Prelude.seq` Prelude.rnf defaultCapacityProviderStrategy+ `Prelude.seq` Prelude.rnf pendingTasksCount+ `Prelude.seq` Prelude.rnf registeredContainerInstancesCount+ `Prelude.seq` Prelude.rnf runningTasksCount+ `Prelude.seq` Prelude.rnf serviceConnectDefaults+ `Prelude.seq` Prelude.rnf settings+ `Prelude.seq` Prelude.rnf statistics+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf tags
+ gen/Amazonka/ECS/Types/ClusterConfiguration.hs view
@@ -0,0 +1,83 @@+{-# 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.ECS.Types.ClusterConfiguration+-- 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.ECS.Types.ClusterConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ExecuteCommandConfiguration+import qualified Amazonka.Prelude as Prelude++-- | The execute command configuration for the cluster.+--+-- /See:/ 'newClusterConfiguration' smart constructor.+data ClusterConfiguration = ClusterConfiguration'+ { -- | The details of the execute command configuration.+ executeCommandConfiguration :: Prelude.Maybe ExecuteCommandConfiguration+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ClusterConfiguration' 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:+--+-- 'executeCommandConfiguration', 'clusterConfiguration_executeCommandConfiguration' - The details of the execute command configuration.+newClusterConfiguration ::+ ClusterConfiguration+newClusterConfiguration =+ ClusterConfiguration'+ { executeCommandConfiguration =+ Prelude.Nothing+ }++-- | The details of the execute command configuration.+clusterConfiguration_executeCommandConfiguration :: Lens.Lens' ClusterConfiguration (Prelude.Maybe ExecuteCommandConfiguration)+clusterConfiguration_executeCommandConfiguration = Lens.lens (\ClusterConfiguration' {executeCommandConfiguration} -> executeCommandConfiguration) (\s@ClusterConfiguration' {} a -> s {executeCommandConfiguration = a} :: ClusterConfiguration)++instance Data.FromJSON ClusterConfiguration where+ parseJSON =+ Data.withObject+ "ClusterConfiguration"+ ( \x ->+ ClusterConfiguration'+ Prelude.<$> (x Data..:? "executeCommandConfiguration")+ )++instance Prelude.Hashable ClusterConfiguration where+ hashWithSalt _salt ClusterConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` executeCommandConfiguration++instance Prelude.NFData ClusterConfiguration where+ rnf ClusterConfiguration' {..} =+ Prelude.rnf executeCommandConfiguration++instance Data.ToJSON ClusterConfiguration where+ toJSON ClusterConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("executeCommandConfiguration" Data..=)+ Prelude.<$> executeCommandConfiguration+ ]+ )
+ gen/Amazonka/ECS/Types/ClusterField.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.ECS.Types.ClusterField+-- 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.ECS.Types.ClusterField+ ( ClusterField+ ( ..,+ ClusterField_ATTACHMENTS,+ ClusterField_CONFIGURATIONS,+ ClusterField_SETTINGS,+ ClusterField_STATISTICS,+ ClusterField_TAGS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ClusterField = ClusterField'+ { fromClusterField ::+ 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 ClusterField_ATTACHMENTS :: ClusterField+pattern ClusterField_ATTACHMENTS = ClusterField' "ATTACHMENTS"++pattern ClusterField_CONFIGURATIONS :: ClusterField+pattern ClusterField_CONFIGURATIONS = ClusterField' "CONFIGURATIONS"++pattern ClusterField_SETTINGS :: ClusterField+pattern ClusterField_SETTINGS = ClusterField' "SETTINGS"++pattern ClusterField_STATISTICS :: ClusterField+pattern ClusterField_STATISTICS = ClusterField' "STATISTICS"++pattern ClusterField_TAGS :: ClusterField+pattern ClusterField_TAGS = ClusterField' "TAGS"++{-# COMPLETE+ ClusterField_ATTACHMENTS,+ ClusterField_CONFIGURATIONS,+ ClusterField_SETTINGS,+ ClusterField_STATISTICS,+ ClusterField_TAGS,+ ClusterField'+ #-}
+ gen/Amazonka/ECS/Types/ClusterServiceConnectDefaults.hs view
@@ -0,0 +1,97 @@+{-# 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.ECS.Types.ClusterServiceConnectDefaults+-- 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.ECS.Types.ClusterServiceConnectDefaults 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++-- | Use this parameter to set a default Service Connect namespace. After you+-- set a default Service Connect namespace, any new services with Service+-- Connect turned on that are created in the cluster are added as client+-- services in the namespace. This setting only applies to new services+-- that set the @enabled@ parameter to @true@ in the+-- @ServiceConnectConfiguration@. You can set the namespace of each service+-- individually in the @ServiceConnectConfiguration@ to override this+-- default parameter.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newClusterServiceConnectDefaults' smart constructor.+data ClusterServiceConnectDefaults = ClusterServiceConnectDefaults'+ { -- | The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+ -- namespace. When you create a service and don\'t specify a Service+ -- Connect configuration, this namespace is used.+ namespace :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ClusterServiceConnectDefaults' 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:+--+-- 'namespace', 'clusterServiceConnectDefaults_namespace' - The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+-- namespace. When you create a service and don\'t specify a Service+-- Connect configuration, this namespace is used.+newClusterServiceConnectDefaults ::+ ClusterServiceConnectDefaults+newClusterServiceConnectDefaults =+ ClusterServiceConnectDefaults'+ { namespace =+ Prelude.Nothing+ }++-- | The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+-- namespace. When you create a service and don\'t specify a Service+-- Connect configuration, this namespace is used.+clusterServiceConnectDefaults_namespace :: Lens.Lens' ClusterServiceConnectDefaults (Prelude.Maybe Prelude.Text)+clusterServiceConnectDefaults_namespace = Lens.lens (\ClusterServiceConnectDefaults' {namespace} -> namespace) (\s@ClusterServiceConnectDefaults' {} a -> s {namespace = a} :: ClusterServiceConnectDefaults)++instance Data.FromJSON ClusterServiceConnectDefaults where+ parseJSON =+ Data.withObject+ "ClusterServiceConnectDefaults"+ ( \x ->+ ClusterServiceConnectDefaults'+ Prelude.<$> (x Data..:? "namespace")+ )++instance+ Prelude.Hashable+ ClusterServiceConnectDefaults+ where+ hashWithSalt _salt ClusterServiceConnectDefaults' {..} =+ _salt `Prelude.hashWithSalt` namespace++instance Prelude.NFData ClusterServiceConnectDefaults where+ rnf ClusterServiceConnectDefaults' {..} =+ Prelude.rnf namespace
+ gen/Amazonka/ECS/Types/ClusterServiceConnectDefaultsRequest.hs view
@@ -0,0 +1,168 @@+{-# 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.ECS.Types.ClusterServiceConnectDefaultsRequest+-- 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.ECS.Types.ClusterServiceConnectDefaultsRequest 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++-- | Use this parameter to set a default Service Connect namespace. After you+-- set a default Service Connect namespace, any new services with Service+-- Connect turned on that are created in the cluster are added as client+-- services in the namespace. This setting only applies to new services+-- that set the @enabled@ parameter to @true@ in the+-- @ServiceConnectConfiguration@. You can set the namespace of each service+-- individually in the @ServiceConnectConfiguration@ to override this+-- default parameter.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newClusterServiceConnectDefaultsRequest' smart constructor.+data ClusterServiceConnectDefaultsRequest = ClusterServiceConnectDefaultsRequest'+ { -- | The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+ -- namespace that\'s used when you create a service and don\'t specify a+ -- Service Connect configuration. The namespace name can include up to 1024+ -- characters. The name is case-sensitive. The name can\'t include hyphens+ -- (-), tilde (~), greater than (>), less than (\<), or slash (\/).+ --+ -- If you enter an existing namespace name or ARN, then that namespace will+ -- be used. Any namespace type is supported. The namespace must be in this+ -- account and this Amazon Web Services Region.+ --+ -- If you enter a new name, a Cloud Map namespace will be created. Amazon+ -- ECS creates a Cloud Map namespace with the \"API calls\" method of+ -- instance discovery only. This instance discovery method is the \"HTTP\"+ -- namespace type in the Command Line Interface. Other types of instance+ -- discovery aren\'t used by Service Connect.+ --+ -- If you update the service with an empty string @\"\"@ for the namespace+ -- name, the cluster configuration for Service Connect is removed. Note+ -- that the namespace will remain in Cloud Map and must be deleted+ -- separately.+ --+ -- For more information about Cloud Map, see+ -- <https://docs.aws.amazon.com/ Working with Services> in the /Cloud Map+ -- Developer Guide/.+ namespace :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ClusterServiceConnectDefaultsRequest' 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:+--+-- 'namespace', 'clusterServiceConnectDefaultsRequest_namespace' - The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+-- namespace that\'s used when you create a service and don\'t specify a+-- Service Connect configuration. The namespace name can include up to 1024+-- characters. The name is case-sensitive. The name can\'t include hyphens+-- (-), tilde (~), greater than (>), less than (\<), or slash (\/).+--+-- If you enter an existing namespace name or ARN, then that namespace will+-- be used. Any namespace type is supported. The namespace must be in this+-- account and this Amazon Web Services Region.+--+-- If you enter a new name, a Cloud Map namespace will be created. Amazon+-- ECS creates a Cloud Map namespace with the \"API calls\" method of+-- instance discovery only. This instance discovery method is the \"HTTP\"+-- namespace type in the Command Line Interface. Other types of instance+-- discovery aren\'t used by Service Connect.+--+-- If you update the service with an empty string @\"\"@ for the namespace+-- name, the cluster configuration for Service Connect is removed. Note+-- that the namespace will remain in Cloud Map and must be deleted+-- separately.+--+-- For more information about Cloud Map, see+-- <https://docs.aws.amazon.com/ Working with Services> in the /Cloud Map+-- Developer Guide/.+newClusterServiceConnectDefaultsRequest ::+ -- | 'namespace'+ Prelude.Text ->+ ClusterServiceConnectDefaultsRequest+newClusterServiceConnectDefaultsRequest pNamespace_ =+ ClusterServiceConnectDefaultsRequest'+ { namespace =+ pNamespace_+ }++-- | The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+-- namespace that\'s used when you create a service and don\'t specify a+-- Service Connect configuration. The namespace name can include up to 1024+-- characters. The name is case-sensitive. The name can\'t include hyphens+-- (-), tilde (~), greater than (>), less than (\<), or slash (\/).+--+-- If you enter an existing namespace name or ARN, then that namespace will+-- be used. Any namespace type is supported. The namespace must be in this+-- account and this Amazon Web Services Region.+--+-- If you enter a new name, a Cloud Map namespace will be created. Amazon+-- ECS creates a Cloud Map namespace with the \"API calls\" method of+-- instance discovery only. This instance discovery method is the \"HTTP\"+-- namespace type in the Command Line Interface. Other types of instance+-- discovery aren\'t used by Service Connect.+--+-- If you update the service with an empty string @\"\"@ for the namespace+-- name, the cluster configuration for Service Connect is removed. Note+-- that the namespace will remain in Cloud Map and must be deleted+-- separately.+--+-- For more information about Cloud Map, see+-- <https://docs.aws.amazon.com/ Working with Services> in the /Cloud Map+-- Developer Guide/.+clusterServiceConnectDefaultsRequest_namespace :: Lens.Lens' ClusterServiceConnectDefaultsRequest Prelude.Text+clusterServiceConnectDefaultsRequest_namespace = Lens.lens (\ClusterServiceConnectDefaultsRequest' {namespace} -> namespace) (\s@ClusterServiceConnectDefaultsRequest' {} a -> s {namespace = a} :: ClusterServiceConnectDefaultsRequest)++instance+ Prelude.Hashable+ ClusterServiceConnectDefaultsRequest+ where+ hashWithSalt+ _salt+ ClusterServiceConnectDefaultsRequest' {..} =+ _salt `Prelude.hashWithSalt` namespace++instance+ Prelude.NFData+ ClusterServiceConnectDefaultsRequest+ where+ rnf ClusterServiceConnectDefaultsRequest' {..} =+ Prelude.rnf namespace++instance+ Data.ToJSON+ ClusterServiceConnectDefaultsRequest+ where+ toJSON ClusterServiceConnectDefaultsRequest' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("namespace" Data..= namespace)]+ )
+ gen/Amazonka/ECS/Types/ClusterSetting.hs view
@@ -0,0 +1,112 @@+{-# 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.ECS.Types.ClusterSetting+-- 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.ECS.Types.ClusterSetting where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ClusterSettingName+import qualified Amazonka.Prelude as Prelude++-- | The settings to use when creating a cluster. This parameter is used to+-- turn on CloudWatch Container Insights for a cluster.+--+-- /See:/ 'newClusterSetting' smart constructor.+data ClusterSetting = ClusterSetting'+ { -- | The name of the cluster setting. The only supported value is+ -- @containerInsights@.+ name :: Prelude.Maybe ClusterSettingName,+ -- | The value to set for the cluster setting. The supported values are+ -- @enabled@ and @disabled@. If @enabled@ is specified, CloudWatch+ -- Container Insights will be enabled for the cluster, otherwise it will be+ -- disabled unless the @containerInsights@ account setting is enabled. If a+ -- cluster value is specified, it will override the @containerInsights@+ -- value set with PutAccountSetting or PutAccountSettingDefault.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ClusterSetting' 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', 'clusterSetting_name' - The name of the cluster setting. The only supported value is+-- @containerInsights@.+--+-- 'value', 'clusterSetting_value' - The value to set for the cluster setting. The supported values are+-- @enabled@ and @disabled@. If @enabled@ is specified, CloudWatch+-- Container Insights will be enabled for the cluster, otherwise it will be+-- disabled unless the @containerInsights@ account setting is enabled. If a+-- cluster value is specified, it will override the @containerInsights@+-- value set with PutAccountSetting or PutAccountSettingDefault.+newClusterSetting ::+ ClusterSetting+newClusterSetting =+ ClusterSetting'+ { name = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | The name of the cluster setting. The only supported value is+-- @containerInsights@.+clusterSetting_name :: Lens.Lens' ClusterSetting (Prelude.Maybe ClusterSettingName)+clusterSetting_name = Lens.lens (\ClusterSetting' {name} -> name) (\s@ClusterSetting' {} a -> s {name = a} :: ClusterSetting)++-- | The value to set for the cluster setting. The supported values are+-- @enabled@ and @disabled@. If @enabled@ is specified, CloudWatch+-- Container Insights will be enabled for the cluster, otherwise it will be+-- disabled unless the @containerInsights@ account setting is enabled. If a+-- cluster value is specified, it will override the @containerInsights@+-- value set with PutAccountSetting or PutAccountSettingDefault.+clusterSetting_value :: Lens.Lens' ClusterSetting (Prelude.Maybe Prelude.Text)+clusterSetting_value = Lens.lens (\ClusterSetting' {value} -> value) (\s@ClusterSetting' {} a -> s {value = a} :: ClusterSetting)++instance Data.FromJSON ClusterSetting where+ parseJSON =+ Data.withObject+ "ClusterSetting"+ ( \x ->+ ClusterSetting'+ Prelude.<$> (x Data..:? "name")+ Prelude.<*> (x Data..:? "value")+ )++instance Prelude.Hashable ClusterSetting where+ hashWithSalt _salt ClusterSetting' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` value++instance Prelude.NFData ClusterSetting where+ rnf ClusterSetting' {..} =+ Prelude.rnf name `Prelude.seq` Prelude.rnf value++instance Data.ToJSON ClusterSetting where+ toJSON ClusterSetting' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("name" Data..=) Prelude.<$> name,+ ("value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/ECS/Types/ClusterSettingName.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.ClusterSettingName+-- 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.ECS.Types.ClusterSettingName+ ( ClusterSettingName+ ( ..,+ ClusterSettingName_ContainerInsights+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ClusterSettingName = ClusterSettingName'+ { fromClusterSettingName ::+ 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 ClusterSettingName_ContainerInsights :: ClusterSettingName+pattern ClusterSettingName_ContainerInsights = ClusterSettingName' "containerInsights"++{-# COMPLETE+ ClusterSettingName_ContainerInsights,+ ClusterSettingName'+ #-}
+ gen/Amazonka/ECS/Types/Compatibility.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.Compatibility+-- 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.ECS.Types.Compatibility+ ( Compatibility+ ( ..,+ Compatibility_EC2,+ Compatibility_EXTERNAL,+ Compatibility_FARGATE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype Compatibility = Compatibility'+ { fromCompatibility ::+ 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 Compatibility_EC2 :: Compatibility+pattern Compatibility_EC2 = Compatibility' "EC2"++pattern Compatibility_EXTERNAL :: Compatibility+pattern Compatibility_EXTERNAL = Compatibility' "EXTERNAL"++pattern Compatibility_FARGATE :: Compatibility+pattern Compatibility_FARGATE = Compatibility' "FARGATE"++{-# COMPLETE+ Compatibility_EC2,+ Compatibility_EXTERNAL,+ Compatibility_FARGATE,+ Compatibility'+ #-}
+ gen/Amazonka/ECS/Types/Connectivity.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.ECS.Types.Connectivity+-- 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.ECS.Types.Connectivity+ ( Connectivity+ ( ..,+ Connectivity_CONNECTED,+ Connectivity_DISCONNECTED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype Connectivity = Connectivity'+ { fromConnectivity ::+ 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 Connectivity_CONNECTED :: Connectivity+pattern Connectivity_CONNECTED = Connectivity' "CONNECTED"++pattern Connectivity_DISCONNECTED :: Connectivity+pattern Connectivity_DISCONNECTED = Connectivity' "DISCONNECTED"++{-# COMPLETE+ Connectivity_CONNECTED,+ Connectivity_DISCONNECTED,+ Connectivity'+ #-}
+ gen/Amazonka/ECS/Types/Container.hs view
@@ -0,0 +1,301 @@+{-# 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.ECS.Types.Container+-- 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.ECS.Types.Container where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.HealthStatus+import Amazonka.ECS.Types.ManagedAgent+import Amazonka.ECS.Types.NetworkBinding+import Amazonka.ECS.Types.NetworkInterface+import qualified Amazonka.Prelude as Prelude++-- | A Docker container that\'s part of a task.+--+-- /See:/ 'newContainer' smart constructor.+data Container = Container'+ { -- | The Amazon Resource Name (ARN) of the container.+ containerArn :: Prelude.Maybe Prelude.Text,+ -- | The number of CPU units set for the container. The value is @0@ if no+ -- value was specified in the container definition when the task definition+ -- was registered.+ cpu :: Prelude.Maybe Prelude.Text,+ -- | The exit code returned from the container.+ exitCode :: Prelude.Maybe Prelude.Int,+ -- | The IDs of each GPU assigned to the container.+ gpuIds :: Prelude.Maybe [Prelude.Text],+ -- | The health status of the container. If health checks aren\'t configured+ -- for this container in its task definition, then it reports the health+ -- status as @UNKNOWN@.+ healthStatus :: Prelude.Maybe HealthStatus,+ -- | The image used for the container.+ image :: Prelude.Maybe Prelude.Text,+ -- | The container image manifest digest.+ --+ -- The @imageDigest@ is only returned if the container is using an image+ -- hosted in Amazon ECR, otherwise it is omitted.+ imageDigest :: Prelude.Maybe Prelude.Text,+ -- | The last known status of the container.+ lastStatus :: Prelude.Maybe Prelude.Text,+ -- | The details of any Amazon ECS managed agents associated with the+ -- container.+ managedAgents :: Prelude.Maybe [ManagedAgent],+ -- | The hard limit (in MiB) of memory set for the container.+ memory :: Prelude.Maybe Prelude.Text,+ -- | The soft limit (in MiB) of memory set for the container.+ memoryReservation :: Prelude.Maybe Prelude.Text,+ -- | The name of the container.+ name :: Prelude.Maybe Prelude.Text,+ -- | The network bindings associated with the container.+ networkBindings :: Prelude.Maybe [NetworkBinding],+ -- | The network interfaces associated with the container.+ networkInterfaces :: Prelude.Maybe [NetworkInterface],+ -- | A short (255 max characters) human-readable string to provide additional+ -- details about a running or stopped container.+ reason :: Prelude.Maybe Prelude.Text,+ -- | The ID of the Docker container.+ runtimeId :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the task.+ taskArn :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Container' 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:+--+-- 'containerArn', 'container_containerArn' - The Amazon Resource Name (ARN) of the container.+--+-- 'cpu', 'container_cpu' - The number of CPU units set for the container. The value is @0@ if no+-- value was specified in the container definition when the task definition+-- was registered.+--+-- 'exitCode', 'container_exitCode' - The exit code returned from the container.+--+-- 'gpuIds', 'container_gpuIds' - The IDs of each GPU assigned to the container.+--+-- 'healthStatus', 'container_healthStatus' - The health status of the container. If health checks aren\'t configured+-- for this container in its task definition, then it reports the health+-- status as @UNKNOWN@.+--+-- 'image', 'container_image' - The image used for the container.+--+-- 'imageDigest', 'container_imageDigest' - The container image manifest digest.+--+-- The @imageDigest@ is only returned if the container is using an image+-- hosted in Amazon ECR, otherwise it is omitted.+--+-- 'lastStatus', 'container_lastStatus' - The last known status of the container.+--+-- 'managedAgents', 'container_managedAgents' - The details of any Amazon ECS managed agents associated with the+-- container.+--+-- 'memory', 'container_memory' - The hard limit (in MiB) of memory set for the container.+--+-- 'memoryReservation', 'container_memoryReservation' - The soft limit (in MiB) of memory set for the container.+--+-- 'name', 'container_name' - The name of the container.+--+-- 'networkBindings', 'container_networkBindings' - The network bindings associated with the container.+--+-- 'networkInterfaces', 'container_networkInterfaces' - The network interfaces associated with the container.+--+-- 'reason', 'container_reason' - A short (255 max characters) human-readable string to provide additional+-- details about a running or stopped container.+--+-- 'runtimeId', 'container_runtimeId' - The ID of the Docker container.+--+-- 'taskArn', 'container_taskArn' - The ARN of the task.+newContainer ::+ Container+newContainer =+ Container'+ { containerArn = Prelude.Nothing,+ cpu = Prelude.Nothing,+ exitCode = Prelude.Nothing,+ gpuIds = Prelude.Nothing,+ healthStatus = Prelude.Nothing,+ image = Prelude.Nothing,+ imageDigest = Prelude.Nothing,+ lastStatus = Prelude.Nothing,+ managedAgents = Prelude.Nothing,+ memory = Prelude.Nothing,+ memoryReservation = Prelude.Nothing,+ name = Prelude.Nothing,+ networkBindings = Prelude.Nothing,+ networkInterfaces = Prelude.Nothing,+ reason = Prelude.Nothing,+ runtimeId = Prelude.Nothing,+ taskArn = Prelude.Nothing+ }++-- | The Amazon Resource Name (ARN) of the container.+container_containerArn :: Lens.Lens' Container (Prelude.Maybe Prelude.Text)+container_containerArn = Lens.lens (\Container' {containerArn} -> containerArn) (\s@Container' {} a -> s {containerArn = a} :: Container)++-- | The number of CPU units set for the container. The value is @0@ if no+-- value was specified in the container definition when the task definition+-- was registered.+container_cpu :: Lens.Lens' Container (Prelude.Maybe Prelude.Text)+container_cpu = Lens.lens (\Container' {cpu} -> cpu) (\s@Container' {} a -> s {cpu = a} :: Container)++-- | The exit code returned from the container.+container_exitCode :: Lens.Lens' Container (Prelude.Maybe Prelude.Int)+container_exitCode = Lens.lens (\Container' {exitCode} -> exitCode) (\s@Container' {} a -> s {exitCode = a} :: Container)++-- | The IDs of each GPU assigned to the container.+container_gpuIds :: Lens.Lens' Container (Prelude.Maybe [Prelude.Text])+container_gpuIds = Lens.lens (\Container' {gpuIds} -> gpuIds) (\s@Container' {} a -> s {gpuIds = a} :: Container) Prelude.. Lens.mapping Lens.coerced++-- | The health status of the container. If health checks aren\'t configured+-- for this container in its task definition, then it reports the health+-- status as @UNKNOWN@.+container_healthStatus :: Lens.Lens' Container (Prelude.Maybe HealthStatus)+container_healthStatus = Lens.lens (\Container' {healthStatus} -> healthStatus) (\s@Container' {} a -> s {healthStatus = a} :: Container)++-- | The image used for the container.+container_image :: Lens.Lens' Container (Prelude.Maybe Prelude.Text)+container_image = Lens.lens (\Container' {image} -> image) (\s@Container' {} a -> s {image = a} :: Container)++-- | The container image manifest digest.+--+-- The @imageDigest@ is only returned if the container is using an image+-- hosted in Amazon ECR, otherwise it is omitted.+container_imageDigest :: Lens.Lens' Container (Prelude.Maybe Prelude.Text)+container_imageDigest = Lens.lens (\Container' {imageDigest} -> imageDigest) (\s@Container' {} a -> s {imageDigest = a} :: Container)++-- | The last known status of the container.+container_lastStatus :: Lens.Lens' Container (Prelude.Maybe Prelude.Text)+container_lastStatus = Lens.lens (\Container' {lastStatus} -> lastStatus) (\s@Container' {} a -> s {lastStatus = a} :: Container)++-- | The details of any Amazon ECS managed agents associated with the+-- container.+container_managedAgents :: Lens.Lens' Container (Prelude.Maybe [ManagedAgent])+container_managedAgents = Lens.lens (\Container' {managedAgents} -> managedAgents) (\s@Container' {} a -> s {managedAgents = a} :: Container) Prelude.. Lens.mapping Lens.coerced++-- | The hard limit (in MiB) of memory set for the container.+container_memory :: Lens.Lens' Container (Prelude.Maybe Prelude.Text)+container_memory = Lens.lens (\Container' {memory} -> memory) (\s@Container' {} a -> s {memory = a} :: Container)++-- | The soft limit (in MiB) of memory set for the container.+container_memoryReservation :: Lens.Lens' Container (Prelude.Maybe Prelude.Text)+container_memoryReservation = Lens.lens (\Container' {memoryReservation} -> memoryReservation) (\s@Container' {} a -> s {memoryReservation = a} :: Container)++-- | The name of the container.+container_name :: Lens.Lens' Container (Prelude.Maybe Prelude.Text)+container_name = Lens.lens (\Container' {name} -> name) (\s@Container' {} a -> s {name = a} :: Container)++-- | The network bindings associated with the container.+container_networkBindings :: Lens.Lens' Container (Prelude.Maybe [NetworkBinding])+container_networkBindings = Lens.lens (\Container' {networkBindings} -> networkBindings) (\s@Container' {} a -> s {networkBindings = a} :: Container) Prelude.. Lens.mapping Lens.coerced++-- | The network interfaces associated with the container.+container_networkInterfaces :: Lens.Lens' Container (Prelude.Maybe [NetworkInterface])+container_networkInterfaces = Lens.lens (\Container' {networkInterfaces} -> networkInterfaces) (\s@Container' {} a -> s {networkInterfaces = a} :: Container) Prelude.. Lens.mapping Lens.coerced++-- | A short (255 max characters) human-readable string to provide additional+-- details about a running or stopped container.+container_reason :: Lens.Lens' Container (Prelude.Maybe Prelude.Text)+container_reason = Lens.lens (\Container' {reason} -> reason) (\s@Container' {} a -> s {reason = a} :: Container)++-- | The ID of the Docker container.+container_runtimeId :: Lens.Lens' Container (Prelude.Maybe Prelude.Text)+container_runtimeId = Lens.lens (\Container' {runtimeId} -> runtimeId) (\s@Container' {} a -> s {runtimeId = a} :: Container)++-- | The ARN of the task.+container_taskArn :: Lens.Lens' Container (Prelude.Maybe Prelude.Text)+container_taskArn = Lens.lens (\Container' {taskArn} -> taskArn) (\s@Container' {} a -> s {taskArn = a} :: Container)++instance Data.FromJSON Container where+ parseJSON =+ Data.withObject+ "Container"+ ( \x ->+ Container'+ Prelude.<$> (x Data..:? "containerArn")+ Prelude.<*> (x Data..:? "cpu")+ Prelude.<*> (x Data..:? "exitCode")+ Prelude.<*> (x Data..:? "gpuIds" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "healthStatus")+ Prelude.<*> (x Data..:? "image")+ Prelude.<*> (x Data..:? "imageDigest")+ Prelude.<*> (x Data..:? "lastStatus")+ Prelude.<*> (x Data..:? "managedAgents" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "memory")+ Prelude.<*> (x Data..:? "memoryReservation")+ Prelude.<*> (x Data..:? "name")+ Prelude.<*> ( x+ Data..:? "networkBindings"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "networkInterfaces"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "reason")+ Prelude.<*> (x Data..:? "runtimeId")+ Prelude.<*> (x Data..:? "taskArn")+ )++instance Prelude.Hashable Container where+ hashWithSalt _salt Container' {..} =+ _salt+ `Prelude.hashWithSalt` containerArn+ `Prelude.hashWithSalt` cpu+ `Prelude.hashWithSalt` exitCode+ `Prelude.hashWithSalt` gpuIds+ `Prelude.hashWithSalt` healthStatus+ `Prelude.hashWithSalt` image+ `Prelude.hashWithSalt` imageDigest+ `Prelude.hashWithSalt` lastStatus+ `Prelude.hashWithSalt` managedAgents+ `Prelude.hashWithSalt` memory+ `Prelude.hashWithSalt` memoryReservation+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` networkBindings+ `Prelude.hashWithSalt` networkInterfaces+ `Prelude.hashWithSalt` reason+ `Prelude.hashWithSalt` runtimeId+ `Prelude.hashWithSalt` taskArn++instance Prelude.NFData Container where+ rnf Container' {..} =+ Prelude.rnf containerArn+ `Prelude.seq` Prelude.rnf cpu+ `Prelude.seq` Prelude.rnf exitCode+ `Prelude.seq` Prelude.rnf gpuIds+ `Prelude.seq` Prelude.rnf healthStatus+ `Prelude.seq` Prelude.rnf image+ `Prelude.seq` Prelude.rnf imageDigest+ `Prelude.seq` Prelude.rnf lastStatus+ `Prelude.seq` Prelude.rnf managedAgents+ `Prelude.seq` Prelude.rnf memory+ `Prelude.seq` Prelude.rnf memoryReservation+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf networkBindings+ `Prelude.seq` Prelude.rnf networkInterfaces+ `Prelude.seq` Prelude.rnf reason+ `Prelude.seq` Prelude.rnf runtimeId+ `Prelude.seq` Prelude.rnf taskArn
+ gen/Amazonka/ECS/Types/ContainerCondition.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.ECS.Types.ContainerCondition+-- 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.ECS.Types.ContainerCondition+ ( ContainerCondition+ ( ..,+ ContainerCondition_COMPLETE,+ ContainerCondition_HEALTHY,+ ContainerCondition_START,+ ContainerCondition_SUCCESS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ContainerCondition = ContainerCondition'+ { fromContainerCondition ::+ 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 ContainerCondition_COMPLETE :: ContainerCondition+pattern ContainerCondition_COMPLETE = ContainerCondition' "COMPLETE"++pattern ContainerCondition_HEALTHY :: ContainerCondition+pattern ContainerCondition_HEALTHY = ContainerCondition' "HEALTHY"++pattern ContainerCondition_START :: ContainerCondition+pattern ContainerCondition_START = ContainerCondition' "START"++pattern ContainerCondition_SUCCESS :: ContainerCondition+pattern ContainerCondition_SUCCESS = ContainerCondition' "SUCCESS"++{-# COMPLETE+ ContainerCondition_COMPLETE,+ ContainerCondition_HEALTHY,+ ContainerCondition_START,+ ContainerCondition_SUCCESS,+ ContainerCondition'+ #-}
+ gen/Amazonka/ECS/Types/ContainerDefinition.hs view
@@ -0,0 +1,2439 @@+{-# 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.ECS.Types.ContainerDefinition+-- 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.ECS.Types.ContainerDefinition where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ContainerDependency+import Amazonka.ECS.Types.EnvironmentFile+import Amazonka.ECS.Types.FirelensConfiguration+import Amazonka.ECS.Types.HealthCheck+import Amazonka.ECS.Types.HostEntry+import Amazonka.ECS.Types.KeyValuePair+import Amazonka.ECS.Types.LinuxParameters+import Amazonka.ECS.Types.LogConfiguration+import Amazonka.ECS.Types.MountPoint+import Amazonka.ECS.Types.PortMapping+import Amazonka.ECS.Types.RepositoryCredentials+import Amazonka.ECS.Types.ResourceRequirement+import Amazonka.ECS.Types.Secret+import Amazonka.ECS.Types.SystemControl+import Amazonka.ECS.Types.Ulimit+import Amazonka.ECS.Types.VolumeFrom+import qualified Amazonka.Prelude as Prelude++-- | Container definitions are used in task definitions to describe the+-- different containers that are launched as part of a task.+--+-- /See:/ 'newContainerDefinition' smart constructor.+data ContainerDefinition = ContainerDefinition'+ { -- | The command that\'s passed to the container. This parameter maps to+ -- @Cmd@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @COMMAND@ parameter to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ -- For more information, see+ -- <https://docs.docker.com/engine/reference/builder/#cmd>. If there are+ -- multiple arguments, each argument is a separated string in the array.+ command :: Prelude.Maybe [Prelude.Text],+ -- | The number of @cpu@ units reserved for the container. This parameter+ -- maps to @CpuShares@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--cpu-shares@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- This field is optional for tasks using the Fargate launch type, and the+ -- only requirement is that the total amount of CPU reserved for all+ -- containers within a task be lower than the task-level @cpu@ value.+ --+ -- You can determine the number of CPU units that are available per EC2+ -- instance type by multiplying the vCPUs listed for that instance type on+ -- the <http://aws.amazon.com/ec2/instance-types/ Amazon EC2 Instances>+ -- detail page by 1,024.+ --+ -- Linux containers share unallocated CPU units with other containers on+ -- the container instance with the same ratio as their allocated amount.+ -- For example, if you run a single-container task on a single-core+ -- instance type with 512 CPU units specified for that container, and+ -- that\'s the only task running on the container instance, that container+ -- could use the full 1,024 CPU unit share at any given time. However, if+ -- you launched another copy of the same task on that container instance,+ -- each task is guaranteed a minimum of 512 CPU units when needed.+ -- Moreover, each container could float to higher CPU usage if the other+ -- container was not using it. If both tasks were 100% active all of the+ -- time, they would be limited to 512 CPU units.+ --+ -- On Linux container instances, the Docker daemon on the container+ -- instance uses the CPU value to calculate the relative CPU share ratios+ -- for running containers. For more information, see+ -- <https://docs.docker.com/engine/reference/run/#cpu-share-constraint CPU share constraint>+ -- in the Docker documentation. The minimum valid CPU share value that the+ -- Linux kernel allows is 2. However, the CPU parameter isn\'t required,+ -- and you can use CPU values below 2 in your container definitions. For+ -- CPU values below 2 (including null), the behavior varies based on your+ -- Amazon ECS container agent version:+ --+ -- - __Agent versions less than or equal to 1.1.0:__ Null and zero CPU+ -- values are passed to Docker as 0, which Docker then converts to+ -- 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which+ -- the Linux kernel converts to two CPU shares.+ --+ -- - __Agent versions greater than or equal to 1.2.0:__ Null, zero, and+ -- CPU values of 1 are passed to Docker as 2.+ --+ -- On Windows container instances, the CPU limit is enforced as an absolute+ -- limit, or a quota. Windows containers only have access to the specified+ -- amount of CPU that\'s described in the task definition. A null or zero+ -- CPU value is passed to Docker as @0@, which Windows interprets as 1% of+ -- one CPU.+ cpu :: Prelude.Maybe Prelude.Int,+ -- | The dependencies defined for container startup and shutdown. A container+ -- can contain multiple dependencies on other containers in a task+ -- definition. When a dependency is defined for container startup, for+ -- container shutdown it is reversed.+ --+ -- For tasks using the EC2 launch type, the container instances require at+ -- least version 1.26.0 of the container agent to turn on container+ -- dependencies. However, we recommend using the latest container agent+ -- version. For information about checking your agent version and updating+ -- to the latest version, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html Updating the Amazon ECS Container Agent>+ -- in the /Amazon Elastic Container Service Developer Guide/. If you\'re+ -- using an Amazon ECS-optimized Linux AMI, your instance needs at least+ -- version 1.26.0-1 of the @ecs-init@ package. If your container instances+ -- are launched from version @20190301@ or later, then they contain the+ -- required versions of the container agent and @ecs-init@. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- For tasks using the Fargate launch type, the task or service requires+ -- the following platforms:+ --+ -- - Linux platform version @1.3.0@ or later.+ --+ -- - Windows platform version @1.0.0@ or later.+ dependsOn :: Prelude.Maybe [ContainerDependency],+ -- | When this parameter is true, networking is disabled within the+ -- container. This parameter maps to @NetworkDisabled@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API>.+ --+ -- This parameter is not supported for Windows containers.+ disableNetworking :: Prelude.Maybe Prelude.Bool,+ -- | A list of DNS search domains that are presented to the container. This+ -- parameter maps to @DnsSearch@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--dns-search@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- This parameter is not supported for Windows containers.+ dnsSearchDomains :: Prelude.Maybe [Prelude.Text],+ -- | A list of DNS servers that are presented to the container. This+ -- parameter maps to @Dns@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--dns@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- This parameter is not supported for Windows containers.+ dnsServers :: Prelude.Maybe [Prelude.Text],+ -- | A key\/value map of labels to add to the container. This parameter maps+ -- to @Labels@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--label@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ -- This parameter requires version 1.18 of the Docker Remote API or greater+ -- on your container instance. To check the Docker Remote API version on+ -- your container instance, log in to your container instance and run the+ -- following command:+ -- @sudo docker version --format \'{{.Server.APIVersion}}\'@+ dockerLabels :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | A list of strings to provide custom labels for SELinux and AppArmor+ -- multi-level security systems. This field isn\'t valid for containers in+ -- tasks using the Fargate launch type.+ --+ -- With Windows containers, this parameter can be used to reference a+ -- credential spec file when configuring a container for Active Directory+ -- authentication. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html Using gMSAs for Windows Containers>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- This parameter maps to @SecurityOpt@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--security-opt@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- The Amazon ECS container agent running on a container instance must+ -- register with the @ECS_SELINUX_CAPABLE=true@ or+ -- @ECS_APPARMOR_CAPABLE=true@ environment variables before containers+ -- placed on that instance can use these security options. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS Container Agent Configuration>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- For more information about valid values, see+ -- <https://docs.docker.com/engine/reference/run/#security-configuration Docker Run Security Configuration>.+ --+ -- Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" |+ -- \"label:value\" | \"credentialspec:CredentialSpecFilePath\"+ dockerSecurityOptions :: Prelude.Maybe [Prelude.Text],+ -- | Early versions of the Amazon ECS container agent don\'t properly handle+ -- @entryPoint@ parameters. If you have problems using @entryPoint@, update+ -- your container agent or enter your commands and arguments as @command@+ -- array items instead.+ --+ -- The entry point that\'s passed to the container. This parameter maps to+ -- @Entrypoint@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--entrypoint@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ -- For more information, see+ -- <https://docs.docker.com/engine/reference/builder/#entrypoint>.+ entryPoint :: Prelude.Maybe [Prelude.Text],+ -- | The environment variables to pass to a container. This parameter maps to+ -- @Env@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--env@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- We don\'t recommend that you use plaintext environment variables for+ -- sensitive information, such as credential data.+ environment :: Prelude.Maybe [KeyValuePair],+ -- | A list of files containing the environment variables to pass to a+ -- container. This parameter maps to the @--env-file@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- You can specify up to ten environment files. The file must have a @.env@+ -- file extension. Each line in an environment file contains an environment+ -- variable in @VARIABLE=VALUE@ format. Lines beginning with @#@ are+ -- treated as comments and are ignored. For more information about the+ -- environment variable file syntax, see+ -- <https://docs.docker.com/compose/env-file/ Declare default environment variables in file>.+ --+ -- If there are environment variables specified using the @environment@+ -- parameter in a container definition, they take precedence over the+ -- variables contained within an environment file. If multiple environment+ -- files are specified that contain the same variable, they\'re processed+ -- from the top down. We recommend that you use unique variable names. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html Specifying Environment Variables>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ environmentFiles :: Prelude.Maybe [EnvironmentFile],+ -- | If the @essential@ parameter of a container is marked as @true@, and+ -- that container fails or stops for any reason, all other containers that+ -- are part of the task are stopped. If the @essential@ parameter of a+ -- container is marked as @false@, its failure doesn\'t affect the rest of+ -- the containers in a task. If this parameter is omitted, a container is+ -- assumed to be essential.+ --+ -- All tasks must have at least one essential container. If you have an+ -- application that\'s composed of multiple containers, group containers+ -- that are used for a common purpose into components, and separate the+ -- different components into multiple task definitions. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html Application Architecture>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ essential :: Prelude.Maybe Prelude.Bool,+ -- | A list of hostnames and IP address mappings to append to the+ -- @\/etc\/hosts@ file on the container. This parameter maps to+ -- @ExtraHosts@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--add-host@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- This parameter isn\'t supported for Windows containers or tasks that use+ -- the @awsvpc@ network mode.+ extraHosts :: Prelude.Maybe [HostEntry],+ -- | The FireLens configuration for the container. This is used to specify+ -- and configure a log router for container logs. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html Custom Log Routing>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ firelensConfiguration :: Prelude.Maybe FirelensConfiguration,+ -- | The container health check command and associated configuration+ -- parameters for the container. This parameter maps to @HealthCheck@ in+ -- the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @HEALTHCHECK@ parameter of+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ healthCheck :: Prelude.Maybe HealthCheck,+ -- | The hostname to use for your container. This parameter maps to+ -- @Hostname@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--hostname@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- The @hostname@ parameter is not supported if you\'re using the @awsvpc@+ -- network mode.+ hostname :: Prelude.Maybe Prelude.Text,+ -- | The image used to start a container. This string is passed directly to+ -- the Docker daemon. By default, images in the Docker Hub registry are+ -- available. Other repositories are specified with either+ -- @ @/@repository-url@/@\/@/@image@/@:@/@tag@/@ @ or+ -- @ @/@repository-url@/@\/@/@image@/@\@@/@digest@/@ @. Up to 255 letters+ -- (uppercase and lowercase), numbers, hyphens, underscores, colons,+ -- periods, forward slashes, and number signs are allowed. This parameter+ -- maps to @Image@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @IMAGE@ parameter of+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- - When a new task starts, the Amazon ECS container agent pulls the+ -- latest version of the specified image and tag for the container to+ -- use. However, subsequent updates to a repository image aren\'t+ -- propagated to already running tasks.+ --+ -- - Images in Amazon ECR repositories can be specified by either using+ -- the full @registry\/repository:tag@ or+ -- @registry\/repository\@digest@. For example,+ -- @012345678910.dkr.ecr.\<region-name>.amazonaws.com\/\<repository-name>:latest@+ -- or+ -- @012345678910.dkr.ecr.\<region-name>.amazonaws.com\/\<repository-name>\@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE@.+ --+ -- - Images in official repositories on Docker Hub use a single name (for+ -- example, @ubuntu@ or @mongo@).+ --+ -- - Images in other repositories on Docker Hub are qualified with an+ -- organization name (for example, @amazon\/amazon-ecs-agent@).+ --+ -- - Images in other online repositories are qualified further by a+ -- domain name (for example, @quay.io\/assemblyline\/ubuntu@).+ image :: Prelude.Maybe Prelude.Text,+ -- | When this parameter is @true@, you can deploy containerized applications+ -- that require @stdin@ or a @tty@ to be allocated. This parameter maps to+ -- @OpenStdin@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--interactive@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ interactive :: Prelude.Maybe Prelude.Bool,+ -- | The @links@ parameter allows containers to communicate with each other+ -- without the need for port mappings. This parameter is only supported if+ -- the network mode of a task definition is @bridge@. The+ -- @name:internalName@ construct is analogous to @name:alias@ in Docker+ -- links. Up to 255 letters (uppercase and lowercase), numbers,+ -- underscores, and hyphens are allowed. For more information about linking+ -- Docker containers, go to+ -- <https://docs.docker.com/network/links/ Legacy container links> in the+ -- Docker documentation. This parameter maps to @Links@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--link@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- This parameter is not supported for Windows containers.+ --+ -- Containers that are collocated on a single container instance may be+ -- able to communicate with each other without requiring links or host port+ -- mappings. Network isolation is achieved on the container instance using+ -- security groups and VPC settings.+ links :: Prelude.Maybe [Prelude.Text],+ -- | Linux-specific modifications that are applied to the container, such as+ -- Linux kernel capabilities. For more information see KernelCapabilities.+ --+ -- This parameter is not supported for Windows containers.+ linuxParameters :: Prelude.Maybe LinuxParameters,+ -- | The log configuration specification for the container.+ --+ -- This parameter maps to @LogConfig@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--log-driver@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ -- By default, containers use the same logging driver that the Docker+ -- daemon uses. However the container can use a different logging driver+ -- than the Docker daemon by specifying a log driver with this parameter in+ -- the container definition. To use a different logging driver for a+ -- container, the log system must be configured properly on the container+ -- instance (or on a different log server for remote logging options). For+ -- more information about the options for different supported log drivers,+ -- see+ -- <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers>+ -- in the Docker documentation.+ --+ -- Amazon ECS currently supports a subset of the logging drivers available+ -- to the Docker daemon (shown in the LogConfiguration data type).+ -- Additional log drivers may be available in future releases of the Amazon+ -- ECS container agent.+ --+ -- This parameter requires version 1.18 of the Docker Remote API or greater+ -- on your container instance. To check the Docker Remote API version on+ -- your container instance, log in to your container instance and run the+ -- following command:+ -- @sudo docker version --format \'{{.Server.APIVersion}}\'@+ --+ -- The Amazon ECS container agent running on a container instance must+ -- register the logging drivers available on that instance with the+ -- @ECS_AVAILABLE_LOGGING_DRIVERS@ environment variable before containers+ -- placed on that instance can use these log configuration options. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS Container Agent Configuration>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ logConfiguration :: Prelude.Maybe LogConfiguration,+ -- | The amount (in MiB) of memory to present to the container. If your+ -- container attempts to exceed the memory specified here, the container is+ -- killed. The total amount of memory reserved for all containers within a+ -- task must be lower than the task @memory@ value, if one is specified.+ -- This parameter maps to @Memory@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--memory@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- If using the Fargate launch type, this parameter is optional.+ --+ -- If using the EC2 launch type, you must specify either a task-level+ -- memory value or a container-level memory value. If you specify both a+ -- container-level @memory@ and @memoryReservation@ value, @memory@ must be+ -- greater than @memoryReservation@. If you specify @memoryReservation@,+ -- then that value is subtracted from the available memory resources for+ -- the container instance where the container is placed. Otherwise, the+ -- value of @memory@ is used.+ --+ -- The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory+ -- for a container. So, don\'t specify less than 6 MiB of memory for your+ -- containers.+ --+ -- The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of+ -- memory for a container. So, don\'t specify less than 4 MiB of memory for+ -- your containers.+ memory :: Prelude.Maybe Prelude.Int,+ -- | The soft limit (in MiB) of memory to reserve for the container. When+ -- system memory is under heavy contention, Docker attempts to keep the+ -- container memory to this soft limit. However, your container can consume+ -- more memory when it needs to, up to either the hard limit specified with+ -- the @memory@ parameter (if applicable), or all of the available memory+ -- on the container instance, whichever comes first. This parameter maps to+ -- @MemoryReservation@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--memory-reservation@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- If a task-level memory value is not specified, you must specify a+ -- non-zero integer for one or both of @memory@ or @memoryReservation@ in a+ -- container definition. If you specify both, @memory@ must be greater than+ -- @memoryReservation@. If you specify @memoryReservation@, then that value+ -- is subtracted from the available memory resources for the container+ -- instance where the container is placed. Otherwise, the value of @memory@+ -- is used.+ --+ -- For example, if your container normally uses 128 MiB of memory, but+ -- occasionally bursts to 256 MiB of memory for short periods of time, you+ -- can set a @memoryReservation@ of 128 MiB, and a @memory@ hard limit of+ -- 300 MiB. This configuration would allow the container to only reserve+ -- 128 MiB of memory from the remaining resources on the container+ -- instance, but also allow the container to consume more memory resources+ -- when needed.+ --+ -- The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory+ -- for a container. So, don\'t specify less than 6 MiB of memory for your+ -- containers.+ --+ -- The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of+ -- memory for a container. So, don\'t specify less than 4 MiB of memory for+ -- your containers.+ memoryReservation :: Prelude.Maybe Prelude.Int,+ -- | The mount points for data volumes in your container.+ --+ -- This parameter maps to @Volumes@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--volume@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- Windows containers can mount whole directories on the same drive as+ -- @$env:ProgramData@. Windows containers can\'t mount directories on a+ -- different drive, and mount point can\'t be across drives.+ mountPoints :: Prelude.Maybe [MountPoint],+ -- | The name of a container. If you\'re linking multiple containers together+ -- in a task definition, the @name@ of one container can be entered in the+ -- @links@ of another container to connect the containers. Up to 255+ -- letters (uppercase and lowercase), numbers, underscores, and hyphens are+ -- allowed. This parameter maps to @name@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--name@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ name :: Prelude.Maybe Prelude.Text,+ -- | The list of port mappings for the container. Port mappings allow+ -- containers to access ports on the host container instance to send or+ -- receive traffic.+ --+ -- For task definitions that use the @awsvpc@ network mode, only specify+ -- the @containerPort@. The @hostPort@ can be left blank or it must be the+ -- same value as the @containerPort@.+ --+ -- Port mappings on Windows use the @NetNAT@ gateway address rather than+ -- @localhost@. There\'s no loopback for port mappings on Windows, so you+ -- can\'t access a container\'s mapped port from the host itself.+ --+ -- This parameter maps to @PortBindings@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--publish@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ -- If the network mode of a task definition is set to @none@, then you+ -- can\'t specify port mappings. If the network mode of a task definition+ -- is set to @host@, then host ports must either be undefined or they must+ -- match the container port in the port mapping.+ --+ -- After a task reaches the @RUNNING@ status, manual and automatic host and+ -- container port assignments are visible in the __Network Bindings__+ -- section of a container description for a selected task in the Amazon ECS+ -- console. The assignments are also visible in the @networkBindings@+ -- section DescribeTasks responses.+ portMappings :: Prelude.Maybe [PortMapping],+ -- | When this parameter is true, the container is given elevated privileges+ -- on the host container instance (similar to the @root@ user). This+ -- parameter maps to @Privileged@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--privileged@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- This parameter is not supported for Windows containers or tasks run on+ -- Fargate.+ privileged :: Prelude.Maybe Prelude.Bool,+ -- | When this parameter is @true@, a TTY is allocated. This parameter maps+ -- to @Tty@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--tty@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ pseudoTerminal :: Prelude.Maybe Prelude.Bool,+ -- | When this parameter is true, the container is given read-only access to+ -- its root file system. This parameter maps to @ReadonlyRootfs@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--read-only@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- This parameter is not supported for Windows containers.+ readonlyRootFilesystem :: Prelude.Maybe Prelude.Bool,+ -- | The private repository authentication credentials to use.+ repositoryCredentials :: Prelude.Maybe RepositoryCredentials,+ -- | The type and amount of a resource to assign to a container. The only+ -- supported resource is a GPU.+ resourceRequirements :: Prelude.Maybe [ResourceRequirement],+ -- | The secrets to pass to the container. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html Specifying Sensitive Data>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ secrets :: Prelude.Maybe [Secret],+ -- | Time duration (in seconds) to wait before giving up on resolving+ -- dependencies for a container. For example, you specify two containers in+ -- a task definition with containerA having a dependency on containerB+ -- reaching a @COMPLETE@, @SUCCESS@, or @HEALTHY@ status. If a+ -- @startTimeout@ value is specified for containerB and it doesn\'t reach+ -- the desired status within that time then containerA gives up and not+ -- start. This results in the task transitioning to a @STOPPED@ state.+ --+ -- When the @ECS_CONTAINER_START_TIMEOUT@ container agent configuration+ -- variable is used, it\'s enforced independently from this start timeout+ -- value.+ --+ -- For tasks using the Fargate launch type, the task or service requires+ -- the following platforms:+ --+ -- - Linux platform version @1.3.0@ or later.+ --+ -- - Windows platform version @1.0.0@ or later.+ --+ -- For tasks using the EC2 launch type, your container instances require at+ -- least version @1.26.0@ of the container agent to use a container start+ -- timeout value. However, we recommend using the latest container agent+ -- version. For information about checking your agent version and updating+ -- to the latest version, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html Updating the Amazon ECS Container Agent>+ -- in the /Amazon Elastic Container Service Developer Guide/. If you\'re+ -- using an Amazon ECS-optimized Linux AMI, your instance needs at least+ -- version @1.26.0-1@ of the @ecs-init@ package. If your container+ -- instances are launched from version @20190301@ or later, then they+ -- contain the required versions of the container agent and @ecs-init@. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ startTimeout :: Prelude.Maybe Prelude.Int,+ -- | Time duration (in seconds) to wait before the container is forcefully+ -- killed if it doesn\'t exit normally on its own.+ --+ -- For tasks using the Fargate launch type, the task or service requires+ -- the following platforms:+ --+ -- - Linux platform version @1.3.0@ or later.+ --+ -- - Windows platform version @1.0.0@ or later.+ --+ -- The max stop timeout value is 120 seconds and if the parameter is not+ -- specified, the default value of 30 seconds is used.+ --+ -- For tasks that use the EC2 launch type, if the @stopTimeout@ parameter+ -- isn\'t specified, the value set for the Amazon ECS container agent+ -- configuration variable @ECS_CONTAINER_STOP_TIMEOUT@ is used. If neither+ -- the @stopTimeout@ parameter or the @ECS_CONTAINER_STOP_TIMEOUT@ agent+ -- configuration variable are set, then the default values of 30 seconds+ -- for Linux containers and 30 seconds on Windows containers are used. Your+ -- container instances require at least version 1.26.0 of the container+ -- agent to use a container stop timeout value. However, we recommend using+ -- the latest container agent version. For information about checking your+ -- agent version and updating to the latest version, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html Updating the Amazon ECS Container Agent>+ -- in the /Amazon Elastic Container Service Developer Guide/. If you\'re+ -- using an Amazon ECS-optimized Linux AMI, your instance needs at least+ -- version 1.26.0-1 of the @ecs-init@ package. If your container instances+ -- are launched from version @20190301@ or later, then they contain the+ -- required versions of the container agent and @ecs-init@. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ stopTimeout :: Prelude.Maybe Prelude.Int,+ -- | A list of namespaced kernel parameters to set in the container. This+ -- parameter maps to @Sysctls@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--sysctl@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- We don\'t recommended that you specify network-related @systemControls@+ -- parameters for multiple containers in a single task that also uses+ -- either the @awsvpc@ or @host@ network modes. For tasks that use the+ -- @awsvpc@ network mode, the container that\'s started last determines+ -- which @systemControls@ parameters take effect. For tasks that use the+ -- @host@ network mode, it changes the container instance\'s namespaced+ -- kernel parameters as well as the containers.+ systemControls :: Prelude.Maybe [SystemControl],+ -- | A list of @ulimits@ to set in the container. If a @ulimit@ value is+ -- specified in a task definition, it overrides the default values set by+ -- Docker. This parameter maps to @Ulimits@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--ulimit@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ -- Valid naming values are displayed in the Ulimit data type.+ --+ -- Amazon ECS tasks hosted on Fargate use the default resource limit values+ -- set by the operating system with the exception of the @nofile@ resource+ -- limit parameter which Fargate overrides. The @nofile@ resource limit+ -- sets a restriction on the number of open files that a container can use.+ -- The default @nofile@ soft limit is @1024@ and hard limit is @4096@.+ --+ -- This parameter requires version 1.18 of the Docker Remote API or greater+ -- on your container instance. To check the Docker Remote API version on+ -- your container instance, log in to your container instance and run the+ -- following command:+ -- @sudo docker version --format \'{{.Server.APIVersion}}\'@+ --+ -- This parameter is not supported for Windows containers.+ ulimits :: Prelude.Maybe [Ulimit],+ -- | The user to use inside the container. This parameter maps to @User@ in+ -- the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--user@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- When running tasks using the @host@ network mode, don\'t run containers+ -- using the root user (UID 0). We recommend using a non-root user for+ -- better security.+ --+ -- You can specify the @user@ using the following formats. If specifying a+ -- UID or GID, you must specify it as a positive integer.+ --+ -- - @user@+ --+ -- - @user:group@+ --+ -- - @uid@+ --+ -- - @uid:gid@+ --+ -- - @user:gid@+ --+ -- - @uid:group@+ --+ -- This parameter is not supported for Windows containers.+ user :: Prelude.Maybe Prelude.Text,+ -- | Data volumes to mount from another container. This parameter maps to+ -- @VolumesFrom@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--volumes-from@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ volumesFrom :: Prelude.Maybe [VolumeFrom],+ -- | The working directory to run commands inside the container in. This+ -- parameter maps to @WorkingDir@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--workdir@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ workingDirectory :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ContainerDefinition' 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:+--+-- 'command', 'containerDefinition_command' - The command that\'s passed to the container. This parameter maps to+-- @Cmd@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @COMMAND@ parameter to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- For more information, see+-- <https://docs.docker.com/engine/reference/builder/#cmd>. If there are+-- multiple arguments, each argument is a separated string in the array.+--+-- 'cpu', 'containerDefinition_cpu' - The number of @cpu@ units reserved for the container. This parameter+-- maps to @CpuShares@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--cpu-shares@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This field is optional for tasks using the Fargate launch type, and the+-- only requirement is that the total amount of CPU reserved for all+-- containers within a task be lower than the task-level @cpu@ value.+--+-- You can determine the number of CPU units that are available per EC2+-- instance type by multiplying the vCPUs listed for that instance type on+-- the <http://aws.amazon.com/ec2/instance-types/ Amazon EC2 Instances>+-- detail page by 1,024.+--+-- Linux containers share unallocated CPU units with other containers on+-- the container instance with the same ratio as their allocated amount.+-- For example, if you run a single-container task on a single-core+-- instance type with 512 CPU units specified for that container, and+-- that\'s the only task running on the container instance, that container+-- could use the full 1,024 CPU unit share at any given time. However, if+-- you launched another copy of the same task on that container instance,+-- each task is guaranteed a minimum of 512 CPU units when needed.+-- Moreover, each container could float to higher CPU usage if the other+-- container was not using it. If both tasks were 100% active all of the+-- time, they would be limited to 512 CPU units.+--+-- On Linux container instances, the Docker daemon on the container+-- instance uses the CPU value to calculate the relative CPU share ratios+-- for running containers. For more information, see+-- <https://docs.docker.com/engine/reference/run/#cpu-share-constraint CPU share constraint>+-- in the Docker documentation. The minimum valid CPU share value that the+-- Linux kernel allows is 2. However, the CPU parameter isn\'t required,+-- and you can use CPU values below 2 in your container definitions. For+-- CPU values below 2 (including null), the behavior varies based on your+-- Amazon ECS container agent version:+--+-- - __Agent versions less than or equal to 1.1.0:__ Null and zero CPU+-- values are passed to Docker as 0, which Docker then converts to+-- 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which+-- the Linux kernel converts to two CPU shares.+--+-- - __Agent versions greater than or equal to 1.2.0:__ Null, zero, and+-- CPU values of 1 are passed to Docker as 2.+--+-- On Windows container instances, the CPU limit is enforced as an absolute+-- limit, or a quota. Windows containers only have access to the specified+-- amount of CPU that\'s described in the task definition. A null or zero+-- CPU value is passed to Docker as @0@, which Windows interprets as 1% of+-- one CPU.+--+-- 'dependsOn', 'containerDefinition_dependsOn' - The dependencies defined for container startup and shutdown. A container+-- can contain multiple dependencies on other containers in a task+-- definition. When a dependency is defined for container startup, for+-- container shutdown it is reversed.+--+-- For tasks using the EC2 launch type, the container instances require at+-- least version 1.26.0 of the container agent to turn on container+-- dependencies. However, we recommend using the latest container agent+-- version. For information about checking your agent version and updating+-- to the latest version, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html Updating the Amazon ECS Container Agent>+-- in the /Amazon Elastic Container Service Developer Guide/. If you\'re+-- using an Amazon ECS-optimized Linux AMI, your instance needs at least+-- version 1.26.0-1 of the @ecs-init@ package. If your container instances+-- are launched from version @20190301@ or later, then they contain the+-- required versions of the container agent and @ecs-init@. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- For tasks using the Fargate launch type, the task or service requires+-- the following platforms:+--+-- - Linux platform version @1.3.0@ or later.+--+-- - Windows platform version @1.0.0@ or later.+--+-- 'disableNetworking', 'containerDefinition_disableNetworking' - When this parameter is true, networking is disabled within the+-- container. This parameter maps to @NetworkDisabled@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API>.+--+-- This parameter is not supported for Windows containers.+--+-- 'dnsSearchDomains', 'containerDefinition_dnsSearchDomains' - A list of DNS search domains that are presented to the container. This+-- parameter maps to @DnsSearch@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--dns-search@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter is not supported for Windows containers.+--+-- 'dnsServers', 'containerDefinition_dnsServers' - A list of DNS servers that are presented to the container. This+-- parameter maps to @Dns@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--dns@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter is not supported for Windows containers.+--+-- 'dockerLabels', 'containerDefinition_dockerLabels' - A key\/value map of labels to add to the container. This parameter maps+-- to @Labels@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--label@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- This parameter requires version 1.18 of the Docker Remote API or greater+-- on your container instance. To check the Docker Remote API version on+-- your container instance, log in to your container instance and run the+-- following command:+-- @sudo docker version --format \'{{.Server.APIVersion}}\'@+--+-- 'dockerSecurityOptions', 'containerDefinition_dockerSecurityOptions' - A list of strings to provide custom labels for SELinux and AppArmor+-- multi-level security systems. This field isn\'t valid for containers in+-- tasks using the Fargate launch type.+--+-- With Windows containers, this parameter can be used to reference a+-- credential spec file when configuring a container for Active Directory+-- authentication. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html Using gMSAs for Windows Containers>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- This parameter maps to @SecurityOpt@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--security-opt@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- The Amazon ECS container agent running on a container instance must+-- register with the @ECS_SELINUX_CAPABLE=true@ or+-- @ECS_APPARMOR_CAPABLE=true@ environment variables before containers+-- placed on that instance can use these security options. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS Container Agent Configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- For more information about valid values, see+-- <https://docs.docker.com/engine/reference/run/#security-configuration Docker Run Security Configuration>.+--+-- Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" |+-- \"label:value\" | \"credentialspec:CredentialSpecFilePath\"+--+-- 'entryPoint', 'containerDefinition_entryPoint' - Early versions of the Amazon ECS container agent don\'t properly handle+-- @entryPoint@ parameters. If you have problems using @entryPoint@, update+-- your container agent or enter your commands and arguments as @command@+-- array items instead.+--+-- The entry point that\'s passed to the container. This parameter maps to+-- @Entrypoint@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--entrypoint@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- For more information, see+-- <https://docs.docker.com/engine/reference/builder/#entrypoint>.+--+-- 'environment', 'containerDefinition_environment' - The environment variables to pass to a container. This parameter maps to+-- @Env@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--env@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- We don\'t recommend that you use plaintext environment variables for+-- sensitive information, such as credential data.+--+-- 'environmentFiles', 'containerDefinition_environmentFiles' - A list of files containing the environment variables to pass to a+-- container. This parameter maps to the @--env-file@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- You can specify up to ten environment files. The file must have a @.env@+-- file extension. Each line in an environment file contains an environment+-- variable in @VARIABLE=VALUE@ format. Lines beginning with @#@ are+-- treated as comments and are ignored. For more information about the+-- environment variable file syntax, see+-- <https://docs.docker.com/compose/env-file/ Declare default environment variables in file>.+--+-- If there are environment variables specified using the @environment@+-- parameter in a container definition, they take precedence over the+-- variables contained within an environment file. If multiple environment+-- files are specified that contain the same variable, they\'re processed+-- from the top down. We recommend that you use unique variable names. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html Specifying Environment Variables>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'essential', 'containerDefinition_essential' - If the @essential@ parameter of a container is marked as @true@, and+-- that container fails or stops for any reason, all other containers that+-- are part of the task are stopped. If the @essential@ parameter of a+-- container is marked as @false@, its failure doesn\'t affect the rest of+-- the containers in a task. If this parameter is omitted, a container is+-- assumed to be essential.+--+-- All tasks must have at least one essential container. If you have an+-- application that\'s composed of multiple containers, group containers+-- that are used for a common purpose into components, and separate the+-- different components into multiple task definitions. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html Application Architecture>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'extraHosts', 'containerDefinition_extraHosts' - A list of hostnames and IP address mappings to append to the+-- @\/etc\/hosts@ file on the container. This parameter maps to+-- @ExtraHosts@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--add-host@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter isn\'t supported for Windows containers or tasks that use+-- the @awsvpc@ network mode.+--+-- 'firelensConfiguration', 'containerDefinition_firelensConfiguration' - The FireLens configuration for the container. This is used to specify+-- and configure a log router for container logs. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html Custom Log Routing>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'healthCheck', 'containerDefinition_healthCheck' - The container health check command and associated configuration+-- parameters for the container. This parameter maps to @HealthCheck@ in+-- the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @HEALTHCHECK@ parameter of+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- 'hostname', 'containerDefinition_hostname' - The hostname to use for your container. This parameter maps to+-- @Hostname@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--hostname@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- The @hostname@ parameter is not supported if you\'re using the @awsvpc@+-- network mode.+--+-- 'image', 'containerDefinition_image' - The image used to start a container. This string is passed directly to+-- the Docker daemon. By default, images in the Docker Hub registry are+-- available. Other repositories are specified with either+-- @ @/@repository-url@/@\/@/@image@/@:@/@tag@/@ @ or+-- @ @/@repository-url@/@\/@/@image@/@\@@/@digest@/@ @. Up to 255 letters+-- (uppercase and lowercase), numbers, hyphens, underscores, colons,+-- periods, forward slashes, and number signs are allowed. This parameter+-- maps to @Image@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @IMAGE@ parameter of+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- - When a new task starts, the Amazon ECS container agent pulls the+-- latest version of the specified image and tag for the container to+-- use. However, subsequent updates to a repository image aren\'t+-- propagated to already running tasks.+--+-- - Images in Amazon ECR repositories can be specified by either using+-- the full @registry\/repository:tag@ or+-- @registry\/repository\@digest@. For example,+-- @012345678910.dkr.ecr.\<region-name>.amazonaws.com\/\<repository-name>:latest@+-- or+-- @012345678910.dkr.ecr.\<region-name>.amazonaws.com\/\<repository-name>\@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE@.+--+-- - Images in official repositories on Docker Hub use a single name (for+-- example, @ubuntu@ or @mongo@).+--+-- - Images in other repositories on Docker Hub are qualified with an+-- organization name (for example, @amazon\/amazon-ecs-agent@).+--+-- - Images in other online repositories are qualified further by a+-- domain name (for example, @quay.io\/assemblyline\/ubuntu@).+--+-- 'interactive', 'containerDefinition_interactive' - When this parameter is @true@, you can deploy containerized applications+-- that require @stdin@ or a @tty@ to be allocated. This parameter maps to+-- @OpenStdin@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--interactive@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- 'links', 'containerDefinition_links' - The @links@ parameter allows containers to communicate with each other+-- without the need for port mappings. This parameter is only supported if+-- the network mode of a task definition is @bridge@. The+-- @name:internalName@ construct is analogous to @name:alias@ in Docker+-- links. Up to 255 letters (uppercase and lowercase), numbers,+-- underscores, and hyphens are allowed. For more information about linking+-- Docker containers, go to+-- <https://docs.docker.com/network/links/ Legacy container links> in the+-- Docker documentation. This parameter maps to @Links@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--link@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter is not supported for Windows containers.+--+-- Containers that are collocated on a single container instance may be+-- able to communicate with each other without requiring links or host port+-- mappings. Network isolation is achieved on the container instance using+-- security groups and VPC settings.+--+-- 'linuxParameters', 'containerDefinition_linuxParameters' - Linux-specific modifications that are applied to the container, such as+-- Linux kernel capabilities. For more information see KernelCapabilities.+--+-- This parameter is not supported for Windows containers.+--+-- 'logConfiguration', 'containerDefinition_logConfiguration' - The log configuration specification for the container.+--+-- This parameter maps to @LogConfig@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--log-driver@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- By default, containers use the same logging driver that the Docker+-- daemon uses. However the container can use a different logging driver+-- than the Docker daemon by specifying a log driver with this parameter in+-- the container definition. To use a different logging driver for a+-- container, the log system must be configured properly on the container+-- instance (or on a different log server for remote logging options). For+-- more information about the options for different supported log drivers,+-- see+-- <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers>+-- in the Docker documentation.+--+-- Amazon ECS currently supports a subset of the logging drivers available+-- to the Docker daemon (shown in the LogConfiguration data type).+-- Additional log drivers may be available in future releases of the Amazon+-- ECS container agent.+--+-- This parameter requires version 1.18 of the Docker Remote API or greater+-- on your container instance. To check the Docker Remote API version on+-- your container instance, log in to your container instance and run the+-- following command:+-- @sudo docker version --format \'{{.Server.APIVersion}}\'@+--+-- The Amazon ECS container agent running on a container instance must+-- register the logging drivers available on that instance with the+-- @ECS_AVAILABLE_LOGGING_DRIVERS@ environment variable before containers+-- placed on that instance can use these log configuration options. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS Container Agent Configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'memory', 'containerDefinition_memory' - The amount (in MiB) of memory to present to the container. If your+-- container attempts to exceed the memory specified here, the container is+-- killed. The total amount of memory reserved for all containers within a+-- task must be lower than the task @memory@ value, if one is specified.+-- This parameter maps to @Memory@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--memory@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If using the Fargate launch type, this parameter is optional.+--+-- If using the EC2 launch type, you must specify either a task-level+-- memory value or a container-level memory value. If you specify both a+-- container-level @memory@ and @memoryReservation@ value, @memory@ must be+-- greater than @memoryReservation@. If you specify @memoryReservation@,+-- then that value is subtracted from the available memory resources for+-- the container instance where the container is placed. Otherwise, the+-- value of @memory@ is used.+--+-- The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory+-- for a container. So, don\'t specify less than 6 MiB of memory for your+-- containers.+--+-- The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of+-- memory for a container. So, don\'t specify less than 4 MiB of memory for+-- your containers.+--+-- 'memoryReservation', 'containerDefinition_memoryReservation' - The soft limit (in MiB) of memory to reserve for the container. When+-- system memory is under heavy contention, Docker attempts to keep the+-- container memory to this soft limit. However, your container can consume+-- more memory when it needs to, up to either the hard limit specified with+-- the @memory@ parameter (if applicable), or all of the available memory+-- on the container instance, whichever comes first. This parameter maps to+-- @MemoryReservation@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--memory-reservation@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If a task-level memory value is not specified, you must specify a+-- non-zero integer for one or both of @memory@ or @memoryReservation@ in a+-- container definition. If you specify both, @memory@ must be greater than+-- @memoryReservation@. If you specify @memoryReservation@, then that value+-- is subtracted from the available memory resources for the container+-- instance where the container is placed. Otherwise, the value of @memory@+-- is used.+--+-- For example, if your container normally uses 128 MiB of memory, but+-- occasionally bursts to 256 MiB of memory for short periods of time, you+-- can set a @memoryReservation@ of 128 MiB, and a @memory@ hard limit of+-- 300 MiB. This configuration would allow the container to only reserve+-- 128 MiB of memory from the remaining resources on the container+-- instance, but also allow the container to consume more memory resources+-- when needed.+--+-- The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory+-- for a container. So, don\'t specify less than 6 MiB of memory for your+-- containers.+--+-- The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of+-- memory for a container. So, don\'t specify less than 4 MiB of memory for+-- your containers.+--+-- 'mountPoints', 'containerDefinition_mountPoints' - The mount points for data volumes in your container.+--+-- This parameter maps to @Volumes@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--volume@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- Windows containers can mount whole directories on the same drive as+-- @$env:ProgramData@. Windows containers can\'t mount directories on a+-- different drive, and mount point can\'t be across drives.+--+-- 'name', 'containerDefinition_name' - The name of a container. If you\'re linking multiple containers together+-- in a task definition, the @name@ of one container can be entered in the+-- @links@ of another container to connect the containers. Up to 255+-- letters (uppercase and lowercase), numbers, underscores, and hyphens are+-- allowed. This parameter maps to @name@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--name@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- 'portMappings', 'containerDefinition_portMappings' - The list of port mappings for the container. Port mappings allow+-- containers to access ports on the host container instance to send or+-- receive traffic.+--+-- For task definitions that use the @awsvpc@ network mode, only specify+-- the @containerPort@. The @hostPort@ can be left blank or it must be the+-- same value as the @containerPort@.+--+-- Port mappings on Windows use the @NetNAT@ gateway address rather than+-- @localhost@. There\'s no loopback for port mappings on Windows, so you+-- can\'t access a container\'s mapped port from the host itself.+--+-- This parameter maps to @PortBindings@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--publish@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- If the network mode of a task definition is set to @none@, then you+-- can\'t specify port mappings. If the network mode of a task definition+-- is set to @host@, then host ports must either be undefined or they must+-- match the container port in the port mapping.+--+-- After a task reaches the @RUNNING@ status, manual and automatic host and+-- container port assignments are visible in the __Network Bindings__+-- section of a container description for a selected task in the Amazon ECS+-- console. The assignments are also visible in the @networkBindings@+-- section DescribeTasks responses.+--+-- 'privileged', 'containerDefinition_privileged' - When this parameter is true, the container is given elevated privileges+-- on the host container instance (similar to the @root@ user). This+-- parameter maps to @Privileged@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--privileged@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter is not supported for Windows containers or tasks run on+-- Fargate.+--+-- 'pseudoTerminal', 'containerDefinition_pseudoTerminal' - When this parameter is @true@, a TTY is allocated. This parameter maps+-- to @Tty@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--tty@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- 'readonlyRootFilesystem', 'containerDefinition_readonlyRootFilesystem' - When this parameter is true, the container is given read-only access to+-- its root file system. This parameter maps to @ReadonlyRootfs@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--read-only@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter is not supported for Windows containers.+--+-- 'repositoryCredentials', 'containerDefinition_repositoryCredentials' - The private repository authentication credentials to use.+--+-- 'resourceRequirements', 'containerDefinition_resourceRequirements' - The type and amount of a resource to assign to a container. The only+-- supported resource is a GPU.+--+-- 'secrets', 'containerDefinition_secrets' - The secrets to pass to the container. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html Specifying Sensitive Data>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'startTimeout', 'containerDefinition_startTimeout' - Time duration (in seconds) to wait before giving up on resolving+-- dependencies for a container. For example, you specify two containers in+-- a task definition with containerA having a dependency on containerB+-- reaching a @COMPLETE@, @SUCCESS@, or @HEALTHY@ status. If a+-- @startTimeout@ value is specified for containerB and it doesn\'t reach+-- the desired status within that time then containerA gives up and not+-- start. This results in the task transitioning to a @STOPPED@ state.+--+-- When the @ECS_CONTAINER_START_TIMEOUT@ container agent configuration+-- variable is used, it\'s enforced independently from this start timeout+-- value.+--+-- For tasks using the Fargate launch type, the task or service requires+-- the following platforms:+--+-- - Linux platform version @1.3.0@ or later.+--+-- - Windows platform version @1.0.0@ or later.+--+-- For tasks using the EC2 launch type, your container instances require at+-- least version @1.26.0@ of the container agent to use a container start+-- timeout value. However, we recommend using the latest container agent+-- version. For information about checking your agent version and updating+-- to the latest version, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html Updating the Amazon ECS Container Agent>+-- in the /Amazon Elastic Container Service Developer Guide/. If you\'re+-- using an Amazon ECS-optimized Linux AMI, your instance needs at least+-- version @1.26.0-1@ of the @ecs-init@ package. If your container+-- instances are launched from version @20190301@ or later, then they+-- contain the required versions of the container agent and @ecs-init@. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'stopTimeout', 'containerDefinition_stopTimeout' - Time duration (in seconds) to wait before the container is forcefully+-- killed if it doesn\'t exit normally on its own.+--+-- For tasks using the Fargate launch type, the task or service requires+-- the following platforms:+--+-- - Linux platform version @1.3.0@ or later.+--+-- - Windows platform version @1.0.0@ or later.+--+-- The max stop timeout value is 120 seconds and if the parameter is not+-- specified, the default value of 30 seconds is used.+--+-- For tasks that use the EC2 launch type, if the @stopTimeout@ parameter+-- isn\'t specified, the value set for the Amazon ECS container agent+-- configuration variable @ECS_CONTAINER_STOP_TIMEOUT@ is used. If neither+-- the @stopTimeout@ parameter or the @ECS_CONTAINER_STOP_TIMEOUT@ agent+-- configuration variable are set, then the default values of 30 seconds+-- for Linux containers and 30 seconds on Windows containers are used. Your+-- container instances require at least version 1.26.0 of the container+-- agent to use a container stop timeout value. However, we recommend using+-- the latest container agent version. For information about checking your+-- agent version and updating to the latest version, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html Updating the Amazon ECS Container Agent>+-- in the /Amazon Elastic Container Service Developer Guide/. If you\'re+-- using an Amazon ECS-optimized Linux AMI, your instance needs at least+-- version 1.26.0-1 of the @ecs-init@ package. If your container instances+-- are launched from version @20190301@ or later, then they contain the+-- required versions of the container agent and @ecs-init@. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'systemControls', 'containerDefinition_systemControls' - A list of namespaced kernel parameters to set in the container. This+-- parameter maps to @Sysctls@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--sysctl@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- We don\'t recommended that you specify network-related @systemControls@+-- parameters for multiple containers in a single task that also uses+-- either the @awsvpc@ or @host@ network modes. For tasks that use the+-- @awsvpc@ network mode, the container that\'s started last determines+-- which @systemControls@ parameters take effect. For tasks that use the+-- @host@ network mode, it changes the container instance\'s namespaced+-- kernel parameters as well as the containers.+--+-- 'ulimits', 'containerDefinition_ulimits' - A list of @ulimits@ to set in the container. If a @ulimit@ value is+-- specified in a task definition, it overrides the default values set by+-- Docker. This parameter maps to @Ulimits@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--ulimit@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- Valid naming values are displayed in the Ulimit data type.+--+-- Amazon ECS tasks hosted on Fargate use the default resource limit values+-- set by the operating system with the exception of the @nofile@ resource+-- limit parameter which Fargate overrides. The @nofile@ resource limit+-- sets a restriction on the number of open files that a container can use.+-- The default @nofile@ soft limit is @1024@ and hard limit is @4096@.+--+-- This parameter requires version 1.18 of the Docker Remote API or greater+-- on your container instance. To check the Docker Remote API version on+-- your container instance, log in to your container instance and run the+-- following command:+-- @sudo docker version --format \'{{.Server.APIVersion}}\'@+--+-- This parameter is not supported for Windows containers.+--+-- 'user', 'containerDefinition_user' - The user to use inside the container. This parameter maps to @User@ in+-- the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--user@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- When running tasks using the @host@ network mode, don\'t run containers+-- using the root user (UID 0). We recommend using a non-root user for+-- better security.+--+-- You can specify the @user@ using the following formats. If specifying a+-- UID or GID, you must specify it as a positive integer.+--+-- - @user@+--+-- - @user:group@+--+-- - @uid@+--+-- - @uid:gid@+--+-- - @user:gid@+--+-- - @uid:group@+--+-- This parameter is not supported for Windows containers.+--+-- 'volumesFrom', 'containerDefinition_volumesFrom' - Data volumes to mount from another container. This parameter maps to+-- @VolumesFrom@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--volumes-from@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- 'workingDirectory', 'containerDefinition_workingDirectory' - The working directory to run commands inside the container in. This+-- parameter maps to @WorkingDir@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--workdir@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+newContainerDefinition ::+ ContainerDefinition+newContainerDefinition =+ ContainerDefinition'+ { command = Prelude.Nothing,+ cpu = Prelude.Nothing,+ dependsOn = Prelude.Nothing,+ disableNetworking = Prelude.Nothing,+ dnsSearchDomains = Prelude.Nothing,+ dnsServers = Prelude.Nothing,+ dockerLabels = Prelude.Nothing,+ dockerSecurityOptions = Prelude.Nothing,+ entryPoint = Prelude.Nothing,+ environment = Prelude.Nothing,+ environmentFiles = Prelude.Nothing,+ essential = Prelude.Nothing,+ extraHosts = Prelude.Nothing,+ firelensConfiguration = Prelude.Nothing,+ healthCheck = Prelude.Nothing,+ hostname = Prelude.Nothing,+ image = Prelude.Nothing,+ interactive = Prelude.Nothing,+ links = Prelude.Nothing,+ linuxParameters = Prelude.Nothing,+ logConfiguration = Prelude.Nothing,+ memory = Prelude.Nothing,+ memoryReservation = Prelude.Nothing,+ mountPoints = Prelude.Nothing,+ name = Prelude.Nothing,+ portMappings = Prelude.Nothing,+ privileged = Prelude.Nothing,+ pseudoTerminal = Prelude.Nothing,+ readonlyRootFilesystem = Prelude.Nothing,+ repositoryCredentials = Prelude.Nothing,+ resourceRequirements = Prelude.Nothing,+ secrets = Prelude.Nothing,+ startTimeout = Prelude.Nothing,+ stopTimeout = Prelude.Nothing,+ systemControls = Prelude.Nothing,+ ulimits = Prelude.Nothing,+ user = Prelude.Nothing,+ volumesFrom = Prelude.Nothing,+ workingDirectory = Prelude.Nothing+ }++-- | The command that\'s passed to the container. This parameter maps to+-- @Cmd@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @COMMAND@ parameter to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- For more information, see+-- <https://docs.docker.com/engine/reference/builder/#cmd>. If there are+-- multiple arguments, each argument is a separated string in the array.+containerDefinition_command :: Lens.Lens' ContainerDefinition (Prelude.Maybe [Prelude.Text])+containerDefinition_command = Lens.lens (\ContainerDefinition' {command} -> command) (\s@ContainerDefinition' {} a -> s {command = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The number of @cpu@ units reserved for the container. This parameter+-- maps to @CpuShares@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--cpu-shares@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This field is optional for tasks using the Fargate launch type, and the+-- only requirement is that the total amount of CPU reserved for all+-- containers within a task be lower than the task-level @cpu@ value.+--+-- You can determine the number of CPU units that are available per EC2+-- instance type by multiplying the vCPUs listed for that instance type on+-- the <http://aws.amazon.com/ec2/instance-types/ Amazon EC2 Instances>+-- detail page by 1,024.+--+-- Linux containers share unallocated CPU units with other containers on+-- the container instance with the same ratio as their allocated amount.+-- For example, if you run a single-container task on a single-core+-- instance type with 512 CPU units specified for that container, and+-- that\'s the only task running on the container instance, that container+-- could use the full 1,024 CPU unit share at any given time. However, if+-- you launched another copy of the same task on that container instance,+-- each task is guaranteed a minimum of 512 CPU units when needed.+-- Moreover, each container could float to higher CPU usage if the other+-- container was not using it. If both tasks were 100% active all of the+-- time, they would be limited to 512 CPU units.+--+-- On Linux container instances, the Docker daemon on the container+-- instance uses the CPU value to calculate the relative CPU share ratios+-- for running containers. For more information, see+-- <https://docs.docker.com/engine/reference/run/#cpu-share-constraint CPU share constraint>+-- in the Docker documentation. The minimum valid CPU share value that the+-- Linux kernel allows is 2. However, the CPU parameter isn\'t required,+-- and you can use CPU values below 2 in your container definitions. For+-- CPU values below 2 (including null), the behavior varies based on your+-- Amazon ECS container agent version:+--+-- - __Agent versions less than or equal to 1.1.0:__ Null and zero CPU+-- values are passed to Docker as 0, which Docker then converts to+-- 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which+-- the Linux kernel converts to two CPU shares.+--+-- - __Agent versions greater than or equal to 1.2.0:__ Null, zero, and+-- CPU values of 1 are passed to Docker as 2.+--+-- On Windows container instances, the CPU limit is enforced as an absolute+-- limit, or a quota. Windows containers only have access to the specified+-- amount of CPU that\'s described in the task definition. A null or zero+-- CPU value is passed to Docker as @0@, which Windows interprets as 1% of+-- one CPU.+containerDefinition_cpu :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Int)+containerDefinition_cpu = Lens.lens (\ContainerDefinition' {cpu} -> cpu) (\s@ContainerDefinition' {} a -> s {cpu = a} :: ContainerDefinition)++-- | The dependencies defined for container startup and shutdown. A container+-- can contain multiple dependencies on other containers in a task+-- definition. When a dependency is defined for container startup, for+-- container shutdown it is reversed.+--+-- For tasks using the EC2 launch type, the container instances require at+-- least version 1.26.0 of the container agent to turn on container+-- dependencies. However, we recommend using the latest container agent+-- version. For information about checking your agent version and updating+-- to the latest version, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html Updating the Amazon ECS Container Agent>+-- in the /Amazon Elastic Container Service Developer Guide/. If you\'re+-- using an Amazon ECS-optimized Linux AMI, your instance needs at least+-- version 1.26.0-1 of the @ecs-init@ package. If your container instances+-- are launched from version @20190301@ or later, then they contain the+-- required versions of the container agent and @ecs-init@. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- For tasks using the Fargate launch type, the task or service requires+-- the following platforms:+--+-- - Linux platform version @1.3.0@ or later.+--+-- - Windows platform version @1.0.0@ or later.+containerDefinition_dependsOn :: Lens.Lens' ContainerDefinition (Prelude.Maybe [ContainerDependency])+containerDefinition_dependsOn = Lens.lens (\ContainerDefinition' {dependsOn} -> dependsOn) (\s@ContainerDefinition' {} a -> s {dependsOn = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | When this parameter is true, networking is disabled within the+-- container. This parameter maps to @NetworkDisabled@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API>.+--+-- This parameter is not supported for Windows containers.+containerDefinition_disableNetworking :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Bool)+containerDefinition_disableNetworking = Lens.lens (\ContainerDefinition' {disableNetworking} -> disableNetworking) (\s@ContainerDefinition' {} a -> s {disableNetworking = a} :: ContainerDefinition)++-- | A list of DNS search domains that are presented to the container. This+-- parameter maps to @DnsSearch@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--dns-search@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter is not supported for Windows containers.+containerDefinition_dnsSearchDomains :: Lens.Lens' ContainerDefinition (Prelude.Maybe [Prelude.Text])+containerDefinition_dnsSearchDomains = Lens.lens (\ContainerDefinition' {dnsSearchDomains} -> dnsSearchDomains) (\s@ContainerDefinition' {} a -> s {dnsSearchDomains = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | A list of DNS servers that are presented to the container. This+-- parameter maps to @Dns@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--dns@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter is not supported for Windows containers.+containerDefinition_dnsServers :: Lens.Lens' ContainerDefinition (Prelude.Maybe [Prelude.Text])+containerDefinition_dnsServers = Lens.lens (\ContainerDefinition' {dnsServers} -> dnsServers) (\s@ContainerDefinition' {} a -> s {dnsServers = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | A key\/value map of labels to add to the container. This parameter maps+-- to @Labels@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--label@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- This parameter requires version 1.18 of the Docker Remote API or greater+-- on your container instance. To check the Docker Remote API version on+-- your container instance, log in to your container instance and run the+-- following command:+-- @sudo docker version --format \'{{.Server.APIVersion}}\'@+containerDefinition_dockerLabels :: Lens.Lens' ContainerDefinition (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+containerDefinition_dockerLabels = Lens.lens (\ContainerDefinition' {dockerLabels} -> dockerLabels) (\s@ContainerDefinition' {} a -> s {dockerLabels = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | A list of strings to provide custom labels for SELinux and AppArmor+-- multi-level security systems. This field isn\'t valid for containers in+-- tasks using the Fargate launch type.+--+-- With Windows containers, this parameter can be used to reference a+-- credential spec file when configuring a container for Active Directory+-- authentication. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html Using gMSAs for Windows Containers>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- This parameter maps to @SecurityOpt@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--security-opt@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- The Amazon ECS container agent running on a container instance must+-- register with the @ECS_SELINUX_CAPABLE=true@ or+-- @ECS_APPARMOR_CAPABLE=true@ environment variables before containers+-- placed on that instance can use these security options. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS Container Agent Configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- For more information about valid values, see+-- <https://docs.docker.com/engine/reference/run/#security-configuration Docker Run Security Configuration>.+--+-- Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" |+-- \"label:value\" | \"credentialspec:CredentialSpecFilePath\"+containerDefinition_dockerSecurityOptions :: Lens.Lens' ContainerDefinition (Prelude.Maybe [Prelude.Text])+containerDefinition_dockerSecurityOptions = Lens.lens (\ContainerDefinition' {dockerSecurityOptions} -> dockerSecurityOptions) (\s@ContainerDefinition' {} a -> s {dockerSecurityOptions = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | Early versions of the Amazon ECS container agent don\'t properly handle+-- @entryPoint@ parameters. If you have problems using @entryPoint@, update+-- your container agent or enter your commands and arguments as @command@+-- array items instead.+--+-- The entry point that\'s passed to the container. This parameter maps to+-- @Entrypoint@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--entrypoint@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- For more information, see+-- <https://docs.docker.com/engine/reference/builder/#entrypoint>.+containerDefinition_entryPoint :: Lens.Lens' ContainerDefinition (Prelude.Maybe [Prelude.Text])+containerDefinition_entryPoint = Lens.lens (\ContainerDefinition' {entryPoint} -> entryPoint) (\s@ContainerDefinition' {} a -> s {entryPoint = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The environment variables to pass to a container. This parameter maps to+-- @Env@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--env@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- We don\'t recommend that you use plaintext environment variables for+-- sensitive information, such as credential data.+containerDefinition_environment :: Lens.Lens' ContainerDefinition (Prelude.Maybe [KeyValuePair])+containerDefinition_environment = Lens.lens (\ContainerDefinition' {environment} -> environment) (\s@ContainerDefinition' {} a -> s {environment = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | A list of files containing the environment variables to pass to a+-- container. This parameter maps to the @--env-file@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- You can specify up to ten environment files. The file must have a @.env@+-- file extension. Each line in an environment file contains an environment+-- variable in @VARIABLE=VALUE@ format. Lines beginning with @#@ are+-- treated as comments and are ignored. For more information about the+-- environment variable file syntax, see+-- <https://docs.docker.com/compose/env-file/ Declare default environment variables in file>.+--+-- If there are environment variables specified using the @environment@+-- parameter in a container definition, they take precedence over the+-- variables contained within an environment file. If multiple environment+-- files are specified that contain the same variable, they\'re processed+-- from the top down. We recommend that you use unique variable names. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html Specifying Environment Variables>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerDefinition_environmentFiles :: Lens.Lens' ContainerDefinition (Prelude.Maybe [EnvironmentFile])+containerDefinition_environmentFiles = Lens.lens (\ContainerDefinition' {environmentFiles} -> environmentFiles) (\s@ContainerDefinition' {} a -> s {environmentFiles = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | If the @essential@ parameter of a container is marked as @true@, and+-- that container fails or stops for any reason, all other containers that+-- are part of the task are stopped. If the @essential@ parameter of a+-- container is marked as @false@, its failure doesn\'t affect the rest of+-- the containers in a task. If this parameter is omitted, a container is+-- assumed to be essential.+--+-- All tasks must have at least one essential container. If you have an+-- application that\'s composed of multiple containers, group containers+-- that are used for a common purpose into components, and separate the+-- different components into multiple task definitions. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html Application Architecture>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerDefinition_essential :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Bool)+containerDefinition_essential = Lens.lens (\ContainerDefinition' {essential} -> essential) (\s@ContainerDefinition' {} a -> s {essential = a} :: ContainerDefinition)++-- | A list of hostnames and IP address mappings to append to the+-- @\/etc\/hosts@ file on the container. This parameter maps to+-- @ExtraHosts@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--add-host@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter isn\'t supported for Windows containers or tasks that use+-- the @awsvpc@ network mode.+containerDefinition_extraHosts :: Lens.Lens' ContainerDefinition (Prelude.Maybe [HostEntry])+containerDefinition_extraHosts = Lens.lens (\ContainerDefinition' {extraHosts} -> extraHosts) (\s@ContainerDefinition' {} a -> s {extraHosts = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The FireLens configuration for the container. This is used to specify+-- and configure a log router for container logs. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html Custom Log Routing>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerDefinition_firelensConfiguration :: Lens.Lens' ContainerDefinition (Prelude.Maybe FirelensConfiguration)+containerDefinition_firelensConfiguration = Lens.lens (\ContainerDefinition' {firelensConfiguration} -> firelensConfiguration) (\s@ContainerDefinition' {} a -> s {firelensConfiguration = a} :: ContainerDefinition)++-- | The container health check command and associated configuration+-- parameters for the container. This parameter maps to @HealthCheck@ in+-- the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @HEALTHCHECK@ parameter of+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+containerDefinition_healthCheck :: Lens.Lens' ContainerDefinition (Prelude.Maybe HealthCheck)+containerDefinition_healthCheck = Lens.lens (\ContainerDefinition' {healthCheck} -> healthCheck) (\s@ContainerDefinition' {} a -> s {healthCheck = a} :: ContainerDefinition)++-- | The hostname to use for your container. This parameter maps to+-- @Hostname@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--hostname@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- The @hostname@ parameter is not supported if you\'re using the @awsvpc@+-- network mode.+containerDefinition_hostname :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Text)+containerDefinition_hostname = Lens.lens (\ContainerDefinition' {hostname} -> hostname) (\s@ContainerDefinition' {} a -> s {hostname = a} :: ContainerDefinition)++-- | The image used to start a container. This string is passed directly to+-- the Docker daemon. By default, images in the Docker Hub registry are+-- available. Other repositories are specified with either+-- @ @/@repository-url@/@\/@/@image@/@:@/@tag@/@ @ or+-- @ @/@repository-url@/@\/@/@image@/@\@@/@digest@/@ @. Up to 255 letters+-- (uppercase and lowercase), numbers, hyphens, underscores, colons,+-- periods, forward slashes, and number signs are allowed. This parameter+-- maps to @Image@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @IMAGE@ parameter of+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- - When a new task starts, the Amazon ECS container agent pulls the+-- latest version of the specified image and tag for the container to+-- use. However, subsequent updates to a repository image aren\'t+-- propagated to already running tasks.+--+-- - Images in Amazon ECR repositories can be specified by either using+-- the full @registry\/repository:tag@ or+-- @registry\/repository\@digest@. For example,+-- @012345678910.dkr.ecr.\<region-name>.amazonaws.com\/\<repository-name>:latest@+-- or+-- @012345678910.dkr.ecr.\<region-name>.amazonaws.com\/\<repository-name>\@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE@.+--+-- - Images in official repositories on Docker Hub use a single name (for+-- example, @ubuntu@ or @mongo@).+--+-- - Images in other repositories on Docker Hub are qualified with an+-- organization name (for example, @amazon\/amazon-ecs-agent@).+--+-- - Images in other online repositories are qualified further by a+-- domain name (for example, @quay.io\/assemblyline\/ubuntu@).+containerDefinition_image :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Text)+containerDefinition_image = Lens.lens (\ContainerDefinition' {image} -> image) (\s@ContainerDefinition' {} a -> s {image = a} :: ContainerDefinition)++-- | When this parameter is @true@, you can deploy containerized applications+-- that require @stdin@ or a @tty@ to be allocated. This parameter maps to+-- @OpenStdin@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--interactive@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+containerDefinition_interactive :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Bool)+containerDefinition_interactive = Lens.lens (\ContainerDefinition' {interactive} -> interactive) (\s@ContainerDefinition' {} a -> s {interactive = a} :: ContainerDefinition)++-- | The @links@ parameter allows containers to communicate with each other+-- without the need for port mappings. This parameter is only supported if+-- the network mode of a task definition is @bridge@. The+-- @name:internalName@ construct is analogous to @name:alias@ in Docker+-- links. Up to 255 letters (uppercase and lowercase), numbers,+-- underscores, and hyphens are allowed. For more information about linking+-- Docker containers, go to+-- <https://docs.docker.com/network/links/ Legacy container links> in the+-- Docker documentation. This parameter maps to @Links@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--link@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter is not supported for Windows containers.+--+-- Containers that are collocated on a single container instance may be+-- able to communicate with each other without requiring links or host port+-- mappings. Network isolation is achieved on the container instance using+-- security groups and VPC settings.+containerDefinition_links :: Lens.Lens' ContainerDefinition (Prelude.Maybe [Prelude.Text])+containerDefinition_links = Lens.lens (\ContainerDefinition' {links} -> links) (\s@ContainerDefinition' {} a -> s {links = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | Linux-specific modifications that are applied to the container, such as+-- Linux kernel capabilities. For more information see KernelCapabilities.+--+-- This parameter is not supported for Windows containers.+containerDefinition_linuxParameters :: Lens.Lens' ContainerDefinition (Prelude.Maybe LinuxParameters)+containerDefinition_linuxParameters = Lens.lens (\ContainerDefinition' {linuxParameters} -> linuxParameters) (\s@ContainerDefinition' {} a -> s {linuxParameters = a} :: ContainerDefinition)++-- | The log configuration specification for the container.+--+-- This parameter maps to @LogConfig@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--log-driver@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- By default, containers use the same logging driver that the Docker+-- daemon uses. However the container can use a different logging driver+-- than the Docker daemon by specifying a log driver with this parameter in+-- the container definition. To use a different logging driver for a+-- container, the log system must be configured properly on the container+-- instance (or on a different log server for remote logging options). For+-- more information about the options for different supported log drivers,+-- see+-- <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers>+-- in the Docker documentation.+--+-- Amazon ECS currently supports a subset of the logging drivers available+-- to the Docker daemon (shown in the LogConfiguration data type).+-- Additional log drivers may be available in future releases of the Amazon+-- ECS container agent.+--+-- This parameter requires version 1.18 of the Docker Remote API or greater+-- on your container instance. To check the Docker Remote API version on+-- your container instance, log in to your container instance and run the+-- following command:+-- @sudo docker version --format \'{{.Server.APIVersion}}\'@+--+-- The Amazon ECS container agent running on a container instance must+-- register the logging drivers available on that instance with the+-- @ECS_AVAILABLE_LOGGING_DRIVERS@ environment variable before containers+-- placed on that instance can use these log configuration options. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS Container Agent Configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerDefinition_logConfiguration :: Lens.Lens' ContainerDefinition (Prelude.Maybe LogConfiguration)+containerDefinition_logConfiguration = Lens.lens (\ContainerDefinition' {logConfiguration} -> logConfiguration) (\s@ContainerDefinition' {} a -> s {logConfiguration = a} :: ContainerDefinition)++-- | The amount (in MiB) of memory to present to the container. If your+-- container attempts to exceed the memory specified here, the container is+-- killed. The total amount of memory reserved for all containers within a+-- task must be lower than the task @memory@ value, if one is specified.+-- This parameter maps to @Memory@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--memory@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If using the Fargate launch type, this parameter is optional.+--+-- If using the EC2 launch type, you must specify either a task-level+-- memory value or a container-level memory value. If you specify both a+-- container-level @memory@ and @memoryReservation@ value, @memory@ must be+-- greater than @memoryReservation@. If you specify @memoryReservation@,+-- then that value is subtracted from the available memory resources for+-- the container instance where the container is placed. Otherwise, the+-- value of @memory@ is used.+--+-- The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory+-- for a container. So, don\'t specify less than 6 MiB of memory for your+-- containers.+--+-- The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of+-- memory for a container. So, don\'t specify less than 4 MiB of memory for+-- your containers.+containerDefinition_memory :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Int)+containerDefinition_memory = Lens.lens (\ContainerDefinition' {memory} -> memory) (\s@ContainerDefinition' {} a -> s {memory = a} :: ContainerDefinition)++-- | The soft limit (in MiB) of memory to reserve for the container. When+-- system memory is under heavy contention, Docker attempts to keep the+-- container memory to this soft limit. However, your container can consume+-- more memory when it needs to, up to either the hard limit specified with+-- the @memory@ parameter (if applicable), or all of the available memory+-- on the container instance, whichever comes first. This parameter maps to+-- @MemoryReservation@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--memory-reservation@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If a task-level memory value is not specified, you must specify a+-- non-zero integer for one or both of @memory@ or @memoryReservation@ in a+-- container definition. If you specify both, @memory@ must be greater than+-- @memoryReservation@. If you specify @memoryReservation@, then that value+-- is subtracted from the available memory resources for the container+-- instance where the container is placed. Otherwise, the value of @memory@+-- is used.+--+-- For example, if your container normally uses 128 MiB of memory, but+-- occasionally bursts to 256 MiB of memory for short periods of time, you+-- can set a @memoryReservation@ of 128 MiB, and a @memory@ hard limit of+-- 300 MiB. This configuration would allow the container to only reserve+-- 128 MiB of memory from the remaining resources on the container+-- instance, but also allow the container to consume more memory resources+-- when needed.+--+-- The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory+-- for a container. So, don\'t specify less than 6 MiB of memory for your+-- containers.+--+-- The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of+-- memory for a container. So, don\'t specify less than 4 MiB of memory for+-- your containers.+containerDefinition_memoryReservation :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Int)+containerDefinition_memoryReservation = Lens.lens (\ContainerDefinition' {memoryReservation} -> memoryReservation) (\s@ContainerDefinition' {} a -> s {memoryReservation = a} :: ContainerDefinition)++-- | The mount points for data volumes in your container.+--+-- This parameter maps to @Volumes@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--volume@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- Windows containers can mount whole directories on the same drive as+-- @$env:ProgramData@. Windows containers can\'t mount directories on a+-- different drive, and mount point can\'t be across drives.+containerDefinition_mountPoints :: Lens.Lens' ContainerDefinition (Prelude.Maybe [MountPoint])+containerDefinition_mountPoints = Lens.lens (\ContainerDefinition' {mountPoints} -> mountPoints) (\s@ContainerDefinition' {} a -> s {mountPoints = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The name of a container. If you\'re linking multiple containers together+-- in a task definition, the @name@ of one container can be entered in the+-- @links@ of another container to connect the containers. Up to 255+-- letters (uppercase and lowercase), numbers, underscores, and hyphens are+-- allowed. This parameter maps to @name@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--name@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+containerDefinition_name :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Text)+containerDefinition_name = Lens.lens (\ContainerDefinition' {name} -> name) (\s@ContainerDefinition' {} a -> s {name = a} :: ContainerDefinition)++-- | The list of port mappings for the container. Port mappings allow+-- containers to access ports on the host container instance to send or+-- receive traffic.+--+-- For task definitions that use the @awsvpc@ network mode, only specify+-- the @containerPort@. The @hostPort@ can be left blank or it must be the+-- same value as the @containerPort@.+--+-- Port mappings on Windows use the @NetNAT@ gateway address rather than+-- @localhost@. There\'s no loopback for port mappings on Windows, so you+-- can\'t access a container\'s mapped port from the host itself.+--+-- This parameter maps to @PortBindings@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--publish@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- If the network mode of a task definition is set to @none@, then you+-- can\'t specify port mappings. If the network mode of a task definition+-- is set to @host@, then host ports must either be undefined or they must+-- match the container port in the port mapping.+--+-- After a task reaches the @RUNNING@ status, manual and automatic host and+-- container port assignments are visible in the __Network Bindings__+-- section of a container description for a selected task in the Amazon ECS+-- console. The assignments are also visible in the @networkBindings@+-- section DescribeTasks responses.+containerDefinition_portMappings :: Lens.Lens' ContainerDefinition (Prelude.Maybe [PortMapping])+containerDefinition_portMappings = Lens.lens (\ContainerDefinition' {portMappings} -> portMappings) (\s@ContainerDefinition' {} a -> s {portMappings = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | When this parameter is true, the container is given elevated privileges+-- on the host container instance (similar to the @root@ user). This+-- parameter maps to @Privileged@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--privileged@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter is not supported for Windows containers or tasks run on+-- Fargate.+containerDefinition_privileged :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Bool)+containerDefinition_privileged = Lens.lens (\ContainerDefinition' {privileged} -> privileged) (\s@ContainerDefinition' {} a -> s {privileged = a} :: ContainerDefinition)++-- | When this parameter is @true@, a TTY is allocated. This parameter maps+-- to @Tty@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--tty@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+containerDefinition_pseudoTerminal :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Bool)+containerDefinition_pseudoTerminal = Lens.lens (\ContainerDefinition' {pseudoTerminal} -> pseudoTerminal) (\s@ContainerDefinition' {} a -> s {pseudoTerminal = a} :: ContainerDefinition)++-- | When this parameter is true, the container is given read-only access to+-- its root file system. This parameter maps to @ReadonlyRootfs@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--read-only@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- This parameter is not supported for Windows containers.+containerDefinition_readonlyRootFilesystem :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Bool)+containerDefinition_readonlyRootFilesystem = Lens.lens (\ContainerDefinition' {readonlyRootFilesystem} -> readonlyRootFilesystem) (\s@ContainerDefinition' {} a -> s {readonlyRootFilesystem = a} :: ContainerDefinition)++-- | The private repository authentication credentials to use.+containerDefinition_repositoryCredentials :: Lens.Lens' ContainerDefinition (Prelude.Maybe RepositoryCredentials)+containerDefinition_repositoryCredentials = Lens.lens (\ContainerDefinition' {repositoryCredentials} -> repositoryCredentials) (\s@ContainerDefinition' {} a -> s {repositoryCredentials = a} :: ContainerDefinition)++-- | The type and amount of a resource to assign to a container. The only+-- supported resource is a GPU.+containerDefinition_resourceRequirements :: Lens.Lens' ContainerDefinition (Prelude.Maybe [ResourceRequirement])+containerDefinition_resourceRequirements = Lens.lens (\ContainerDefinition' {resourceRequirements} -> resourceRequirements) (\s@ContainerDefinition' {} a -> s {resourceRequirements = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The secrets to pass to the container. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html Specifying Sensitive Data>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerDefinition_secrets :: Lens.Lens' ContainerDefinition (Prelude.Maybe [Secret])+containerDefinition_secrets = Lens.lens (\ContainerDefinition' {secrets} -> secrets) (\s@ContainerDefinition' {} a -> s {secrets = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | Time duration (in seconds) to wait before giving up on resolving+-- dependencies for a container. For example, you specify two containers in+-- a task definition with containerA having a dependency on containerB+-- reaching a @COMPLETE@, @SUCCESS@, or @HEALTHY@ status. If a+-- @startTimeout@ value is specified for containerB and it doesn\'t reach+-- the desired status within that time then containerA gives up and not+-- start. This results in the task transitioning to a @STOPPED@ state.+--+-- When the @ECS_CONTAINER_START_TIMEOUT@ container agent configuration+-- variable is used, it\'s enforced independently from this start timeout+-- value.+--+-- For tasks using the Fargate launch type, the task or service requires+-- the following platforms:+--+-- - Linux platform version @1.3.0@ or later.+--+-- - Windows platform version @1.0.0@ or later.+--+-- For tasks using the EC2 launch type, your container instances require at+-- least version @1.26.0@ of the container agent to use a container start+-- timeout value. However, we recommend using the latest container agent+-- version. For information about checking your agent version and updating+-- to the latest version, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html Updating the Amazon ECS Container Agent>+-- in the /Amazon Elastic Container Service Developer Guide/. If you\'re+-- using an Amazon ECS-optimized Linux AMI, your instance needs at least+-- version @1.26.0-1@ of the @ecs-init@ package. If your container+-- instances are launched from version @20190301@ or later, then they+-- contain the required versions of the container agent and @ecs-init@. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerDefinition_startTimeout :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Int)+containerDefinition_startTimeout = Lens.lens (\ContainerDefinition' {startTimeout} -> startTimeout) (\s@ContainerDefinition' {} a -> s {startTimeout = a} :: ContainerDefinition)++-- | Time duration (in seconds) to wait before the container is forcefully+-- killed if it doesn\'t exit normally on its own.+--+-- For tasks using the Fargate launch type, the task or service requires+-- the following platforms:+--+-- - Linux platform version @1.3.0@ or later.+--+-- - Windows platform version @1.0.0@ or later.+--+-- The max stop timeout value is 120 seconds and if the parameter is not+-- specified, the default value of 30 seconds is used.+--+-- For tasks that use the EC2 launch type, if the @stopTimeout@ parameter+-- isn\'t specified, the value set for the Amazon ECS container agent+-- configuration variable @ECS_CONTAINER_STOP_TIMEOUT@ is used. If neither+-- the @stopTimeout@ parameter or the @ECS_CONTAINER_STOP_TIMEOUT@ agent+-- configuration variable are set, then the default values of 30 seconds+-- for Linux containers and 30 seconds on Windows containers are used. Your+-- container instances require at least version 1.26.0 of the container+-- agent to use a container stop timeout value. However, we recommend using+-- the latest container agent version. For information about checking your+-- agent version and updating to the latest version, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html Updating the Amazon ECS Container Agent>+-- in the /Amazon Elastic Container Service Developer Guide/. If you\'re+-- using an Amazon ECS-optimized Linux AMI, your instance needs at least+-- version 1.26.0-1 of the @ecs-init@ package. If your container instances+-- are launched from version @20190301@ or later, then they contain the+-- required versions of the container agent and @ecs-init@. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerDefinition_stopTimeout :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Int)+containerDefinition_stopTimeout = Lens.lens (\ContainerDefinition' {stopTimeout} -> stopTimeout) (\s@ContainerDefinition' {} a -> s {stopTimeout = a} :: ContainerDefinition)++-- | A list of namespaced kernel parameters to set in the container. This+-- parameter maps to @Sysctls@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--sysctl@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- We don\'t recommended that you specify network-related @systemControls@+-- parameters for multiple containers in a single task that also uses+-- either the @awsvpc@ or @host@ network modes. For tasks that use the+-- @awsvpc@ network mode, the container that\'s started last determines+-- which @systemControls@ parameters take effect. For tasks that use the+-- @host@ network mode, it changes the container instance\'s namespaced+-- kernel parameters as well as the containers.+containerDefinition_systemControls :: Lens.Lens' ContainerDefinition (Prelude.Maybe [SystemControl])+containerDefinition_systemControls = Lens.lens (\ContainerDefinition' {systemControls} -> systemControls) (\s@ContainerDefinition' {} a -> s {systemControls = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | A list of @ulimits@ to set in the container. If a @ulimit@ value is+-- specified in a task definition, it overrides the default values set by+-- Docker. This parameter maps to @Ulimits@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--ulimit@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- Valid naming values are displayed in the Ulimit data type.+--+-- Amazon ECS tasks hosted on Fargate use the default resource limit values+-- set by the operating system with the exception of the @nofile@ resource+-- limit parameter which Fargate overrides. The @nofile@ resource limit+-- sets a restriction on the number of open files that a container can use.+-- The default @nofile@ soft limit is @1024@ and hard limit is @4096@.+--+-- This parameter requires version 1.18 of the Docker Remote API or greater+-- on your container instance. To check the Docker Remote API version on+-- your container instance, log in to your container instance and run the+-- following command:+-- @sudo docker version --format \'{{.Server.APIVersion}}\'@+--+-- This parameter is not supported for Windows containers.+containerDefinition_ulimits :: Lens.Lens' ContainerDefinition (Prelude.Maybe [Ulimit])+containerDefinition_ulimits = Lens.lens (\ContainerDefinition' {ulimits} -> ulimits) (\s@ContainerDefinition' {} a -> s {ulimits = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The user to use inside the container. This parameter maps to @User@ in+-- the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--user@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- When running tasks using the @host@ network mode, don\'t run containers+-- using the root user (UID 0). We recommend using a non-root user for+-- better security.+--+-- You can specify the @user@ using the following formats. If specifying a+-- UID or GID, you must specify it as a positive integer.+--+-- - @user@+--+-- - @user:group@+--+-- - @uid@+--+-- - @uid:gid@+--+-- - @user:gid@+--+-- - @uid:group@+--+-- This parameter is not supported for Windows containers.+containerDefinition_user :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Text)+containerDefinition_user = Lens.lens (\ContainerDefinition' {user} -> user) (\s@ContainerDefinition' {} a -> s {user = a} :: ContainerDefinition)++-- | Data volumes to mount from another container. This parameter maps to+-- @VolumesFrom@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--volumes-from@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+containerDefinition_volumesFrom :: Lens.Lens' ContainerDefinition (Prelude.Maybe [VolumeFrom])+containerDefinition_volumesFrom = Lens.lens (\ContainerDefinition' {volumesFrom} -> volumesFrom) (\s@ContainerDefinition' {} a -> s {volumesFrom = a} :: ContainerDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The working directory to run commands inside the container in. This+-- parameter maps to @WorkingDir@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--workdir@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+containerDefinition_workingDirectory :: Lens.Lens' ContainerDefinition (Prelude.Maybe Prelude.Text)+containerDefinition_workingDirectory = Lens.lens (\ContainerDefinition' {workingDirectory} -> workingDirectory) (\s@ContainerDefinition' {} a -> s {workingDirectory = a} :: ContainerDefinition)++instance Data.FromJSON ContainerDefinition where+ parseJSON =+ Data.withObject+ "ContainerDefinition"+ ( \x ->+ ContainerDefinition'+ Prelude.<$> (x Data..:? "command" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "cpu")+ Prelude.<*> (x Data..:? "dependsOn" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "disableNetworking")+ Prelude.<*> ( x+ Data..:? "dnsSearchDomains"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "dnsServers" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "dockerLabels" Data..!= Prelude.mempty)+ Prelude.<*> ( x+ Data..:? "dockerSecurityOptions"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "entryPoint" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "environment" Data..!= Prelude.mempty)+ Prelude.<*> ( x+ Data..:? "environmentFiles"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "essential")+ Prelude.<*> (x Data..:? "extraHosts" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "firelensConfiguration")+ Prelude.<*> (x Data..:? "healthCheck")+ Prelude.<*> (x Data..:? "hostname")+ Prelude.<*> (x Data..:? "image")+ Prelude.<*> (x Data..:? "interactive")+ Prelude.<*> (x Data..:? "links" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "linuxParameters")+ Prelude.<*> (x Data..:? "logConfiguration")+ Prelude.<*> (x Data..:? "memory")+ Prelude.<*> (x Data..:? "memoryReservation")+ Prelude.<*> (x Data..:? "mountPoints" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "name")+ Prelude.<*> (x Data..:? "portMappings" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "privileged")+ Prelude.<*> (x Data..:? "pseudoTerminal")+ Prelude.<*> (x Data..:? "readonlyRootFilesystem")+ Prelude.<*> (x Data..:? "repositoryCredentials")+ Prelude.<*> ( x+ Data..:? "resourceRequirements"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "secrets" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "startTimeout")+ Prelude.<*> (x Data..:? "stopTimeout")+ Prelude.<*> (x Data..:? "systemControls" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "ulimits" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "user")+ Prelude.<*> (x Data..:? "volumesFrom" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "workingDirectory")+ )++instance Prelude.Hashable ContainerDefinition where+ hashWithSalt _salt ContainerDefinition' {..} =+ _salt+ `Prelude.hashWithSalt` command+ `Prelude.hashWithSalt` cpu+ `Prelude.hashWithSalt` dependsOn+ `Prelude.hashWithSalt` disableNetworking+ `Prelude.hashWithSalt` dnsSearchDomains+ `Prelude.hashWithSalt` dnsServers+ `Prelude.hashWithSalt` dockerLabels+ `Prelude.hashWithSalt` dockerSecurityOptions+ `Prelude.hashWithSalt` entryPoint+ `Prelude.hashWithSalt` environment+ `Prelude.hashWithSalt` environmentFiles+ `Prelude.hashWithSalt` essential+ `Prelude.hashWithSalt` extraHosts+ `Prelude.hashWithSalt` firelensConfiguration+ `Prelude.hashWithSalt` healthCheck+ `Prelude.hashWithSalt` hostname+ `Prelude.hashWithSalt` image+ `Prelude.hashWithSalt` interactive+ `Prelude.hashWithSalt` links+ `Prelude.hashWithSalt` linuxParameters+ `Prelude.hashWithSalt` logConfiguration+ `Prelude.hashWithSalt` memory+ `Prelude.hashWithSalt` memoryReservation+ `Prelude.hashWithSalt` mountPoints+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` portMappings+ `Prelude.hashWithSalt` privileged+ `Prelude.hashWithSalt` pseudoTerminal+ `Prelude.hashWithSalt` readonlyRootFilesystem+ `Prelude.hashWithSalt` repositoryCredentials+ `Prelude.hashWithSalt` resourceRequirements+ `Prelude.hashWithSalt` secrets+ `Prelude.hashWithSalt` startTimeout+ `Prelude.hashWithSalt` stopTimeout+ `Prelude.hashWithSalt` systemControls+ `Prelude.hashWithSalt` ulimits+ `Prelude.hashWithSalt` user+ `Prelude.hashWithSalt` volumesFrom+ `Prelude.hashWithSalt` workingDirectory++instance Prelude.NFData ContainerDefinition where+ rnf ContainerDefinition' {..} =+ Prelude.rnf command+ `Prelude.seq` Prelude.rnf cpu+ `Prelude.seq` Prelude.rnf dependsOn+ `Prelude.seq` Prelude.rnf disableNetworking+ `Prelude.seq` Prelude.rnf dnsSearchDomains+ `Prelude.seq` Prelude.rnf dnsServers+ `Prelude.seq` Prelude.rnf dockerLabels+ `Prelude.seq` Prelude.rnf dockerSecurityOptions+ `Prelude.seq` Prelude.rnf entryPoint+ `Prelude.seq` Prelude.rnf environment+ `Prelude.seq` Prelude.rnf environmentFiles+ `Prelude.seq` Prelude.rnf essential+ `Prelude.seq` Prelude.rnf extraHosts+ `Prelude.seq` Prelude.rnf firelensConfiguration+ `Prelude.seq` Prelude.rnf healthCheck+ `Prelude.seq` Prelude.rnf hostname+ `Prelude.seq` Prelude.rnf image+ `Prelude.seq` Prelude.rnf interactive+ `Prelude.seq` Prelude.rnf links+ `Prelude.seq` Prelude.rnf linuxParameters+ `Prelude.seq` Prelude.rnf logConfiguration+ `Prelude.seq` Prelude.rnf memory+ `Prelude.seq` Prelude.rnf+ memoryReservation+ `Prelude.seq` Prelude.rnf+ mountPoints+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf+ portMappings+ `Prelude.seq` Prelude.rnf+ privileged+ `Prelude.seq` Prelude.rnf+ pseudoTerminal+ `Prelude.seq` Prelude.rnf+ readonlyRootFilesystem+ `Prelude.seq` Prelude.rnf+ repositoryCredentials+ `Prelude.seq` Prelude.rnf+ resourceRequirements+ `Prelude.seq` Prelude.rnf+ secrets+ `Prelude.seq` Prelude.rnf+ startTimeout+ `Prelude.seq` Prelude.rnf+ stopTimeout+ `Prelude.seq` Prelude.rnf+ systemControls+ `Prelude.seq` Prelude.rnf+ ulimits+ `Prelude.seq` Prelude.rnf+ user+ `Prelude.seq` Prelude.rnf+ volumesFrom+ `Prelude.seq` Prelude.rnf+ workingDirectory++instance Data.ToJSON ContainerDefinition where+ toJSON ContainerDefinition' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("command" Data..=) Prelude.<$> command,+ ("cpu" Data..=) Prelude.<$> cpu,+ ("dependsOn" Data..=) Prelude.<$> dependsOn,+ ("disableNetworking" Data..=)+ Prelude.<$> disableNetworking,+ ("dnsSearchDomains" Data..=)+ Prelude.<$> dnsSearchDomains,+ ("dnsServers" Data..=) Prelude.<$> dnsServers,+ ("dockerLabels" Data..=) Prelude.<$> dockerLabels,+ ("dockerSecurityOptions" Data..=)+ Prelude.<$> dockerSecurityOptions,+ ("entryPoint" Data..=) Prelude.<$> entryPoint,+ ("environment" Data..=) Prelude.<$> environment,+ ("environmentFiles" Data..=)+ Prelude.<$> environmentFiles,+ ("essential" Data..=) Prelude.<$> essential,+ ("extraHosts" Data..=) Prelude.<$> extraHosts,+ ("firelensConfiguration" Data..=)+ Prelude.<$> firelensConfiguration,+ ("healthCheck" Data..=) Prelude.<$> healthCheck,+ ("hostname" Data..=) Prelude.<$> hostname,+ ("image" Data..=) Prelude.<$> image,+ ("interactive" Data..=) Prelude.<$> interactive,+ ("links" Data..=) Prelude.<$> links,+ ("linuxParameters" Data..=)+ Prelude.<$> linuxParameters,+ ("logConfiguration" Data..=)+ Prelude.<$> logConfiguration,+ ("memory" Data..=) Prelude.<$> memory,+ ("memoryReservation" Data..=)+ Prelude.<$> memoryReservation,+ ("mountPoints" Data..=) Prelude.<$> mountPoints,+ ("name" Data..=) Prelude.<$> name,+ ("portMappings" Data..=) Prelude.<$> portMappings,+ ("privileged" Data..=) Prelude.<$> privileged,+ ("pseudoTerminal" Data..=)+ Prelude.<$> pseudoTerminal,+ ("readonlyRootFilesystem" Data..=)+ Prelude.<$> readonlyRootFilesystem,+ ("repositoryCredentials" Data..=)+ Prelude.<$> repositoryCredentials,+ ("resourceRequirements" Data..=)+ Prelude.<$> resourceRequirements,+ ("secrets" Data..=) Prelude.<$> secrets,+ ("startTimeout" Data..=) Prelude.<$> startTimeout,+ ("stopTimeout" Data..=) Prelude.<$> stopTimeout,+ ("systemControls" Data..=)+ Prelude.<$> systemControls,+ ("ulimits" Data..=) Prelude.<$> ulimits,+ ("user" Data..=) Prelude.<$> user,+ ("volumesFrom" Data..=) Prelude.<$> volumesFrom,+ ("workingDirectory" Data..=)+ Prelude.<$> workingDirectory+ ]+ )
+ gen/Amazonka/ECS/Types/ContainerDependency.hs view
@@ -0,0 +1,183 @@+{-# 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.ECS.Types.ContainerDependency+-- 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.ECS.Types.ContainerDependency where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ContainerCondition+import qualified Amazonka.Prelude as Prelude++-- | The dependencies defined for container startup and shutdown. A container+-- can contain multiple dependencies. When a dependency is defined for+-- container startup, for container shutdown it is reversed.+--+-- Your Amazon ECS container instances require at least version 1.26.0 of+-- the container agent to use container dependencies. However, we recommend+-- using the latest container agent version. For information about checking+-- your agent version and updating to the latest version, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html Updating the Amazon ECS Container Agent>+-- in the /Amazon Elastic Container Service Developer Guide/. If you\'re+-- using an Amazon ECS-optimized Linux AMI, your instance needs at least+-- version 1.26.0-1 of the @ecs-init@ package. If your container instances+-- are launched from version @20190301@ or later, then they contain the+-- required versions of the container agent and @ecs-init@. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- For tasks that use the Fargate launch type, the task or service requires+-- the following platforms:+--+-- - Linux platform version @1.3.0@ or later.+--+-- - Windows platform version @1.0.0@ or later.+--+-- /See:/ 'newContainerDependency' smart constructor.+data ContainerDependency = ContainerDependency'+ { -- | The name of a container.+ containerName :: Prelude.Text,+ -- | The dependency condition of the container. The following are the+ -- available conditions and their behavior:+ --+ -- - @START@ - This condition emulates the behavior of links and volumes+ -- today. It validates that a dependent container is started before+ -- permitting other containers to start.+ --+ -- - @COMPLETE@ - This condition validates that a dependent container+ -- runs to completion (exits) before permitting other containers to+ -- start. This can be useful for nonessential containers that run a+ -- script and then exit. This condition can\'t be set on an essential+ -- container.+ --+ -- - @SUCCESS@ - This condition is the same as @COMPLETE@, but it also+ -- requires that the container exits with a @zero@ status. This+ -- condition can\'t be set on an essential container.+ --+ -- - @HEALTHY@ - This condition validates that the dependent container+ -- passes its Docker health check before permitting other containers to+ -- start. This requires that the dependent container has health checks+ -- configured. This condition is confirmed only at task startup.+ condition :: ContainerCondition+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ContainerDependency' 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:+--+-- 'containerName', 'containerDependency_containerName' - The name of a container.+--+-- 'condition', 'containerDependency_condition' - The dependency condition of the container. The following are the+-- available conditions and their behavior:+--+-- - @START@ - This condition emulates the behavior of links and volumes+-- today. It validates that a dependent container is started before+-- permitting other containers to start.+--+-- - @COMPLETE@ - This condition validates that a dependent container+-- runs to completion (exits) before permitting other containers to+-- start. This can be useful for nonessential containers that run a+-- script and then exit. This condition can\'t be set on an essential+-- container.+--+-- - @SUCCESS@ - This condition is the same as @COMPLETE@, but it also+-- requires that the container exits with a @zero@ status. This+-- condition can\'t be set on an essential container.+--+-- - @HEALTHY@ - This condition validates that the dependent container+-- passes its Docker health check before permitting other containers to+-- start. This requires that the dependent container has health checks+-- configured. This condition is confirmed only at task startup.+newContainerDependency ::+ -- | 'containerName'+ Prelude.Text ->+ -- | 'condition'+ ContainerCondition ->+ ContainerDependency+newContainerDependency pContainerName_ pCondition_ =+ ContainerDependency'+ { containerName =+ pContainerName_,+ condition = pCondition_+ }++-- | The name of a container.+containerDependency_containerName :: Lens.Lens' ContainerDependency Prelude.Text+containerDependency_containerName = Lens.lens (\ContainerDependency' {containerName} -> containerName) (\s@ContainerDependency' {} a -> s {containerName = a} :: ContainerDependency)++-- | The dependency condition of the container. The following are the+-- available conditions and their behavior:+--+-- - @START@ - This condition emulates the behavior of links and volumes+-- today. It validates that a dependent container is started before+-- permitting other containers to start.+--+-- - @COMPLETE@ - This condition validates that a dependent container+-- runs to completion (exits) before permitting other containers to+-- start. This can be useful for nonessential containers that run a+-- script and then exit. This condition can\'t be set on an essential+-- container.+--+-- - @SUCCESS@ - This condition is the same as @COMPLETE@, but it also+-- requires that the container exits with a @zero@ status. This+-- condition can\'t be set on an essential container.+--+-- - @HEALTHY@ - This condition validates that the dependent container+-- passes its Docker health check before permitting other containers to+-- start. This requires that the dependent container has health checks+-- configured. This condition is confirmed only at task startup.+containerDependency_condition :: Lens.Lens' ContainerDependency ContainerCondition+containerDependency_condition = Lens.lens (\ContainerDependency' {condition} -> condition) (\s@ContainerDependency' {} a -> s {condition = a} :: ContainerDependency)++instance Data.FromJSON ContainerDependency where+ parseJSON =+ Data.withObject+ "ContainerDependency"+ ( \x ->+ ContainerDependency'+ Prelude.<$> (x Data..: "containerName")+ Prelude.<*> (x Data..: "condition")+ )++instance Prelude.Hashable ContainerDependency where+ hashWithSalt _salt ContainerDependency' {..} =+ _salt+ `Prelude.hashWithSalt` containerName+ `Prelude.hashWithSalt` condition++instance Prelude.NFData ContainerDependency where+ rnf ContainerDependency' {..} =+ Prelude.rnf containerName+ `Prelude.seq` Prelude.rnf condition++instance Data.ToJSON ContainerDependency where+ toJSON ContainerDependency' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("containerName" Data..= containerName),+ Prelude.Just ("condition" Data..= condition)+ ]+ )
+ gen/Amazonka/ECS/Types/ContainerInstance.hs view
@@ -0,0 +1,540 @@+{-# 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.ECS.Types.ContainerInstance+-- 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.ECS.Types.ContainerInstance where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.AgentUpdateStatus+import Amazonka.ECS.Types.Attachment+import Amazonka.ECS.Types.Attribute+import Amazonka.ECS.Types.ContainerInstanceHealthStatus+import Amazonka.ECS.Types.Resource+import Amazonka.ECS.Types.Tag+import Amazonka.ECS.Types.VersionInfo+import qualified Amazonka.Prelude as Prelude++-- | An Amazon EC2 or External instance that\'s running the Amazon ECS agent+-- and has been registered with a cluster.+--+-- /See:/ 'newContainerInstance' smart constructor.+data ContainerInstance = ContainerInstance'+ { -- | This parameter returns @true@ if the agent is connected to Amazon ECS.+ -- An instance with an agent that may be unhealthy or stopped return+ -- @false@. Only instances connected to an agent can accept task placement+ -- requests.+ agentConnected :: Prelude.Maybe Prelude.Bool,+ -- | The status of the most recent agent update. If an update wasn\'t ever+ -- requested, this value is @NULL@.+ agentUpdateStatus :: Prelude.Maybe AgentUpdateStatus,+ -- | The resources attached to a container instance, such as an elastic+ -- network interface.+ attachments :: Prelude.Maybe [Attachment],+ -- | The attributes set for the container instance, either by the Amazon ECS+ -- container agent at instance registration or manually with the+ -- PutAttributes operation.+ attributes :: Prelude.Maybe [Attribute],+ -- | The capacity provider that\'s associated with the container instance.+ capacityProviderName :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the container instance. For more+ -- information about the ARN format, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+ -- in the /Amazon ECS Developer Guide/.+ containerInstanceArn :: Prelude.Maybe Prelude.Text,+ -- | The ID of the container instance. For Amazon EC2 instances, this value+ -- is the Amazon EC2 instance ID. For external instances, this value is the+ -- Amazon Web Services Systems Manager managed instance ID.+ ec2InstanceId :: Prelude.Maybe Prelude.Text,+ -- | An object representing the health status of the container instance.+ healthStatus :: Prelude.Maybe ContainerInstanceHealthStatus,+ -- | The number of tasks on the container instance that are in the @PENDING@+ -- status.+ pendingTasksCount :: Prelude.Maybe Prelude.Int,+ -- | The Unix timestamp for the time when the container instance was+ -- registered.+ registeredAt :: Prelude.Maybe Data.POSIX,+ -- | For CPU and memory resource types, this parameter describes the amount+ -- of each resource that was available on the container instance when the+ -- container agent registered it with Amazon ECS. This value represents the+ -- total amount of CPU and memory that can be allocated on this container+ -- instance to tasks. For port resource types, this parameter describes the+ -- ports that were reserved by the Amazon ECS container agent when it+ -- registered the container instance with Amazon ECS.+ registeredResources :: Prelude.Maybe [Resource],+ -- | For CPU and memory resource types, this parameter describes the+ -- remaining CPU and memory that wasn\'t already allocated to tasks and is+ -- therefore available for new tasks. For port resource types, this+ -- parameter describes the ports that were reserved by the Amazon ECS+ -- container agent (at instance registration time) and any task containers+ -- that have reserved port mappings on the host (with the @host@ or+ -- @bridge@ network mode). Any port that\'s not specified here is available+ -- for new tasks.+ remainingResources :: Prelude.Maybe [Resource],+ -- | The number of tasks on the container instance that are in the @RUNNING@+ -- status.+ runningTasksCount :: Prelude.Maybe Prelude.Int,+ -- | The status of the container instance. The valid values are+ -- @REGISTERING@, @REGISTRATION_FAILED@, @ACTIVE@, @INACTIVE@,+ -- @DEREGISTERING@, or @DRAINING@.+ --+ -- If your account has opted in to the @awsvpcTrunking@ account setting,+ -- then any newly registered container instance will transition to a+ -- @REGISTERING@ status while the trunk elastic network interface is+ -- provisioned for the instance. If the registration fails, the instance+ -- will transition to a @REGISTRATION_FAILED@ status. You can describe the+ -- container instance and see the reason for failure in the @statusReason@+ -- parameter. Once the container instance is terminated, the instance+ -- transitions to a @DEREGISTERING@ status while the trunk elastic network+ -- interface is deprovisioned. The instance then transitions to an+ -- @INACTIVE@ status.+ --+ -- The @ACTIVE@ status indicates that the container instance can accept+ -- tasks. The @DRAINING@ indicates that new tasks aren\'t placed on the+ -- container instance and any service tasks running on the container+ -- instance are removed if possible. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-draining.html Container instance draining>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ status :: Prelude.Maybe Prelude.Text,+ -- | The reason that the container instance reached its current status.+ statusReason :: Prelude.Maybe Prelude.Text,+ -- | The metadata that you apply to the container instance to help you+ -- categorize and organize them. Each tag consists of a key and an optional+ -- value. You define both.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The version counter for the container instance. Every time a container+ -- instance experiences a change that triggers a CloudWatch event, the+ -- version counter is incremented. If you\'re replicating your Amazon ECS+ -- container instance state with CloudWatch Events, you can compare the+ -- version of a container instance reported by the Amazon ECS APIs with the+ -- version reported in CloudWatch Events for the container instance (inside+ -- the @detail@ object) to verify that the version in your event stream is+ -- current.+ version :: Prelude.Maybe Prelude.Integer,+ -- | The version information for the Amazon ECS container agent and Docker+ -- daemon running on the container instance.+ versionInfo :: Prelude.Maybe VersionInfo+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ContainerInstance' 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:+--+-- 'agentConnected', 'containerInstance_agentConnected' - This parameter returns @true@ if the agent is connected to Amazon ECS.+-- An instance with an agent that may be unhealthy or stopped return+-- @false@. Only instances connected to an agent can accept task placement+-- requests.+--+-- 'agentUpdateStatus', 'containerInstance_agentUpdateStatus' - The status of the most recent agent update. If an update wasn\'t ever+-- requested, this value is @NULL@.+--+-- 'attachments', 'containerInstance_attachments' - The resources attached to a container instance, such as an elastic+-- network interface.+--+-- 'attributes', 'containerInstance_attributes' - The attributes set for the container instance, either by the Amazon ECS+-- container agent at instance registration or manually with the+-- PutAttributes operation.+--+-- 'capacityProviderName', 'containerInstance_capacityProviderName' - The capacity provider that\'s associated with the container instance.+--+-- 'containerInstanceArn', 'containerInstance_containerInstanceArn' - The Amazon Resource Name (ARN) of the container instance. For more+-- information about the ARN format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+-- in the /Amazon ECS Developer Guide/.+--+-- 'ec2InstanceId', 'containerInstance_ec2InstanceId' - The ID of the container instance. For Amazon EC2 instances, this value+-- is the Amazon EC2 instance ID. For external instances, this value is the+-- Amazon Web Services Systems Manager managed instance ID.+--+-- 'healthStatus', 'containerInstance_healthStatus' - An object representing the health status of the container instance.+--+-- 'pendingTasksCount', 'containerInstance_pendingTasksCount' - The number of tasks on the container instance that are in the @PENDING@+-- status.+--+-- 'registeredAt', 'containerInstance_registeredAt' - The Unix timestamp for the time when the container instance was+-- registered.+--+-- 'registeredResources', 'containerInstance_registeredResources' - For CPU and memory resource types, this parameter describes the amount+-- of each resource that was available on the container instance when the+-- container agent registered it with Amazon ECS. This value represents the+-- total amount of CPU and memory that can be allocated on this container+-- instance to tasks. For port resource types, this parameter describes the+-- ports that were reserved by the Amazon ECS container agent when it+-- registered the container instance with Amazon ECS.+--+-- 'remainingResources', 'containerInstance_remainingResources' - For CPU and memory resource types, this parameter describes the+-- remaining CPU and memory that wasn\'t already allocated to tasks and is+-- therefore available for new tasks. For port resource types, this+-- parameter describes the ports that were reserved by the Amazon ECS+-- container agent (at instance registration time) and any task containers+-- that have reserved port mappings on the host (with the @host@ or+-- @bridge@ network mode). Any port that\'s not specified here is available+-- for new tasks.+--+-- 'runningTasksCount', 'containerInstance_runningTasksCount' - The number of tasks on the container instance that are in the @RUNNING@+-- status.+--+-- 'status', 'containerInstance_status' - The status of the container instance. The valid values are+-- @REGISTERING@, @REGISTRATION_FAILED@, @ACTIVE@, @INACTIVE@,+-- @DEREGISTERING@, or @DRAINING@.+--+-- If your account has opted in to the @awsvpcTrunking@ account setting,+-- then any newly registered container instance will transition to a+-- @REGISTERING@ status while the trunk elastic network interface is+-- provisioned for the instance. If the registration fails, the instance+-- will transition to a @REGISTRATION_FAILED@ status. You can describe the+-- container instance and see the reason for failure in the @statusReason@+-- parameter. Once the container instance is terminated, the instance+-- transitions to a @DEREGISTERING@ status while the trunk elastic network+-- interface is deprovisioned. The instance then transitions to an+-- @INACTIVE@ status.+--+-- The @ACTIVE@ status indicates that the container instance can accept+-- tasks. The @DRAINING@ indicates that new tasks aren\'t placed on the+-- container instance and any service tasks running on the container+-- instance are removed if possible. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-draining.html Container instance draining>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'statusReason', 'containerInstance_statusReason' - The reason that the container instance reached its current status.+--+-- 'tags', 'containerInstance_tags' - The metadata that you apply to the container instance to help you+-- categorize and organize them. Each tag consists of a key and an optional+-- value. You define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'version', 'containerInstance_version' - The version counter for the container instance. Every time a container+-- instance experiences a change that triggers a CloudWatch event, the+-- version counter is incremented. If you\'re replicating your Amazon ECS+-- container instance state with CloudWatch Events, you can compare the+-- version of a container instance reported by the Amazon ECS APIs with the+-- version reported in CloudWatch Events for the container instance (inside+-- the @detail@ object) to verify that the version in your event stream is+-- current.+--+-- 'versionInfo', 'containerInstance_versionInfo' - The version information for the Amazon ECS container agent and Docker+-- daemon running on the container instance.+newContainerInstance ::+ ContainerInstance+newContainerInstance =+ ContainerInstance'+ { agentConnected =+ Prelude.Nothing,+ agentUpdateStatus = Prelude.Nothing,+ attachments = Prelude.Nothing,+ attributes = Prelude.Nothing,+ capacityProviderName = Prelude.Nothing,+ containerInstanceArn = Prelude.Nothing,+ ec2InstanceId = Prelude.Nothing,+ healthStatus = Prelude.Nothing,+ pendingTasksCount = Prelude.Nothing,+ registeredAt = Prelude.Nothing,+ registeredResources = Prelude.Nothing,+ remainingResources = Prelude.Nothing,+ runningTasksCount = Prelude.Nothing,+ status = Prelude.Nothing,+ statusReason = Prelude.Nothing,+ tags = Prelude.Nothing,+ version = Prelude.Nothing,+ versionInfo = Prelude.Nothing+ }++-- | This parameter returns @true@ if the agent is connected to Amazon ECS.+-- An instance with an agent that may be unhealthy or stopped return+-- @false@. Only instances connected to an agent can accept task placement+-- requests.+containerInstance_agentConnected :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Bool)+containerInstance_agentConnected = Lens.lens (\ContainerInstance' {agentConnected} -> agentConnected) (\s@ContainerInstance' {} a -> s {agentConnected = a} :: ContainerInstance)++-- | The status of the most recent agent update. If an update wasn\'t ever+-- requested, this value is @NULL@.+containerInstance_agentUpdateStatus :: Lens.Lens' ContainerInstance (Prelude.Maybe AgentUpdateStatus)+containerInstance_agentUpdateStatus = Lens.lens (\ContainerInstance' {agentUpdateStatus} -> agentUpdateStatus) (\s@ContainerInstance' {} a -> s {agentUpdateStatus = a} :: ContainerInstance)++-- | The resources attached to a container instance, such as an elastic+-- network interface.+containerInstance_attachments :: Lens.Lens' ContainerInstance (Prelude.Maybe [Attachment])+containerInstance_attachments = Lens.lens (\ContainerInstance' {attachments} -> attachments) (\s@ContainerInstance' {} a -> s {attachments = a} :: ContainerInstance) Prelude.. Lens.mapping Lens.coerced++-- | The attributes set for the container instance, either by the Amazon ECS+-- container agent at instance registration or manually with the+-- PutAttributes operation.+containerInstance_attributes :: Lens.Lens' ContainerInstance (Prelude.Maybe [Attribute])+containerInstance_attributes = Lens.lens (\ContainerInstance' {attributes} -> attributes) (\s@ContainerInstance' {} a -> s {attributes = a} :: ContainerInstance) Prelude.. Lens.mapping Lens.coerced++-- | The capacity provider that\'s associated with the container instance.+containerInstance_capacityProviderName :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Text)+containerInstance_capacityProviderName = Lens.lens (\ContainerInstance' {capacityProviderName} -> capacityProviderName) (\s@ContainerInstance' {} a -> s {capacityProviderName = a} :: ContainerInstance)++-- | The Amazon Resource Name (ARN) of the container instance. For more+-- information about the ARN format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+-- in the /Amazon ECS Developer Guide/.+containerInstance_containerInstanceArn :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Text)+containerInstance_containerInstanceArn = Lens.lens (\ContainerInstance' {containerInstanceArn} -> containerInstanceArn) (\s@ContainerInstance' {} a -> s {containerInstanceArn = a} :: ContainerInstance)++-- | The ID of the container instance. For Amazon EC2 instances, this value+-- is the Amazon EC2 instance ID. For external instances, this value is the+-- Amazon Web Services Systems Manager managed instance ID.+containerInstance_ec2InstanceId :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Text)+containerInstance_ec2InstanceId = Lens.lens (\ContainerInstance' {ec2InstanceId} -> ec2InstanceId) (\s@ContainerInstance' {} a -> s {ec2InstanceId = a} :: ContainerInstance)++-- | An object representing the health status of the container instance.+containerInstance_healthStatus :: Lens.Lens' ContainerInstance (Prelude.Maybe ContainerInstanceHealthStatus)+containerInstance_healthStatus = Lens.lens (\ContainerInstance' {healthStatus} -> healthStatus) (\s@ContainerInstance' {} a -> s {healthStatus = a} :: ContainerInstance)++-- | The number of tasks on the container instance that are in the @PENDING@+-- status.+containerInstance_pendingTasksCount :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Int)+containerInstance_pendingTasksCount = Lens.lens (\ContainerInstance' {pendingTasksCount} -> pendingTasksCount) (\s@ContainerInstance' {} a -> s {pendingTasksCount = a} :: ContainerInstance)++-- | The Unix timestamp for the time when the container instance was+-- registered.+containerInstance_registeredAt :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.UTCTime)+containerInstance_registeredAt = Lens.lens (\ContainerInstance' {registeredAt} -> registeredAt) (\s@ContainerInstance' {} a -> s {registeredAt = a} :: ContainerInstance) Prelude.. Lens.mapping Data._Time++-- | For CPU and memory resource types, this parameter describes the amount+-- of each resource that was available on the container instance when the+-- container agent registered it with Amazon ECS. This value represents the+-- total amount of CPU and memory that can be allocated on this container+-- instance to tasks. For port resource types, this parameter describes the+-- ports that were reserved by the Amazon ECS container agent when it+-- registered the container instance with Amazon ECS.+containerInstance_registeredResources :: Lens.Lens' ContainerInstance (Prelude.Maybe [Resource])+containerInstance_registeredResources = Lens.lens (\ContainerInstance' {registeredResources} -> registeredResources) (\s@ContainerInstance' {} a -> s {registeredResources = a} :: ContainerInstance) Prelude.. Lens.mapping Lens.coerced++-- | For CPU and memory resource types, this parameter describes the+-- remaining CPU and memory that wasn\'t already allocated to tasks and is+-- therefore available for new tasks. For port resource types, this+-- parameter describes the ports that were reserved by the Amazon ECS+-- container agent (at instance registration time) and any task containers+-- that have reserved port mappings on the host (with the @host@ or+-- @bridge@ network mode). Any port that\'s not specified here is available+-- for new tasks.+containerInstance_remainingResources :: Lens.Lens' ContainerInstance (Prelude.Maybe [Resource])+containerInstance_remainingResources = Lens.lens (\ContainerInstance' {remainingResources} -> remainingResources) (\s@ContainerInstance' {} a -> s {remainingResources = a} :: ContainerInstance) Prelude.. Lens.mapping Lens.coerced++-- | The number of tasks on the container instance that are in the @RUNNING@+-- status.+containerInstance_runningTasksCount :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Int)+containerInstance_runningTasksCount = Lens.lens (\ContainerInstance' {runningTasksCount} -> runningTasksCount) (\s@ContainerInstance' {} a -> s {runningTasksCount = a} :: ContainerInstance)++-- | The status of the container instance. The valid values are+-- @REGISTERING@, @REGISTRATION_FAILED@, @ACTIVE@, @INACTIVE@,+-- @DEREGISTERING@, or @DRAINING@.+--+-- If your account has opted in to the @awsvpcTrunking@ account setting,+-- then any newly registered container instance will transition to a+-- @REGISTERING@ status while the trunk elastic network interface is+-- provisioned for the instance. If the registration fails, the instance+-- will transition to a @REGISTRATION_FAILED@ status. You can describe the+-- container instance and see the reason for failure in the @statusReason@+-- parameter. Once the container instance is terminated, the instance+-- transitions to a @DEREGISTERING@ status while the trunk elastic network+-- interface is deprovisioned. The instance then transitions to an+-- @INACTIVE@ status.+--+-- The @ACTIVE@ status indicates that the container instance can accept+-- tasks. The @DRAINING@ indicates that new tasks aren\'t placed on the+-- container instance and any service tasks running on the container+-- instance are removed if possible. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-draining.html Container instance draining>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerInstance_status :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Text)+containerInstance_status = Lens.lens (\ContainerInstance' {status} -> status) (\s@ContainerInstance' {} a -> s {status = a} :: ContainerInstance)++-- | The reason that the container instance reached its current status.+containerInstance_statusReason :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Text)+containerInstance_statusReason = Lens.lens (\ContainerInstance' {statusReason} -> statusReason) (\s@ContainerInstance' {} a -> s {statusReason = a} :: ContainerInstance)++-- | The metadata that you apply to the container instance to help you+-- categorize and organize them. Each tag consists of a key and an optional+-- value. You define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+containerInstance_tags :: Lens.Lens' ContainerInstance (Prelude.Maybe [Tag])+containerInstance_tags = Lens.lens (\ContainerInstance' {tags} -> tags) (\s@ContainerInstance' {} a -> s {tags = a} :: ContainerInstance) Prelude.. Lens.mapping Lens.coerced++-- | The version counter for the container instance. Every time a container+-- instance experiences a change that triggers a CloudWatch event, the+-- version counter is incremented. If you\'re replicating your Amazon ECS+-- container instance state with CloudWatch Events, you can compare the+-- version of a container instance reported by the Amazon ECS APIs with the+-- version reported in CloudWatch Events for the container instance (inside+-- the @detail@ object) to verify that the version in your event stream is+-- current.+containerInstance_version :: Lens.Lens' ContainerInstance (Prelude.Maybe Prelude.Integer)+containerInstance_version = Lens.lens (\ContainerInstance' {version} -> version) (\s@ContainerInstance' {} a -> s {version = a} :: ContainerInstance)++-- | The version information for the Amazon ECS container agent and Docker+-- daemon running on the container instance.+containerInstance_versionInfo :: Lens.Lens' ContainerInstance (Prelude.Maybe VersionInfo)+containerInstance_versionInfo = Lens.lens (\ContainerInstance' {versionInfo} -> versionInfo) (\s@ContainerInstance' {} a -> s {versionInfo = a} :: ContainerInstance)++instance Data.FromJSON ContainerInstance where+ parseJSON =+ Data.withObject+ "ContainerInstance"+ ( \x ->+ ContainerInstance'+ Prelude.<$> (x Data..:? "agentConnected")+ Prelude.<*> (x Data..:? "agentUpdateStatus")+ Prelude.<*> (x Data..:? "attachments" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "attributes" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "capacityProviderName")+ Prelude.<*> (x Data..:? "containerInstanceArn")+ Prelude.<*> (x Data..:? "ec2InstanceId")+ Prelude.<*> (x Data..:? "healthStatus")+ Prelude.<*> (x Data..:? "pendingTasksCount")+ Prelude.<*> (x Data..:? "registeredAt")+ Prelude.<*> ( x+ Data..:? "registeredResources"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "remainingResources"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "runningTasksCount")+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "statusReason")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "version")+ Prelude.<*> (x Data..:? "versionInfo")+ )++instance Prelude.Hashable ContainerInstance where+ hashWithSalt _salt ContainerInstance' {..} =+ _salt+ `Prelude.hashWithSalt` agentConnected+ `Prelude.hashWithSalt` agentUpdateStatus+ `Prelude.hashWithSalt` attachments+ `Prelude.hashWithSalt` attributes+ `Prelude.hashWithSalt` capacityProviderName+ `Prelude.hashWithSalt` containerInstanceArn+ `Prelude.hashWithSalt` ec2InstanceId+ `Prelude.hashWithSalt` healthStatus+ `Prelude.hashWithSalt` pendingTasksCount+ `Prelude.hashWithSalt` registeredAt+ `Prelude.hashWithSalt` registeredResources+ `Prelude.hashWithSalt` remainingResources+ `Prelude.hashWithSalt` runningTasksCount+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` statusReason+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` version+ `Prelude.hashWithSalt` versionInfo++instance Prelude.NFData ContainerInstance where+ rnf ContainerInstance' {..} =+ Prelude.rnf agentConnected+ `Prelude.seq` Prelude.rnf agentUpdateStatus+ `Prelude.seq` Prelude.rnf attachments+ `Prelude.seq` Prelude.rnf attributes+ `Prelude.seq` Prelude.rnf capacityProviderName+ `Prelude.seq` Prelude.rnf containerInstanceArn+ `Prelude.seq` Prelude.rnf ec2InstanceId+ `Prelude.seq` Prelude.rnf healthStatus+ `Prelude.seq` Prelude.rnf pendingTasksCount+ `Prelude.seq` Prelude.rnf registeredAt+ `Prelude.seq` Prelude.rnf registeredResources+ `Prelude.seq` Prelude.rnf remainingResources+ `Prelude.seq` Prelude.rnf runningTasksCount+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf statusReason+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf version+ `Prelude.seq` Prelude.rnf versionInfo
+ gen/Amazonka/ECS/Types/ContainerInstanceField.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.ECS.Types.ContainerInstanceField+-- 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.ECS.Types.ContainerInstanceField+ ( ContainerInstanceField+ ( ..,+ ContainerInstanceField_CONTAINER_INSTANCE_HEALTH,+ ContainerInstanceField_TAGS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ContainerInstanceField = ContainerInstanceField'+ { fromContainerInstanceField ::+ 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 ContainerInstanceField_CONTAINER_INSTANCE_HEALTH :: ContainerInstanceField+pattern ContainerInstanceField_CONTAINER_INSTANCE_HEALTH = ContainerInstanceField' "CONTAINER_INSTANCE_HEALTH"++pattern ContainerInstanceField_TAGS :: ContainerInstanceField+pattern ContainerInstanceField_TAGS = ContainerInstanceField' "TAGS"++{-# COMPLETE+ ContainerInstanceField_CONTAINER_INSTANCE_HEALTH,+ ContainerInstanceField_TAGS,+ ContainerInstanceField'+ #-}
+ gen/Amazonka/ECS/Types/ContainerInstanceHealthStatus.hs view
@@ -0,0 +1,96 @@+{-# 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.ECS.Types.ContainerInstanceHealthStatus+-- 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.ECS.Types.ContainerInstanceHealthStatus where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.InstanceHealthCheckResult+import Amazonka.ECS.Types.InstanceHealthCheckState+import qualified Amazonka.Prelude as Prelude++-- | An object representing the health status of the container instance.+--+-- /See:/ 'newContainerInstanceHealthStatus' smart constructor.+data ContainerInstanceHealthStatus = ContainerInstanceHealthStatus'+ { -- | An array of objects representing the details of the container instance+ -- health status.+ details :: Prelude.Maybe [InstanceHealthCheckResult],+ -- | The overall health status of the container instance. This is an+ -- aggregate status of all container instance health checks.+ overallStatus :: Prelude.Maybe InstanceHealthCheckState+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ContainerInstanceHealthStatus' 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:+--+-- 'details', 'containerInstanceHealthStatus_details' - An array of objects representing the details of the container instance+-- health status.+--+-- 'overallStatus', 'containerInstanceHealthStatus_overallStatus' - The overall health status of the container instance. This is an+-- aggregate status of all container instance health checks.+newContainerInstanceHealthStatus ::+ ContainerInstanceHealthStatus+newContainerInstanceHealthStatus =+ ContainerInstanceHealthStatus'+ { details =+ Prelude.Nothing,+ overallStatus = Prelude.Nothing+ }++-- | An array of objects representing the details of the container instance+-- health status.+containerInstanceHealthStatus_details :: Lens.Lens' ContainerInstanceHealthStatus (Prelude.Maybe [InstanceHealthCheckResult])+containerInstanceHealthStatus_details = Lens.lens (\ContainerInstanceHealthStatus' {details} -> details) (\s@ContainerInstanceHealthStatus' {} a -> s {details = a} :: ContainerInstanceHealthStatus) Prelude.. Lens.mapping Lens.coerced++-- | The overall health status of the container instance. This is an+-- aggregate status of all container instance health checks.+containerInstanceHealthStatus_overallStatus :: Lens.Lens' ContainerInstanceHealthStatus (Prelude.Maybe InstanceHealthCheckState)+containerInstanceHealthStatus_overallStatus = Lens.lens (\ContainerInstanceHealthStatus' {overallStatus} -> overallStatus) (\s@ContainerInstanceHealthStatus' {} a -> s {overallStatus = a} :: ContainerInstanceHealthStatus)++instance Data.FromJSON ContainerInstanceHealthStatus where+ parseJSON =+ Data.withObject+ "ContainerInstanceHealthStatus"+ ( \x ->+ ContainerInstanceHealthStatus'+ Prelude.<$> (x Data..:? "details" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "overallStatus")+ )++instance+ Prelude.Hashable+ ContainerInstanceHealthStatus+ where+ hashWithSalt _salt ContainerInstanceHealthStatus' {..} =+ _salt+ `Prelude.hashWithSalt` details+ `Prelude.hashWithSalt` overallStatus++instance Prelude.NFData ContainerInstanceHealthStatus where+ rnf ContainerInstanceHealthStatus' {..} =+ Prelude.rnf details+ `Prelude.seq` Prelude.rnf overallStatus
+ gen/Amazonka/ECS/Types/ContainerInstanceStatus.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.ECS.Types.ContainerInstanceStatus+-- 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.ECS.Types.ContainerInstanceStatus+ ( ContainerInstanceStatus+ ( ..,+ ContainerInstanceStatus_ACTIVE,+ ContainerInstanceStatus_DEREGISTERING,+ ContainerInstanceStatus_DRAINING,+ ContainerInstanceStatus_REGISTERING,+ ContainerInstanceStatus_REGISTRATION_FAILED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ContainerInstanceStatus = ContainerInstanceStatus'+ { fromContainerInstanceStatus ::+ 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 ContainerInstanceStatus_ACTIVE :: ContainerInstanceStatus+pattern ContainerInstanceStatus_ACTIVE = ContainerInstanceStatus' "ACTIVE"++pattern ContainerInstanceStatus_DEREGISTERING :: ContainerInstanceStatus+pattern ContainerInstanceStatus_DEREGISTERING = ContainerInstanceStatus' "DEREGISTERING"++pattern ContainerInstanceStatus_DRAINING :: ContainerInstanceStatus+pattern ContainerInstanceStatus_DRAINING = ContainerInstanceStatus' "DRAINING"++pattern ContainerInstanceStatus_REGISTERING :: ContainerInstanceStatus+pattern ContainerInstanceStatus_REGISTERING = ContainerInstanceStatus' "REGISTERING"++pattern ContainerInstanceStatus_REGISTRATION_FAILED :: ContainerInstanceStatus+pattern ContainerInstanceStatus_REGISTRATION_FAILED = ContainerInstanceStatus' "REGISTRATION_FAILED"++{-# COMPLETE+ ContainerInstanceStatus_ACTIVE,+ ContainerInstanceStatus_DEREGISTERING,+ ContainerInstanceStatus_DRAINING,+ ContainerInstanceStatus_REGISTERING,+ ContainerInstanceStatus_REGISTRATION_FAILED,+ ContainerInstanceStatus'+ #-}
+ gen/Amazonka/ECS/Types/ContainerOverride.hs view
@@ -0,0 +1,234 @@+{-# 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.ECS.Types.ContainerOverride+-- 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.ECS.Types.ContainerOverride where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.EnvironmentFile+import Amazonka.ECS.Types.KeyValuePair+import Amazonka.ECS.Types.ResourceRequirement+import qualified Amazonka.Prelude as Prelude++-- | The overrides that are sent to a container. An empty container override+-- can be passed in. An example of an empty container override is+-- @{\"containerOverrides\": [ ] }@. If a non-empty container override is+-- specified, the @name@ parameter must be included.+--+-- /See:/ 'newContainerOverride' smart constructor.+data ContainerOverride = ContainerOverride'+ { -- | The command to send to the container that overrides the default command+ -- from the Docker image or the task definition. You must also specify a+ -- container name.+ command :: Prelude.Maybe [Prelude.Text],+ -- | The number of @cpu@ units reserved for the container, instead of the+ -- default value from the task definition. You must also specify a+ -- container name.+ cpu :: Prelude.Maybe Prelude.Int,+ -- | The environment variables to send to the container. You can add new+ -- environment variables, which are added to the container at launch, or+ -- you can override the existing environment variables from the Docker+ -- image or the task definition. You must also specify a container name.+ environment :: Prelude.Maybe [KeyValuePair],+ -- | A list of files containing the environment variables to pass to a+ -- container, instead of the value from the container definition.+ environmentFiles :: Prelude.Maybe [EnvironmentFile],+ -- | The hard limit (in MiB) of memory to present to the container, instead+ -- of the default value from the task definition. If your container+ -- attempts to exceed the memory specified here, the container is killed.+ -- You must also specify a container name.+ memory :: Prelude.Maybe Prelude.Int,+ -- | The soft limit (in MiB) of memory to reserve for the container, instead+ -- of the default value from the task definition. You must also specify a+ -- container name.+ memoryReservation :: Prelude.Maybe Prelude.Int,+ -- | The name of the container that receives the override. This parameter is+ -- required if any override is specified.+ name :: Prelude.Maybe Prelude.Text,+ -- | The type and amount of a resource to assign to a container, instead of+ -- the default value from the task definition. The only supported resource+ -- is a GPU.+ resourceRequirements :: Prelude.Maybe [ResourceRequirement]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ContainerOverride' 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:+--+-- 'command', 'containerOverride_command' - The command to send to the container that overrides the default command+-- from the Docker image or the task definition. You must also specify a+-- container name.+--+-- 'cpu', 'containerOverride_cpu' - The number of @cpu@ units reserved for the container, instead of the+-- default value from the task definition. You must also specify a+-- container name.+--+-- 'environment', 'containerOverride_environment' - The environment variables to send to the container. You can add new+-- environment variables, which are added to the container at launch, or+-- you can override the existing environment variables from the Docker+-- image or the task definition. You must also specify a container name.+--+-- 'environmentFiles', 'containerOverride_environmentFiles' - A list of files containing the environment variables to pass to a+-- container, instead of the value from the container definition.+--+-- 'memory', 'containerOverride_memory' - The hard limit (in MiB) of memory to present to the container, instead+-- of the default value from the task definition. If your container+-- attempts to exceed the memory specified here, the container is killed.+-- You must also specify a container name.+--+-- 'memoryReservation', 'containerOverride_memoryReservation' - The soft limit (in MiB) of memory to reserve for the container, instead+-- of the default value from the task definition. You must also specify a+-- container name.+--+-- 'name', 'containerOverride_name' - The name of the container that receives the override. This parameter is+-- required if any override is specified.+--+-- 'resourceRequirements', 'containerOverride_resourceRequirements' - The type and amount of a resource to assign to a container, instead of+-- the default value from the task definition. The only supported resource+-- is a GPU.+newContainerOverride ::+ ContainerOverride+newContainerOverride =+ ContainerOverride'+ { command = Prelude.Nothing,+ cpu = Prelude.Nothing,+ environment = Prelude.Nothing,+ environmentFiles = Prelude.Nothing,+ memory = Prelude.Nothing,+ memoryReservation = Prelude.Nothing,+ name = Prelude.Nothing,+ resourceRequirements = Prelude.Nothing+ }++-- | The command to send to the container that overrides the default command+-- from the Docker image or the task definition. You must also specify a+-- container name.+containerOverride_command :: Lens.Lens' ContainerOverride (Prelude.Maybe [Prelude.Text])+containerOverride_command = Lens.lens (\ContainerOverride' {command} -> command) (\s@ContainerOverride' {} a -> s {command = a} :: ContainerOverride) Prelude.. Lens.mapping Lens.coerced++-- | The number of @cpu@ units reserved for the container, instead of the+-- default value from the task definition. You must also specify a+-- container name.+containerOverride_cpu :: Lens.Lens' ContainerOverride (Prelude.Maybe Prelude.Int)+containerOverride_cpu = Lens.lens (\ContainerOverride' {cpu} -> cpu) (\s@ContainerOverride' {} a -> s {cpu = a} :: ContainerOverride)++-- | The environment variables to send to the container. You can add new+-- environment variables, which are added to the container at launch, or+-- you can override the existing environment variables from the Docker+-- image or the task definition. You must also specify a container name.+containerOverride_environment :: Lens.Lens' ContainerOverride (Prelude.Maybe [KeyValuePair])+containerOverride_environment = Lens.lens (\ContainerOverride' {environment} -> environment) (\s@ContainerOverride' {} a -> s {environment = a} :: ContainerOverride) Prelude.. Lens.mapping Lens.coerced++-- | A list of files containing the environment variables to pass to a+-- container, instead of the value from the container definition.+containerOverride_environmentFiles :: Lens.Lens' ContainerOverride (Prelude.Maybe [EnvironmentFile])+containerOverride_environmentFiles = Lens.lens (\ContainerOverride' {environmentFiles} -> environmentFiles) (\s@ContainerOverride' {} a -> s {environmentFiles = a} :: ContainerOverride) Prelude.. Lens.mapping Lens.coerced++-- | The hard limit (in MiB) of memory to present to the container, instead+-- of the default value from the task definition. If your container+-- attempts to exceed the memory specified here, the container is killed.+-- You must also specify a container name.+containerOverride_memory :: Lens.Lens' ContainerOverride (Prelude.Maybe Prelude.Int)+containerOverride_memory = Lens.lens (\ContainerOverride' {memory} -> memory) (\s@ContainerOverride' {} a -> s {memory = a} :: ContainerOverride)++-- | The soft limit (in MiB) of memory to reserve for the container, instead+-- of the default value from the task definition. You must also specify a+-- container name.+containerOverride_memoryReservation :: Lens.Lens' ContainerOverride (Prelude.Maybe Prelude.Int)+containerOverride_memoryReservation = Lens.lens (\ContainerOverride' {memoryReservation} -> memoryReservation) (\s@ContainerOverride' {} a -> s {memoryReservation = a} :: ContainerOverride)++-- | The name of the container that receives the override. This parameter is+-- required if any override is specified.+containerOverride_name :: Lens.Lens' ContainerOverride (Prelude.Maybe Prelude.Text)+containerOverride_name = Lens.lens (\ContainerOverride' {name} -> name) (\s@ContainerOverride' {} a -> s {name = a} :: ContainerOverride)++-- | The type and amount of a resource to assign to a container, instead of+-- the default value from the task definition. The only supported resource+-- is a GPU.+containerOverride_resourceRequirements :: Lens.Lens' ContainerOverride (Prelude.Maybe [ResourceRequirement])+containerOverride_resourceRequirements = Lens.lens (\ContainerOverride' {resourceRequirements} -> resourceRequirements) (\s@ContainerOverride' {} a -> s {resourceRequirements = a} :: ContainerOverride) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON ContainerOverride where+ parseJSON =+ Data.withObject+ "ContainerOverride"+ ( \x ->+ ContainerOverride'+ Prelude.<$> (x Data..:? "command" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "cpu")+ Prelude.<*> (x Data..:? "environment" Data..!= Prelude.mempty)+ Prelude.<*> ( x+ Data..:? "environmentFiles"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "memory")+ Prelude.<*> (x Data..:? "memoryReservation")+ Prelude.<*> (x Data..:? "name")+ Prelude.<*> ( x+ Data..:? "resourceRequirements"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable ContainerOverride where+ hashWithSalt _salt ContainerOverride' {..} =+ _salt+ `Prelude.hashWithSalt` command+ `Prelude.hashWithSalt` cpu+ `Prelude.hashWithSalt` environment+ `Prelude.hashWithSalt` environmentFiles+ `Prelude.hashWithSalt` memory+ `Prelude.hashWithSalt` memoryReservation+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` resourceRequirements++instance Prelude.NFData ContainerOverride where+ rnf ContainerOverride' {..} =+ Prelude.rnf command+ `Prelude.seq` Prelude.rnf cpu+ `Prelude.seq` Prelude.rnf environment+ `Prelude.seq` Prelude.rnf environmentFiles+ `Prelude.seq` Prelude.rnf memory+ `Prelude.seq` Prelude.rnf memoryReservation+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf resourceRequirements++instance Data.ToJSON ContainerOverride where+ toJSON ContainerOverride' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("command" Data..=) Prelude.<$> command,+ ("cpu" Data..=) Prelude.<$> cpu,+ ("environment" Data..=) Prelude.<$> environment,+ ("environmentFiles" Data..=)+ Prelude.<$> environmentFiles,+ ("memory" Data..=) Prelude.<$> memory,+ ("memoryReservation" Data..=)+ Prelude.<$> memoryReservation,+ ("name" Data..=) Prelude.<$> name,+ ("resourceRequirements" Data..=)+ Prelude.<$> resourceRequirements+ ]+ )
+ gen/Amazonka/ECS/Types/ContainerService.hs view
@@ -0,0 +1,744 @@+{-# 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.ECS.Types.ContainerService+-- 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.ECS.Types.ContainerService where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.CapacityProviderStrategyItem+import Amazonka.ECS.Types.Deployment+import Amazonka.ECS.Types.DeploymentConfiguration+import Amazonka.ECS.Types.DeploymentController+import Amazonka.ECS.Types.LaunchType+import Amazonka.ECS.Types.LoadBalancer+import Amazonka.ECS.Types.NetworkConfiguration+import Amazonka.ECS.Types.PlacementConstraint+import Amazonka.ECS.Types.PlacementStrategy+import Amazonka.ECS.Types.PropagateTags+import Amazonka.ECS.Types.SchedulingStrategy+import Amazonka.ECS.Types.ServiceEvent+import Amazonka.ECS.Types.ServiceRegistry+import Amazonka.ECS.Types.Tag+import Amazonka.ECS.Types.TaskSet+import qualified Amazonka.Prelude as Prelude++-- | Details on a service within a cluster+--+-- /See:/ 'newContainerService' smart constructor.+data ContainerService = ContainerService'+ { -- | The capacity provider strategy the service uses. When using the+ -- DescribeServices API, this field is omitted if the service was created+ -- using a launch type.+ capacityProviderStrategy :: Prelude.Maybe [CapacityProviderStrategyItem],+ -- | The Amazon Resource Name (ARN) of the cluster that hosts the service.+ clusterArn :: Prelude.Maybe Prelude.Text,+ -- | The Unix timestamp for the time when the service was created.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The principal that created the service.+ createdBy :: Prelude.Maybe Prelude.Text,+ -- | Optional deployment parameters that control how many tasks run during+ -- the deployment and the ordering of stopping and starting tasks.+ deploymentConfiguration :: Prelude.Maybe DeploymentConfiguration,+ -- | The deployment controller type the service is using.+ deploymentController :: Prelude.Maybe DeploymentController,+ -- | The current state of deployments for the service.+ deployments :: Prelude.Maybe [Deployment],+ -- | The desired number of instantiations of the task definition to keep+ -- running on the service. This value is specified when the service is+ -- created with CreateService, and it can be modified with UpdateService.+ desiredCount :: Prelude.Maybe Prelude.Int,+ -- | Determines whether to use Amazon ECS managed tags for the tasks in the+ -- service. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ enableECSManagedTags :: Prelude.Maybe Prelude.Bool,+ -- | Determines whether the execute command functionality is enabled for the+ -- service. If @true@, the execute command functionality is enabled for all+ -- containers in tasks as part of the service.+ enableExecuteCommand :: Prelude.Maybe Prelude.Bool,+ -- | The event stream for your service. A maximum of 100 of the latest events+ -- are displayed.+ events :: Prelude.Maybe [ServiceEvent],+ -- | The period of time, in seconds, that the Amazon ECS service scheduler+ -- ignores unhealthy Elastic Load Balancing target health checks after a+ -- task has first started.+ healthCheckGracePeriodSeconds :: Prelude.Maybe Prelude.Int,+ -- | The launch type the service is using. When using the DescribeServices+ -- API, this field is omitted if the service was created using a capacity+ -- provider strategy.+ launchType :: Prelude.Maybe LaunchType,+ -- | A list of Elastic Load Balancing load balancer objects. It contains the+ -- load balancer name, the container name, and the container port to access+ -- from the load balancer. The container name is as it appears in a+ -- container definition.+ loadBalancers :: Prelude.Maybe [LoadBalancer],+ -- | The VPC subnet and security group configuration for tasks that receive+ -- their own elastic network interface by using the @awsvpc@ networking+ -- mode.+ networkConfiguration :: Prelude.Maybe NetworkConfiguration,+ -- | The number of tasks in the cluster that are in the @PENDING@ state.+ pendingCount :: Prelude.Maybe Prelude.Int,+ -- | The placement constraints for the tasks in the service.+ placementConstraints :: Prelude.Maybe [PlacementConstraint],+ -- | The placement strategy that determines how tasks for the service are+ -- placed.+ placementStrategy :: Prelude.Maybe [PlacementStrategy],+ -- | The operating system that your tasks in the service run on. A platform+ -- family is specified only for tasks using the Fargate launch type.+ --+ -- All tasks that run as part of this service must use the same+ -- @platformFamily@ value as the service (for example, @LINUX@).+ platformFamily :: Prelude.Maybe Prelude.Text,+ -- | The platform version to run your service on. A platform version is only+ -- specified for tasks that are hosted on Fargate. If one isn\'t specified,+ -- the @LATEST@ platform version is used. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ platformVersion :: Prelude.Maybe Prelude.Text,+ -- | Determines whether to propagate the tags from the task definition or the+ -- service to the task. If no value is specified, the tags aren\'t+ -- propagated.+ propagateTags :: Prelude.Maybe PropagateTags,+ -- | The ARN of the IAM role that\'s associated with the service. It allows+ -- the Amazon ECS container agent to register container instances with an+ -- Elastic Load Balancing load balancer.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | The number of tasks in the cluster that are in the @RUNNING@ state.+ runningCount :: Prelude.Maybe Prelude.Int,+ -- | The scheduling strategy to use for the service. For more information,+ -- see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html Services>.+ --+ -- There are two service scheduler strategies available.+ --+ -- - @REPLICA@-The replica scheduling strategy places and maintains the+ -- desired number of tasks across your cluster. By default, the service+ -- scheduler spreads tasks across Availability Zones. You can use task+ -- placement strategies and constraints to customize task placement+ -- decisions.+ --+ -- - @DAEMON@-The daemon scheduling strategy deploys exactly one task on+ -- each active container instance. This task meets all of the task+ -- placement constraints that you specify in your cluster. The service+ -- scheduler also evaluates the task placement constraints for running+ -- tasks. It stop tasks that don\'t meet the placement constraints.+ --+ -- Fargate tasks don\'t support the @DAEMON@ scheduling strategy.+ schedulingStrategy :: Prelude.Maybe SchedulingStrategy,+ -- | The ARN that identifies the service. For more information about the ARN+ -- format, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+ -- in the /Amazon ECS Developer Guide/.+ serviceArn :: Prelude.Maybe Prelude.Text,+ -- | The name of your service. Up to 255 letters (uppercase and lowercase),+ -- numbers, underscores, and hyphens are allowed. Service names must be+ -- unique within a cluster. However, you can have similarly named services+ -- in multiple clusters within a Region or across multiple Regions.+ serviceName :: Prelude.Maybe Prelude.Text,+ -- | The details for the service discovery registries to assign to this+ -- service. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service Discovery>.+ serviceRegistries :: Prelude.Maybe [ServiceRegistry],+ -- | The status of the service. The valid values are @ACTIVE@, @DRAINING@, or+ -- @INACTIVE@.+ status :: Prelude.Maybe Prelude.Text,+ -- | The metadata that you apply to the service to help you categorize and+ -- organize them. Each tag consists of a key and an optional value. You+ -- define bot the key and value.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The task definition to use for tasks in the service. This value is+ -- specified when the service is created with CreateService, and it can be+ -- modified with UpdateService.+ taskDefinition :: Prelude.Maybe Prelude.Text,+ -- | Information about a set of Amazon ECS tasks in either an CodeDeploy or+ -- an @EXTERNAL@ deployment. An Amazon ECS task set includes details such+ -- as the desired number of tasks, how many tasks are running, and whether+ -- the task set serves production traffic.+ taskSets :: Prelude.Maybe [TaskSet]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ContainerService' 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:+--+-- 'capacityProviderStrategy', 'containerService_capacityProviderStrategy' - The capacity provider strategy the service uses. When using the+-- DescribeServices API, this field is omitted if the service was created+-- using a launch type.+--+-- 'clusterArn', 'containerService_clusterArn' - The Amazon Resource Name (ARN) of the cluster that hosts the service.+--+-- 'createdAt', 'containerService_createdAt' - The Unix timestamp for the time when the service was created.+--+-- 'createdBy', 'containerService_createdBy' - The principal that created the service.+--+-- 'deploymentConfiguration', 'containerService_deploymentConfiguration' - Optional deployment parameters that control how many tasks run during+-- the deployment and the ordering of stopping and starting tasks.+--+-- 'deploymentController', 'containerService_deploymentController' - The deployment controller type the service is using.+--+-- 'deployments', 'containerService_deployments' - The current state of deployments for the service.+--+-- 'desiredCount', 'containerService_desiredCount' - The desired number of instantiations of the task definition to keep+-- running on the service. This value is specified when the service is+-- created with CreateService, and it can be modified with UpdateService.+--+-- 'enableECSManagedTags', 'containerService_enableECSManagedTags' - Determines whether to use Amazon ECS managed tags for the tasks in the+-- service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'enableExecuteCommand', 'containerService_enableExecuteCommand' - Determines whether the execute command functionality is enabled for the+-- service. If @true@, the execute command functionality is enabled for all+-- containers in tasks as part of the service.+--+-- 'events', 'containerService_events' - The event stream for your service. A maximum of 100 of the latest events+-- are displayed.+--+-- 'healthCheckGracePeriodSeconds', 'containerService_healthCheckGracePeriodSeconds' - The period of time, in seconds, that the Amazon ECS service scheduler+-- ignores unhealthy Elastic Load Balancing target health checks after a+-- task has first started.+--+-- 'launchType', 'containerService_launchType' - The launch type the service is using. When using the DescribeServices+-- API, this field is omitted if the service was created using a capacity+-- provider strategy.+--+-- 'loadBalancers', 'containerService_loadBalancers' - A list of Elastic Load Balancing load balancer objects. It contains the+-- load balancer name, the container name, and the container port to access+-- from the load balancer. The container name is as it appears in a+-- container definition.+--+-- 'networkConfiguration', 'containerService_networkConfiguration' - The VPC subnet and security group configuration for tasks that receive+-- their own elastic network interface by using the @awsvpc@ networking+-- mode.+--+-- 'pendingCount', 'containerService_pendingCount' - The number of tasks in the cluster that are in the @PENDING@ state.+--+-- 'placementConstraints', 'containerService_placementConstraints' - The placement constraints for the tasks in the service.+--+-- 'placementStrategy', 'containerService_placementStrategy' - The placement strategy that determines how tasks for the service are+-- placed.+--+-- 'platformFamily', 'containerService_platformFamily' - The operating system that your tasks in the service run on. A platform+-- family is specified only for tasks using the Fargate launch type.+--+-- All tasks that run as part of this service must use the same+-- @platformFamily@ value as the service (for example, @LINUX@).+--+-- 'platformVersion', 'containerService_platformVersion' - The platform version to run your service on. A platform version is only+-- specified for tasks that are hosted on Fargate. If one isn\'t specified,+-- the @LATEST@ platform version is used. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'propagateTags', 'containerService_propagateTags' - Determines whether to propagate the tags from the task definition or the+-- service to the task. If no value is specified, the tags aren\'t+-- propagated.+--+-- 'roleArn', 'containerService_roleArn' - The ARN of the IAM role that\'s associated with the service. It allows+-- the Amazon ECS container agent to register container instances with an+-- Elastic Load Balancing load balancer.+--+-- 'runningCount', 'containerService_runningCount' - The number of tasks in the cluster that are in the @RUNNING@ state.+--+-- 'schedulingStrategy', 'containerService_schedulingStrategy' - The scheduling strategy to use for the service. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html Services>.+--+-- There are two service scheduler strategies available.+--+-- - @REPLICA@-The replica scheduling strategy places and maintains the+-- desired number of tasks across your cluster. By default, the service+-- scheduler spreads tasks across Availability Zones. You can use task+-- placement strategies and constraints to customize task placement+-- decisions.+--+-- - @DAEMON@-The daemon scheduling strategy deploys exactly one task on+-- each active container instance. This task meets all of the task+-- placement constraints that you specify in your cluster. The service+-- scheduler also evaluates the task placement constraints for running+-- tasks. It stop tasks that don\'t meet the placement constraints.+--+-- Fargate tasks don\'t support the @DAEMON@ scheduling strategy.+--+-- 'serviceArn', 'containerService_serviceArn' - The ARN that identifies the service. For more information about the ARN+-- format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+-- in the /Amazon ECS Developer Guide/.+--+-- 'serviceName', 'containerService_serviceName' - The name of your service. Up to 255 letters (uppercase and lowercase),+-- numbers, underscores, and hyphens are allowed. Service names must be+-- unique within a cluster. However, you can have similarly named services+-- in multiple clusters within a Region or across multiple Regions.+--+-- 'serviceRegistries', 'containerService_serviceRegistries' - The details for the service discovery registries to assign to this+-- service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service Discovery>.+--+-- 'status', 'containerService_status' - The status of the service. The valid values are @ACTIVE@, @DRAINING@, or+-- @INACTIVE@.+--+-- 'tags', 'containerService_tags' - The metadata that you apply to the service to help you categorize and+-- organize them. Each tag consists of a key and an optional value. You+-- define bot the key and value.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'taskDefinition', 'containerService_taskDefinition' - The task definition to use for tasks in the service. This value is+-- specified when the service is created with CreateService, and it can be+-- modified with UpdateService.+--+-- 'taskSets', 'containerService_taskSets' - Information about a set of Amazon ECS tasks in either an CodeDeploy or+-- an @EXTERNAL@ deployment. An Amazon ECS task set includes details such+-- as the desired number of tasks, how many tasks are running, and whether+-- the task set serves production traffic.+newContainerService ::+ ContainerService+newContainerService =+ ContainerService'+ { capacityProviderStrategy =+ Prelude.Nothing,+ clusterArn = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ createdBy = Prelude.Nothing,+ deploymentConfiguration = Prelude.Nothing,+ deploymentController = Prelude.Nothing,+ deployments = Prelude.Nothing,+ desiredCount = Prelude.Nothing,+ enableECSManagedTags = Prelude.Nothing,+ enableExecuteCommand = Prelude.Nothing,+ events = Prelude.Nothing,+ healthCheckGracePeriodSeconds = Prelude.Nothing,+ launchType = Prelude.Nothing,+ loadBalancers = Prelude.Nothing,+ networkConfiguration = Prelude.Nothing,+ pendingCount = Prelude.Nothing,+ placementConstraints = Prelude.Nothing,+ placementStrategy = Prelude.Nothing,+ platformFamily = Prelude.Nothing,+ platformVersion = Prelude.Nothing,+ propagateTags = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ runningCount = Prelude.Nothing,+ schedulingStrategy = Prelude.Nothing,+ serviceArn = Prelude.Nothing,+ serviceName = Prelude.Nothing,+ serviceRegistries = Prelude.Nothing,+ status = Prelude.Nothing,+ tags = Prelude.Nothing,+ taskDefinition = Prelude.Nothing,+ taskSets = Prelude.Nothing+ }++-- | The capacity provider strategy the service uses. When using the+-- DescribeServices API, this field is omitted if the service was created+-- using a launch type.+containerService_capacityProviderStrategy :: Lens.Lens' ContainerService (Prelude.Maybe [CapacityProviderStrategyItem])+containerService_capacityProviderStrategy = Lens.lens (\ContainerService' {capacityProviderStrategy} -> capacityProviderStrategy) (\s@ContainerService' {} a -> s {capacityProviderStrategy = a} :: ContainerService) Prelude.. Lens.mapping Lens.coerced++-- | The Amazon Resource Name (ARN) of the cluster that hosts the service.+containerService_clusterArn :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Text)+containerService_clusterArn = Lens.lens (\ContainerService' {clusterArn} -> clusterArn) (\s@ContainerService' {} a -> s {clusterArn = a} :: ContainerService)++-- | The Unix timestamp for the time when the service was created.+containerService_createdAt :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.UTCTime)+containerService_createdAt = Lens.lens (\ContainerService' {createdAt} -> createdAt) (\s@ContainerService' {} a -> s {createdAt = a} :: ContainerService) Prelude.. Lens.mapping Data._Time++-- | The principal that created the service.+containerService_createdBy :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Text)+containerService_createdBy = Lens.lens (\ContainerService' {createdBy} -> createdBy) (\s@ContainerService' {} a -> s {createdBy = a} :: ContainerService)++-- | Optional deployment parameters that control how many tasks run during+-- the deployment and the ordering of stopping and starting tasks.+containerService_deploymentConfiguration :: Lens.Lens' ContainerService (Prelude.Maybe DeploymentConfiguration)+containerService_deploymentConfiguration = Lens.lens (\ContainerService' {deploymentConfiguration} -> deploymentConfiguration) (\s@ContainerService' {} a -> s {deploymentConfiguration = a} :: ContainerService)++-- | The deployment controller type the service is using.+containerService_deploymentController :: Lens.Lens' ContainerService (Prelude.Maybe DeploymentController)+containerService_deploymentController = Lens.lens (\ContainerService' {deploymentController} -> deploymentController) (\s@ContainerService' {} a -> s {deploymentController = a} :: ContainerService)++-- | The current state of deployments for the service.+containerService_deployments :: Lens.Lens' ContainerService (Prelude.Maybe [Deployment])+containerService_deployments = Lens.lens (\ContainerService' {deployments} -> deployments) (\s@ContainerService' {} a -> s {deployments = a} :: ContainerService) Prelude.. Lens.mapping Lens.coerced++-- | The desired number of instantiations of the task definition to keep+-- running on the service. This value is specified when the service is+-- created with CreateService, and it can be modified with UpdateService.+containerService_desiredCount :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Int)+containerService_desiredCount = Lens.lens (\ContainerService' {desiredCount} -> desiredCount) (\s@ContainerService' {} a -> s {desiredCount = a} :: ContainerService)++-- | Determines whether to use Amazon ECS managed tags for the tasks in the+-- service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerService_enableECSManagedTags :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Bool)+containerService_enableECSManagedTags = Lens.lens (\ContainerService' {enableECSManagedTags} -> enableECSManagedTags) (\s@ContainerService' {} a -> s {enableECSManagedTags = a} :: ContainerService)++-- | Determines whether the execute command functionality is enabled for the+-- service. If @true@, the execute command functionality is enabled for all+-- containers in tasks as part of the service.+containerService_enableExecuteCommand :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Bool)+containerService_enableExecuteCommand = Lens.lens (\ContainerService' {enableExecuteCommand} -> enableExecuteCommand) (\s@ContainerService' {} a -> s {enableExecuteCommand = a} :: ContainerService)++-- | The event stream for your service. A maximum of 100 of the latest events+-- are displayed.+containerService_events :: Lens.Lens' ContainerService (Prelude.Maybe [ServiceEvent])+containerService_events = Lens.lens (\ContainerService' {events} -> events) (\s@ContainerService' {} a -> s {events = a} :: ContainerService) Prelude.. Lens.mapping Lens.coerced++-- | The period of time, in seconds, that the Amazon ECS service scheduler+-- ignores unhealthy Elastic Load Balancing target health checks after a+-- task has first started.+containerService_healthCheckGracePeriodSeconds :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Int)+containerService_healthCheckGracePeriodSeconds = Lens.lens (\ContainerService' {healthCheckGracePeriodSeconds} -> healthCheckGracePeriodSeconds) (\s@ContainerService' {} a -> s {healthCheckGracePeriodSeconds = a} :: ContainerService)++-- | The launch type the service is using. When using the DescribeServices+-- API, this field is omitted if the service was created using a capacity+-- provider strategy.+containerService_launchType :: Lens.Lens' ContainerService (Prelude.Maybe LaunchType)+containerService_launchType = Lens.lens (\ContainerService' {launchType} -> launchType) (\s@ContainerService' {} a -> s {launchType = a} :: ContainerService)++-- | A list of Elastic Load Balancing load balancer objects. It contains the+-- load balancer name, the container name, and the container port to access+-- from the load balancer. The container name is as it appears in a+-- container definition.+containerService_loadBalancers :: Lens.Lens' ContainerService (Prelude.Maybe [LoadBalancer])+containerService_loadBalancers = Lens.lens (\ContainerService' {loadBalancers} -> loadBalancers) (\s@ContainerService' {} a -> s {loadBalancers = a} :: ContainerService) Prelude.. Lens.mapping Lens.coerced++-- | The VPC subnet and security group configuration for tasks that receive+-- their own elastic network interface by using the @awsvpc@ networking+-- mode.+containerService_networkConfiguration :: Lens.Lens' ContainerService (Prelude.Maybe NetworkConfiguration)+containerService_networkConfiguration = Lens.lens (\ContainerService' {networkConfiguration} -> networkConfiguration) (\s@ContainerService' {} a -> s {networkConfiguration = a} :: ContainerService)++-- | The number of tasks in the cluster that are in the @PENDING@ state.+containerService_pendingCount :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Int)+containerService_pendingCount = Lens.lens (\ContainerService' {pendingCount} -> pendingCount) (\s@ContainerService' {} a -> s {pendingCount = a} :: ContainerService)++-- | The placement constraints for the tasks in the service.+containerService_placementConstraints :: Lens.Lens' ContainerService (Prelude.Maybe [PlacementConstraint])+containerService_placementConstraints = Lens.lens (\ContainerService' {placementConstraints} -> placementConstraints) (\s@ContainerService' {} a -> s {placementConstraints = a} :: ContainerService) Prelude.. Lens.mapping Lens.coerced++-- | The placement strategy that determines how tasks for the service are+-- placed.+containerService_placementStrategy :: Lens.Lens' ContainerService (Prelude.Maybe [PlacementStrategy])+containerService_placementStrategy = Lens.lens (\ContainerService' {placementStrategy} -> placementStrategy) (\s@ContainerService' {} a -> s {placementStrategy = a} :: ContainerService) Prelude.. Lens.mapping Lens.coerced++-- | The operating system that your tasks in the service run on. A platform+-- family is specified only for tasks using the Fargate launch type.+--+-- All tasks that run as part of this service must use the same+-- @platformFamily@ value as the service (for example, @LINUX@).+containerService_platformFamily :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Text)+containerService_platformFamily = Lens.lens (\ContainerService' {platformFamily} -> platformFamily) (\s@ContainerService' {} a -> s {platformFamily = a} :: ContainerService)++-- | The platform version to run your service on. A platform version is only+-- specified for tasks that are hosted on Fargate. If one isn\'t specified,+-- the @LATEST@ platform version is used. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+containerService_platformVersion :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Text)+containerService_platformVersion = Lens.lens (\ContainerService' {platformVersion} -> platformVersion) (\s@ContainerService' {} a -> s {platformVersion = a} :: ContainerService)++-- | Determines whether to propagate the tags from the task definition or the+-- service to the task. If no value is specified, the tags aren\'t+-- propagated.+containerService_propagateTags :: Lens.Lens' ContainerService (Prelude.Maybe PropagateTags)+containerService_propagateTags = Lens.lens (\ContainerService' {propagateTags} -> propagateTags) (\s@ContainerService' {} a -> s {propagateTags = a} :: ContainerService)++-- | The ARN of the IAM role that\'s associated with the service. It allows+-- the Amazon ECS container agent to register container instances with an+-- Elastic Load Balancing load balancer.+containerService_roleArn :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Text)+containerService_roleArn = Lens.lens (\ContainerService' {roleArn} -> roleArn) (\s@ContainerService' {} a -> s {roleArn = a} :: ContainerService)++-- | The number of tasks in the cluster that are in the @RUNNING@ state.+containerService_runningCount :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Int)+containerService_runningCount = Lens.lens (\ContainerService' {runningCount} -> runningCount) (\s@ContainerService' {} a -> s {runningCount = a} :: ContainerService)++-- | The scheduling strategy to use for the service. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html Services>.+--+-- There are two service scheduler strategies available.+--+-- - @REPLICA@-The replica scheduling strategy places and maintains the+-- desired number of tasks across your cluster. By default, the service+-- scheduler spreads tasks across Availability Zones. You can use task+-- placement strategies and constraints to customize task placement+-- decisions.+--+-- - @DAEMON@-The daemon scheduling strategy deploys exactly one task on+-- each active container instance. This task meets all of the task+-- placement constraints that you specify in your cluster. The service+-- scheduler also evaluates the task placement constraints for running+-- tasks. It stop tasks that don\'t meet the placement constraints.+--+-- Fargate tasks don\'t support the @DAEMON@ scheduling strategy.+containerService_schedulingStrategy :: Lens.Lens' ContainerService (Prelude.Maybe SchedulingStrategy)+containerService_schedulingStrategy = Lens.lens (\ContainerService' {schedulingStrategy} -> schedulingStrategy) (\s@ContainerService' {} a -> s {schedulingStrategy = a} :: ContainerService)++-- | The ARN that identifies the service. For more information about the ARN+-- format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids Amazon Resource Name (ARN)>+-- in the /Amazon ECS Developer Guide/.+containerService_serviceArn :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Text)+containerService_serviceArn = Lens.lens (\ContainerService' {serviceArn} -> serviceArn) (\s@ContainerService' {} a -> s {serviceArn = a} :: ContainerService)++-- | The name of your service. Up to 255 letters (uppercase and lowercase),+-- numbers, underscores, and hyphens are allowed. Service names must be+-- unique within a cluster. However, you can have similarly named services+-- in multiple clusters within a Region or across multiple Regions.+containerService_serviceName :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Text)+containerService_serviceName = Lens.lens (\ContainerService' {serviceName} -> serviceName) (\s@ContainerService' {} a -> s {serviceName = a} :: ContainerService)++-- | The details for the service discovery registries to assign to this+-- service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service Discovery>.+containerService_serviceRegistries :: Lens.Lens' ContainerService (Prelude.Maybe [ServiceRegistry])+containerService_serviceRegistries = Lens.lens (\ContainerService' {serviceRegistries} -> serviceRegistries) (\s@ContainerService' {} a -> s {serviceRegistries = a} :: ContainerService) Prelude.. Lens.mapping Lens.coerced++-- | The status of the service. The valid values are @ACTIVE@, @DRAINING@, or+-- @INACTIVE@.+containerService_status :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Text)+containerService_status = Lens.lens (\ContainerService' {status} -> status) (\s@ContainerService' {} a -> s {status = a} :: ContainerService)++-- | The metadata that you apply to the service to help you categorize and+-- organize them. Each tag consists of a key and an optional value. You+-- define bot the key and value.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+containerService_tags :: Lens.Lens' ContainerService (Prelude.Maybe [Tag])+containerService_tags = Lens.lens (\ContainerService' {tags} -> tags) (\s@ContainerService' {} a -> s {tags = a} :: ContainerService) Prelude.. Lens.mapping Lens.coerced++-- | The task definition to use for tasks in the service. This value is+-- specified when the service is created with CreateService, and it can be+-- modified with UpdateService.+containerService_taskDefinition :: Lens.Lens' ContainerService (Prelude.Maybe Prelude.Text)+containerService_taskDefinition = Lens.lens (\ContainerService' {taskDefinition} -> taskDefinition) (\s@ContainerService' {} a -> s {taskDefinition = a} :: ContainerService)++-- | Information about a set of Amazon ECS tasks in either an CodeDeploy or+-- an @EXTERNAL@ deployment. An Amazon ECS task set includes details such+-- as the desired number of tasks, how many tasks are running, and whether+-- the task set serves production traffic.+containerService_taskSets :: Lens.Lens' ContainerService (Prelude.Maybe [TaskSet])+containerService_taskSets = Lens.lens (\ContainerService' {taskSets} -> taskSets) (\s@ContainerService' {} a -> s {taskSets = a} :: ContainerService) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON ContainerService where+ parseJSON =+ Data.withObject+ "ContainerService"+ ( \x ->+ ContainerService'+ Prelude.<$> ( x+ Data..:? "capacityProviderStrategy"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "clusterArn")+ Prelude.<*> (x Data..:? "createdAt")+ Prelude.<*> (x Data..:? "createdBy")+ Prelude.<*> (x Data..:? "deploymentConfiguration")+ Prelude.<*> (x Data..:? "deploymentController")+ Prelude.<*> (x Data..:? "deployments" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "desiredCount")+ Prelude.<*> (x Data..:? "enableECSManagedTags")+ Prelude.<*> (x Data..:? "enableExecuteCommand")+ Prelude.<*> (x Data..:? "events" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "healthCheckGracePeriodSeconds")+ Prelude.<*> (x Data..:? "launchType")+ Prelude.<*> (x Data..:? "loadBalancers" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "networkConfiguration")+ Prelude.<*> (x Data..:? "pendingCount")+ Prelude.<*> ( x+ Data..:? "placementConstraints"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "placementStrategy"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "platformFamily")+ Prelude.<*> (x Data..:? "platformVersion")+ Prelude.<*> (x Data..:? "propagateTags")+ Prelude.<*> (x Data..:? "roleArn")+ Prelude.<*> (x Data..:? "runningCount")+ Prelude.<*> (x Data..:? "schedulingStrategy")+ Prelude.<*> (x Data..:? "serviceArn")+ Prelude.<*> (x Data..:? "serviceName")+ Prelude.<*> ( x+ Data..:? "serviceRegistries"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "taskDefinition")+ Prelude.<*> (x Data..:? "taskSets" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable ContainerService where+ hashWithSalt _salt ContainerService' {..} =+ _salt+ `Prelude.hashWithSalt` capacityProviderStrategy+ `Prelude.hashWithSalt` clusterArn+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` createdBy+ `Prelude.hashWithSalt` deploymentConfiguration+ `Prelude.hashWithSalt` deploymentController+ `Prelude.hashWithSalt` deployments+ `Prelude.hashWithSalt` desiredCount+ `Prelude.hashWithSalt` enableECSManagedTags+ `Prelude.hashWithSalt` enableExecuteCommand+ `Prelude.hashWithSalt` events+ `Prelude.hashWithSalt` healthCheckGracePeriodSeconds+ `Prelude.hashWithSalt` launchType+ `Prelude.hashWithSalt` loadBalancers+ `Prelude.hashWithSalt` networkConfiguration+ `Prelude.hashWithSalt` pendingCount+ `Prelude.hashWithSalt` placementConstraints+ `Prelude.hashWithSalt` placementStrategy+ `Prelude.hashWithSalt` platformFamily+ `Prelude.hashWithSalt` platformVersion+ `Prelude.hashWithSalt` propagateTags+ `Prelude.hashWithSalt` roleArn+ `Prelude.hashWithSalt` runningCount+ `Prelude.hashWithSalt` schedulingStrategy+ `Prelude.hashWithSalt` serviceArn+ `Prelude.hashWithSalt` serviceName+ `Prelude.hashWithSalt` serviceRegistries+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` taskDefinition+ `Prelude.hashWithSalt` taskSets++instance Prelude.NFData ContainerService where+ rnf ContainerService' {..} =+ Prelude.rnf capacityProviderStrategy+ `Prelude.seq` Prelude.rnf clusterArn+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf createdBy+ `Prelude.seq` Prelude.rnf deploymentConfiguration+ `Prelude.seq` Prelude.rnf deploymentController+ `Prelude.seq` Prelude.rnf deployments+ `Prelude.seq` Prelude.rnf desiredCount+ `Prelude.seq` Prelude.rnf enableECSManagedTags+ `Prelude.seq` Prelude.rnf enableExecuteCommand+ `Prelude.seq` Prelude.rnf events+ `Prelude.seq` Prelude.rnf healthCheckGracePeriodSeconds+ `Prelude.seq` Prelude.rnf launchType+ `Prelude.seq` Prelude.rnf loadBalancers+ `Prelude.seq` Prelude.rnf networkConfiguration+ `Prelude.seq` Prelude.rnf pendingCount+ `Prelude.seq` Prelude.rnf placementConstraints+ `Prelude.seq` Prelude.rnf placementStrategy+ `Prelude.seq` Prelude.rnf platformFamily+ `Prelude.seq` Prelude.rnf platformVersion+ `Prelude.seq` Prelude.rnf propagateTags+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf runningCount+ `Prelude.seq` Prelude.rnf+ schedulingStrategy+ `Prelude.seq` Prelude.rnf+ serviceArn+ `Prelude.seq` Prelude.rnf+ serviceName+ `Prelude.seq` Prelude.rnf+ serviceRegistries+ `Prelude.seq` Prelude.rnf+ status+ `Prelude.seq` Prelude.rnf+ tags+ `Prelude.seq` Prelude.rnf+ taskDefinition+ `Prelude.seq` Prelude.rnf+ taskSets
+ gen/Amazonka/ECS/Types/ContainerStateChange.hs view
@@ -0,0 +1,149 @@+{-# 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.ECS.Types.ContainerStateChange+-- 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.ECS.Types.ContainerStateChange where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.NetworkBinding+import qualified Amazonka.Prelude as Prelude++-- | An object that represents a change in state for a container.+--+-- /See:/ 'newContainerStateChange' smart constructor.+data ContainerStateChange = ContainerStateChange'+ { -- | The name of the container.+ containerName :: Prelude.Maybe Prelude.Text,+ -- | The exit code for the container, if the state change is a result of the+ -- container exiting.+ exitCode :: Prelude.Maybe Prelude.Int,+ -- | The container image SHA 256 digest.+ imageDigest :: Prelude.Maybe Prelude.Text,+ -- | Any network bindings that are associated with the container.+ networkBindings :: Prelude.Maybe [NetworkBinding],+ -- | The reason for the state change.+ reason :: Prelude.Maybe Prelude.Text,+ -- | The ID of the Docker container.+ runtimeId :: Prelude.Maybe Prelude.Text,+ -- | The status of the container.+ status :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ContainerStateChange' 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:+--+-- 'containerName', 'containerStateChange_containerName' - The name of the container.+--+-- 'exitCode', 'containerStateChange_exitCode' - The exit code for the container, if the state change is a result of the+-- container exiting.+--+-- 'imageDigest', 'containerStateChange_imageDigest' - The container image SHA 256 digest.+--+-- 'networkBindings', 'containerStateChange_networkBindings' - Any network bindings that are associated with the container.+--+-- 'reason', 'containerStateChange_reason' - The reason for the state change.+--+-- 'runtimeId', 'containerStateChange_runtimeId' - The ID of the Docker container.+--+-- 'status', 'containerStateChange_status' - The status of the container.+newContainerStateChange ::+ ContainerStateChange+newContainerStateChange =+ ContainerStateChange'+ { containerName =+ Prelude.Nothing,+ exitCode = Prelude.Nothing,+ imageDigest = Prelude.Nothing,+ networkBindings = Prelude.Nothing,+ reason = Prelude.Nothing,+ runtimeId = Prelude.Nothing,+ status = Prelude.Nothing+ }++-- | The name of the container.+containerStateChange_containerName :: Lens.Lens' ContainerStateChange (Prelude.Maybe Prelude.Text)+containerStateChange_containerName = Lens.lens (\ContainerStateChange' {containerName} -> containerName) (\s@ContainerStateChange' {} a -> s {containerName = a} :: ContainerStateChange)++-- | The exit code for the container, if the state change is a result of the+-- container exiting.+containerStateChange_exitCode :: Lens.Lens' ContainerStateChange (Prelude.Maybe Prelude.Int)+containerStateChange_exitCode = Lens.lens (\ContainerStateChange' {exitCode} -> exitCode) (\s@ContainerStateChange' {} a -> s {exitCode = a} :: ContainerStateChange)++-- | The container image SHA 256 digest.+containerStateChange_imageDigest :: Lens.Lens' ContainerStateChange (Prelude.Maybe Prelude.Text)+containerStateChange_imageDigest = Lens.lens (\ContainerStateChange' {imageDigest} -> imageDigest) (\s@ContainerStateChange' {} a -> s {imageDigest = a} :: ContainerStateChange)++-- | Any network bindings that are associated with the container.+containerStateChange_networkBindings :: Lens.Lens' ContainerStateChange (Prelude.Maybe [NetworkBinding])+containerStateChange_networkBindings = Lens.lens (\ContainerStateChange' {networkBindings} -> networkBindings) (\s@ContainerStateChange' {} a -> s {networkBindings = a} :: ContainerStateChange) Prelude.. Lens.mapping Lens.coerced++-- | The reason for the state change.+containerStateChange_reason :: Lens.Lens' ContainerStateChange (Prelude.Maybe Prelude.Text)+containerStateChange_reason = Lens.lens (\ContainerStateChange' {reason} -> reason) (\s@ContainerStateChange' {} a -> s {reason = a} :: ContainerStateChange)++-- | The ID of the Docker container.+containerStateChange_runtimeId :: Lens.Lens' ContainerStateChange (Prelude.Maybe Prelude.Text)+containerStateChange_runtimeId = Lens.lens (\ContainerStateChange' {runtimeId} -> runtimeId) (\s@ContainerStateChange' {} a -> s {runtimeId = a} :: ContainerStateChange)++-- | The status of the container.+containerStateChange_status :: Lens.Lens' ContainerStateChange (Prelude.Maybe Prelude.Text)+containerStateChange_status = Lens.lens (\ContainerStateChange' {status} -> status) (\s@ContainerStateChange' {} a -> s {status = a} :: ContainerStateChange)++instance Prelude.Hashable ContainerStateChange where+ hashWithSalt _salt ContainerStateChange' {..} =+ _salt+ `Prelude.hashWithSalt` containerName+ `Prelude.hashWithSalt` exitCode+ `Prelude.hashWithSalt` imageDigest+ `Prelude.hashWithSalt` networkBindings+ `Prelude.hashWithSalt` reason+ `Prelude.hashWithSalt` runtimeId+ `Prelude.hashWithSalt` status++instance Prelude.NFData ContainerStateChange where+ rnf ContainerStateChange' {..} =+ Prelude.rnf containerName+ `Prelude.seq` Prelude.rnf exitCode+ `Prelude.seq` Prelude.rnf imageDigest+ `Prelude.seq` Prelude.rnf networkBindings+ `Prelude.seq` Prelude.rnf reason+ `Prelude.seq` Prelude.rnf runtimeId+ `Prelude.seq` Prelude.rnf status++instance Data.ToJSON ContainerStateChange where+ toJSON ContainerStateChange' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("containerName" Data..=) Prelude.<$> containerName,+ ("exitCode" Data..=) Prelude.<$> exitCode,+ ("imageDigest" Data..=) Prelude.<$> imageDigest,+ ("networkBindings" Data..=)+ Prelude.<$> networkBindings,+ ("reason" Data..=) Prelude.<$> reason,+ ("runtimeId" Data..=) Prelude.<$> runtimeId,+ ("status" Data..=) Prelude.<$> status+ ]+ )
+ gen/Amazonka/ECS/Types/Deployment.hs view
@@ -0,0 +1,473 @@+{-# 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.ECS.Types.Deployment+-- 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.ECS.Types.Deployment where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.CapacityProviderStrategyItem+import Amazonka.ECS.Types.DeploymentRolloutState+import Amazonka.ECS.Types.LaunchType+import Amazonka.ECS.Types.NetworkConfiguration+import Amazonka.ECS.Types.ServiceConnectConfiguration+import Amazonka.ECS.Types.ServiceConnectServiceResource+import qualified Amazonka.Prelude as Prelude++-- | The details of an Amazon ECS service deployment. This is used only when+-- a service uses the @ECS@ deployment controller type.+--+-- /See:/ 'newDeployment' smart constructor.+data Deployment = Deployment'+ { -- | The capacity provider strategy that the deployment is using.+ capacityProviderStrategy :: Prelude.Maybe [CapacityProviderStrategyItem],+ -- | The Unix timestamp for the time when the service deployment was created.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The most recent desired count of tasks that was specified for the+ -- service to deploy or maintain.+ desiredCount :: Prelude.Maybe Prelude.Int,+ -- | The number of consecutively failed tasks in the deployment. A task is+ -- considered a failure if the service scheduler can\'t launch the task,+ -- the task doesn\'t transition to a @RUNNING@ state, or if it fails any of+ -- its defined health checks and is stopped.+ --+ -- Once a service deployment has one or more successfully running tasks,+ -- the failed task count resets to zero and stops being evaluated.+ failedTasks :: Prelude.Maybe Prelude.Int,+ -- | The ID of the deployment.+ id :: Prelude.Maybe Prelude.Text,+ -- | The launch type the tasks in the service are using. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS Launch Types>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ launchType :: Prelude.Maybe LaunchType,+ -- | The VPC subnet and security group configuration for tasks that receive+ -- their own elastic network interface by using the @awsvpc@ networking+ -- mode.+ networkConfiguration :: Prelude.Maybe NetworkConfiguration,+ -- | The number of tasks in the deployment that are in the @PENDING@ status.+ pendingCount :: Prelude.Maybe Prelude.Int,+ -- | The operating system that your tasks in the service, or tasks are+ -- running on. A platform family is specified only for tasks using the+ -- Fargate launch type.+ --+ -- All tasks that run as part of this service must use the same+ -- @platformFamily@ value as the service, for example, @ LINUX.@.+ platformFamily :: Prelude.Maybe Prelude.Text,+ -- | The platform version that your tasks in the service run on. A platform+ -- version is only specified for tasks using the Fargate launch type. If+ -- one isn\'t specified, the @LATEST@ platform version is used. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ platformVersion :: Prelude.Maybe Prelude.Text,+ -- | The @rolloutState@ of a service is only returned for services that use+ -- the rolling update (@ECS@) deployment type that aren\'t behind a Classic+ -- Load Balancer.+ --+ -- The rollout state of the deployment. When a service deployment is+ -- started, it begins in an @IN_PROGRESS@ state. When the service reaches a+ -- steady state, the deployment transitions to a @COMPLETED@ state. If the+ -- service fails to reach a steady state and circuit breaker is enabled,+ -- the deployment transitions to a @FAILED@ state. A deployment in @FAILED@+ -- state doesn\'t launch any new tasks. For more information, see+ -- DeploymentCircuitBreaker.+ rolloutState :: Prelude.Maybe DeploymentRolloutState,+ -- | A description of the rollout state of a deployment.+ rolloutStateReason :: Prelude.Maybe Prelude.Text,+ -- | The number of tasks in the deployment that are in the @RUNNING@ status.+ runningCount :: Prelude.Maybe Prelude.Int,+ -- | The details of the Service Connect configuration that\'s used by this+ -- deployment. Compare the configuration between multiple deployments when+ -- troubleshooting issues with new deployments.+ --+ -- The configuration for this service to discover and connect to services,+ -- and be discovered by, and connected from, other services within a+ -- namespace.+ --+ -- Tasks that run in a namespace can use short names to connect to services+ -- in the namespace. Tasks can connect to services across all of the+ -- clusters in the namespace. Tasks connect through a managed proxy+ -- container that collects logs and metrics for increased visibility. Only+ -- the tasks that Amazon ECS services create are supported with Service+ -- Connect. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ serviceConnectConfiguration :: Prelude.Maybe ServiceConnectConfiguration,+ -- | The list of Service Connect resources that are associated with this+ -- deployment. Each list entry maps a discovery name to a Cloud Map service+ -- name.+ serviceConnectResources :: Prelude.Maybe [ServiceConnectServiceResource],+ -- | The status of the deployment. The following describes each state.+ --+ -- [PRIMARY]+ -- The most recent deployment of a service.+ --+ -- [ACTIVE]+ -- A service deployment that still has running tasks, but are in the+ -- process of being replaced with a new @PRIMARY@ deployment.+ --+ -- [INACTIVE]+ -- A deployment that has been completely replaced.+ status :: Prelude.Maybe Prelude.Text,+ -- | The most recent task definition that was specified for the tasks in the+ -- service to use.+ taskDefinition :: Prelude.Maybe Prelude.Text,+ -- | The Unix timestamp for the time when the service deployment was last+ -- updated.+ updatedAt :: Prelude.Maybe Data.POSIX+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Deployment' 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:+--+-- 'capacityProviderStrategy', 'deployment_capacityProviderStrategy' - The capacity provider strategy that the deployment is using.+--+-- 'createdAt', 'deployment_createdAt' - The Unix timestamp for the time when the service deployment was created.+--+-- 'desiredCount', 'deployment_desiredCount' - The most recent desired count of tasks that was specified for the+-- service to deploy or maintain.+--+-- 'failedTasks', 'deployment_failedTasks' - The number of consecutively failed tasks in the deployment. A task is+-- considered a failure if the service scheduler can\'t launch the task,+-- the task doesn\'t transition to a @RUNNING@ state, or if it fails any of+-- its defined health checks and is stopped.+--+-- Once a service deployment has one or more successfully running tasks,+-- the failed task count resets to zero and stops being evaluated.+--+-- 'id', 'deployment_id' - The ID of the deployment.+--+-- 'launchType', 'deployment_launchType' - The launch type the tasks in the service are using. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS Launch Types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'networkConfiguration', 'deployment_networkConfiguration' - The VPC subnet and security group configuration for tasks that receive+-- their own elastic network interface by using the @awsvpc@ networking+-- mode.+--+-- 'pendingCount', 'deployment_pendingCount' - The number of tasks in the deployment that are in the @PENDING@ status.+--+-- 'platformFamily', 'deployment_platformFamily' - The operating system that your tasks in the service, or tasks are+-- running on. A platform family is specified only for tasks using the+-- Fargate launch type.+--+-- All tasks that run as part of this service must use the same+-- @platformFamily@ value as the service, for example, @ LINUX.@.+--+-- 'platformVersion', 'deployment_platformVersion' - The platform version that your tasks in the service run on. A platform+-- version is only specified for tasks using the Fargate launch type. If+-- one isn\'t specified, the @LATEST@ platform version is used. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'rolloutState', 'deployment_rolloutState' - The @rolloutState@ of a service is only returned for services that use+-- the rolling update (@ECS@) deployment type that aren\'t behind a Classic+-- Load Balancer.+--+-- The rollout state of the deployment. When a service deployment is+-- started, it begins in an @IN_PROGRESS@ state. When the service reaches a+-- steady state, the deployment transitions to a @COMPLETED@ state. If the+-- service fails to reach a steady state and circuit breaker is enabled,+-- the deployment transitions to a @FAILED@ state. A deployment in @FAILED@+-- state doesn\'t launch any new tasks. For more information, see+-- DeploymentCircuitBreaker.+--+-- 'rolloutStateReason', 'deployment_rolloutStateReason' - A description of the rollout state of a deployment.+--+-- 'runningCount', 'deployment_runningCount' - The number of tasks in the deployment that are in the @RUNNING@ status.+--+-- 'serviceConnectConfiguration', 'deployment_serviceConnectConfiguration' - The details of the Service Connect configuration that\'s used by this+-- deployment. Compare the configuration between multiple deployments when+-- troubleshooting issues with new deployments.+--+-- The configuration for this service to discover and connect to services,+-- and be discovered by, and connected from, other services within a+-- namespace.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'serviceConnectResources', 'deployment_serviceConnectResources' - The list of Service Connect resources that are associated with this+-- deployment. Each list entry maps a discovery name to a Cloud Map service+-- name.+--+-- 'status', 'deployment_status' - The status of the deployment. The following describes each state.+--+-- [PRIMARY]+-- The most recent deployment of a service.+--+-- [ACTIVE]+-- A service deployment that still has running tasks, but are in the+-- process of being replaced with a new @PRIMARY@ deployment.+--+-- [INACTIVE]+-- A deployment that has been completely replaced.+--+-- 'taskDefinition', 'deployment_taskDefinition' - The most recent task definition that was specified for the tasks in the+-- service to use.+--+-- 'updatedAt', 'deployment_updatedAt' - The Unix timestamp for the time when the service deployment was last+-- updated.+newDeployment ::+ Deployment+newDeployment =+ Deployment'+ { capacityProviderStrategy =+ Prelude.Nothing,+ createdAt = Prelude.Nothing,+ desiredCount = Prelude.Nothing,+ failedTasks = Prelude.Nothing,+ id = Prelude.Nothing,+ launchType = Prelude.Nothing,+ networkConfiguration = Prelude.Nothing,+ pendingCount = Prelude.Nothing,+ platformFamily = Prelude.Nothing,+ platformVersion = Prelude.Nothing,+ rolloutState = Prelude.Nothing,+ rolloutStateReason = Prelude.Nothing,+ runningCount = Prelude.Nothing,+ serviceConnectConfiguration = Prelude.Nothing,+ serviceConnectResources = Prelude.Nothing,+ status = Prelude.Nothing,+ taskDefinition = Prelude.Nothing,+ updatedAt = Prelude.Nothing+ }++-- | The capacity provider strategy that the deployment is using.+deployment_capacityProviderStrategy :: Lens.Lens' Deployment (Prelude.Maybe [CapacityProviderStrategyItem])+deployment_capacityProviderStrategy = Lens.lens (\Deployment' {capacityProviderStrategy} -> capacityProviderStrategy) (\s@Deployment' {} a -> s {capacityProviderStrategy = a} :: Deployment) Prelude.. Lens.mapping Lens.coerced++-- | The Unix timestamp for the time when the service deployment was created.+deployment_createdAt :: Lens.Lens' Deployment (Prelude.Maybe Prelude.UTCTime)+deployment_createdAt = Lens.lens (\Deployment' {createdAt} -> createdAt) (\s@Deployment' {} a -> s {createdAt = a} :: Deployment) Prelude.. Lens.mapping Data._Time++-- | The most recent desired count of tasks that was specified for the+-- service to deploy or maintain.+deployment_desiredCount :: Lens.Lens' Deployment (Prelude.Maybe Prelude.Int)+deployment_desiredCount = Lens.lens (\Deployment' {desiredCount} -> desiredCount) (\s@Deployment' {} a -> s {desiredCount = a} :: Deployment)++-- | The number of consecutively failed tasks in the deployment. A task is+-- considered a failure if the service scheduler can\'t launch the task,+-- the task doesn\'t transition to a @RUNNING@ state, or if it fails any of+-- its defined health checks and is stopped.+--+-- Once a service deployment has one or more successfully running tasks,+-- the failed task count resets to zero and stops being evaluated.+deployment_failedTasks :: Lens.Lens' Deployment (Prelude.Maybe Prelude.Int)+deployment_failedTasks = Lens.lens (\Deployment' {failedTasks} -> failedTasks) (\s@Deployment' {} a -> s {failedTasks = a} :: Deployment)++-- | The ID of the deployment.+deployment_id :: Lens.Lens' Deployment (Prelude.Maybe Prelude.Text)+deployment_id = Lens.lens (\Deployment' {id} -> id) (\s@Deployment' {} a -> s {id = a} :: Deployment)++-- | The launch type the tasks in the service are using. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS Launch Types>+-- in the /Amazon Elastic Container Service Developer Guide/.+deployment_launchType :: Lens.Lens' Deployment (Prelude.Maybe LaunchType)+deployment_launchType = Lens.lens (\Deployment' {launchType} -> launchType) (\s@Deployment' {} a -> s {launchType = a} :: Deployment)++-- | The VPC subnet and security group configuration for tasks that receive+-- their own elastic network interface by using the @awsvpc@ networking+-- mode.+deployment_networkConfiguration :: Lens.Lens' Deployment (Prelude.Maybe NetworkConfiguration)+deployment_networkConfiguration = Lens.lens (\Deployment' {networkConfiguration} -> networkConfiguration) (\s@Deployment' {} a -> s {networkConfiguration = a} :: Deployment)++-- | The number of tasks in the deployment that are in the @PENDING@ status.+deployment_pendingCount :: Lens.Lens' Deployment (Prelude.Maybe Prelude.Int)+deployment_pendingCount = Lens.lens (\Deployment' {pendingCount} -> pendingCount) (\s@Deployment' {} a -> s {pendingCount = a} :: Deployment)++-- | The operating system that your tasks in the service, or tasks are+-- running on. A platform family is specified only for tasks using the+-- Fargate launch type.+--+-- All tasks that run as part of this service must use the same+-- @platformFamily@ value as the service, for example, @ LINUX.@.+deployment_platformFamily :: Lens.Lens' Deployment (Prelude.Maybe Prelude.Text)+deployment_platformFamily = Lens.lens (\Deployment' {platformFamily} -> platformFamily) (\s@Deployment' {} a -> s {platformFamily = a} :: Deployment)++-- | The platform version that your tasks in the service run on. A platform+-- version is only specified for tasks using the Fargate launch type. If+-- one isn\'t specified, the @LATEST@ platform version is used. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+deployment_platformVersion :: Lens.Lens' Deployment (Prelude.Maybe Prelude.Text)+deployment_platformVersion = Lens.lens (\Deployment' {platformVersion} -> platformVersion) (\s@Deployment' {} a -> s {platformVersion = a} :: Deployment)++-- | The @rolloutState@ of a service is only returned for services that use+-- the rolling update (@ECS@) deployment type that aren\'t behind a Classic+-- Load Balancer.+--+-- The rollout state of the deployment. When a service deployment is+-- started, it begins in an @IN_PROGRESS@ state. When the service reaches a+-- steady state, the deployment transitions to a @COMPLETED@ state. If the+-- service fails to reach a steady state and circuit breaker is enabled,+-- the deployment transitions to a @FAILED@ state. A deployment in @FAILED@+-- state doesn\'t launch any new tasks. For more information, see+-- DeploymentCircuitBreaker.+deployment_rolloutState :: Lens.Lens' Deployment (Prelude.Maybe DeploymentRolloutState)+deployment_rolloutState = Lens.lens (\Deployment' {rolloutState} -> rolloutState) (\s@Deployment' {} a -> s {rolloutState = a} :: Deployment)++-- | A description of the rollout state of a deployment.+deployment_rolloutStateReason :: Lens.Lens' Deployment (Prelude.Maybe Prelude.Text)+deployment_rolloutStateReason = Lens.lens (\Deployment' {rolloutStateReason} -> rolloutStateReason) (\s@Deployment' {} a -> s {rolloutStateReason = a} :: Deployment)++-- | The number of tasks in the deployment that are in the @RUNNING@ status.+deployment_runningCount :: Lens.Lens' Deployment (Prelude.Maybe Prelude.Int)+deployment_runningCount = Lens.lens (\Deployment' {runningCount} -> runningCount) (\s@Deployment' {} a -> s {runningCount = a} :: Deployment)++-- | The details of the Service Connect configuration that\'s used by this+-- deployment. Compare the configuration between multiple deployments when+-- troubleshooting issues with new deployments.+--+-- The configuration for this service to discover and connect to services,+-- and be discovered by, and connected from, other services within a+-- namespace.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+deployment_serviceConnectConfiguration :: Lens.Lens' Deployment (Prelude.Maybe ServiceConnectConfiguration)+deployment_serviceConnectConfiguration = Lens.lens (\Deployment' {serviceConnectConfiguration} -> serviceConnectConfiguration) (\s@Deployment' {} a -> s {serviceConnectConfiguration = a} :: Deployment)++-- | The list of Service Connect resources that are associated with this+-- deployment. Each list entry maps a discovery name to a Cloud Map service+-- name.+deployment_serviceConnectResources :: Lens.Lens' Deployment (Prelude.Maybe [ServiceConnectServiceResource])+deployment_serviceConnectResources = Lens.lens (\Deployment' {serviceConnectResources} -> serviceConnectResources) (\s@Deployment' {} a -> s {serviceConnectResources = a} :: Deployment) Prelude.. Lens.mapping Lens.coerced++-- | The status of the deployment. The following describes each state.+--+-- [PRIMARY]+-- The most recent deployment of a service.+--+-- [ACTIVE]+-- A service deployment that still has running tasks, but are in the+-- process of being replaced with a new @PRIMARY@ deployment.+--+-- [INACTIVE]+-- A deployment that has been completely replaced.+deployment_status :: Lens.Lens' Deployment (Prelude.Maybe Prelude.Text)+deployment_status = Lens.lens (\Deployment' {status} -> status) (\s@Deployment' {} a -> s {status = a} :: Deployment)++-- | The most recent task definition that was specified for the tasks in the+-- service to use.+deployment_taskDefinition :: Lens.Lens' Deployment (Prelude.Maybe Prelude.Text)+deployment_taskDefinition = Lens.lens (\Deployment' {taskDefinition} -> taskDefinition) (\s@Deployment' {} a -> s {taskDefinition = a} :: Deployment)++-- | The Unix timestamp for the time when the service deployment was last+-- updated.+deployment_updatedAt :: Lens.Lens' Deployment (Prelude.Maybe Prelude.UTCTime)+deployment_updatedAt = Lens.lens (\Deployment' {updatedAt} -> updatedAt) (\s@Deployment' {} a -> s {updatedAt = a} :: Deployment) Prelude.. Lens.mapping Data._Time++instance Data.FromJSON Deployment where+ parseJSON =+ Data.withObject+ "Deployment"+ ( \x ->+ Deployment'+ Prelude.<$> ( x+ Data..:? "capacityProviderStrategy"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "createdAt")+ Prelude.<*> (x Data..:? "desiredCount")+ Prelude.<*> (x Data..:? "failedTasks")+ Prelude.<*> (x Data..:? "id")+ Prelude.<*> (x Data..:? "launchType")+ Prelude.<*> (x Data..:? "networkConfiguration")+ Prelude.<*> (x Data..:? "pendingCount")+ Prelude.<*> (x Data..:? "platformFamily")+ Prelude.<*> (x Data..:? "platformVersion")+ Prelude.<*> (x Data..:? "rolloutState")+ Prelude.<*> (x Data..:? "rolloutStateReason")+ Prelude.<*> (x Data..:? "runningCount")+ Prelude.<*> (x Data..:? "serviceConnectConfiguration")+ Prelude.<*> ( x+ Data..:? "serviceConnectResources"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "taskDefinition")+ Prelude.<*> (x Data..:? "updatedAt")+ )++instance Prelude.Hashable Deployment where+ hashWithSalt _salt Deployment' {..} =+ _salt+ `Prelude.hashWithSalt` capacityProviderStrategy+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` desiredCount+ `Prelude.hashWithSalt` failedTasks+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` launchType+ `Prelude.hashWithSalt` networkConfiguration+ `Prelude.hashWithSalt` pendingCount+ `Prelude.hashWithSalt` platformFamily+ `Prelude.hashWithSalt` platformVersion+ `Prelude.hashWithSalt` rolloutState+ `Prelude.hashWithSalt` rolloutStateReason+ `Prelude.hashWithSalt` runningCount+ `Prelude.hashWithSalt` serviceConnectConfiguration+ `Prelude.hashWithSalt` serviceConnectResources+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` taskDefinition+ `Prelude.hashWithSalt` updatedAt++instance Prelude.NFData Deployment where+ rnf Deployment' {..} =+ Prelude.rnf capacityProviderStrategy+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf desiredCount+ `Prelude.seq` Prelude.rnf failedTasks+ `Prelude.seq` Prelude.rnf id+ `Prelude.seq` Prelude.rnf launchType+ `Prelude.seq` Prelude.rnf networkConfiguration+ `Prelude.seq` Prelude.rnf pendingCount+ `Prelude.seq` Prelude.rnf platformFamily+ `Prelude.seq` Prelude.rnf platformVersion+ `Prelude.seq` Prelude.rnf rolloutState+ `Prelude.seq` Prelude.rnf rolloutStateReason+ `Prelude.seq` Prelude.rnf runningCount+ `Prelude.seq` Prelude.rnf serviceConnectConfiguration+ `Prelude.seq` Prelude.rnf serviceConnectResources+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf taskDefinition+ `Prelude.seq` Prelude.rnf updatedAt
+ gen/Amazonka/ECS/Types/DeploymentAlarms.hs view
@@ -0,0 +1,135 @@+{-# 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.ECS.Types.DeploymentAlarms+-- 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.ECS.Types.DeploymentAlarms 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++-- | One of the methods which provide a way for you to quickly identify when+-- a deployment has failed, and then to optionally roll back the failure to+-- the last working deployment.+--+-- When the alarms are generated, Amazon ECS sets the service deployment to+-- failed. Set the rollback parameter to have Amazon ECS to roll back your+-- service to the last completed deployment after a failure.+--+-- You can only use the @DeploymentAlarms@ method to detect failures when+-- the @DeploymentController@ is set to @ECS@ (rolling update).+--+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html Rolling update>+-- in the //Amazon Elastic Container Service Developer Guide// .+--+-- /See:/ 'newDeploymentAlarms' smart constructor.+data DeploymentAlarms = DeploymentAlarms'+ { -- | One or more CloudWatch alarm names. Use a \",\" to separate the alarms.+ alarmNames :: [Prelude.Text],+ -- | Determines whether to use the CloudWatch alarm option in the service+ -- deployment process.+ enable :: Prelude.Bool,+ -- | Determines whether to configure Amazon ECS to roll back the service if a+ -- service deployment fails. If rollback is used, when a service deployment+ -- fails, the service is rolled back to the last deployment that completed+ -- successfully.+ rollback :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeploymentAlarms' 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:+--+-- 'alarmNames', 'deploymentAlarms_alarmNames' - One or more CloudWatch alarm names. Use a \",\" to separate the alarms.+--+-- 'enable', 'deploymentAlarms_enable' - Determines whether to use the CloudWatch alarm option in the service+-- deployment process.+--+-- 'rollback', 'deploymentAlarms_rollback' - Determines whether to configure Amazon ECS to roll back the service if a+-- service deployment fails. If rollback is used, when a service deployment+-- fails, the service is rolled back to the last deployment that completed+-- successfully.+newDeploymentAlarms ::+ -- | 'enable'+ Prelude.Bool ->+ -- | 'rollback'+ Prelude.Bool ->+ DeploymentAlarms+newDeploymentAlarms pEnable_ pRollback_ =+ DeploymentAlarms'+ { alarmNames = Prelude.mempty,+ enable = pEnable_,+ rollback = pRollback_+ }++-- | One or more CloudWatch alarm names. Use a \",\" to separate the alarms.+deploymentAlarms_alarmNames :: Lens.Lens' DeploymentAlarms [Prelude.Text]+deploymentAlarms_alarmNames = Lens.lens (\DeploymentAlarms' {alarmNames} -> alarmNames) (\s@DeploymentAlarms' {} a -> s {alarmNames = a} :: DeploymentAlarms) Prelude.. Lens.coerced++-- | Determines whether to use the CloudWatch alarm option in the service+-- deployment process.+deploymentAlarms_enable :: Lens.Lens' DeploymentAlarms Prelude.Bool+deploymentAlarms_enable = Lens.lens (\DeploymentAlarms' {enable} -> enable) (\s@DeploymentAlarms' {} a -> s {enable = a} :: DeploymentAlarms)++-- | Determines whether to configure Amazon ECS to roll back the service if a+-- service deployment fails. If rollback is used, when a service deployment+-- fails, the service is rolled back to the last deployment that completed+-- successfully.+deploymentAlarms_rollback :: Lens.Lens' DeploymentAlarms Prelude.Bool+deploymentAlarms_rollback = Lens.lens (\DeploymentAlarms' {rollback} -> rollback) (\s@DeploymentAlarms' {} a -> s {rollback = a} :: DeploymentAlarms)++instance Data.FromJSON DeploymentAlarms where+ parseJSON =+ Data.withObject+ "DeploymentAlarms"+ ( \x ->+ DeploymentAlarms'+ Prelude.<$> (x Data..:? "alarmNames" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "enable")+ Prelude.<*> (x Data..: "rollback")+ )++instance Prelude.Hashable DeploymentAlarms where+ hashWithSalt _salt DeploymentAlarms' {..} =+ _salt+ `Prelude.hashWithSalt` alarmNames+ `Prelude.hashWithSalt` enable+ `Prelude.hashWithSalt` rollback++instance Prelude.NFData DeploymentAlarms where+ rnf DeploymentAlarms' {..} =+ Prelude.rnf alarmNames+ `Prelude.seq` Prelude.rnf enable+ `Prelude.seq` Prelude.rnf rollback++instance Data.ToJSON DeploymentAlarms where+ toJSON DeploymentAlarms' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("alarmNames" Data..= alarmNames),+ Prelude.Just ("enable" Data..= enable),+ Prelude.Just ("rollback" Data..= rollback)+ ]+ )
+ gen/Amazonka/ECS/Types/DeploymentCircuitBreaker.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.ECS.Types.DeploymentCircuitBreaker+-- 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.ECS.Types.DeploymentCircuitBreaker 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++-- | The deployment circuit breaker can only be used for services using the+-- rolling update (@ECS@) deployment type that aren\'t behind a Classic+-- Load Balancer.+--+-- The __deployment circuit breaker__ determines whether a service+-- deployment will fail if the service can\'t reach a steady state. If+-- enabled, a service deployment will transition to a failed state and stop+-- launching new tasks. You can also configure Amazon ECS to roll back your+-- service to the last completed deployment after a failure. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html Rolling update>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newDeploymentCircuitBreaker' smart constructor.+data DeploymentCircuitBreaker = DeploymentCircuitBreaker'+ { -- | Determines whether to use the deployment circuit breaker logic for the+ -- service.+ enable :: Prelude.Bool,+ -- | Determines whether to configure Amazon ECS to roll back the service if a+ -- service deployment fails. If rollback is on, when a service deployment+ -- fails, the service is rolled back to the last deployment that completed+ -- successfully.+ rollback :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeploymentCircuitBreaker' 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:+--+-- 'enable', 'deploymentCircuitBreaker_enable' - Determines whether to use the deployment circuit breaker logic for the+-- service.+--+-- 'rollback', 'deploymentCircuitBreaker_rollback' - Determines whether to configure Amazon ECS to roll back the service if a+-- service deployment fails. If rollback is on, when a service deployment+-- fails, the service is rolled back to the last deployment that completed+-- successfully.+newDeploymentCircuitBreaker ::+ -- | 'enable'+ Prelude.Bool ->+ -- | 'rollback'+ Prelude.Bool ->+ DeploymentCircuitBreaker+newDeploymentCircuitBreaker pEnable_ pRollback_ =+ DeploymentCircuitBreaker'+ { enable = pEnable_,+ rollback = pRollback_+ }++-- | Determines whether to use the deployment circuit breaker logic for the+-- service.+deploymentCircuitBreaker_enable :: Lens.Lens' DeploymentCircuitBreaker Prelude.Bool+deploymentCircuitBreaker_enable = Lens.lens (\DeploymentCircuitBreaker' {enable} -> enable) (\s@DeploymentCircuitBreaker' {} a -> s {enable = a} :: DeploymentCircuitBreaker)++-- | Determines whether to configure Amazon ECS to roll back the service if a+-- service deployment fails. If rollback is on, when a service deployment+-- fails, the service is rolled back to the last deployment that completed+-- successfully.+deploymentCircuitBreaker_rollback :: Lens.Lens' DeploymentCircuitBreaker Prelude.Bool+deploymentCircuitBreaker_rollback = Lens.lens (\DeploymentCircuitBreaker' {rollback} -> rollback) (\s@DeploymentCircuitBreaker' {} a -> s {rollback = a} :: DeploymentCircuitBreaker)++instance Data.FromJSON DeploymentCircuitBreaker where+ parseJSON =+ Data.withObject+ "DeploymentCircuitBreaker"+ ( \x ->+ DeploymentCircuitBreaker'+ Prelude.<$> (x Data..: "enable")+ Prelude.<*> (x Data..: "rollback")+ )++instance Prelude.Hashable DeploymentCircuitBreaker where+ hashWithSalt _salt DeploymentCircuitBreaker' {..} =+ _salt+ `Prelude.hashWithSalt` enable+ `Prelude.hashWithSalt` rollback++instance Prelude.NFData DeploymentCircuitBreaker where+ rnf DeploymentCircuitBreaker' {..} =+ Prelude.rnf enable+ `Prelude.seq` Prelude.rnf rollback++instance Data.ToJSON DeploymentCircuitBreaker where+ toJSON DeploymentCircuitBreaker' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("enable" Data..= enable),+ Prelude.Just ("rollback" Data..= rollback)+ ]+ )
+ gen/Amazonka/ECS/Types/DeploymentConfiguration.hs view
@@ -0,0 +1,365 @@+{-# 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.ECS.Types.DeploymentConfiguration+-- 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.ECS.Types.DeploymentConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.DeploymentAlarms+import Amazonka.ECS.Types.DeploymentCircuitBreaker+import qualified Amazonka.Prelude as Prelude++-- | Optional deployment parameters that control how many tasks run during a+-- deployment and the ordering of stopping and starting tasks.+--+-- /See:/ 'newDeploymentConfiguration' smart constructor.+data DeploymentConfiguration = DeploymentConfiguration'+ { -- | Information about the CloudWatch alarms.+ alarms :: Prelude.Maybe DeploymentAlarms,+ -- | The deployment circuit breaker can only be used for services using the+ -- rolling update (@ECS@) deployment type.+ --+ -- The __deployment circuit breaker__ determines whether a service+ -- deployment will fail if the service can\'t reach a steady state. If+ -- deployment circuit breaker is enabled, a service deployment will+ -- transition to a failed state and stop launching new tasks. If rollback+ -- is enabled, when a service deployment fails, the service is rolled back+ -- to the last deployment that completed successfully.+ deploymentCircuitBreaker :: Prelude.Maybe DeploymentCircuitBreaker,+ -- | If a service is using the rolling update (@ECS@) deployment type, the+ -- @maximumPercent@ parameter represents an upper limit on the number of+ -- your service\'s tasks that are allowed in the @RUNNING@ or @PENDING@+ -- state during a deployment, as a percentage of the @desiredCount@+ -- (rounded down to the nearest integer). This parameter enables you to+ -- define the deployment batch size. For example, if your service is using+ -- the @REPLICA@ service scheduler and has a @desiredCount@ of four tasks+ -- and a @maximumPercent@ value of 200%, the scheduler may start four new+ -- tasks before stopping the four older tasks (provided that the cluster+ -- resources required to do this are available). The default+ -- @maximumPercent@ value for a service using the @REPLICA@ service+ -- scheduler is 200%.+ --+ -- If a service is using either the blue\/green (@CODE_DEPLOY@) or+ -- @EXTERNAL@ deployment types and tasks that use the EC2 launch type, the+ -- __maximum percent__ value is set to the default value and is used to+ -- define the upper limit on the number of the tasks in the service that+ -- remain in the @RUNNING@ state while the container instances are in the+ -- @DRAINING@ state. If the tasks in the service use the Fargate launch+ -- type, the maximum percent value is not used, although it is returned+ -- when describing your service.+ maximumPercent :: Prelude.Maybe Prelude.Int,+ -- | If a service is using the rolling update (@ECS@) deployment type, the+ -- @minimumHealthyPercent@ represents a lower limit on the number of your+ -- service\'s tasks that must remain in the @RUNNING@ state during a+ -- deployment, as a percentage of the @desiredCount@ (rounded up to the+ -- nearest integer). This parameter enables you to deploy without using+ -- additional cluster capacity. For example, if your service has a+ -- @desiredCount@ of four tasks and a @minimumHealthyPercent@ of 50%, the+ -- service scheduler may stop two existing tasks to free up cluster+ -- capacity before starting two new tasks.+ --+ -- For services that /do not/ use a load balancer, the following should be+ -- noted:+ --+ -- - A service is considered healthy if all essential containers within+ -- the tasks in the service pass their health checks.+ --+ -- - If a task has no essential containers with a health check defined,+ -- the service scheduler will wait for 40 seconds after a task reaches+ -- a @RUNNING@ state before the task is counted towards the minimum+ -- healthy percent total.+ --+ -- - If a task has one or more essential containers with a health check+ -- defined, the service scheduler will wait for the task to reach a+ -- healthy status before counting it towards the minimum healthy+ -- percent total. A task is considered healthy when all essential+ -- containers within the task have passed their health checks. The+ -- amount of time the service scheduler can wait for is determined by+ -- the container health check settings.+ --+ -- For services are that /do/ use a load balancer, the following should be+ -- noted:+ --+ -- - If a task has no essential containers with a health check defined,+ -- the service scheduler will wait for the load balancer target group+ -- health check to return a healthy status before counting the task+ -- towards the minimum healthy percent total.+ --+ -- - If a task has an essential container with a health check defined,+ -- the service scheduler will wait for both the task to reach a healthy+ -- status and the load balancer target group health check to return a+ -- healthy status before counting the task towards the minimum healthy+ -- percent total.+ --+ -- If a service is using either the blue\/green (@CODE_DEPLOY@) or+ -- @EXTERNAL@ deployment types and is running tasks that use the EC2 launch+ -- type, the __minimum healthy percent__ value is set to the default value+ -- and is used to define the lower limit on the number of the tasks in the+ -- service that remain in the @RUNNING@ state while the container instances+ -- are in the @DRAINING@ state. If a service is using either the+ -- blue\/green (@CODE_DEPLOY@) or @EXTERNAL@ deployment types and is+ -- running tasks that use the Fargate launch type, the minimum healthy+ -- percent value is not used, although it is returned when describing your+ -- service.+ minimumHealthyPercent :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeploymentConfiguration' 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:+--+-- 'alarms', 'deploymentConfiguration_alarms' - Information about the CloudWatch alarms.+--+-- 'deploymentCircuitBreaker', 'deploymentConfiguration_deploymentCircuitBreaker' - The deployment circuit breaker can only be used for services using the+-- rolling update (@ECS@) deployment type.+--+-- The __deployment circuit breaker__ determines whether a service+-- deployment will fail if the service can\'t reach a steady state. If+-- deployment circuit breaker is enabled, a service deployment will+-- transition to a failed state and stop launching new tasks. If rollback+-- is enabled, when a service deployment fails, the service is rolled back+-- to the last deployment that completed successfully.+--+-- 'maximumPercent', 'deploymentConfiguration_maximumPercent' - If a service is using the rolling update (@ECS@) deployment type, the+-- @maximumPercent@ parameter represents an upper limit on the number of+-- your service\'s tasks that are allowed in the @RUNNING@ or @PENDING@+-- state during a deployment, as a percentage of the @desiredCount@+-- (rounded down to the nearest integer). This parameter enables you to+-- define the deployment batch size. For example, if your service is using+-- the @REPLICA@ service scheduler and has a @desiredCount@ of four tasks+-- and a @maximumPercent@ value of 200%, the scheduler may start four new+-- tasks before stopping the four older tasks (provided that the cluster+-- resources required to do this are available). The default+-- @maximumPercent@ value for a service using the @REPLICA@ service+-- scheduler is 200%.+--+-- If a service is using either the blue\/green (@CODE_DEPLOY@) or+-- @EXTERNAL@ deployment types and tasks that use the EC2 launch type, the+-- __maximum percent__ value is set to the default value and is used to+-- define the upper limit on the number of the tasks in the service that+-- remain in the @RUNNING@ state while the container instances are in the+-- @DRAINING@ state. If the tasks in the service use the Fargate launch+-- type, the maximum percent value is not used, although it is returned+-- when describing your service.+--+-- 'minimumHealthyPercent', 'deploymentConfiguration_minimumHealthyPercent' - If a service is using the rolling update (@ECS@) deployment type, the+-- @minimumHealthyPercent@ represents a lower limit on the number of your+-- service\'s tasks that must remain in the @RUNNING@ state during a+-- deployment, as a percentage of the @desiredCount@ (rounded up to the+-- nearest integer). This parameter enables you to deploy without using+-- additional cluster capacity. For example, if your service has a+-- @desiredCount@ of four tasks and a @minimumHealthyPercent@ of 50%, the+-- service scheduler may stop two existing tasks to free up cluster+-- capacity before starting two new tasks.+--+-- For services that /do not/ use a load balancer, the following should be+-- noted:+--+-- - A service is considered healthy if all essential containers within+-- the tasks in the service pass their health checks.+--+-- - If a task has no essential containers with a health check defined,+-- the service scheduler will wait for 40 seconds after a task reaches+-- a @RUNNING@ state before the task is counted towards the minimum+-- healthy percent total.+--+-- - If a task has one or more essential containers with a health check+-- defined, the service scheduler will wait for the task to reach a+-- healthy status before counting it towards the minimum healthy+-- percent total. A task is considered healthy when all essential+-- containers within the task have passed their health checks. The+-- amount of time the service scheduler can wait for is determined by+-- the container health check settings.+--+-- For services are that /do/ use a load balancer, the following should be+-- noted:+--+-- - If a task has no essential containers with a health check defined,+-- the service scheduler will wait for the load balancer target group+-- health check to return a healthy status before counting the task+-- towards the minimum healthy percent total.+--+-- - If a task has an essential container with a health check defined,+-- the service scheduler will wait for both the task to reach a healthy+-- status and the load balancer target group health check to return a+-- healthy status before counting the task towards the minimum healthy+-- percent total.+--+-- If a service is using either the blue\/green (@CODE_DEPLOY@) or+-- @EXTERNAL@ deployment types and is running tasks that use the EC2 launch+-- type, the __minimum healthy percent__ value is set to the default value+-- and is used to define the lower limit on the number of the tasks in the+-- service that remain in the @RUNNING@ state while the container instances+-- are in the @DRAINING@ state. If a service is using either the+-- blue\/green (@CODE_DEPLOY@) or @EXTERNAL@ deployment types and is+-- running tasks that use the Fargate launch type, the minimum healthy+-- percent value is not used, although it is returned when describing your+-- service.+newDeploymentConfiguration ::+ DeploymentConfiguration+newDeploymentConfiguration =+ DeploymentConfiguration'+ { alarms = Prelude.Nothing,+ deploymentCircuitBreaker = Prelude.Nothing,+ maximumPercent = Prelude.Nothing,+ minimumHealthyPercent = Prelude.Nothing+ }++-- | Information about the CloudWatch alarms.+deploymentConfiguration_alarms :: Lens.Lens' DeploymentConfiguration (Prelude.Maybe DeploymentAlarms)+deploymentConfiguration_alarms = Lens.lens (\DeploymentConfiguration' {alarms} -> alarms) (\s@DeploymentConfiguration' {} a -> s {alarms = a} :: DeploymentConfiguration)++-- | The deployment circuit breaker can only be used for services using the+-- rolling update (@ECS@) deployment type.+--+-- The __deployment circuit breaker__ determines whether a service+-- deployment will fail if the service can\'t reach a steady state. If+-- deployment circuit breaker is enabled, a service deployment will+-- transition to a failed state and stop launching new tasks. If rollback+-- is enabled, when a service deployment fails, the service is rolled back+-- to the last deployment that completed successfully.+deploymentConfiguration_deploymentCircuitBreaker :: Lens.Lens' DeploymentConfiguration (Prelude.Maybe DeploymentCircuitBreaker)+deploymentConfiguration_deploymentCircuitBreaker = Lens.lens (\DeploymentConfiguration' {deploymentCircuitBreaker} -> deploymentCircuitBreaker) (\s@DeploymentConfiguration' {} a -> s {deploymentCircuitBreaker = a} :: DeploymentConfiguration)++-- | If a service is using the rolling update (@ECS@) deployment type, the+-- @maximumPercent@ parameter represents an upper limit on the number of+-- your service\'s tasks that are allowed in the @RUNNING@ or @PENDING@+-- state during a deployment, as a percentage of the @desiredCount@+-- (rounded down to the nearest integer). This parameter enables you to+-- define the deployment batch size. For example, if your service is using+-- the @REPLICA@ service scheduler and has a @desiredCount@ of four tasks+-- and a @maximumPercent@ value of 200%, the scheduler may start four new+-- tasks before stopping the four older tasks (provided that the cluster+-- resources required to do this are available). The default+-- @maximumPercent@ value for a service using the @REPLICA@ service+-- scheduler is 200%.+--+-- If a service is using either the blue\/green (@CODE_DEPLOY@) or+-- @EXTERNAL@ deployment types and tasks that use the EC2 launch type, the+-- __maximum percent__ value is set to the default value and is used to+-- define the upper limit on the number of the tasks in the service that+-- remain in the @RUNNING@ state while the container instances are in the+-- @DRAINING@ state. If the tasks in the service use the Fargate launch+-- type, the maximum percent value is not used, although it is returned+-- when describing your service.+deploymentConfiguration_maximumPercent :: Lens.Lens' DeploymentConfiguration (Prelude.Maybe Prelude.Int)+deploymentConfiguration_maximumPercent = Lens.lens (\DeploymentConfiguration' {maximumPercent} -> maximumPercent) (\s@DeploymentConfiguration' {} a -> s {maximumPercent = a} :: DeploymentConfiguration)++-- | If a service is using the rolling update (@ECS@) deployment type, the+-- @minimumHealthyPercent@ represents a lower limit on the number of your+-- service\'s tasks that must remain in the @RUNNING@ state during a+-- deployment, as a percentage of the @desiredCount@ (rounded up to the+-- nearest integer). This parameter enables you to deploy without using+-- additional cluster capacity. For example, if your service has a+-- @desiredCount@ of four tasks and a @minimumHealthyPercent@ of 50%, the+-- service scheduler may stop two existing tasks to free up cluster+-- capacity before starting two new tasks.+--+-- For services that /do not/ use a load balancer, the following should be+-- noted:+--+-- - A service is considered healthy if all essential containers within+-- the tasks in the service pass their health checks.+--+-- - If a task has no essential containers with a health check defined,+-- the service scheduler will wait for 40 seconds after a task reaches+-- a @RUNNING@ state before the task is counted towards the minimum+-- healthy percent total.+--+-- - If a task has one or more essential containers with a health check+-- defined, the service scheduler will wait for the task to reach a+-- healthy status before counting it towards the minimum healthy+-- percent total. A task is considered healthy when all essential+-- containers within the task have passed their health checks. The+-- amount of time the service scheduler can wait for is determined by+-- the container health check settings.+--+-- For services are that /do/ use a load balancer, the following should be+-- noted:+--+-- - If a task has no essential containers with a health check defined,+-- the service scheduler will wait for the load balancer target group+-- health check to return a healthy status before counting the task+-- towards the minimum healthy percent total.+--+-- - If a task has an essential container with a health check defined,+-- the service scheduler will wait for both the task to reach a healthy+-- status and the load balancer target group health check to return a+-- healthy status before counting the task towards the minimum healthy+-- percent total.+--+-- If a service is using either the blue\/green (@CODE_DEPLOY@) or+-- @EXTERNAL@ deployment types and is running tasks that use the EC2 launch+-- type, the __minimum healthy percent__ value is set to the default value+-- and is used to define the lower limit on the number of the tasks in the+-- service that remain in the @RUNNING@ state while the container instances+-- are in the @DRAINING@ state. If a service is using either the+-- blue\/green (@CODE_DEPLOY@) or @EXTERNAL@ deployment types and is+-- running tasks that use the Fargate launch type, the minimum healthy+-- percent value is not used, although it is returned when describing your+-- service.+deploymentConfiguration_minimumHealthyPercent :: Lens.Lens' DeploymentConfiguration (Prelude.Maybe Prelude.Int)+deploymentConfiguration_minimumHealthyPercent = Lens.lens (\DeploymentConfiguration' {minimumHealthyPercent} -> minimumHealthyPercent) (\s@DeploymentConfiguration' {} a -> s {minimumHealthyPercent = a} :: DeploymentConfiguration)++instance Data.FromJSON DeploymentConfiguration where+ parseJSON =+ Data.withObject+ "DeploymentConfiguration"+ ( \x ->+ DeploymentConfiguration'+ Prelude.<$> (x Data..:? "alarms")+ Prelude.<*> (x Data..:? "deploymentCircuitBreaker")+ Prelude.<*> (x Data..:? "maximumPercent")+ Prelude.<*> (x Data..:? "minimumHealthyPercent")+ )++instance Prelude.Hashable DeploymentConfiguration where+ hashWithSalt _salt DeploymentConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` alarms+ `Prelude.hashWithSalt` deploymentCircuitBreaker+ `Prelude.hashWithSalt` maximumPercent+ `Prelude.hashWithSalt` minimumHealthyPercent++instance Prelude.NFData DeploymentConfiguration where+ rnf DeploymentConfiguration' {..} =+ Prelude.rnf alarms+ `Prelude.seq` Prelude.rnf deploymentCircuitBreaker+ `Prelude.seq` Prelude.rnf maximumPercent+ `Prelude.seq` Prelude.rnf minimumHealthyPercent++instance Data.ToJSON DeploymentConfiguration where+ toJSON DeploymentConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("alarms" Data..=) Prelude.<$> alarms,+ ("deploymentCircuitBreaker" Data..=)+ Prelude.<$> deploymentCircuitBreaker,+ ("maximumPercent" Data..=)+ Prelude.<$> maximumPercent,+ ("minimumHealthyPercent" Data..=)+ Prelude.<$> minimumHealthyPercent+ ]+ )
+ gen/Amazonka/ECS/Types/DeploymentController.hs view
@@ -0,0 +1,140 @@+{-# 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.ECS.Types.DeploymentController+-- 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.ECS.Types.DeploymentController where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.DeploymentControllerType+import qualified Amazonka.Prelude as Prelude++-- | The deployment controller to use for the service. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html Amazon ECS deployment types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newDeploymentController' smart constructor.+data DeploymentController = DeploymentController'+ { -- | The deployment controller type to use.+ --+ -- There are three deployment controller types available:+ --+ -- [ECS]+ -- The rolling update (@ECS@) deployment type involves replacing the+ -- current running version of the container with the latest version.+ -- The number of containers Amazon ECS adds or removes from the service+ -- during a rolling update is controlled by adjusting the minimum and+ -- maximum number of healthy tasks allowed during a service deployment,+ -- as specified in the DeploymentConfiguration.+ --+ -- [CODE_DEPLOY]+ -- The blue\/green (@CODE_DEPLOY@) deployment type uses the blue\/green+ -- deployment model powered by CodeDeploy, which allows you to verify a+ -- new deployment of a service before sending production traffic to it.+ --+ -- [EXTERNAL]+ -- The external (@EXTERNAL@) deployment type enables you to use any+ -- third-party deployment controller for full control over the+ -- deployment process for an Amazon ECS service.+ type' :: DeploymentControllerType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeploymentController' 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:+--+-- 'type'', 'deploymentController_type' - The deployment controller type to use.+--+-- There are three deployment controller types available:+--+-- [ECS]+-- The rolling update (@ECS@) deployment type involves replacing the+-- current running version of the container with the latest version.+-- The number of containers Amazon ECS adds or removes from the service+-- during a rolling update is controlled by adjusting the minimum and+-- maximum number of healthy tasks allowed during a service deployment,+-- as specified in the DeploymentConfiguration.+--+-- [CODE_DEPLOY]+-- The blue\/green (@CODE_DEPLOY@) deployment type uses the blue\/green+-- deployment model powered by CodeDeploy, which allows you to verify a+-- new deployment of a service before sending production traffic to it.+--+-- [EXTERNAL]+-- The external (@EXTERNAL@) deployment type enables you to use any+-- third-party deployment controller for full control over the+-- deployment process for an Amazon ECS service.+newDeploymentController ::+ -- | 'type''+ DeploymentControllerType ->+ DeploymentController+newDeploymentController pType_ =+ DeploymentController' {type' = pType_}++-- | The deployment controller type to use.+--+-- There are three deployment controller types available:+--+-- [ECS]+-- The rolling update (@ECS@) deployment type involves replacing the+-- current running version of the container with the latest version.+-- The number of containers Amazon ECS adds or removes from the service+-- during a rolling update is controlled by adjusting the minimum and+-- maximum number of healthy tasks allowed during a service deployment,+-- as specified in the DeploymentConfiguration.+--+-- [CODE_DEPLOY]+-- The blue\/green (@CODE_DEPLOY@) deployment type uses the blue\/green+-- deployment model powered by CodeDeploy, which allows you to verify a+-- new deployment of a service before sending production traffic to it.+--+-- [EXTERNAL]+-- The external (@EXTERNAL@) deployment type enables you to use any+-- third-party deployment controller for full control over the+-- deployment process for an Amazon ECS service.+deploymentController_type :: Lens.Lens' DeploymentController DeploymentControllerType+deploymentController_type = Lens.lens (\DeploymentController' {type'} -> type') (\s@DeploymentController' {} a -> s {type' = a} :: DeploymentController)++instance Data.FromJSON DeploymentController where+ parseJSON =+ Data.withObject+ "DeploymentController"+ ( \x ->+ DeploymentController' Prelude.<$> (x Data..: "type")+ )++instance Prelude.Hashable DeploymentController where+ hashWithSalt _salt DeploymentController' {..} =+ _salt `Prelude.hashWithSalt` type'++instance Prelude.NFData DeploymentController where+ rnf DeploymentController' {..} = Prelude.rnf type'++instance Data.ToJSON DeploymentController where+ toJSON DeploymentController' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("type" Data..= type')]+ )
+ gen/Amazonka/ECS/Types/DeploymentControllerType.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.DeploymentControllerType+-- 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.ECS.Types.DeploymentControllerType+ ( DeploymentControllerType+ ( ..,+ DeploymentControllerType_CODE_DEPLOY,+ DeploymentControllerType_ECS,+ DeploymentControllerType_EXTERNAL+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype DeploymentControllerType = DeploymentControllerType'+ { fromDeploymentControllerType ::+ 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 DeploymentControllerType_CODE_DEPLOY :: DeploymentControllerType+pattern DeploymentControllerType_CODE_DEPLOY = DeploymentControllerType' "CODE_DEPLOY"++pattern DeploymentControllerType_ECS :: DeploymentControllerType+pattern DeploymentControllerType_ECS = DeploymentControllerType' "ECS"++pattern DeploymentControllerType_EXTERNAL :: DeploymentControllerType+pattern DeploymentControllerType_EXTERNAL = DeploymentControllerType' "EXTERNAL"++{-# COMPLETE+ DeploymentControllerType_CODE_DEPLOY,+ DeploymentControllerType_ECS,+ DeploymentControllerType_EXTERNAL,+ DeploymentControllerType'+ #-}
+ gen/Amazonka/ECS/Types/DeploymentRolloutState.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.DeploymentRolloutState+-- 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.ECS.Types.DeploymentRolloutState+ ( DeploymentRolloutState+ ( ..,+ DeploymentRolloutState_COMPLETED,+ DeploymentRolloutState_FAILED,+ DeploymentRolloutState_IN_PROGRESS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype DeploymentRolloutState = DeploymentRolloutState'+ { fromDeploymentRolloutState ::+ 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 DeploymentRolloutState_COMPLETED :: DeploymentRolloutState+pattern DeploymentRolloutState_COMPLETED = DeploymentRolloutState' "COMPLETED"++pattern DeploymentRolloutState_FAILED :: DeploymentRolloutState+pattern DeploymentRolloutState_FAILED = DeploymentRolloutState' "FAILED"++pattern DeploymentRolloutState_IN_PROGRESS :: DeploymentRolloutState+pattern DeploymentRolloutState_IN_PROGRESS = DeploymentRolloutState' "IN_PROGRESS"++{-# COMPLETE+ DeploymentRolloutState_COMPLETED,+ DeploymentRolloutState_FAILED,+ DeploymentRolloutState_IN_PROGRESS,+ DeploymentRolloutState'+ #-}
+ gen/Amazonka/ECS/Types/DesiredStatus.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.DesiredStatus+-- 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.ECS.Types.DesiredStatus+ ( DesiredStatus+ ( ..,+ DesiredStatus_PENDING,+ DesiredStatus_RUNNING,+ DesiredStatus_STOPPED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype DesiredStatus = DesiredStatus'+ { fromDesiredStatus ::+ 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 DesiredStatus_PENDING :: DesiredStatus+pattern DesiredStatus_PENDING = DesiredStatus' "PENDING"++pattern DesiredStatus_RUNNING :: DesiredStatus+pattern DesiredStatus_RUNNING = DesiredStatus' "RUNNING"++pattern DesiredStatus_STOPPED :: DesiredStatus+pattern DesiredStatus_STOPPED = DesiredStatus' "STOPPED"++{-# COMPLETE+ DesiredStatus_PENDING,+ DesiredStatus_RUNNING,+ DesiredStatus_STOPPED,+ DesiredStatus'+ #-}
+ gen/Amazonka/ECS/Types/Device.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.ECS.Types.Device+-- 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.ECS.Types.Device where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.DeviceCgroupPermission+import qualified Amazonka.Prelude as Prelude++-- | An object representing a container instance host device.+--+-- /See:/ 'newDevice' smart constructor.+data Device = Device'+ { -- | The path inside the container at which to expose the host device.+ containerPath :: Prelude.Maybe Prelude.Text,+ -- | The explicit permissions to provide to the container for the device. By+ -- default, the container has permissions for @read@, @write@, and @mknod@+ -- for the device.+ permissions :: Prelude.Maybe [DeviceCgroupPermission],+ -- | The path for the device on the host container instance.+ hostPath :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Device' 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:+--+-- 'containerPath', 'device_containerPath' - The path inside the container at which to expose the host device.+--+-- 'permissions', 'device_permissions' - The explicit permissions to provide to the container for the device. By+-- default, the container has permissions for @read@, @write@, and @mknod@+-- for the device.+--+-- 'hostPath', 'device_hostPath' - The path for the device on the host container instance.+newDevice ::+ -- | 'hostPath'+ Prelude.Text ->+ Device+newDevice pHostPath_ =+ Device'+ { containerPath = Prelude.Nothing,+ permissions = Prelude.Nothing,+ hostPath = pHostPath_+ }++-- | The path inside the container at which to expose the host device.+device_containerPath :: Lens.Lens' Device (Prelude.Maybe Prelude.Text)+device_containerPath = Lens.lens (\Device' {containerPath} -> containerPath) (\s@Device' {} a -> s {containerPath = a} :: Device)++-- | The explicit permissions to provide to the container for the device. By+-- default, the container has permissions for @read@, @write@, and @mknod@+-- for the device.+device_permissions :: Lens.Lens' Device (Prelude.Maybe [DeviceCgroupPermission])+device_permissions = Lens.lens (\Device' {permissions} -> permissions) (\s@Device' {} a -> s {permissions = a} :: Device) Prelude.. Lens.mapping Lens.coerced++-- | The path for the device on the host container instance.+device_hostPath :: Lens.Lens' Device Prelude.Text+device_hostPath = Lens.lens (\Device' {hostPath} -> hostPath) (\s@Device' {} a -> s {hostPath = a} :: Device)++instance Data.FromJSON Device where+ parseJSON =+ Data.withObject+ "Device"+ ( \x ->+ Device'+ Prelude.<$> (x Data..:? "containerPath")+ Prelude.<*> (x Data..:? "permissions" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "hostPath")+ )++instance Prelude.Hashable Device where+ hashWithSalt _salt Device' {..} =+ _salt+ `Prelude.hashWithSalt` containerPath+ `Prelude.hashWithSalt` permissions+ `Prelude.hashWithSalt` hostPath++instance Prelude.NFData Device where+ rnf Device' {..} =+ Prelude.rnf containerPath+ `Prelude.seq` Prelude.rnf permissions+ `Prelude.seq` Prelude.rnf hostPath++instance Data.ToJSON Device where+ toJSON Device' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("containerPath" Data..=) Prelude.<$> containerPath,+ ("permissions" Data..=) Prelude.<$> permissions,+ Prelude.Just ("hostPath" Data..= hostPath)+ ]+ )
+ gen/Amazonka/ECS/Types/DeviceCgroupPermission.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.DeviceCgroupPermission+-- 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.ECS.Types.DeviceCgroupPermission+ ( DeviceCgroupPermission+ ( ..,+ DeviceCgroupPermission_Mknod,+ DeviceCgroupPermission_Read,+ DeviceCgroupPermission_Write+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype DeviceCgroupPermission = DeviceCgroupPermission'+ { fromDeviceCgroupPermission ::+ 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 DeviceCgroupPermission_Mknod :: DeviceCgroupPermission+pattern DeviceCgroupPermission_Mknod = DeviceCgroupPermission' "mknod"++pattern DeviceCgroupPermission_Read :: DeviceCgroupPermission+pattern DeviceCgroupPermission_Read = DeviceCgroupPermission' "read"++pattern DeviceCgroupPermission_Write :: DeviceCgroupPermission+pattern DeviceCgroupPermission_Write = DeviceCgroupPermission' "write"++{-# COMPLETE+ DeviceCgroupPermission_Mknod,+ DeviceCgroupPermission_Read,+ DeviceCgroupPermission_Write,+ DeviceCgroupPermission'+ #-}
+ gen/Amazonka/ECS/Types/DockerVolumeConfiguration.hs view
@@ -0,0 +1,227 @@+{-# 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.ECS.Types.DockerVolumeConfiguration+-- 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.ECS.Types.DockerVolumeConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.Scope+import qualified Amazonka.Prelude as Prelude++-- | This parameter is specified when you\'re using Docker volumes. Docker+-- volumes are only supported when you\'re using the EC2 launch type.+-- Windows containers only support the use of the @local@ driver. To use+-- bind mounts, specify a @host@ instead.+--+-- /See:/ 'newDockerVolumeConfiguration' smart constructor.+data DockerVolumeConfiguration = DockerVolumeConfiguration'+ { -- | If this value is @true@, the Docker volume is created if it doesn\'t+ -- already exist.+ --+ -- This field is only used if the @scope@ is @shared@.+ autoprovision :: Prelude.Maybe Prelude.Bool,+ -- | The Docker volume driver to use. The driver value must match the driver+ -- name provided by Docker because it is used for task placement. If the+ -- driver was installed using the Docker plugin CLI, use @docker plugin ls@+ -- to retrieve the driver name from your container instance. If the driver+ -- was installed using another method, use Docker plugin discovery to+ -- retrieve the driver name. For more information, see+ -- <https://docs.docker.com/engine/extend/plugin_api/#plugin-discovery Docker plugin discovery>.+ -- This parameter maps to @Driver@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate Create a volume>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @xxdriver@ option to+ -- <https://docs.docker.com/engine/reference/commandline/volume_create/ docker volume create>.+ driver :: Prelude.Maybe Prelude.Text,+ -- | A map of Docker driver-specific options passed through. This parameter+ -- maps to @DriverOpts@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate Create a volume>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @xxopt@ option to+ -- <https://docs.docker.com/engine/reference/commandline/volume_create/ docker volume create>.+ driverOpts :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | Custom metadata to add to your Docker volume. This parameter maps to+ -- @Labels@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate Create a volume>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @xxlabel@ option to+ -- <https://docs.docker.com/engine/reference/commandline/volume_create/ docker volume create>.+ labels :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The scope for the Docker volume that determines its lifecycle. Docker+ -- volumes that are scoped to a @task@ are automatically provisioned when+ -- the task starts and destroyed when the task stops. Docker volumes that+ -- are scoped as @shared@ persist after the task stops.+ scope :: Prelude.Maybe Scope+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DockerVolumeConfiguration' 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:+--+-- 'autoprovision', 'dockerVolumeConfiguration_autoprovision' - If this value is @true@, the Docker volume is created if it doesn\'t+-- already exist.+--+-- This field is only used if the @scope@ is @shared@.+--+-- 'driver', 'dockerVolumeConfiguration_driver' - The Docker volume driver to use. The driver value must match the driver+-- name provided by Docker because it is used for task placement. If the+-- driver was installed using the Docker plugin CLI, use @docker plugin ls@+-- to retrieve the driver name from your container instance. If the driver+-- was installed using another method, use Docker plugin discovery to+-- retrieve the driver name. For more information, see+-- <https://docs.docker.com/engine/extend/plugin_api/#plugin-discovery Docker plugin discovery>.+-- This parameter maps to @Driver@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate Create a volume>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @xxdriver@ option to+-- <https://docs.docker.com/engine/reference/commandline/volume_create/ docker volume create>.+--+-- 'driverOpts', 'dockerVolumeConfiguration_driverOpts' - A map of Docker driver-specific options passed through. This parameter+-- maps to @DriverOpts@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate Create a volume>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @xxopt@ option to+-- <https://docs.docker.com/engine/reference/commandline/volume_create/ docker volume create>.+--+-- 'labels', 'dockerVolumeConfiguration_labels' - Custom metadata to add to your Docker volume. This parameter maps to+-- @Labels@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate Create a volume>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @xxlabel@ option to+-- <https://docs.docker.com/engine/reference/commandline/volume_create/ docker volume create>.+--+-- 'scope', 'dockerVolumeConfiguration_scope' - The scope for the Docker volume that determines its lifecycle. Docker+-- volumes that are scoped to a @task@ are automatically provisioned when+-- the task starts and destroyed when the task stops. Docker volumes that+-- are scoped as @shared@ persist after the task stops.+newDockerVolumeConfiguration ::+ DockerVolumeConfiguration+newDockerVolumeConfiguration =+ DockerVolumeConfiguration'+ { autoprovision =+ Prelude.Nothing,+ driver = Prelude.Nothing,+ driverOpts = Prelude.Nothing,+ labels = Prelude.Nothing,+ scope = Prelude.Nothing+ }++-- | If this value is @true@, the Docker volume is created if it doesn\'t+-- already exist.+--+-- This field is only used if the @scope@ is @shared@.+dockerVolumeConfiguration_autoprovision :: Lens.Lens' DockerVolumeConfiguration (Prelude.Maybe Prelude.Bool)+dockerVolumeConfiguration_autoprovision = Lens.lens (\DockerVolumeConfiguration' {autoprovision} -> autoprovision) (\s@DockerVolumeConfiguration' {} a -> s {autoprovision = a} :: DockerVolumeConfiguration)++-- | The Docker volume driver to use. The driver value must match the driver+-- name provided by Docker because it is used for task placement. If the+-- driver was installed using the Docker plugin CLI, use @docker plugin ls@+-- to retrieve the driver name from your container instance. If the driver+-- was installed using another method, use Docker plugin discovery to+-- retrieve the driver name. For more information, see+-- <https://docs.docker.com/engine/extend/plugin_api/#plugin-discovery Docker plugin discovery>.+-- This parameter maps to @Driver@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate Create a volume>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @xxdriver@ option to+-- <https://docs.docker.com/engine/reference/commandline/volume_create/ docker volume create>.+dockerVolumeConfiguration_driver :: Lens.Lens' DockerVolumeConfiguration (Prelude.Maybe Prelude.Text)+dockerVolumeConfiguration_driver = Lens.lens (\DockerVolumeConfiguration' {driver} -> driver) (\s@DockerVolumeConfiguration' {} a -> s {driver = a} :: DockerVolumeConfiguration)++-- | A map of Docker driver-specific options passed through. This parameter+-- maps to @DriverOpts@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate Create a volume>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @xxopt@ option to+-- <https://docs.docker.com/engine/reference/commandline/volume_create/ docker volume create>.+dockerVolumeConfiguration_driverOpts :: Lens.Lens' DockerVolumeConfiguration (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+dockerVolumeConfiguration_driverOpts = Lens.lens (\DockerVolumeConfiguration' {driverOpts} -> driverOpts) (\s@DockerVolumeConfiguration' {} a -> s {driverOpts = a} :: DockerVolumeConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | Custom metadata to add to your Docker volume. This parameter maps to+-- @Labels@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/VolumeCreate Create a volume>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @xxlabel@ option to+-- <https://docs.docker.com/engine/reference/commandline/volume_create/ docker volume create>.+dockerVolumeConfiguration_labels :: Lens.Lens' DockerVolumeConfiguration (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+dockerVolumeConfiguration_labels = Lens.lens (\DockerVolumeConfiguration' {labels} -> labels) (\s@DockerVolumeConfiguration' {} a -> s {labels = a} :: DockerVolumeConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | The scope for the Docker volume that determines its lifecycle. Docker+-- volumes that are scoped to a @task@ are automatically provisioned when+-- the task starts and destroyed when the task stops. Docker volumes that+-- are scoped as @shared@ persist after the task stops.+dockerVolumeConfiguration_scope :: Lens.Lens' DockerVolumeConfiguration (Prelude.Maybe Scope)+dockerVolumeConfiguration_scope = Lens.lens (\DockerVolumeConfiguration' {scope} -> scope) (\s@DockerVolumeConfiguration' {} a -> s {scope = a} :: DockerVolumeConfiguration)++instance Data.FromJSON DockerVolumeConfiguration where+ parseJSON =+ Data.withObject+ "DockerVolumeConfiguration"+ ( \x ->+ DockerVolumeConfiguration'+ Prelude.<$> (x Data..:? "autoprovision")+ Prelude.<*> (x Data..:? "driver")+ Prelude.<*> (x Data..:? "driverOpts" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "labels" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "scope")+ )++instance Prelude.Hashable DockerVolumeConfiguration where+ hashWithSalt _salt DockerVolumeConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` autoprovision+ `Prelude.hashWithSalt` driver+ `Prelude.hashWithSalt` driverOpts+ `Prelude.hashWithSalt` labels+ `Prelude.hashWithSalt` scope++instance Prelude.NFData DockerVolumeConfiguration where+ rnf DockerVolumeConfiguration' {..} =+ Prelude.rnf autoprovision+ `Prelude.seq` Prelude.rnf driver+ `Prelude.seq` Prelude.rnf driverOpts+ `Prelude.seq` Prelude.rnf labels+ `Prelude.seq` Prelude.rnf scope++instance Data.ToJSON DockerVolumeConfiguration where+ toJSON DockerVolumeConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("autoprovision" Data..=) Prelude.<$> autoprovision,+ ("driver" Data..=) Prelude.<$> driver,+ ("driverOpts" Data..=) Prelude.<$> driverOpts,+ ("labels" Data..=) Prelude.<$> labels,+ ("scope" Data..=) Prelude.<$> scope+ ]+ )
+ gen/Amazonka/ECS/Types/EFSAuthorizationConfig.hs view
@@ -0,0 +1,131 @@+{-# 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.ECS.Types.EFSAuthorizationConfig+-- 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.ECS.Types.EFSAuthorizationConfig where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.EFSAuthorizationConfigIAM+import qualified Amazonka.Prelude as Prelude++-- | The authorization configuration details for the Amazon EFS file system.+--+-- /See:/ 'newEFSAuthorizationConfig' smart constructor.+data EFSAuthorizationConfig = EFSAuthorizationConfig'+ { -- | The Amazon EFS access point ID to use. If an access point is specified,+ -- the root directory value specified in the @EFSVolumeConfiguration@ must+ -- either be omitted or set to @\/@ which will enforce the path set on the+ -- EFS access point. If an access point is used, transit encryption must be+ -- enabled in the @EFSVolumeConfiguration@. For more information, see+ -- <https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html Working with Amazon EFS access points>+ -- in the /Amazon Elastic File System User Guide/.+ accessPointId :: Prelude.Maybe Prelude.Text,+ -- | Determines whether to use the Amazon ECS task IAM role defined in a task+ -- definition when mounting the Amazon EFS file system. If enabled, transit+ -- encryption must be enabled in the @EFSVolumeConfiguration@. If this+ -- parameter is omitted, the default value of @DISABLED@ is used. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html#efs-volume-accesspoints Using Amazon EFS access points>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ iam :: Prelude.Maybe EFSAuthorizationConfigIAM+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EFSAuthorizationConfig' 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:+--+-- 'accessPointId', 'eFSAuthorizationConfig_accessPointId' - The Amazon EFS access point ID to use. If an access point is specified,+-- the root directory value specified in the @EFSVolumeConfiguration@ must+-- either be omitted or set to @\/@ which will enforce the path set on the+-- EFS access point. If an access point is used, transit encryption must be+-- enabled in the @EFSVolumeConfiguration@. For more information, see+-- <https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html Working with Amazon EFS access points>+-- in the /Amazon Elastic File System User Guide/.+--+-- 'iam', 'eFSAuthorizationConfig_iam' - Determines whether to use the Amazon ECS task IAM role defined in a task+-- definition when mounting the Amazon EFS file system. If enabled, transit+-- encryption must be enabled in the @EFSVolumeConfiguration@. If this+-- parameter is omitted, the default value of @DISABLED@ is used. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html#efs-volume-accesspoints Using Amazon EFS access points>+-- in the /Amazon Elastic Container Service Developer Guide/.+newEFSAuthorizationConfig ::+ EFSAuthorizationConfig+newEFSAuthorizationConfig =+ EFSAuthorizationConfig'+ { accessPointId =+ Prelude.Nothing,+ iam = Prelude.Nothing+ }++-- | The Amazon EFS access point ID to use. If an access point is specified,+-- the root directory value specified in the @EFSVolumeConfiguration@ must+-- either be omitted or set to @\/@ which will enforce the path set on the+-- EFS access point. If an access point is used, transit encryption must be+-- enabled in the @EFSVolumeConfiguration@. For more information, see+-- <https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html Working with Amazon EFS access points>+-- in the /Amazon Elastic File System User Guide/.+eFSAuthorizationConfig_accessPointId :: Lens.Lens' EFSAuthorizationConfig (Prelude.Maybe Prelude.Text)+eFSAuthorizationConfig_accessPointId = Lens.lens (\EFSAuthorizationConfig' {accessPointId} -> accessPointId) (\s@EFSAuthorizationConfig' {} a -> s {accessPointId = a} :: EFSAuthorizationConfig)++-- | Determines whether to use the Amazon ECS task IAM role defined in a task+-- definition when mounting the Amazon EFS file system. If enabled, transit+-- encryption must be enabled in the @EFSVolumeConfiguration@. If this+-- parameter is omitted, the default value of @DISABLED@ is used. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html#efs-volume-accesspoints Using Amazon EFS access points>+-- in the /Amazon Elastic Container Service Developer Guide/.+eFSAuthorizationConfig_iam :: Lens.Lens' EFSAuthorizationConfig (Prelude.Maybe EFSAuthorizationConfigIAM)+eFSAuthorizationConfig_iam = Lens.lens (\EFSAuthorizationConfig' {iam} -> iam) (\s@EFSAuthorizationConfig' {} a -> s {iam = a} :: EFSAuthorizationConfig)++instance Data.FromJSON EFSAuthorizationConfig where+ parseJSON =+ Data.withObject+ "EFSAuthorizationConfig"+ ( \x ->+ EFSAuthorizationConfig'+ Prelude.<$> (x Data..:? "accessPointId")+ Prelude.<*> (x Data..:? "iam")+ )++instance Prelude.Hashable EFSAuthorizationConfig where+ hashWithSalt _salt EFSAuthorizationConfig' {..} =+ _salt+ `Prelude.hashWithSalt` accessPointId+ `Prelude.hashWithSalt` iam++instance Prelude.NFData EFSAuthorizationConfig where+ rnf EFSAuthorizationConfig' {..} =+ Prelude.rnf accessPointId+ `Prelude.seq` Prelude.rnf iam++instance Data.ToJSON EFSAuthorizationConfig where+ toJSON EFSAuthorizationConfig' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("accessPointId" Data..=) Prelude.<$> accessPointId,+ ("iam" Data..=) Prelude.<$> iam+ ]+ )
+ gen/Amazonka/ECS/Types/EFSAuthorizationConfigIAM.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.ECS.Types.EFSAuthorizationConfigIAM+-- 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.ECS.Types.EFSAuthorizationConfigIAM+ ( EFSAuthorizationConfigIAM+ ( ..,+ EFSAuthorizationConfigIAM_DISABLED,+ EFSAuthorizationConfigIAM_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EFSAuthorizationConfigIAM = EFSAuthorizationConfigIAM'+ { fromEFSAuthorizationConfigIAM ::+ 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 EFSAuthorizationConfigIAM_DISABLED :: EFSAuthorizationConfigIAM+pattern EFSAuthorizationConfigIAM_DISABLED = EFSAuthorizationConfigIAM' "DISABLED"++pattern EFSAuthorizationConfigIAM_ENABLED :: EFSAuthorizationConfigIAM+pattern EFSAuthorizationConfigIAM_ENABLED = EFSAuthorizationConfigIAM' "ENABLED"++{-# COMPLETE+ EFSAuthorizationConfigIAM_DISABLED,+ EFSAuthorizationConfigIAM_ENABLED,+ EFSAuthorizationConfigIAM'+ #-}
+ gen/Amazonka/ECS/Types/EFSTransitEncryption.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.ECS.Types.EFSTransitEncryption+-- 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.ECS.Types.EFSTransitEncryption+ ( EFSTransitEncryption+ ( ..,+ EFSTransitEncryption_DISABLED,+ EFSTransitEncryption_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EFSTransitEncryption = EFSTransitEncryption'+ { fromEFSTransitEncryption ::+ 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 EFSTransitEncryption_DISABLED :: EFSTransitEncryption+pattern EFSTransitEncryption_DISABLED = EFSTransitEncryption' "DISABLED"++pattern EFSTransitEncryption_ENABLED :: EFSTransitEncryption+pattern EFSTransitEncryption_ENABLED = EFSTransitEncryption' "ENABLED"++{-# COMPLETE+ EFSTransitEncryption_DISABLED,+ EFSTransitEncryption_ENABLED,+ EFSTransitEncryption'+ #-}
+ gen/Amazonka/ECS/Types/EFSVolumeConfiguration.hs view
@@ -0,0 +1,197 @@+{-# 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.ECS.Types.EFSVolumeConfiguration+-- 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.ECS.Types.EFSVolumeConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.EFSAuthorizationConfig+import Amazonka.ECS.Types.EFSTransitEncryption+import qualified Amazonka.Prelude as Prelude++-- | This parameter is specified when you\'re using an Amazon Elastic File+-- System file system for task storage. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html Amazon EFS volumes>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newEFSVolumeConfiguration' smart constructor.+data EFSVolumeConfiguration = EFSVolumeConfiguration'+ { -- | The authorization configuration details for the Amazon EFS file system.+ authorizationConfig :: Prelude.Maybe EFSAuthorizationConfig,+ -- | The directory within the Amazon EFS file system to mount as the root+ -- directory inside the host. If this parameter is omitted, the root of the+ -- Amazon EFS volume will be used. Specifying @\/@ will have the same+ -- effect as omitting this parameter.+ --+ -- If an EFS access point is specified in the @authorizationConfig@, the+ -- root directory parameter must either be omitted or set to @\/@ which+ -- will enforce the path set on the EFS access point.+ rootDirectory :: Prelude.Maybe Prelude.Text,+ -- | Determines whether to use encryption for Amazon EFS data in transit+ -- between the Amazon ECS host and the Amazon EFS server. Transit+ -- encryption must be enabled if Amazon EFS IAM authorization is used. If+ -- this parameter is omitted, the default value of @DISABLED@ is used. For+ -- more information, see+ -- <https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html Encrypting data in transit>+ -- in the /Amazon Elastic File System User Guide/.+ transitEncryption :: Prelude.Maybe EFSTransitEncryption,+ -- | The port to use when sending encrypted data between the Amazon ECS host+ -- and the Amazon EFS server. If you do not specify a transit encryption+ -- port, it will use the port selection strategy that the Amazon EFS mount+ -- helper uses. For more information, see+ -- <https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html EFS mount helper>+ -- in the /Amazon Elastic File System User Guide/.+ transitEncryptionPort :: Prelude.Maybe Prelude.Int,+ -- | The Amazon EFS file system ID to use.+ fileSystemId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EFSVolumeConfiguration' 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:+--+-- 'authorizationConfig', 'eFSVolumeConfiguration_authorizationConfig' - The authorization configuration details for the Amazon EFS file system.+--+-- 'rootDirectory', 'eFSVolumeConfiguration_rootDirectory' - The directory within the Amazon EFS file system to mount as the root+-- directory inside the host. If this parameter is omitted, the root of the+-- Amazon EFS volume will be used. Specifying @\/@ will have the same+-- effect as omitting this parameter.+--+-- If an EFS access point is specified in the @authorizationConfig@, the+-- root directory parameter must either be omitted or set to @\/@ which+-- will enforce the path set on the EFS access point.+--+-- 'transitEncryption', 'eFSVolumeConfiguration_transitEncryption' - Determines whether to use encryption for Amazon EFS data in transit+-- between the Amazon ECS host and the Amazon EFS server. Transit+-- encryption must be enabled if Amazon EFS IAM authorization is used. If+-- this parameter is omitted, the default value of @DISABLED@ is used. For+-- more information, see+-- <https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html Encrypting data in transit>+-- in the /Amazon Elastic File System User Guide/.+--+-- 'transitEncryptionPort', 'eFSVolumeConfiguration_transitEncryptionPort' - The port to use when sending encrypted data between the Amazon ECS host+-- and the Amazon EFS server. If you do not specify a transit encryption+-- port, it will use the port selection strategy that the Amazon EFS mount+-- helper uses. For more information, see+-- <https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html EFS mount helper>+-- in the /Amazon Elastic File System User Guide/.+--+-- 'fileSystemId', 'eFSVolumeConfiguration_fileSystemId' - The Amazon EFS file system ID to use.+newEFSVolumeConfiguration ::+ -- | 'fileSystemId'+ Prelude.Text ->+ EFSVolumeConfiguration+newEFSVolumeConfiguration pFileSystemId_ =+ EFSVolumeConfiguration'+ { authorizationConfig =+ Prelude.Nothing,+ rootDirectory = Prelude.Nothing,+ transitEncryption = Prelude.Nothing,+ transitEncryptionPort = Prelude.Nothing,+ fileSystemId = pFileSystemId_+ }++-- | The authorization configuration details for the Amazon EFS file system.+eFSVolumeConfiguration_authorizationConfig :: Lens.Lens' EFSVolumeConfiguration (Prelude.Maybe EFSAuthorizationConfig)+eFSVolumeConfiguration_authorizationConfig = Lens.lens (\EFSVolumeConfiguration' {authorizationConfig} -> authorizationConfig) (\s@EFSVolumeConfiguration' {} a -> s {authorizationConfig = a} :: EFSVolumeConfiguration)++-- | The directory within the Amazon EFS file system to mount as the root+-- directory inside the host. If this parameter is omitted, the root of the+-- Amazon EFS volume will be used. Specifying @\/@ will have the same+-- effect as omitting this parameter.+--+-- If an EFS access point is specified in the @authorizationConfig@, the+-- root directory parameter must either be omitted or set to @\/@ which+-- will enforce the path set on the EFS access point.+eFSVolumeConfiguration_rootDirectory :: Lens.Lens' EFSVolumeConfiguration (Prelude.Maybe Prelude.Text)+eFSVolumeConfiguration_rootDirectory = Lens.lens (\EFSVolumeConfiguration' {rootDirectory} -> rootDirectory) (\s@EFSVolumeConfiguration' {} a -> s {rootDirectory = a} :: EFSVolumeConfiguration)++-- | Determines whether to use encryption for Amazon EFS data in transit+-- between the Amazon ECS host and the Amazon EFS server. Transit+-- encryption must be enabled if Amazon EFS IAM authorization is used. If+-- this parameter is omitted, the default value of @DISABLED@ is used. For+-- more information, see+-- <https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html Encrypting data in transit>+-- in the /Amazon Elastic File System User Guide/.+eFSVolumeConfiguration_transitEncryption :: Lens.Lens' EFSVolumeConfiguration (Prelude.Maybe EFSTransitEncryption)+eFSVolumeConfiguration_transitEncryption = Lens.lens (\EFSVolumeConfiguration' {transitEncryption} -> transitEncryption) (\s@EFSVolumeConfiguration' {} a -> s {transitEncryption = a} :: EFSVolumeConfiguration)++-- | The port to use when sending encrypted data between the Amazon ECS host+-- and the Amazon EFS server. If you do not specify a transit encryption+-- port, it will use the port selection strategy that the Amazon EFS mount+-- helper uses. For more information, see+-- <https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html EFS mount helper>+-- in the /Amazon Elastic File System User Guide/.+eFSVolumeConfiguration_transitEncryptionPort :: Lens.Lens' EFSVolumeConfiguration (Prelude.Maybe Prelude.Int)+eFSVolumeConfiguration_transitEncryptionPort = Lens.lens (\EFSVolumeConfiguration' {transitEncryptionPort} -> transitEncryptionPort) (\s@EFSVolumeConfiguration' {} a -> s {transitEncryptionPort = a} :: EFSVolumeConfiguration)++-- | The Amazon EFS file system ID to use.+eFSVolumeConfiguration_fileSystemId :: Lens.Lens' EFSVolumeConfiguration Prelude.Text+eFSVolumeConfiguration_fileSystemId = Lens.lens (\EFSVolumeConfiguration' {fileSystemId} -> fileSystemId) (\s@EFSVolumeConfiguration' {} a -> s {fileSystemId = a} :: EFSVolumeConfiguration)++instance Data.FromJSON EFSVolumeConfiguration where+ parseJSON =+ Data.withObject+ "EFSVolumeConfiguration"+ ( \x ->+ EFSVolumeConfiguration'+ Prelude.<$> (x Data..:? "authorizationConfig")+ Prelude.<*> (x Data..:? "rootDirectory")+ Prelude.<*> (x Data..:? "transitEncryption")+ Prelude.<*> (x Data..:? "transitEncryptionPort")+ Prelude.<*> (x Data..: "fileSystemId")+ )++instance Prelude.Hashable EFSVolumeConfiguration where+ hashWithSalt _salt EFSVolumeConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` authorizationConfig+ `Prelude.hashWithSalt` rootDirectory+ `Prelude.hashWithSalt` transitEncryption+ `Prelude.hashWithSalt` transitEncryptionPort+ `Prelude.hashWithSalt` fileSystemId++instance Prelude.NFData EFSVolumeConfiguration where+ rnf EFSVolumeConfiguration' {..} =+ Prelude.rnf authorizationConfig+ `Prelude.seq` Prelude.rnf rootDirectory+ `Prelude.seq` Prelude.rnf transitEncryption+ `Prelude.seq` Prelude.rnf transitEncryptionPort+ `Prelude.seq` Prelude.rnf fileSystemId++instance Data.ToJSON EFSVolumeConfiguration where+ toJSON EFSVolumeConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("authorizationConfig" Data..=)+ Prelude.<$> authorizationConfig,+ ("rootDirectory" Data..=) Prelude.<$> rootDirectory,+ ("transitEncryption" Data..=)+ Prelude.<$> transitEncryption,+ ("transitEncryptionPort" Data..=)+ Prelude.<$> transitEncryptionPort,+ Prelude.Just ("fileSystemId" Data..= fileSystemId)+ ]+ )
+ gen/Amazonka/ECS/Types/EnvironmentFile.hs view
@@ -0,0 +1,119 @@+{-# 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.ECS.Types.EnvironmentFile+-- 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.ECS.Types.EnvironmentFile where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.EnvironmentFileType+import qualified Amazonka.Prelude as Prelude++-- | A list of files containing the environment variables to pass to a+-- container. You can specify up to ten environment files. The file must+-- have a @.env@ file extension. Each line in an environment file should+-- contain an environment variable in @VARIABLE=VALUE@ format. Lines+-- beginning with @#@ are treated as comments and are ignored. For more+-- information about the environment variable file syntax, see+-- <https://docs.docker.com/compose/env-file/ Declare default environment variables in file>.+--+-- If there are environment variables specified using the @environment@+-- parameter in a container definition, they take precedence over the+-- variables contained within an environment file. If multiple environment+-- files are specified that contain the same variable, they\'re processed+-- from the top down. We recommend that you use unique variable names. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html Specifying environment variables>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- This parameter is only supported for tasks hosted on Fargate using the+-- following platform versions:+--+-- - Linux platform version @1.4.0@ or later.+--+-- - Windows platform version @1.0.0@ or later.+--+-- /See:/ 'newEnvironmentFile' smart constructor.+data EnvironmentFile = EnvironmentFile'+ { -- | The Amazon Resource Name (ARN) of the Amazon S3 object containing the+ -- environment variable file.+ value :: Prelude.Text,+ -- | The file type to use. The only supported value is @s3@.+ type' :: EnvironmentFileType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnvironmentFile' 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:+--+-- 'value', 'environmentFile_value' - The Amazon Resource Name (ARN) of the Amazon S3 object containing the+-- environment variable file.+--+-- 'type'', 'environmentFile_type' - The file type to use. The only supported value is @s3@.+newEnvironmentFile ::+ -- | 'value'+ Prelude.Text ->+ -- | 'type''+ EnvironmentFileType ->+ EnvironmentFile+newEnvironmentFile pValue_ pType_ =+ EnvironmentFile' {value = pValue_, type' = pType_}++-- | The Amazon Resource Name (ARN) of the Amazon S3 object containing the+-- environment variable file.+environmentFile_value :: Lens.Lens' EnvironmentFile Prelude.Text+environmentFile_value = Lens.lens (\EnvironmentFile' {value} -> value) (\s@EnvironmentFile' {} a -> s {value = a} :: EnvironmentFile)++-- | The file type to use. The only supported value is @s3@.+environmentFile_type :: Lens.Lens' EnvironmentFile EnvironmentFileType+environmentFile_type = Lens.lens (\EnvironmentFile' {type'} -> type') (\s@EnvironmentFile' {} a -> s {type' = a} :: EnvironmentFile)++instance Data.FromJSON EnvironmentFile where+ parseJSON =+ Data.withObject+ "EnvironmentFile"+ ( \x ->+ EnvironmentFile'+ Prelude.<$> (x Data..: "value")+ Prelude.<*> (x Data..: "type")+ )++instance Prelude.Hashable EnvironmentFile where+ hashWithSalt _salt EnvironmentFile' {..} =+ _salt+ `Prelude.hashWithSalt` value+ `Prelude.hashWithSalt` type'++instance Prelude.NFData EnvironmentFile where+ rnf EnvironmentFile' {..} =+ Prelude.rnf value `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON EnvironmentFile where+ toJSON EnvironmentFile' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("value" Data..= value),+ Prelude.Just ("type" Data..= type')+ ]+ )
+ gen/Amazonka/ECS/Types/EnvironmentFileType.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.EnvironmentFileType+-- 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.ECS.Types.EnvironmentFileType+ ( EnvironmentFileType+ ( ..,+ EnvironmentFileType_S3+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EnvironmentFileType = EnvironmentFileType'+ { fromEnvironmentFileType ::+ 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 EnvironmentFileType_S3 :: EnvironmentFileType+pattern EnvironmentFileType_S3 = EnvironmentFileType' "s3"++{-# COMPLETE+ EnvironmentFileType_S3,+ EnvironmentFileType'+ #-}
+ gen/Amazonka/ECS/Types/EphemeralStorage.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.ECS.Types.EphemeralStorage+-- 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.ECS.Types.EphemeralStorage 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++-- | The amount of ephemeral storage to allocate for the task. This parameter+-- is used to expand the total amount of ephemeral storage available,+-- beyond the default amount, for tasks hosted on Fargate. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html Fargate task storage>+-- in the /Amazon ECS User Guide for Fargate/.+--+-- This parameter is only supported for tasks hosted on Fargate using Linux+-- platform version @1.4.0@ or later. This parameter is not supported for+-- Windows containers on Fargate.+--+-- /See:/ 'newEphemeralStorage' smart constructor.+data EphemeralStorage = EphemeralStorage'+ { -- | The total amount, in GiB, of ephemeral storage to set for the task. The+ -- minimum supported value is @21@ GiB and the maximum supported value is+ -- @200@ GiB.+ sizeInGiB :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EphemeralStorage' 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:+--+-- 'sizeInGiB', 'ephemeralStorage_sizeInGiB' - The total amount, in GiB, of ephemeral storage to set for the task. The+-- minimum supported value is @21@ GiB and the maximum supported value is+-- @200@ GiB.+newEphemeralStorage ::+ -- | 'sizeInGiB'+ Prelude.Int ->+ EphemeralStorage+newEphemeralStorage pSizeInGiB_ =+ EphemeralStorage' {sizeInGiB = pSizeInGiB_}++-- | The total amount, in GiB, of ephemeral storage to set for the task. The+-- minimum supported value is @21@ GiB and the maximum supported value is+-- @200@ GiB.+ephemeralStorage_sizeInGiB :: Lens.Lens' EphemeralStorage Prelude.Int+ephemeralStorage_sizeInGiB = Lens.lens (\EphemeralStorage' {sizeInGiB} -> sizeInGiB) (\s@EphemeralStorage' {} a -> s {sizeInGiB = a} :: EphemeralStorage)++instance Data.FromJSON EphemeralStorage where+ parseJSON =+ Data.withObject+ "EphemeralStorage"+ ( \x ->+ EphemeralStorage'+ Prelude.<$> (x Data..: "sizeInGiB")+ )++instance Prelude.Hashable EphemeralStorage where+ hashWithSalt _salt EphemeralStorage' {..} =+ _salt `Prelude.hashWithSalt` sizeInGiB++instance Prelude.NFData EphemeralStorage where+ rnf EphemeralStorage' {..} = Prelude.rnf sizeInGiB++instance Data.ToJSON EphemeralStorage where+ toJSON EphemeralStorage' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("sizeInGiB" Data..= sizeInGiB)]+ )
+ gen/Amazonka/ECS/Types/ExecuteCommandConfiguration.hs view
@@ -0,0 +1,155 @@+{-# 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.ECS.Types.ExecuteCommandConfiguration+-- 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.ECS.Types.ExecuteCommandConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ExecuteCommandLogConfiguration+import Amazonka.ECS.Types.ExecuteCommandLogging+import qualified Amazonka.Prelude as Prelude++-- | The details of the execute command configuration.+--+-- /See:/ 'newExecuteCommandConfiguration' smart constructor.+data ExecuteCommandConfiguration = ExecuteCommandConfiguration'+ { -- | Specify an Key Management Service key ID to encrypt the data between the+ -- local client and the container.+ kmsKeyId :: Prelude.Maybe Prelude.Text,+ -- | The log configuration for the results of the execute command actions.+ -- The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When+ -- @logging=OVERRIDE@ is specified, a @logConfiguration@ must be provided.+ logConfiguration :: Prelude.Maybe ExecuteCommandLogConfiguration,+ -- | The log setting to use for redirecting logs for your execute command+ -- results. The following log settings are available.+ --+ -- - @NONE@: The execute command session is not logged.+ --+ -- - @DEFAULT@: The @awslogs@ configuration in the task definition is+ -- used. If no logging parameter is specified, it defaults to this+ -- value. If no @awslogs@ log driver is configured in the task+ -- definition, the output won\'t be logged.+ --+ -- - @OVERRIDE@: Specify the logging details as a part of+ -- @logConfiguration@. If the @OVERRIDE@ logging option is specified,+ -- the @logConfiguration@ is required.+ logging :: Prelude.Maybe ExecuteCommandLogging+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ExecuteCommandConfiguration' 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:+--+-- 'kmsKeyId', 'executeCommandConfiguration_kmsKeyId' - Specify an Key Management Service key ID to encrypt the data between the+-- local client and the container.+--+-- 'logConfiguration', 'executeCommandConfiguration_logConfiguration' - The log configuration for the results of the execute command actions.+-- The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When+-- @logging=OVERRIDE@ is specified, a @logConfiguration@ must be provided.+--+-- 'logging', 'executeCommandConfiguration_logging' - The log setting to use for redirecting logs for your execute command+-- results. The following log settings are available.+--+-- - @NONE@: The execute command session is not logged.+--+-- - @DEFAULT@: The @awslogs@ configuration in the task definition is+-- used. If no logging parameter is specified, it defaults to this+-- value. If no @awslogs@ log driver is configured in the task+-- definition, the output won\'t be logged.+--+-- - @OVERRIDE@: Specify the logging details as a part of+-- @logConfiguration@. If the @OVERRIDE@ logging option is specified,+-- the @logConfiguration@ is required.+newExecuteCommandConfiguration ::+ ExecuteCommandConfiguration+newExecuteCommandConfiguration =+ ExecuteCommandConfiguration'+ { kmsKeyId =+ Prelude.Nothing,+ logConfiguration = Prelude.Nothing,+ logging = Prelude.Nothing+ }++-- | Specify an Key Management Service key ID to encrypt the data between the+-- local client and the container.+executeCommandConfiguration_kmsKeyId :: Lens.Lens' ExecuteCommandConfiguration (Prelude.Maybe Prelude.Text)+executeCommandConfiguration_kmsKeyId = Lens.lens (\ExecuteCommandConfiguration' {kmsKeyId} -> kmsKeyId) (\s@ExecuteCommandConfiguration' {} a -> s {kmsKeyId = a} :: ExecuteCommandConfiguration)++-- | The log configuration for the results of the execute command actions.+-- The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When+-- @logging=OVERRIDE@ is specified, a @logConfiguration@ must be provided.+executeCommandConfiguration_logConfiguration :: Lens.Lens' ExecuteCommandConfiguration (Prelude.Maybe ExecuteCommandLogConfiguration)+executeCommandConfiguration_logConfiguration = Lens.lens (\ExecuteCommandConfiguration' {logConfiguration} -> logConfiguration) (\s@ExecuteCommandConfiguration' {} a -> s {logConfiguration = a} :: ExecuteCommandConfiguration)++-- | The log setting to use for redirecting logs for your execute command+-- results. The following log settings are available.+--+-- - @NONE@: The execute command session is not logged.+--+-- - @DEFAULT@: The @awslogs@ configuration in the task definition is+-- used. If no logging parameter is specified, it defaults to this+-- value. If no @awslogs@ log driver is configured in the task+-- definition, the output won\'t be logged.+--+-- - @OVERRIDE@: Specify the logging details as a part of+-- @logConfiguration@. If the @OVERRIDE@ logging option is specified,+-- the @logConfiguration@ is required.+executeCommandConfiguration_logging :: Lens.Lens' ExecuteCommandConfiguration (Prelude.Maybe ExecuteCommandLogging)+executeCommandConfiguration_logging = Lens.lens (\ExecuteCommandConfiguration' {logging} -> logging) (\s@ExecuteCommandConfiguration' {} a -> s {logging = a} :: ExecuteCommandConfiguration)++instance Data.FromJSON ExecuteCommandConfiguration where+ parseJSON =+ Data.withObject+ "ExecuteCommandConfiguration"+ ( \x ->+ ExecuteCommandConfiguration'+ Prelude.<$> (x Data..:? "kmsKeyId")+ Prelude.<*> (x Data..:? "logConfiguration")+ Prelude.<*> (x Data..:? "logging")+ )++instance Prelude.Hashable ExecuteCommandConfiguration where+ hashWithSalt _salt ExecuteCommandConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` kmsKeyId+ `Prelude.hashWithSalt` logConfiguration+ `Prelude.hashWithSalt` logging++instance Prelude.NFData ExecuteCommandConfiguration where+ rnf ExecuteCommandConfiguration' {..} =+ Prelude.rnf kmsKeyId+ `Prelude.seq` Prelude.rnf logConfiguration+ `Prelude.seq` Prelude.rnf logging++instance Data.ToJSON ExecuteCommandConfiguration where+ toJSON ExecuteCommandConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("kmsKeyId" Data..=) Prelude.<$> kmsKeyId,+ ("logConfiguration" Data..=)+ Prelude.<$> logConfiguration,+ ("logging" Data..=) Prelude.<$> logging+ ]+ )
+ gen/Amazonka/ECS/Types/ExecuteCommandLogConfiguration.hs view
@@ -0,0 +1,163 @@+{-# 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.ECS.Types.ExecuteCommandLogConfiguration+-- 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.ECS.Types.ExecuteCommandLogConfiguration 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++-- | The log configuration for the results of the execute command actions.+-- The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.+--+-- /See:/ 'newExecuteCommandLogConfiguration' smart constructor.+data ExecuteCommandLogConfiguration = ExecuteCommandLogConfiguration'+ { -- | Determines whether to use encryption on the CloudWatch logs. If not+ -- specified, encryption will be disabled.+ cloudWatchEncryptionEnabled :: Prelude.Maybe Prelude.Bool,+ -- | The name of the CloudWatch log group to send logs to.+ --+ -- The CloudWatch log group must already be created.+ cloudWatchLogGroupName :: Prelude.Maybe Prelude.Text,+ -- | The name of the S3 bucket to send logs to.+ --+ -- The S3 bucket must already be created.+ s3BucketName :: Prelude.Maybe Prelude.Text,+ -- | Determines whether to use encryption on the S3 logs. If not specified,+ -- encryption is not used.+ s3EncryptionEnabled :: Prelude.Maybe Prelude.Bool,+ -- | An optional folder in the S3 bucket to place logs in.+ s3KeyPrefix :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ExecuteCommandLogConfiguration' 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:+--+-- 'cloudWatchEncryptionEnabled', 'executeCommandLogConfiguration_cloudWatchEncryptionEnabled' - Determines whether to use encryption on the CloudWatch logs. If not+-- specified, encryption will be disabled.+--+-- 'cloudWatchLogGroupName', 'executeCommandLogConfiguration_cloudWatchLogGroupName' - The name of the CloudWatch log group to send logs to.+--+-- The CloudWatch log group must already be created.+--+-- 's3BucketName', 'executeCommandLogConfiguration_s3BucketName' - The name of the S3 bucket to send logs to.+--+-- The S3 bucket must already be created.+--+-- 's3EncryptionEnabled', 'executeCommandLogConfiguration_s3EncryptionEnabled' - Determines whether to use encryption on the S3 logs. If not specified,+-- encryption is not used.+--+-- 's3KeyPrefix', 'executeCommandLogConfiguration_s3KeyPrefix' - An optional folder in the S3 bucket to place logs in.+newExecuteCommandLogConfiguration ::+ ExecuteCommandLogConfiguration+newExecuteCommandLogConfiguration =+ ExecuteCommandLogConfiguration'+ { cloudWatchEncryptionEnabled =+ Prelude.Nothing,+ cloudWatchLogGroupName = Prelude.Nothing,+ s3BucketName = Prelude.Nothing,+ s3EncryptionEnabled = Prelude.Nothing,+ s3KeyPrefix = Prelude.Nothing+ }++-- | Determines whether to use encryption on the CloudWatch logs. If not+-- specified, encryption will be disabled.+executeCommandLogConfiguration_cloudWatchEncryptionEnabled :: Lens.Lens' ExecuteCommandLogConfiguration (Prelude.Maybe Prelude.Bool)+executeCommandLogConfiguration_cloudWatchEncryptionEnabled = Lens.lens (\ExecuteCommandLogConfiguration' {cloudWatchEncryptionEnabled} -> cloudWatchEncryptionEnabled) (\s@ExecuteCommandLogConfiguration' {} a -> s {cloudWatchEncryptionEnabled = a} :: ExecuteCommandLogConfiguration)++-- | The name of the CloudWatch log group to send logs to.+--+-- The CloudWatch log group must already be created.+executeCommandLogConfiguration_cloudWatchLogGroupName :: Lens.Lens' ExecuteCommandLogConfiguration (Prelude.Maybe Prelude.Text)+executeCommandLogConfiguration_cloudWatchLogGroupName = Lens.lens (\ExecuteCommandLogConfiguration' {cloudWatchLogGroupName} -> cloudWatchLogGroupName) (\s@ExecuteCommandLogConfiguration' {} a -> s {cloudWatchLogGroupName = a} :: ExecuteCommandLogConfiguration)++-- | The name of the S3 bucket to send logs to.+--+-- The S3 bucket must already be created.+executeCommandLogConfiguration_s3BucketName :: Lens.Lens' ExecuteCommandLogConfiguration (Prelude.Maybe Prelude.Text)+executeCommandLogConfiguration_s3BucketName = Lens.lens (\ExecuteCommandLogConfiguration' {s3BucketName} -> s3BucketName) (\s@ExecuteCommandLogConfiguration' {} a -> s {s3BucketName = a} :: ExecuteCommandLogConfiguration)++-- | Determines whether to use encryption on the S3 logs. If not specified,+-- encryption is not used.+executeCommandLogConfiguration_s3EncryptionEnabled :: Lens.Lens' ExecuteCommandLogConfiguration (Prelude.Maybe Prelude.Bool)+executeCommandLogConfiguration_s3EncryptionEnabled = Lens.lens (\ExecuteCommandLogConfiguration' {s3EncryptionEnabled} -> s3EncryptionEnabled) (\s@ExecuteCommandLogConfiguration' {} a -> s {s3EncryptionEnabled = a} :: ExecuteCommandLogConfiguration)++-- | An optional folder in the S3 bucket to place logs in.+executeCommandLogConfiguration_s3KeyPrefix :: Lens.Lens' ExecuteCommandLogConfiguration (Prelude.Maybe Prelude.Text)+executeCommandLogConfiguration_s3KeyPrefix = Lens.lens (\ExecuteCommandLogConfiguration' {s3KeyPrefix} -> s3KeyPrefix) (\s@ExecuteCommandLogConfiguration' {} a -> s {s3KeyPrefix = a} :: ExecuteCommandLogConfiguration)++instance Data.FromJSON ExecuteCommandLogConfiguration where+ parseJSON =+ Data.withObject+ "ExecuteCommandLogConfiguration"+ ( \x ->+ ExecuteCommandLogConfiguration'+ Prelude.<$> (x Data..:? "cloudWatchEncryptionEnabled")+ Prelude.<*> (x Data..:? "cloudWatchLogGroupName")+ Prelude.<*> (x Data..:? "s3BucketName")+ Prelude.<*> (x Data..:? "s3EncryptionEnabled")+ Prelude.<*> (x Data..:? "s3KeyPrefix")+ )++instance+ Prelude.Hashable+ ExecuteCommandLogConfiguration+ where+ hashWithSalt+ _salt+ ExecuteCommandLogConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` cloudWatchEncryptionEnabled+ `Prelude.hashWithSalt` cloudWatchLogGroupName+ `Prelude.hashWithSalt` s3BucketName+ `Prelude.hashWithSalt` s3EncryptionEnabled+ `Prelude.hashWithSalt` s3KeyPrefix++instance+ Prelude.NFData+ ExecuteCommandLogConfiguration+ where+ rnf ExecuteCommandLogConfiguration' {..} =+ Prelude.rnf cloudWatchEncryptionEnabled+ `Prelude.seq` Prelude.rnf cloudWatchLogGroupName+ `Prelude.seq` Prelude.rnf s3BucketName+ `Prelude.seq` Prelude.rnf s3EncryptionEnabled+ `Prelude.seq` Prelude.rnf s3KeyPrefix++instance Data.ToJSON ExecuteCommandLogConfiguration where+ toJSON ExecuteCommandLogConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cloudWatchEncryptionEnabled" Data..=)+ Prelude.<$> cloudWatchEncryptionEnabled,+ ("cloudWatchLogGroupName" Data..=)+ Prelude.<$> cloudWatchLogGroupName,+ ("s3BucketName" Data..=) Prelude.<$> s3BucketName,+ ("s3EncryptionEnabled" Data..=)+ Prelude.<$> s3EncryptionEnabled,+ ("s3KeyPrefix" Data..=) Prelude.<$> s3KeyPrefix+ ]+ )
+ gen/Amazonka/ECS/Types/ExecuteCommandLogging.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.ExecuteCommandLogging+-- 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.ECS.Types.ExecuteCommandLogging+ ( ExecuteCommandLogging+ ( ..,+ ExecuteCommandLogging_DEFAULT,+ ExecuteCommandLogging_NONE,+ ExecuteCommandLogging_OVERRIDE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ExecuteCommandLogging = ExecuteCommandLogging'+ { fromExecuteCommandLogging ::+ 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 ExecuteCommandLogging_DEFAULT :: ExecuteCommandLogging+pattern ExecuteCommandLogging_DEFAULT = ExecuteCommandLogging' "DEFAULT"++pattern ExecuteCommandLogging_NONE :: ExecuteCommandLogging+pattern ExecuteCommandLogging_NONE = ExecuteCommandLogging' "NONE"++pattern ExecuteCommandLogging_OVERRIDE :: ExecuteCommandLogging+pattern ExecuteCommandLogging_OVERRIDE = ExecuteCommandLogging' "OVERRIDE"++{-# COMPLETE+ ExecuteCommandLogging_DEFAULT,+ ExecuteCommandLogging_NONE,+ ExecuteCommandLogging_OVERRIDE,+ ExecuteCommandLogging'+ #-}
+ gen/Amazonka/ECS/Types/FSxWindowsFileServerAuthorizationConfig.hs view
@@ -0,0 +1,139 @@+{-# 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.ECS.Types.FSxWindowsFileServerAuthorizationConfig+-- 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.ECS.Types.FSxWindowsFileServerAuthorizationConfig 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++-- | The authorization configuration details for Amazon FSx for Windows File+-- Server file system. See+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FSxWindowsFileServerVolumeConfiguration.html FSxWindowsFileServerVolumeConfiguration>+-- in the /Amazon ECS API Reference/.+--+-- For more information and the input format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html Amazon FSx for Windows File Server Volumes>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newFSxWindowsFileServerAuthorizationConfig' smart constructor.+data FSxWindowsFileServerAuthorizationConfig = FSxWindowsFileServerAuthorizationConfig'+ { -- | The authorization credential option to use. The authorization credential+ -- options can be provided using either the Amazon Resource Name (ARN) of+ -- an Secrets Manager secret or SSM Parameter Store parameter. The ARN+ -- refers to the stored credentials.+ credentialsParameter :: Prelude.Text,+ -- | A fully qualified domain name hosted by an+ -- <https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html Directory Service>+ -- Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.+ domain :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'FSxWindowsFileServerAuthorizationConfig' 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:+--+-- 'credentialsParameter', 'fSxWindowsFileServerAuthorizationConfig_credentialsParameter' - The authorization credential option to use. The authorization credential+-- options can be provided using either the Amazon Resource Name (ARN) of+-- an Secrets Manager secret or SSM Parameter Store parameter. The ARN+-- refers to the stored credentials.+--+-- 'domain', 'fSxWindowsFileServerAuthorizationConfig_domain' - A fully qualified domain name hosted by an+-- <https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html Directory Service>+-- Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.+newFSxWindowsFileServerAuthorizationConfig ::+ -- | 'credentialsParameter'+ Prelude.Text ->+ -- | 'domain'+ Prelude.Text ->+ FSxWindowsFileServerAuthorizationConfig+newFSxWindowsFileServerAuthorizationConfig+ pCredentialsParameter_+ pDomain_ =+ FSxWindowsFileServerAuthorizationConfig'+ { credentialsParameter =+ pCredentialsParameter_,+ domain = pDomain_+ }++-- | The authorization credential option to use. The authorization credential+-- options can be provided using either the Amazon Resource Name (ARN) of+-- an Secrets Manager secret or SSM Parameter Store parameter. The ARN+-- refers to the stored credentials.+fSxWindowsFileServerAuthorizationConfig_credentialsParameter :: Lens.Lens' FSxWindowsFileServerAuthorizationConfig Prelude.Text+fSxWindowsFileServerAuthorizationConfig_credentialsParameter = Lens.lens (\FSxWindowsFileServerAuthorizationConfig' {credentialsParameter} -> credentialsParameter) (\s@FSxWindowsFileServerAuthorizationConfig' {} a -> s {credentialsParameter = a} :: FSxWindowsFileServerAuthorizationConfig)++-- | A fully qualified domain name hosted by an+-- <https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html Directory Service>+-- Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.+fSxWindowsFileServerAuthorizationConfig_domain :: Lens.Lens' FSxWindowsFileServerAuthorizationConfig Prelude.Text+fSxWindowsFileServerAuthorizationConfig_domain = Lens.lens (\FSxWindowsFileServerAuthorizationConfig' {domain} -> domain) (\s@FSxWindowsFileServerAuthorizationConfig' {} a -> s {domain = a} :: FSxWindowsFileServerAuthorizationConfig)++instance+ Data.FromJSON+ FSxWindowsFileServerAuthorizationConfig+ where+ parseJSON =+ Data.withObject+ "FSxWindowsFileServerAuthorizationConfig"+ ( \x ->+ FSxWindowsFileServerAuthorizationConfig'+ Prelude.<$> (x Data..: "credentialsParameter")+ Prelude.<*> (x Data..: "domain")+ )++instance+ Prelude.Hashable+ FSxWindowsFileServerAuthorizationConfig+ where+ hashWithSalt+ _salt+ FSxWindowsFileServerAuthorizationConfig' {..} =+ _salt+ `Prelude.hashWithSalt` credentialsParameter+ `Prelude.hashWithSalt` domain++instance+ Prelude.NFData+ FSxWindowsFileServerAuthorizationConfig+ where+ rnf FSxWindowsFileServerAuthorizationConfig' {..} =+ Prelude.rnf credentialsParameter+ `Prelude.seq` Prelude.rnf domain++instance+ Data.ToJSON+ FSxWindowsFileServerAuthorizationConfig+ where+ toJSON FSxWindowsFileServerAuthorizationConfig' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ( "credentialsParameter"+ Data..= credentialsParameter+ ),+ Prelude.Just ("domain" Data..= domain)+ ]+ )
+ gen/Amazonka/ECS/Types/FSxWindowsFileServerVolumeConfiguration.hs view
@@ -0,0 +1,145 @@+{-# 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.ECS.Types.FSxWindowsFileServerVolumeConfiguration+-- 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.ECS.Types.FSxWindowsFileServerVolumeConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.FSxWindowsFileServerAuthorizationConfig+import qualified Amazonka.Prelude as Prelude++-- | This parameter is specified when you\'re using+-- <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html Amazon FSx for Windows File Server>+-- file system for task storage.+--+-- For more information and the input format, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html Amazon FSx for Windows File Server volumes>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newFSxWindowsFileServerVolumeConfiguration' smart constructor.+data FSxWindowsFileServerVolumeConfiguration = FSxWindowsFileServerVolumeConfiguration'+ { -- | The Amazon FSx for Windows File Server file system ID to use.+ fileSystemId :: Prelude.Text,+ -- | The directory within the Amazon FSx for Windows File Server file system+ -- to mount as the root directory inside the host.+ rootDirectory :: Prelude.Text,+ -- | The authorization configuration details for the Amazon FSx for Windows+ -- File Server file system.+ authorizationConfig :: FSxWindowsFileServerAuthorizationConfig+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'FSxWindowsFileServerVolumeConfiguration' 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:+--+-- 'fileSystemId', 'fSxWindowsFileServerVolumeConfiguration_fileSystemId' - The Amazon FSx for Windows File Server file system ID to use.+--+-- 'rootDirectory', 'fSxWindowsFileServerVolumeConfiguration_rootDirectory' - The directory within the Amazon FSx for Windows File Server file system+-- to mount as the root directory inside the host.+--+-- 'authorizationConfig', 'fSxWindowsFileServerVolumeConfiguration_authorizationConfig' - The authorization configuration details for the Amazon FSx for Windows+-- File Server file system.+newFSxWindowsFileServerVolumeConfiguration ::+ -- | 'fileSystemId'+ Prelude.Text ->+ -- | 'rootDirectory'+ Prelude.Text ->+ -- | 'authorizationConfig'+ FSxWindowsFileServerAuthorizationConfig ->+ FSxWindowsFileServerVolumeConfiguration+newFSxWindowsFileServerVolumeConfiguration+ pFileSystemId_+ pRootDirectory_+ pAuthorizationConfig_ =+ FSxWindowsFileServerVolumeConfiguration'+ { fileSystemId =+ pFileSystemId_,+ rootDirectory = pRootDirectory_,+ authorizationConfig =+ pAuthorizationConfig_+ }++-- | The Amazon FSx for Windows File Server file system ID to use.+fSxWindowsFileServerVolumeConfiguration_fileSystemId :: Lens.Lens' FSxWindowsFileServerVolumeConfiguration Prelude.Text+fSxWindowsFileServerVolumeConfiguration_fileSystemId = Lens.lens (\FSxWindowsFileServerVolumeConfiguration' {fileSystemId} -> fileSystemId) (\s@FSxWindowsFileServerVolumeConfiguration' {} a -> s {fileSystemId = a} :: FSxWindowsFileServerVolumeConfiguration)++-- | The directory within the Amazon FSx for Windows File Server file system+-- to mount as the root directory inside the host.+fSxWindowsFileServerVolumeConfiguration_rootDirectory :: Lens.Lens' FSxWindowsFileServerVolumeConfiguration Prelude.Text+fSxWindowsFileServerVolumeConfiguration_rootDirectory = Lens.lens (\FSxWindowsFileServerVolumeConfiguration' {rootDirectory} -> rootDirectory) (\s@FSxWindowsFileServerVolumeConfiguration' {} a -> s {rootDirectory = a} :: FSxWindowsFileServerVolumeConfiguration)++-- | The authorization configuration details for the Amazon FSx for Windows+-- File Server file system.+fSxWindowsFileServerVolumeConfiguration_authorizationConfig :: Lens.Lens' FSxWindowsFileServerVolumeConfiguration FSxWindowsFileServerAuthorizationConfig+fSxWindowsFileServerVolumeConfiguration_authorizationConfig = Lens.lens (\FSxWindowsFileServerVolumeConfiguration' {authorizationConfig} -> authorizationConfig) (\s@FSxWindowsFileServerVolumeConfiguration' {} a -> s {authorizationConfig = a} :: FSxWindowsFileServerVolumeConfiguration)++instance+ Data.FromJSON+ FSxWindowsFileServerVolumeConfiguration+ where+ parseJSON =+ Data.withObject+ "FSxWindowsFileServerVolumeConfiguration"+ ( \x ->+ FSxWindowsFileServerVolumeConfiguration'+ Prelude.<$> (x Data..: "fileSystemId")+ Prelude.<*> (x Data..: "rootDirectory")+ Prelude.<*> (x Data..: "authorizationConfig")+ )++instance+ Prelude.Hashable+ FSxWindowsFileServerVolumeConfiguration+ where+ hashWithSalt+ _salt+ FSxWindowsFileServerVolumeConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` fileSystemId+ `Prelude.hashWithSalt` rootDirectory+ `Prelude.hashWithSalt` authorizationConfig++instance+ Prelude.NFData+ FSxWindowsFileServerVolumeConfiguration+ where+ rnf FSxWindowsFileServerVolumeConfiguration' {..} =+ Prelude.rnf fileSystemId+ `Prelude.seq` Prelude.rnf rootDirectory+ `Prelude.seq` Prelude.rnf authorizationConfig++instance+ Data.ToJSON+ FSxWindowsFileServerVolumeConfiguration+ where+ toJSON FSxWindowsFileServerVolumeConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("fileSystemId" Data..= fileSystemId),+ Prelude.Just ("rootDirectory" Data..= rootDirectory),+ Prelude.Just+ ("authorizationConfig" Data..= authorizationConfig)+ ]+ )
+ gen/Amazonka/ECS/Types/Failure.hs view
@@ -0,0 +1,98 @@+{-# 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.ECS.Types.Failure+-- 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.ECS.Types.Failure 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 failed resource. For a list of common causes, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html API failure reasons>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newFailure' smart constructor.+data Failure = Failure'+ { -- | The Amazon Resource Name (ARN) of the failed resource.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The details of the failure.+ detail :: Prelude.Maybe Prelude.Text,+ -- | The reason for the failure.+ reason :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Failure' 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:+--+-- 'arn', 'failure_arn' - The Amazon Resource Name (ARN) of the failed resource.+--+-- 'detail', 'failure_detail' - The details of the failure.+--+-- 'reason', 'failure_reason' - The reason for the failure.+newFailure ::+ Failure+newFailure =+ Failure'+ { arn = Prelude.Nothing,+ detail = Prelude.Nothing,+ reason = Prelude.Nothing+ }++-- | The Amazon Resource Name (ARN) of the failed resource.+failure_arn :: Lens.Lens' Failure (Prelude.Maybe Prelude.Text)+failure_arn = Lens.lens (\Failure' {arn} -> arn) (\s@Failure' {} a -> s {arn = a} :: Failure)++-- | The details of the failure.+failure_detail :: Lens.Lens' Failure (Prelude.Maybe Prelude.Text)+failure_detail = Lens.lens (\Failure' {detail} -> detail) (\s@Failure' {} a -> s {detail = a} :: Failure)++-- | The reason for the failure.+failure_reason :: Lens.Lens' Failure (Prelude.Maybe Prelude.Text)+failure_reason = Lens.lens (\Failure' {reason} -> reason) (\s@Failure' {} a -> s {reason = a} :: Failure)++instance Data.FromJSON Failure where+ parseJSON =+ Data.withObject+ "Failure"+ ( \x ->+ Failure'+ Prelude.<$> (x Data..:? "arn")+ Prelude.<*> (x Data..:? "detail")+ Prelude.<*> (x Data..:? "reason")+ )++instance Prelude.Hashable Failure where+ hashWithSalt _salt Failure' {..} =+ _salt+ `Prelude.hashWithSalt` arn+ `Prelude.hashWithSalt` detail+ `Prelude.hashWithSalt` reason++instance Prelude.NFData Failure where+ rnf Failure' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf detail+ `Prelude.seq` Prelude.rnf reason
+ gen/Amazonka/ECS/Types/FirelensConfiguration.hs view
@@ -0,0 +1,128 @@+{-# 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.ECS.Types.FirelensConfiguration+-- 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.ECS.Types.FirelensConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.FirelensConfigurationType+import qualified Amazonka.Prelude as Prelude++-- | The FireLens configuration for the container. This is used to specify+-- and configure a log router for container logs. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html Custom log routing>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newFirelensConfiguration' smart constructor.+data FirelensConfiguration = FirelensConfiguration'+ { -- | The options to use when configuring the log router. This field is+ -- optional and can be used to specify a custom configuration file or to+ -- add additional metadata, such as the task, task definition, cluster, and+ -- container instance details to the log event. If specified, the syntax to+ -- use is+ -- @\"options\":{\"enable-ecs-log-metadata\":\"true|false\",\"config-file-type:\"s3|file\",\"config-file-value\":\"arn:aws:s3:::mybucket\/fluent.conf|filepath\"}@.+ -- For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef Creating a task definition that uses a FireLens configuration>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- Tasks hosted on Fargate only support the @file@ configuration file type.+ options :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The log router to use. The valid values are @fluentd@ or @fluentbit@.+ type' :: FirelensConfigurationType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'FirelensConfiguration' 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:+--+-- 'options', 'firelensConfiguration_options' - The options to use when configuring the log router. This field is+-- optional and can be used to specify a custom configuration file or to+-- add additional metadata, such as the task, task definition, cluster, and+-- container instance details to the log event. If specified, the syntax to+-- use is+-- @\"options\":{\"enable-ecs-log-metadata\":\"true|false\",\"config-file-type:\"s3|file\",\"config-file-value\":\"arn:aws:s3:::mybucket\/fluent.conf|filepath\"}@.+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef Creating a task definition that uses a FireLens configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- Tasks hosted on Fargate only support the @file@ configuration file type.+--+-- 'type'', 'firelensConfiguration_type' - The log router to use. The valid values are @fluentd@ or @fluentbit@.+newFirelensConfiguration ::+ -- | 'type''+ FirelensConfigurationType ->+ FirelensConfiguration+newFirelensConfiguration pType_ =+ FirelensConfiguration'+ { options = Prelude.Nothing,+ type' = pType_+ }++-- | The options to use when configuring the log router. This field is+-- optional and can be used to specify a custom configuration file or to+-- add additional metadata, such as the task, task definition, cluster, and+-- container instance details to the log event. If specified, the syntax to+-- use is+-- @\"options\":{\"enable-ecs-log-metadata\":\"true|false\",\"config-file-type:\"s3|file\",\"config-file-value\":\"arn:aws:s3:::mybucket\/fluent.conf|filepath\"}@.+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef Creating a task definition that uses a FireLens configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- Tasks hosted on Fargate only support the @file@ configuration file type.+firelensConfiguration_options :: Lens.Lens' FirelensConfiguration (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+firelensConfiguration_options = Lens.lens (\FirelensConfiguration' {options} -> options) (\s@FirelensConfiguration' {} a -> s {options = a} :: FirelensConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | The log router to use. The valid values are @fluentd@ or @fluentbit@.+firelensConfiguration_type :: Lens.Lens' FirelensConfiguration FirelensConfigurationType+firelensConfiguration_type = Lens.lens (\FirelensConfiguration' {type'} -> type') (\s@FirelensConfiguration' {} a -> s {type' = a} :: FirelensConfiguration)++instance Data.FromJSON FirelensConfiguration where+ parseJSON =+ Data.withObject+ "FirelensConfiguration"+ ( \x ->+ FirelensConfiguration'+ Prelude.<$> (x Data..:? "options" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "type")+ )++instance Prelude.Hashable FirelensConfiguration where+ hashWithSalt _salt FirelensConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` options+ `Prelude.hashWithSalt` type'++instance Prelude.NFData FirelensConfiguration where+ rnf FirelensConfiguration' {..} =+ Prelude.rnf options `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON FirelensConfiguration where+ toJSON FirelensConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("options" Data..=) Prelude.<$> options,+ Prelude.Just ("type" Data..= type')+ ]+ )
+ gen/Amazonka/ECS/Types/FirelensConfigurationType.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.ECS.Types.FirelensConfigurationType+-- 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.ECS.Types.FirelensConfigurationType+ ( FirelensConfigurationType+ ( ..,+ FirelensConfigurationType_Fluentbit,+ FirelensConfigurationType_Fluentd+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype FirelensConfigurationType = FirelensConfigurationType'+ { fromFirelensConfigurationType ::+ 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 FirelensConfigurationType_Fluentbit :: FirelensConfigurationType+pattern FirelensConfigurationType_Fluentbit = FirelensConfigurationType' "fluentbit"++pattern FirelensConfigurationType_Fluentd :: FirelensConfigurationType+pattern FirelensConfigurationType_Fluentd = FirelensConfigurationType' "fluentd"++{-# COMPLETE+ FirelensConfigurationType_Fluentbit,+ FirelensConfigurationType_Fluentd,+ FirelensConfigurationType'+ #-}
+ gen/Amazonka/ECS/Types/HealthCheck.hs view
@@ -0,0 +1,292 @@+{-# 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.ECS.Types.HealthCheck+-- 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.ECS.Types.HealthCheck 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 object representing a container health check. Health check parameters+-- that are specified in a container definition override any Docker health+-- checks that exist in the container image (such as those specified in a+-- parent image or from the image\'s Dockerfile).+--+-- The Amazon ECS container agent only monitors and reports on the health+-- checks specified in the task definition. Amazon ECS does not monitor+-- Docker health checks that are embedded in a container image and not+-- specified in the container definition. Health check parameters that are+-- specified in a container definition override any Docker health checks+-- that exist in the container image.+--+-- You can view the health status of both individual containers and a task+-- with the DescribeTasks API operation or when viewing the task details in+-- the console.+--+-- The following describes the possible @healthStatus@ values for a+-- container:+--+-- - @HEALTHY@-The container health check has passed successfully.+--+-- - @UNHEALTHY@-The container health check has failed.+--+-- - @UNKNOWN@-The container health check is being evaluated or there\'s+-- no container health check defined.+--+-- The following describes the possible @healthStatus@ values for a task.+-- The container health check status of nonessential containers only+-- affects the health status of a task if no essential containers have+-- health checks defined.+--+-- - @HEALTHY@-All essential containers within the task have passed their+-- health checks.+--+-- - @UNHEALTHY@-One or more essential containers have failed their+-- health check.+--+-- - @UNKNOWN@-The essential containers within the task are still having+-- their health checks evaluated or there are only nonessential+-- containers with health checks defined.+--+-- If a task is run manually, and not as part of a service, the task will+-- continue its lifecycle regardless of its health status. For tasks that+-- are part of a service, if the task reports as unhealthy then the task+-- will be stopped and the service scheduler will replace it.+--+-- For tasks that are a part of a service and the service uses the @ECS@+-- rolling deployment type, the deployment is paused while the new tasks+-- have the @UNKNOWN@ task health check status. For example, tasks that+-- define health checks for nonessential containers when no essential+-- containers have health checks will have the @UNKNOWN@ health check+-- status indefinitely which prevents the deployment from completing.+--+-- The following are notes about container health check support:+--+-- - Container health checks require version 1.17.0 or greater of the+-- Amazon ECS container agent. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html Updating the Amazon ECS container agent>.+--+-- - Container health checks are supported for Fargate tasks if you\'re+-- using platform version @1.1.0@ or greater. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>.+--+-- - Container health checks aren\'t supported for tasks that are part of+-- a service that\'s configured to use a Classic Load Balancer.+--+-- /See:/ 'newHealthCheck' smart constructor.+data HealthCheck = HealthCheck'+ { -- | The time period in seconds between each health check execution. You may+ -- specify between 5 and 300 seconds. The default value is 30 seconds.+ interval :: Prelude.Maybe Prelude.Int,+ -- | The number of times to retry a failed health check before the container+ -- is considered unhealthy. You may specify between 1 and 10 retries. The+ -- default value is 3.+ retries :: Prelude.Maybe Prelude.Int,+ -- | The optional grace period to provide containers time to bootstrap before+ -- failed health checks count towards the maximum number of retries. You+ -- can specify between 0 and 300 seconds. By default, the @startPeriod@ is+ -- disabled.+ --+ -- If a health check succeeds within the @startPeriod@, then the container+ -- is considered healthy and any subsequent failures count toward the+ -- maximum number of retries.+ startPeriod :: Prelude.Maybe Prelude.Int,+ -- | The time period in seconds to wait for a health check to succeed before+ -- it is considered a failure. You may specify between 2 and 60 seconds.+ -- The default value is 5.+ timeout :: Prelude.Maybe Prelude.Int,+ -- | A string array representing the command that the container runs to+ -- determine if it is healthy. The string array must start with @CMD@ to+ -- run the command arguments directly, or @CMD-SHELL@ to run the command+ -- with the container\'s default shell.+ --+ -- When you use the Amazon Web Services Management Console JSON panel, the+ -- Command Line Interface, or the APIs, enclose the list of commands in+ -- brackets.+ --+ -- @[ \"CMD-SHELL\", \"curl -f http:\/\/localhost\/ || exit 1\" ]@+ --+ -- You don\'t need to include the brackets when you use the Amazon Web+ -- Services Management Console.+ --+ -- @ \"CMD-SHELL\", \"curl -f http:\/\/localhost\/ || exit 1\" @+ --+ -- An exit code of 0 indicates success, and non-zero exit code indicates+ -- failure. For more information, see @HealthCheck@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API>.+ command :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'HealthCheck' 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:+--+-- 'interval', 'healthCheck_interval' - The time period in seconds between each health check execution. You may+-- specify between 5 and 300 seconds. The default value is 30 seconds.+--+-- 'retries', 'healthCheck_retries' - The number of times to retry a failed health check before the container+-- is considered unhealthy. You may specify between 1 and 10 retries. The+-- default value is 3.+--+-- 'startPeriod', 'healthCheck_startPeriod' - The optional grace period to provide containers time to bootstrap before+-- failed health checks count towards the maximum number of retries. You+-- can specify between 0 and 300 seconds. By default, the @startPeriod@ is+-- disabled.+--+-- If a health check succeeds within the @startPeriod@, then the container+-- is considered healthy and any subsequent failures count toward the+-- maximum number of retries.+--+-- 'timeout', 'healthCheck_timeout' - The time period in seconds to wait for a health check to succeed before+-- it is considered a failure. You may specify between 2 and 60 seconds.+-- The default value is 5.+--+-- 'command', 'healthCheck_command' - A string array representing the command that the container runs to+-- determine if it is healthy. The string array must start with @CMD@ to+-- run the command arguments directly, or @CMD-SHELL@ to run the command+-- with the container\'s default shell.+--+-- When you use the Amazon Web Services Management Console JSON panel, the+-- Command Line Interface, or the APIs, enclose the list of commands in+-- brackets.+--+-- @[ \"CMD-SHELL\", \"curl -f http:\/\/localhost\/ || exit 1\" ]@+--+-- You don\'t need to include the brackets when you use the Amazon Web+-- Services Management Console.+--+-- @ \"CMD-SHELL\", \"curl -f http:\/\/localhost\/ || exit 1\" @+--+-- An exit code of 0 indicates success, and non-zero exit code indicates+-- failure. For more information, see @HealthCheck@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API>.+newHealthCheck ::+ HealthCheck+newHealthCheck =+ HealthCheck'+ { interval = Prelude.Nothing,+ retries = Prelude.Nothing,+ startPeriod = Prelude.Nothing,+ timeout = Prelude.Nothing,+ command = Prelude.mempty+ }++-- | The time period in seconds between each health check execution. You may+-- specify between 5 and 300 seconds. The default value is 30 seconds.+healthCheck_interval :: Lens.Lens' HealthCheck (Prelude.Maybe Prelude.Int)+healthCheck_interval = Lens.lens (\HealthCheck' {interval} -> interval) (\s@HealthCheck' {} a -> s {interval = a} :: HealthCheck)++-- | The number of times to retry a failed health check before the container+-- is considered unhealthy. You may specify between 1 and 10 retries. The+-- default value is 3.+healthCheck_retries :: Lens.Lens' HealthCheck (Prelude.Maybe Prelude.Int)+healthCheck_retries = Lens.lens (\HealthCheck' {retries} -> retries) (\s@HealthCheck' {} a -> s {retries = a} :: HealthCheck)++-- | The optional grace period to provide containers time to bootstrap before+-- failed health checks count towards the maximum number of retries. You+-- can specify between 0 and 300 seconds. By default, the @startPeriod@ is+-- disabled.+--+-- If a health check succeeds within the @startPeriod@, then the container+-- is considered healthy and any subsequent failures count toward the+-- maximum number of retries.+healthCheck_startPeriod :: Lens.Lens' HealthCheck (Prelude.Maybe Prelude.Int)+healthCheck_startPeriod = Lens.lens (\HealthCheck' {startPeriod} -> startPeriod) (\s@HealthCheck' {} a -> s {startPeriod = a} :: HealthCheck)++-- | The time period in seconds to wait for a health check to succeed before+-- it is considered a failure. You may specify between 2 and 60 seconds.+-- The default value is 5.+healthCheck_timeout :: Lens.Lens' HealthCheck (Prelude.Maybe Prelude.Int)+healthCheck_timeout = Lens.lens (\HealthCheck' {timeout} -> timeout) (\s@HealthCheck' {} a -> s {timeout = a} :: HealthCheck)++-- | A string array representing the command that the container runs to+-- determine if it is healthy. The string array must start with @CMD@ to+-- run the command arguments directly, or @CMD-SHELL@ to run the command+-- with the container\'s default shell.+--+-- When you use the Amazon Web Services Management Console JSON panel, the+-- Command Line Interface, or the APIs, enclose the list of commands in+-- brackets.+--+-- @[ \"CMD-SHELL\", \"curl -f http:\/\/localhost\/ || exit 1\" ]@+--+-- You don\'t need to include the brackets when you use the Amazon Web+-- Services Management Console.+--+-- @ \"CMD-SHELL\", \"curl -f http:\/\/localhost\/ || exit 1\" @+--+-- An exit code of 0 indicates success, and non-zero exit code indicates+-- failure. For more information, see @HealthCheck@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API>.+healthCheck_command :: Lens.Lens' HealthCheck [Prelude.Text]+healthCheck_command = Lens.lens (\HealthCheck' {command} -> command) (\s@HealthCheck' {} a -> s {command = a} :: HealthCheck) Prelude.. Lens.coerced++instance Data.FromJSON HealthCheck where+ parseJSON =+ Data.withObject+ "HealthCheck"+ ( \x ->+ HealthCheck'+ Prelude.<$> (x Data..:? "interval")+ Prelude.<*> (x Data..:? "retries")+ Prelude.<*> (x Data..:? "startPeriod")+ Prelude.<*> (x Data..:? "timeout")+ Prelude.<*> (x Data..:? "command" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable HealthCheck where+ hashWithSalt _salt HealthCheck' {..} =+ _salt+ `Prelude.hashWithSalt` interval+ `Prelude.hashWithSalt` retries+ `Prelude.hashWithSalt` startPeriod+ `Prelude.hashWithSalt` timeout+ `Prelude.hashWithSalt` command++instance Prelude.NFData HealthCheck where+ rnf HealthCheck' {..} =+ Prelude.rnf interval+ `Prelude.seq` Prelude.rnf retries+ `Prelude.seq` Prelude.rnf startPeriod+ `Prelude.seq` Prelude.rnf timeout+ `Prelude.seq` Prelude.rnf command++instance Data.ToJSON HealthCheck where+ toJSON HealthCheck' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("interval" Data..=) Prelude.<$> interval,+ ("retries" Data..=) Prelude.<$> retries,+ ("startPeriod" Data..=) Prelude.<$> startPeriod,+ ("timeout" Data..=) Prelude.<$> timeout,+ Prelude.Just ("command" Data..= command)+ ]+ )
+ gen/Amazonka/ECS/Types/HealthStatus.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.HealthStatus+-- 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.ECS.Types.HealthStatus+ ( HealthStatus+ ( ..,+ HealthStatus_HEALTHY,+ HealthStatus_UNHEALTHY,+ HealthStatus_UNKNOWN+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype HealthStatus = HealthStatus'+ { fromHealthStatus ::+ 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 HealthStatus_HEALTHY :: HealthStatus+pattern HealthStatus_HEALTHY = HealthStatus' "HEALTHY"++pattern HealthStatus_UNHEALTHY :: HealthStatus+pattern HealthStatus_UNHEALTHY = HealthStatus' "UNHEALTHY"++pattern HealthStatus_UNKNOWN :: HealthStatus+pattern HealthStatus_UNKNOWN = HealthStatus' "UNKNOWN"++{-# COMPLETE+ HealthStatus_HEALTHY,+ HealthStatus_UNHEALTHY,+ HealthStatus_UNKNOWN,+ HealthStatus'+ #-}
+ gen/Amazonka/ECS/Types/HostEntry.hs view
@@ -0,0 +1,99 @@+{-# 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.ECS.Types.HostEntry+-- 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.ECS.Types.HostEntry 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++-- | Hostnames and IP address entries that are added to the @\/etc\/hosts@+-- file of a container via the @extraHosts@ parameter of its+-- ContainerDefinition.+--+-- /See:/ 'newHostEntry' smart constructor.+data HostEntry = HostEntry'+ { -- | The hostname to use in the @\/etc\/hosts@ entry.+ hostname :: Prelude.Text,+ -- | The IP address to use in the @\/etc\/hosts@ entry.+ ipAddress :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'HostEntry' 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:+--+-- 'hostname', 'hostEntry_hostname' - The hostname to use in the @\/etc\/hosts@ entry.+--+-- 'ipAddress', 'hostEntry_ipAddress' - The IP address to use in the @\/etc\/hosts@ entry.+newHostEntry ::+ -- | 'hostname'+ Prelude.Text ->+ -- | 'ipAddress'+ Prelude.Text ->+ HostEntry+newHostEntry pHostname_ pIpAddress_ =+ HostEntry'+ { hostname = pHostname_,+ ipAddress = pIpAddress_+ }++-- | The hostname to use in the @\/etc\/hosts@ entry.+hostEntry_hostname :: Lens.Lens' HostEntry Prelude.Text+hostEntry_hostname = Lens.lens (\HostEntry' {hostname} -> hostname) (\s@HostEntry' {} a -> s {hostname = a} :: HostEntry)++-- | The IP address to use in the @\/etc\/hosts@ entry.+hostEntry_ipAddress :: Lens.Lens' HostEntry Prelude.Text+hostEntry_ipAddress = Lens.lens (\HostEntry' {ipAddress} -> ipAddress) (\s@HostEntry' {} a -> s {ipAddress = a} :: HostEntry)++instance Data.FromJSON HostEntry where+ parseJSON =+ Data.withObject+ "HostEntry"+ ( \x ->+ HostEntry'+ Prelude.<$> (x Data..: "hostname")+ Prelude.<*> (x Data..: "ipAddress")+ )++instance Prelude.Hashable HostEntry where+ hashWithSalt _salt HostEntry' {..} =+ _salt+ `Prelude.hashWithSalt` hostname+ `Prelude.hashWithSalt` ipAddress++instance Prelude.NFData HostEntry where+ rnf HostEntry' {..} =+ Prelude.rnf hostname+ `Prelude.seq` Prelude.rnf ipAddress++instance Data.ToJSON HostEntry where+ toJSON HostEntry' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("hostname" Data..= hostname),+ Prelude.Just ("ipAddress" Data..= ipAddress)+ ]+ )
+ gen/Amazonka/ECS/Types/HostVolumeProperties.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.ECS.Types.HostVolumeProperties+-- 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.ECS.Types.HostVolumeProperties 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++-- | Details on a container instance bind mount host volume.+--+-- /See:/ 'newHostVolumeProperties' smart constructor.+data HostVolumeProperties = HostVolumeProperties'+ { -- | When the @host@ parameter is used, specify a @sourcePath@ to declare the+ -- path on the host container instance that\'s presented to the container.+ -- If this parameter is empty, then the Docker daemon has assigned a host+ -- path for you. If the @host@ parameter contains a @sourcePath@ file+ -- location, then the data volume persists at the specified location on the+ -- host container instance until you delete it manually. If the+ -- @sourcePath@ value doesn\'t exist on the host container instance, the+ -- Docker daemon creates it. If the location does exist, the contents of+ -- the source path folder are exported.+ --+ -- If you\'re using the Fargate launch type, the @sourcePath@ parameter is+ -- not supported.+ sourcePath :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'HostVolumeProperties' 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:+--+-- 'sourcePath', 'hostVolumeProperties_sourcePath' - When the @host@ parameter is used, specify a @sourcePath@ to declare the+-- path on the host container instance that\'s presented to the container.+-- If this parameter is empty, then the Docker daemon has assigned a host+-- path for you. If the @host@ parameter contains a @sourcePath@ file+-- location, then the data volume persists at the specified location on the+-- host container instance until you delete it manually. If the+-- @sourcePath@ value doesn\'t exist on the host container instance, the+-- Docker daemon creates it. If the location does exist, the contents of+-- the source path folder are exported.+--+-- If you\'re using the Fargate launch type, the @sourcePath@ parameter is+-- not supported.+newHostVolumeProperties ::+ HostVolumeProperties+newHostVolumeProperties =+ HostVolumeProperties' {sourcePath = Prelude.Nothing}++-- | When the @host@ parameter is used, specify a @sourcePath@ to declare the+-- path on the host container instance that\'s presented to the container.+-- If this parameter is empty, then the Docker daemon has assigned a host+-- path for you. If the @host@ parameter contains a @sourcePath@ file+-- location, then the data volume persists at the specified location on the+-- host container instance until you delete it manually. If the+-- @sourcePath@ value doesn\'t exist on the host container instance, the+-- Docker daemon creates it. If the location does exist, the contents of+-- the source path folder are exported.+--+-- If you\'re using the Fargate launch type, the @sourcePath@ parameter is+-- not supported.+hostVolumeProperties_sourcePath :: Lens.Lens' HostVolumeProperties (Prelude.Maybe Prelude.Text)+hostVolumeProperties_sourcePath = Lens.lens (\HostVolumeProperties' {sourcePath} -> sourcePath) (\s@HostVolumeProperties' {} a -> s {sourcePath = a} :: HostVolumeProperties)++instance Data.FromJSON HostVolumeProperties where+ parseJSON =+ Data.withObject+ "HostVolumeProperties"+ ( \x ->+ HostVolumeProperties'+ Prelude.<$> (x Data..:? "sourcePath")+ )++instance Prelude.Hashable HostVolumeProperties where+ hashWithSalt _salt HostVolumeProperties' {..} =+ _salt `Prelude.hashWithSalt` sourcePath++instance Prelude.NFData HostVolumeProperties where+ rnf HostVolumeProperties' {..} =+ Prelude.rnf sourcePath++instance Data.ToJSON HostVolumeProperties where+ toJSON HostVolumeProperties' {..} =+ Data.object+ ( Prelude.catMaybes+ [("sourcePath" Data..=) Prelude.<$> sourcePath]+ )
+ gen/Amazonka/ECS/Types/InferenceAccelerator.hs view
@@ -0,0 +1,102 @@+{-# 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.ECS.Types.InferenceAccelerator+-- 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.ECS.Types.InferenceAccelerator 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++-- | Details on an Elastic Inference accelerator. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html Working with Amazon Elastic Inference on Amazon ECS>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newInferenceAccelerator' smart constructor.+data InferenceAccelerator = InferenceAccelerator'+ { -- | The Elastic Inference accelerator device name. The @deviceName@ must+ -- also be referenced in a container definition as a ResourceRequirement.+ deviceName :: Prelude.Text,+ -- | The Elastic Inference accelerator type to use.+ deviceType :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'InferenceAccelerator' 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:+--+-- 'deviceName', 'inferenceAccelerator_deviceName' - The Elastic Inference accelerator device name. The @deviceName@ must+-- also be referenced in a container definition as a ResourceRequirement.+--+-- 'deviceType', 'inferenceAccelerator_deviceType' - The Elastic Inference accelerator type to use.+newInferenceAccelerator ::+ -- | 'deviceName'+ Prelude.Text ->+ -- | 'deviceType'+ Prelude.Text ->+ InferenceAccelerator+newInferenceAccelerator pDeviceName_ pDeviceType_ =+ InferenceAccelerator'+ { deviceName = pDeviceName_,+ deviceType = pDeviceType_+ }++-- | The Elastic Inference accelerator device name. The @deviceName@ must+-- also be referenced in a container definition as a ResourceRequirement.+inferenceAccelerator_deviceName :: Lens.Lens' InferenceAccelerator Prelude.Text+inferenceAccelerator_deviceName = Lens.lens (\InferenceAccelerator' {deviceName} -> deviceName) (\s@InferenceAccelerator' {} a -> s {deviceName = a} :: InferenceAccelerator)++-- | The Elastic Inference accelerator type to use.+inferenceAccelerator_deviceType :: Lens.Lens' InferenceAccelerator Prelude.Text+inferenceAccelerator_deviceType = Lens.lens (\InferenceAccelerator' {deviceType} -> deviceType) (\s@InferenceAccelerator' {} a -> s {deviceType = a} :: InferenceAccelerator)++instance Data.FromJSON InferenceAccelerator where+ parseJSON =+ Data.withObject+ "InferenceAccelerator"+ ( \x ->+ InferenceAccelerator'+ Prelude.<$> (x Data..: "deviceName")+ Prelude.<*> (x Data..: "deviceType")+ )++instance Prelude.Hashable InferenceAccelerator where+ hashWithSalt _salt InferenceAccelerator' {..} =+ _salt+ `Prelude.hashWithSalt` deviceName+ `Prelude.hashWithSalt` deviceType++instance Prelude.NFData InferenceAccelerator where+ rnf InferenceAccelerator' {..} =+ Prelude.rnf deviceName+ `Prelude.seq` Prelude.rnf deviceType++instance Data.ToJSON InferenceAccelerator where+ toJSON InferenceAccelerator' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("deviceName" Data..= deviceName),+ Prelude.Just ("deviceType" Data..= deviceType)+ ]+ )
+ gen/Amazonka/ECS/Types/InferenceAcceleratorOverride.hs view
@@ -0,0 +1,107 @@+{-# 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.ECS.Types.InferenceAcceleratorOverride+-- 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.ECS.Types.InferenceAcceleratorOverride 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++-- | Details on an Elastic Inference accelerator task override. This+-- parameter is used to override the Elastic Inference accelerator+-- specified in the task definition. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html Working with Amazon Elastic Inference on Amazon ECS>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newInferenceAcceleratorOverride' smart constructor.+data InferenceAcceleratorOverride = InferenceAcceleratorOverride'+ { -- | The Elastic Inference accelerator device name to override for the task.+ -- This parameter must match a @deviceName@ specified in the task+ -- definition.+ deviceName :: Prelude.Maybe Prelude.Text,+ -- | The Elastic Inference accelerator type to use.+ deviceType :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'InferenceAcceleratorOverride' 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:+--+-- 'deviceName', 'inferenceAcceleratorOverride_deviceName' - The Elastic Inference accelerator device name to override for the task.+-- This parameter must match a @deviceName@ specified in the task+-- definition.+--+-- 'deviceType', 'inferenceAcceleratorOverride_deviceType' - The Elastic Inference accelerator type to use.+newInferenceAcceleratorOverride ::+ InferenceAcceleratorOverride+newInferenceAcceleratorOverride =+ InferenceAcceleratorOverride'+ { deviceName =+ Prelude.Nothing,+ deviceType = Prelude.Nothing+ }++-- | The Elastic Inference accelerator device name to override for the task.+-- This parameter must match a @deviceName@ specified in the task+-- definition.+inferenceAcceleratorOverride_deviceName :: Lens.Lens' InferenceAcceleratorOverride (Prelude.Maybe Prelude.Text)+inferenceAcceleratorOverride_deviceName = Lens.lens (\InferenceAcceleratorOverride' {deviceName} -> deviceName) (\s@InferenceAcceleratorOverride' {} a -> s {deviceName = a} :: InferenceAcceleratorOverride)++-- | The Elastic Inference accelerator type to use.+inferenceAcceleratorOverride_deviceType :: Lens.Lens' InferenceAcceleratorOverride (Prelude.Maybe Prelude.Text)+inferenceAcceleratorOverride_deviceType = Lens.lens (\InferenceAcceleratorOverride' {deviceType} -> deviceType) (\s@InferenceAcceleratorOverride' {} a -> s {deviceType = a} :: InferenceAcceleratorOverride)++instance Data.FromJSON InferenceAcceleratorOverride where+ parseJSON =+ Data.withObject+ "InferenceAcceleratorOverride"+ ( \x ->+ InferenceAcceleratorOverride'+ Prelude.<$> (x Data..:? "deviceName")+ Prelude.<*> (x Data..:? "deviceType")+ )++instance+ Prelude.Hashable+ InferenceAcceleratorOverride+ where+ hashWithSalt _salt InferenceAcceleratorOverride' {..} =+ _salt+ `Prelude.hashWithSalt` deviceName+ `Prelude.hashWithSalt` deviceType++instance Prelude.NFData InferenceAcceleratorOverride where+ rnf InferenceAcceleratorOverride' {..} =+ Prelude.rnf deviceName+ `Prelude.seq` Prelude.rnf deviceType++instance Data.ToJSON InferenceAcceleratorOverride where+ toJSON InferenceAcceleratorOverride' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("deviceName" Data..=) Prelude.<$> deviceName,+ ("deviceType" Data..=) Prelude.<$> deviceType+ ]+ )
+ gen/Amazonka/ECS/Types/InstanceHealthCheckResult.hs view
@@ -0,0 +1,118 @@+{-# 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.ECS.Types.InstanceHealthCheckResult+-- 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.ECS.Types.InstanceHealthCheckResult where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.InstanceHealthCheckState+import Amazonka.ECS.Types.InstanceHealthCheckType+import qualified Amazonka.Prelude as Prelude++-- | An object representing the result of a container instance health status+-- check.+--+-- /See:/ 'newInstanceHealthCheckResult' smart constructor.+data InstanceHealthCheckResult = InstanceHealthCheckResult'+ { -- | The Unix timestamp for when the container instance health status last+ -- changed.+ lastStatusChange :: Prelude.Maybe Data.POSIX,+ -- | The Unix timestamp for when the container instance health status was+ -- last updated.+ lastUpdated :: Prelude.Maybe Data.POSIX,+ -- | The container instance health status.+ status :: Prelude.Maybe InstanceHealthCheckState,+ -- | The type of container instance health status that was verified.+ type' :: Prelude.Maybe InstanceHealthCheckType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'InstanceHealthCheckResult' 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:+--+-- 'lastStatusChange', 'instanceHealthCheckResult_lastStatusChange' - The Unix timestamp for when the container instance health status last+-- changed.+--+-- 'lastUpdated', 'instanceHealthCheckResult_lastUpdated' - The Unix timestamp for when the container instance health status was+-- last updated.+--+-- 'status', 'instanceHealthCheckResult_status' - The container instance health status.+--+-- 'type'', 'instanceHealthCheckResult_type' - The type of container instance health status that was verified.+newInstanceHealthCheckResult ::+ InstanceHealthCheckResult+newInstanceHealthCheckResult =+ InstanceHealthCheckResult'+ { lastStatusChange =+ Prelude.Nothing,+ lastUpdated = Prelude.Nothing,+ status = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | The Unix timestamp for when the container instance health status last+-- changed.+instanceHealthCheckResult_lastStatusChange :: Lens.Lens' InstanceHealthCheckResult (Prelude.Maybe Prelude.UTCTime)+instanceHealthCheckResult_lastStatusChange = Lens.lens (\InstanceHealthCheckResult' {lastStatusChange} -> lastStatusChange) (\s@InstanceHealthCheckResult' {} a -> s {lastStatusChange = a} :: InstanceHealthCheckResult) Prelude.. Lens.mapping Data._Time++-- | The Unix timestamp for when the container instance health status was+-- last updated.+instanceHealthCheckResult_lastUpdated :: Lens.Lens' InstanceHealthCheckResult (Prelude.Maybe Prelude.UTCTime)+instanceHealthCheckResult_lastUpdated = Lens.lens (\InstanceHealthCheckResult' {lastUpdated} -> lastUpdated) (\s@InstanceHealthCheckResult' {} a -> s {lastUpdated = a} :: InstanceHealthCheckResult) Prelude.. Lens.mapping Data._Time++-- | The container instance health status.+instanceHealthCheckResult_status :: Lens.Lens' InstanceHealthCheckResult (Prelude.Maybe InstanceHealthCheckState)+instanceHealthCheckResult_status = Lens.lens (\InstanceHealthCheckResult' {status} -> status) (\s@InstanceHealthCheckResult' {} a -> s {status = a} :: InstanceHealthCheckResult)++-- | The type of container instance health status that was verified.+instanceHealthCheckResult_type :: Lens.Lens' InstanceHealthCheckResult (Prelude.Maybe InstanceHealthCheckType)+instanceHealthCheckResult_type = Lens.lens (\InstanceHealthCheckResult' {type'} -> type') (\s@InstanceHealthCheckResult' {} a -> s {type' = a} :: InstanceHealthCheckResult)++instance Data.FromJSON InstanceHealthCheckResult where+ parseJSON =+ Data.withObject+ "InstanceHealthCheckResult"+ ( \x ->+ InstanceHealthCheckResult'+ Prelude.<$> (x Data..:? "lastStatusChange")+ Prelude.<*> (x Data..:? "lastUpdated")+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "type")+ )++instance Prelude.Hashable InstanceHealthCheckResult where+ hashWithSalt _salt InstanceHealthCheckResult' {..} =+ _salt+ `Prelude.hashWithSalt` lastStatusChange+ `Prelude.hashWithSalt` lastUpdated+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` type'++instance Prelude.NFData InstanceHealthCheckResult where+ rnf InstanceHealthCheckResult' {..} =+ Prelude.rnf lastStatusChange+ `Prelude.seq` Prelude.rnf lastUpdated+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf type'
+ gen/Amazonka/ECS/Types/InstanceHealthCheckState.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.ECS.Types.InstanceHealthCheckState+-- 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.ECS.Types.InstanceHealthCheckState+ ( InstanceHealthCheckState+ ( ..,+ InstanceHealthCheckState_IMPAIRED,+ InstanceHealthCheckState_INITIALIZING,+ InstanceHealthCheckState_INSUFFICIENT_DATA,+ InstanceHealthCheckState_OK+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype InstanceHealthCheckState = InstanceHealthCheckState'+ { fromInstanceHealthCheckState ::+ 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 InstanceHealthCheckState_IMPAIRED :: InstanceHealthCheckState+pattern InstanceHealthCheckState_IMPAIRED = InstanceHealthCheckState' "IMPAIRED"++pattern InstanceHealthCheckState_INITIALIZING :: InstanceHealthCheckState+pattern InstanceHealthCheckState_INITIALIZING = InstanceHealthCheckState' "INITIALIZING"++pattern InstanceHealthCheckState_INSUFFICIENT_DATA :: InstanceHealthCheckState+pattern InstanceHealthCheckState_INSUFFICIENT_DATA = InstanceHealthCheckState' "INSUFFICIENT_DATA"++pattern InstanceHealthCheckState_OK :: InstanceHealthCheckState+pattern InstanceHealthCheckState_OK = InstanceHealthCheckState' "OK"++{-# COMPLETE+ InstanceHealthCheckState_IMPAIRED,+ InstanceHealthCheckState_INITIALIZING,+ InstanceHealthCheckState_INSUFFICIENT_DATA,+ InstanceHealthCheckState_OK,+ InstanceHealthCheckState'+ #-}
+ gen/Amazonka/ECS/Types/InstanceHealthCheckType.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.InstanceHealthCheckType+-- 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.ECS.Types.InstanceHealthCheckType+ ( InstanceHealthCheckType+ ( ..,+ InstanceHealthCheckType_CONTAINER_RUNTIME+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype InstanceHealthCheckType = InstanceHealthCheckType'+ { fromInstanceHealthCheckType ::+ 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 InstanceHealthCheckType_CONTAINER_RUNTIME :: InstanceHealthCheckType+pattern InstanceHealthCheckType_CONTAINER_RUNTIME = InstanceHealthCheckType' "CONTAINER_RUNTIME"++{-# COMPLETE+ InstanceHealthCheckType_CONTAINER_RUNTIME,+ InstanceHealthCheckType'+ #-}
+ gen/Amazonka/ECS/Types/IpcMode.hs view
@@ -0,0 +1,73 @@+{-# 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.ECS.Types.IpcMode+-- 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.ECS.Types.IpcMode+ ( IpcMode+ ( ..,+ IpcMode_Host,+ IpcMode_None,+ IpcMode_Task+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype IpcMode = IpcMode' {fromIpcMode :: 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 IpcMode_Host :: IpcMode+pattern IpcMode_Host = IpcMode' "host"++pattern IpcMode_None :: IpcMode+pattern IpcMode_None = IpcMode' "none"++pattern IpcMode_Task :: IpcMode+pattern IpcMode_Task = IpcMode' "task"++{-# COMPLETE+ IpcMode_Host,+ IpcMode_None,+ IpcMode_Task,+ IpcMode'+ #-}
+ gen/Amazonka/ECS/Types/KernelCapabilities.hs view
@@ -0,0 +1,169 @@+{-# 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.ECS.Types.KernelCapabilities+-- 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.ECS.Types.KernelCapabilities 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++-- | The Linux capabilities for the container that are added to or dropped+-- from the default configuration provided by Docker. For more information+-- about the default capabilities and the non-default available+-- capabilities, see+-- <https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities Runtime privilege and Linux capabilities>+-- in the /Docker run reference/. For more detailed information about these+-- Linux capabilities, see the+-- <http://man7.org/linux/man-pages/man7/capabilities.7.html capabilities(7)>+-- Linux manual page.+--+-- /See:/ 'newKernelCapabilities' smart constructor.+data KernelCapabilities = KernelCapabilities'+ { -- | The Linux capabilities for the container that have been added to the+ -- default configuration provided by Docker. This parameter maps to+ -- @CapAdd@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--cap-add@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- Tasks launched on Fargate only support adding the @SYS_PTRACE@ kernel+ -- capability.+ --+ -- Valid values:+ -- @\"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"@+ add :: Prelude.Maybe [Prelude.Text],+ -- | The Linux capabilities for the container that have been removed from the+ -- default configuration provided by Docker. This parameter maps to+ -- @CapDrop@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--cap-drop@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- Valid values:+ -- @\"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"@+ drop :: Prelude.Maybe [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'KernelCapabilities' 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:+--+-- 'add', 'kernelCapabilities_add' - The Linux capabilities for the container that have been added to the+-- default configuration provided by Docker. This parameter maps to+-- @CapAdd@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--cap-add@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- Tasks launched on Fargate only support adding the @SYS_PTRACE@ kernel+-- capability.+--+-- Valid values:+-- @\"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"@+--+-- 'drop', 'kernelCapabilities_drop' - The Linux capabilities for the container that have been removed from the+-- default configuration provided by Docker. This parameter maps to+-- @CapDrop@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--cap-drop@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- Valid values:+-- @\"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"@+newKernelCapabilities ::+ KernelCapabilities+newKernelCapabilities =+ KernelCapabilities'+ { add = Prelude.Nothing,+ drop = Prelude.Nothing+ }++-- | The Linux capabilities for the container that have been added to the+-- default configuration provided by Docker. This parameter maps to+-- @CapAdd@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--cap-add@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- Tasks launched on Fargate only support adding the @SYS_PTRACE@ kernel+-- capability.+--+-- Valid values:+-- @\"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"@+kernelCapabilities_add :: Lens.Lens' KernelCapabilities (Prelude.Maybe [Prelude.Text])+kernelCapabilities_add = Lens.lens (\KernelCapabilities' {add} -> add) (\s@KernelCapabilities' {} a -> s {add = a} :: KernelCapabilities) Prelude.. Lens.mapping Lens.coerced++-- | The Linux capabilities for the container that have been removed from the+-- default configuration provided by Docker. This parameter maps to+-- @CapDrop@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--cap-drop@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- Valid values:+-- @\"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"@+kernelCapabilities_drop :: Lens.Lens' KernelCapabilities (Prelude.Maybe [Prelude.Text])+kernelCapabilities_drop = Lens.lens (\KernelCapabilities' {drop} -> drop) (\s@KernelCapabilities' {} a -> s {drop = a} :: KernelCapabilities) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON KernelCapabilities where+ parseJSON =+ Data.withObject+ "KernelCapabilities"+ ( \x ->+ KernelCapabilities'+ Prelude.<$> (x Data..:? "add" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "drop" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable KernelCapabilities where+ hashWithSalt _salt KernelCapabilities' {..} =+ _salt+ `Prelude.hashWithSalt` add+ `Prelude.hashWithSalt` drop++instance Prelude.NFData KernelCapabilities where+ rnf KernelCapabilities' {..} =+ Prelude.rnf add `Prelude.seq` Prelude.rnf drop++instance Data.ToJSON KernelCapabilities where+ toJSON KernelCapabilities' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("add" Data..=) Prelude.<$> add,+ ("drop" Data..=) Prelude.<$> drop+ ]+ )
+ gen/Amazonka/ECS/Types/KeyValuePair.hs view
@@ -0,0 +1,98 @@+{-# 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.ECS.Types.KeyValuePair+-- 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.ECS.Types.KeyValuePair 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 key-value pair object.+--+-- /See:/ 'newKeyValuePair' smart constructor.+data KeyValuePair = KeyValuePair'+ { -- | The name of the key-value pair. For environment variables, this is the+ -- name of the environment variable.+ name :: Prelude.Maybe Prelude.Text,+ -- | The value of the key-value pair. For environment variables, this is the+ -- value of the environment variable.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'KeyValuePair' 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', 'keyValuePair_name' - The name of the key-value pair. For environment variables, this is the+-- name of the environment variable.+--+-- 'value', 'keyValuePair_value' - The value of the key-value pair. For environment variables, this is the+-- value of the environment variable.+newKeyValuePair ::+ KeyValuePair+newKeyValuePair =+ KeyValuePair'+ { name = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | The name of the key-value pair. For environment variables, this is the+-- name of the environment variable.+keyValuePair_name :: Lens.Lens' KeyValuePair (Prelude.Maybe Prelude.Text)+keyValuePair_name = Lens.lens (\KeyValuePair' {name} -> name) (\s@KeyValuePair' {} a -> s {name = a} :: KeyValuePair)++-- | The value of the key-value pair. For environment variables, this is the+-- value of the environment variable.+keyValuePair_value :: Lens.Lens' KeyValuePair (Prelude.Maybe Prelude.Text)+keyValuePair_value = Lens.lens (\KeyValuePair' {value} -> value) (\s@KeyValuePair' {} a -> s {value = a} :: KeyValuePair)++instance Data.FromJSON KeyValuePair where+ parseJSON =+ Data.withObject+ "KeyValuePair"+ ( \x ->+ KeyValuePair'+ Prelude.<$> (x Data..:? "name")+ Prelude.<*> (x Data..:? "value")+ )++instance Prelude.Hashable KeyValuePair where+ hashWithSalt _salt KeyValuePair' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` value++instance Prelude.NFData KeyValuePair where+ rnf KeyValuePair' {..} =+ Prelude.rnf name `Prelude.seq` Prelude.rnf value++instance Data.ToJSON KeyValuePair where+ toJSON KeyValuePair' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("name" Data..=) Prelude.<$> name,+ ("value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/ECS/Types/LaunchType.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.LaunchType+-- 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.ECS.Types.LaunchType+ ( LaunchType+ ( ..,+ LaunchType_EC2,+ LaunchType_EXTERNAL,+ LaunchType_FARGATE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype LaunchType = LaunchType'+ { fromLaunchType ::+ 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 LaunchType_EC2 :: LaunchType+pattern LaunchType_EC2 = LaunchType' "EC2"++pattern LaunchType_EXTERNAL :: LaunchType+pattern LaunchType_EXTERNAL = LaunchType' "EXTERNAL"++pattern LaunchType_FARGATE :: LaunchType+pattern LaunchType_FARGATE = LaunchType' "FARGATE"++{-# COMPLETE+ LaunchType_EC2,+ LaunchType_EXTERNAL,+ LaunchType_FARGATE,+ LaunchType'+ #-}
+ gen/Amazonka/ECS/Types/LinuxParameters.hs view
@@ -0,0 +1,329 @@+{-# 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.ECS.Types.LinuxParameters+-- 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.ECS.Types.LinuxParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.Device+import Amazonka.ECS.Types.KernelCapabilities+import Amazonka.ECS.Types.Tmpfs+import qualified Amazonka.Prelude as Prelude++-- | Linux-specific options that are applied to the container, such as Linux+-- KernelCapabilities.+--+-- /See:/ 'newLinuxParameters' smart constructor.+data LinuxParameters = LinuxParameters'+ { -- | The Linux capabilities for the container that are added to or dropped+ -- from the default configuration provided by Docker.+ --+ -- For tasks that use the Fargate launch type, @capabilities@ is supported+ -- for all platform versions but the @add@ parameter is only supported if+ -- using platform version 1.4.0 or later.+ capabilities :: Prelude.Maybe KernelCapabilities,+ -- | Any host devices to expose to the container. This parameter maps to+ -- @Devices@ in the+ -- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+ -- section of the+ -- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+ -- @--device@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- If you\'re using tasks that use the Fargate launch type, the @devices@+ -- parameter isn\'t supported.+ devices :: Prelude.Maybe [Device],+ -- | Run an @init@ process inside the container that forwards signals and+ -- reaps processes. This parameter maps to the @--init@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ -- This parameter requires version 1.25 of the Docker Remote API or greater+ -- on your container instance. To check the Docker Remote API version on+ -- your container instance, log in to your container instance and run the+ -- following command:+ -- @sudo docker version --format \'{{.Server.APIVersion}}\'@+ initProcessEnabled :: Prelude.Maybe Prelude.Bool,+ -- | The total amount of swap memory (in MiB) a container can use. This+ -- parameter will be translated to the @--memory-swap@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>+ -- where the value would be the sum of the container memory plus the+ -- @maxSwap@ value.+ --+ -- If a @maxSwap@ value of @0@ is specified, the container will not use+ -- swap. Accepted values are @0@ or any positive integer. If the @maxSwap@+ -- parameter is omitted, the container will use the swap configuration for+ -- the container instance it is running on. A @maxSwap@ value must be set+ -- for the @swappiness@ parameter to be used.+ --+ -- If you\'re using tasks that use the Fargate launch type, the @maxSwap@+ -- parameter isn\'t supported.+ maxSwap :: Prelude.Maybe Prelude.Int,+ -- | The value for the size (in MiB) of the @\/dev\/shm@ volume. This+ -- parameter maps to the @--shm-size@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- If you are using tasks that use the Fargate launch type, the+ -- @sharedMemorySize@ parameter is not supported.+ sharedMemorySize :: Prelude.Maybe Prelude.Int,+ -- | This allows you to tune a container\'s memory swappiness behavior. A+ -- @swappiness@ value of @0@ will cause swapping to not happen unless+ -- absolutely necessary. A @swappiness@ value of @100@ will cause pages to+ -- be swapped very aggressively. Accepted values are whole numbers between+ -- @0@ and @100@. If the @swappiness@ parameter is not specified, a default+ -- value of @60@ is used. If a value is not specified for @maxSwap@ then+ -- this parameter is ignored. This parameter maps to the+ -- @--memory-swappiness@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- If you\'re using tasks that use the Fargate launch type, the+ -- @swappiness@ parameter isn\'t supported.+ swappiness :: Prelude.Maybe Prelude.Int,+ -- | The container path, mount options, and size (in MiB) of the tmpfs mount.+ -- This parameter maps to the @--tmpfs@ option to+ -- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+ --+ -- If you\'re using tasks that use the Fargate launch type, the @tmpfs@+ -- parameter isn\'t supported.+ tmpfs :: Prelude.Maybe [Tmpfs]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'LinuxParameters' 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:+--+-- 'capabilities', 'linuxParameters_capabilities' - The Linux capabilities for the container that are added to or dropped+-- from the default configuration provided by Docker.+--+-- For tasks that use the Fargate launch type, @capabilities@ is supported+-- for all platform versions but the @add@ parameter is only supported if+-- using platform version 1.4.0 or later.+--+-- 'devices', 'linuxParameters_devices' - Any host devices to expose to the container. This parameter maps to+-- @Devices@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--device@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If you\'re using tasks that use the Fargate launch type, the @devices@+-- parameter isn\'t supported.+--+-- 'initProcessEnabled', 'linuxParameters_initProcessEnabled' - Run an @init@ process inside the container that forwards signals and+-- reaps processes. This parameter maps to the @--init@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- This parameter requires version 1.25 of the Docker Remote API or greater+-- on your container instance. To check the Docker Remote API version on+-- your container instance, log in to your container instance and run the+-- following command:+-- @sudo docker version --format \'{{.Server.APIVersion}}\'@+--+-- 'maxSwap', 'linuxParameters_maxSwap' - The total amount of swap memory (in MiB) a container can use. This+-- parameter will be translated to the @--memory-swap@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>+-- where the value would be the sum of the container memory plus the+-- @maxSwap@ value.+--+-- If a @maxSwap@ value of @0@ is specified, the container will not use+-- swap. Accepted values are @0@ or any positive integer. If the @maxSwap@+-- parameter is omitted, the container will use the swap configuration for+-- the container instance it is running on. A @maxSwap@ value must be set+-- for the @swappiness@ parameter to be used.+--+-- If you\'re using tasks that use the Fargate launch type, the @maxSwap@+-- parameter isn\'t supported.+--+-- 'sharedMemorySize', 'linuxParameters_sharedMemorySize' - The value for the size (in MiB) of the @\/dev\/shm@ volume. This+-- parameter maps to the @--shm-size@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If you are using tasks that use the Fargate launch type, the+-- @sharedMemorySize@ parameter is not supported.+--+-- 'swappiness', 'linuxParameters_swappiness' - This allows you to tune a container\'s memory swappiness behavior. A+-- @swappiness@ value of @0@ will cause swapping to not happen unless+-- absolutely necessary. A @swappiness@ value of @100@ will cause pages to+-- be swapped very aggressively. Accepted values are whole numbers between+-- @0@ and @100@. If the @swappiness@ parameter is not specified, a default+-- value of @60@ is used. If a value is not specified for @maxSwap@ then+-- this parameter is ignored. This parameter maps to the+-- @--memory-swappiness@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If you\'re using tasks that use the Fargate launch type, the+-- @swappiness@ parameter isn\'t supported.+--+-- 'tmpfs', 'linuxParameters_tmpfs' - The container path, mount options, and size (in MiB) of the tmpfs mount.+-- This parameter maps to the @--tmpfs@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If you\'re using tasks that use the Fargate launch type, the @tmpfs@+-- parameter isn\'t supported.+newLinuxParameters ::+ LinuxParameters+newLinuxParameters =+ LinuxParameters'+ { capabilities = Prelude.Nothing,+ devices = Prelude.Nothing,+ initProcessEnabled = Prelude.Nothing,+ maxSwap = Prelude.Nothing,+ sharedMemorySize = Prelude.Nothing,+ swappiness = Prelude.Nothing,+ tmpfs = Prelude.Nothing+ }++-- | The Linux capabilities for the container that are added to or dropped+-- from the default configuration provided by Docker.+--+-- For tasks that use the Fargate launch type, @capabilities@ is supported+-- for all platform versions but the @add@ parameter is only supported if+-- using platform version 1.4.0 or later.+linuxParameters_capabilities :: Lens.Lens' LinuxParameters (Prelude.Maybe KernelCapabilities)+linuxParameters_capabilities = Lens.lens (\LinuxParameters' {capabilities} -> capabilities) (\s@LinuxParameters' {} a -> s {capabilities = a} :: LinuxParameters)++-- | Any host devices to expose to the container. This parameter maps to+-- @Devices@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--device@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If you\'re using tasks that use the Fargate launch type, the @devices@+-- parameter isn\'t supported.+linuxParameters_devices :: Lens.Lens' LinuxParameters (Prelude.Maybe [Device])+linuxParameters_devices = Lens.lens (\LinuxParameters' {devices} -> devices) (\s@LinuxParameters' {} a -> s {devices = a} :: LinuxParameters) Prelude.. Lens.mapping Lens.coerced++-- | Run an @init@ process inside the container that forwards signals and+-- reaps processes. This parameter maps to the @--init@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+-- This parameter requires version 1.25 of the Docker Remote API or greater+-- on your container instance. To check the Docker Remote API version on+-- your container instance, log in to your container instance and run the+-- following command:+-- @sudo docker version --format \'{{.Server.APIVersion}}\'@+linuxParameters_initProcessEnabled :: Lens.Lens' LinuxParameters (Prelude.Maybe Prelude.Bool)+linuxParameters_initProcessEnabled = Lens.lens (\LinuxParameters' {initProcessEnabled} -> initProcessEnabled) (\s@LinuxParameters' {} a -> s {initProcessEnabled = a} :: LinuxParameters)++-- | The total amount of swap memory (in MiB) a container can use. This+-- parameter will be translated to the @--memory-swap@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>+-- where the value would be the sum of the container memory plus the+-- @maxSwap@ value.+--+-- If a @maxSwap@ value of @0@ is specified, the container will not use+-- swap. Accepted values are @0@ or any positive integer. If the @maxSwap@+-- parameter is omitted, the container will use the swap configuration for+-- the container instance it is running on. A @maxSwap@ value must be set+-- for the @swappiness@ parameter to be used.+--+-- If you\'re using tasks that use the Fargate launch type, the @maxSwap@+-- parameter isn\'t supported.+linuxParameters_maxSwap :: Lens.Lens' LinuxParameters (Prelude.Maybe Prelude.Int)+linuxParameters_maxSwap = Lens.lens (\LinuxParameters' {maxSwap} -> maxSwap) (\s@LinuxParameters' {} a -> s {maxSwap = a} :: LinuxParameters)++-- | The value for the size (in MiB) of the @\/dev\/shm@ volume. This+-- parameter maps to the @--shm-size@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If you are using tasks that use the Fargate launch type, the+-- @sharedMemorySize@ parameter is not supported.+linuxParameters_sharedMemorySize :: Lens.Lens' LinuxParameters (Prelude.Maybe Prelude.Int)+linuxParameters_sharedMemorySize = Lens.lens (\LinuxParameters' {sharedMemorySize} -> sharedMemorySize) (\s@LinuxParameters' {} a -> s {sharedMemorySize = a} :: LinuxParameters)++-- | This allows you to tune a container\'s memory swappiness behavior. A+-- @swappiness@ value of @0@ will cause swapping to not happen unless+-- absolutely necessary. A @swappiness@ value of @100@ will cause pages to+-- be swapped very aggressively. Accepted values are whole numbers between+-- @0@ and @100@. If the @swappiness@ parameter is not specified, a default+-- value of @60@ is used. If a value is not specified for @maxSwap@ then+-- this parameter is ignored. This parameter maps to the+-- @--memory-swappiness@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If you\'re using tasks that use the Fargate launch type, the+-- @swappiness@ parameter isn\'t supported.+linuxParameters_swappiness :: Lens.Lens' LinuxParameters (Prelude.Maybe Prelude.Int)+linuxParameters_swappiness = Lens.lens (\LinuxParameters' {swappiness} -> swappiness) (\s@LinuxParameters' {} a -> s {swappiness = a} :: LinuxParameters)++-- | The container path, mount options, and size (in MiB) of the tmpfs mount.+-- This parameter maps to the @--tmpfs@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- If you\'re using tasks that use the Fargate launch type, the @tmpfs@+-- parameter isn\'t supported.+linuxParameters_tmpfs :: Lens.Lens' LinuxParameters (Prelude.Maybe [Tmpfs])+linuxParameters_tmpfs = Lens.lens (\LinuxParameters' {tmpfs} -> tmpfs) (\s@LinuxParameters' {} a -> s {tmpfs = a} :: LinuxParameters) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON LinuxParameters where+ parseJSON =+ Data.withObject+ "LinuxParameters"+ ( \x ->+ LinuxParameters'+ Prelude.<$> (x Data..:? "capabilities")+ Prelude.<*> (x Data..:? "devices" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "initProcessEnabled")+ Prelude.<*> (x Data..:? "maxSwap")+ Prelude.<*> (x Data..:? "sharedMemorySize")+ Prelude.<*> (x Data..:? "swappiness")+ Prelude.<*> (x Data..:? "tmpfs" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable LinuxParameters where+ hashWithSalt _salt LinuxParameters' {..} =+ _salt+ `Prelude.hashWithSalt` capabilities+ `Prelude.hashWithSalt` devices+ `Prelude.hashWithSalt` initProcessEnabled+ `Prelude.hashWithSalt` maxSwap+ `Prelude.hashWithSalt` sharedMemorySize+ `Prelude.hashWithSalt` swappiness+ `Prelude.hashWithSalt` tmpfs++instance Prelude.NFData LinuxParameters where+ rnf LinuxParameters' {..} =+ Prelude.rnf capabilities+ `Prelude.seq` Prelude.rnf devices+ `Prelude.seq` Prelude.rnf initProcessEnabled+ `Prelude.seq` Prelude.rnf maxSwap+ `Prelude.seq` Prelude.rnf sharedMemorySize+ `Prelude.seq` Prelude.rnf swappiness+ `Prelude.seq` Prelude.rnf tmpfs++instance Data.ToJSON LinuxParameters where+ toJSON LinuxParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("capabilities" Data..=) Prelude.<$> capabilities,+ ("devices" Data..=) Prelude.<$> devices,+ ("initProcessEnabled" Data..=)+ Prelude.<$> initProcessEnabled,+ ("maxSwap" Data..=) Prelude.<$> maxSwap,+ ("sharedMemorySize" Data..=)+ Prelude.<$> sharedMemorySize,+ ("swappiness" Data..=) Prelude.<$> swappiness,+ ("tmpfs" Data..=) Prelude.<$> tmpfs+ ]+ )
+ gen/Amazonka/ECS/Types/LoadBalancer.hs view
@@ -0,0 +1,234 @@+{-# 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.ECS.Types.LoadBalancer+-- 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.ECS.Types.LoadBalancer 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++-- | The load balancer configuration to use with a service or task set.+--+-- For specific notes and restrictions regarding the use of load balancers+-- with services and task sets, see the CreateService and CreateTaskSet+-- actions.+--+-- When you add, update, or remove a load balancer configuration, Amazon+-- ECS starts a new deployment with the updated Elastic Load Balancing+-- configuration. This causes tasks to register to and deregister from load+-- balancers.+--+-- We recommend that you verify this on a test environment before you+-- update the Elastic Load Balancing configuration.+--+-- A service-linked role is required for services that use multiple target+-- groups. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html Using service-linked roles>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newLoadBalancer' smart constructor.+data LoadBalancer = LoadBalancer'+ { -- | The name of the container (as it appears in a container definition) to+ -- associate with the load balancer.+ containerName :: Prelude.Maybe Prelude.Text,+ -- | The port on the container to associate with the load balancer. This port+ -- must correspond to a @containerPort@ in the task definition the tasks in+ -- the service are using. For tasks that use the EC2 launch type, the+ -- container instance they\'re launched on must allow ingress traffic on+ -- the @hostPort@ of the port mapping.+ containerPort :: Prelude.Maybe Prelude.Int,+ -- | The name of the load balancer to associate with the Amazon ECS service+ -- or task set.+ --+ -- A load balancer name is only specified when using a Classic Load+ -- Balancer. If you are using an Application Load Balancer or a Network+ -- Load Balancer the load balancer name parameter should be omitted.+ loadBalancerName :: Prelude.Maybe Prelude.Text,+ -- | The full Amazon Resource Name (ARN) of the Elastic Load Balancing target+ -- group or groups associated with a service or task set.+ --+ -- A target group ARN is only specified when using an Application Load+ -- Balancer or Network Load Balancer. If you\'re using a Classic Load+ -- Balancer, omit the target group ARN.+ --+ -- For services using the @ECS@ deployment controller, you can specify one+ -- or multiple target groups. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html Registering multiple target groups with a service>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- For services using the @CODE_DEPLOY@ deployment controller, you\'re+ -- required to define two target groups for the load balancer. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html Blue\/green deployment with CodeDeploy>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- If your service\'s task definition uses the @awsvpc@ network mode, you+ -- must choose @ip@ as the target type, not @instance@. Do this when+ -- creating your target groups because tasks that use the @awsvpc@ network+ -- mode are associated with an elastic network interface, not an Amazon EC2+ -- instance. This network mode is required for the Fargate launch type.+ targetGroupArn :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'LoadBalancer' 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:+--+-- 'containerName', 'loadBalancer_containerName' - The name of the container (as it appears in a container definition) to+-- associate with the load balancer.+--+-- 'containerPort', 'loadBalancer_containerPort' - The port on the container to associate with the load balancer. This port+-- must correspond to a @containerPort@ in the task definition the tasks in+-- the service are using. For tasks that use the EC2 launch type, the+-- container instance they\'re launched on must allow ingress traffic on+-- the @hostPort@ of the port mapping.+--+-- 'loadBalancerName', 'loadBalancer_loadBalancerName' - The name of the load balancer to associate with the Amazon ECS service+-- or task set.+--+-- A load balancer name is only specified when using a Classic Load+-- Balancer. If you are using an Application Load Balancer or a Network+-- Load Balancer the load balancer name parameter should be omitted.+--+-- 'targetGroupArn', 'loadBalancer_targetGroupArn' - The full Amazon Resource Name (ARN) of the Elastic Load Balancing target+-- group or groups associated with a service or task set.+--+-- A target group ARN is only specified when using an Application Load+-- Balancer or Network Load Balancer. If you\'re using a Classic Load+-- Balancer, omit the target group ARN.+--+-- For services using the @ECS@ deployment controller, you can specify one+-- or multiple target groups. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html Registering multiple target groups with a service>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- For services using the @CODE_DEPLOY@ deployment controller, you\'re+-- required to define two target groups for the load balancer. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html Blue\/green deployment with CodeDeploy>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If your service\'s task definition uses the @awsvpc@ network mode, you+-- must choose @ip@ as the target type, not @instance@. Do this when+-- creating your target groups because tasks that use the @awsvpc@ network+-- mode are associated with an elastic network interface, not an Amazon EC2+-- instance. This network mode is required for the Fargate launch type.+newLoadBalancer ::+ LoadBalancer+newLoadBalancer =+ LoadBalancer'+ { containerName = Prelude.Nothing,+ containerPort = Prelude.Nothing,+ loadBalancerName = Prelude.Nothing,+ targetGroupArn = Prelude.Nothing+ }++-- | The name of the container (as it appears in a container definition) to+-- associate with the load balancer.+loadBalancer_containerName :: Lens.Lens' LoadBalancer (Prelude.Maybe Prelude.Text)+loadBalancer_containerName = Lens.lens (\LoadBalancer' {containerName} -> containerName) (\s@LoadBalancer' {} a -> s {containerName = a} :: LoadBalancer)++-- | The port on the container to associate with the load balancer. This port+-- must correspond to a @containerPort@ in the task definition the tasks in+-- the service are using. For tasks that use the EC2 launch type, the+-- container instance they\'re launched on must allow ingress traffic on+-- the @hostPort@ of the port mapping.+loadBalancer_containerPort :: Lens.Lens' LoadBalancer (Prelude.Maybe Prelude.Int)+loadBalancer_containerPort = Lens.lens (\LoadBalancer' {containerPort} -> containerPort) (\s@LoadBalancer' {} a -> s {containerPort = a} :: LoadBalancer)++-- | The name of the load balancer to associate with the Amazon ECS service+-- or task set.+--+-- A load balancer name is only specified when using a Classic Load+-- Balancer. If you are using an Application Load Balancer or a Network+-- Load Balancer the load balancer name parameter should be omitted.+loadBalancer_loadBalancerName :: Lens.Lens' LoadBalancer (Prelude.Maybe Prelude.Text)+loadBalancer_loadBalancerName = Lens.lens (\LoadBalancer' {loadBalancerName} -> loadBalancerName) (\s@LoadBalancer' {} a -> s {loadBalancerName = a} :: LoadBalancer)++-- | The full Amazon Resource Name (ARN) of the Elastic Load Balancing target+-- group or groups associated with a service or task set.+--+-- A target group ARN is only specified when using an Application Load+-- Balancer or Network Load Balancer. If you\'re using a Classic Load+-- Balancer, omit the target group ARN.+--+-- For services using the @ECS@ deployment controller, you can specify one+-- or multiple target groups. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html Registering multiple target groups with a service>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- For services using the @CODE_DEPLOY@ deployment controller, you\'re+-- required to define two target groups for the load balancer. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html Blue\/green deployment with CodeDeploy>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If your service\'s task definition uses the @awsvpc@ network mode, you+-- must choose @ip@ as the target type, not @instance@. Do this when+-- creating your target groups because tasks that use the @awsvpc@ network+-- mode are associated with an elastic network interface, not an Amazon EC2+-- instance. This network mode is required for the Fargate launch type.+loadBalancer_targetGroupArn :: Lens.Lens' LoadBalancer (Prelude.Maybe Prelude.Text)+loadBalancer_targetGroupArn = Lens.lens (\LoadBalancer' {targetGroupArn} -> targetGroupArn) (\s@LoadBalancer' {} a -> s {targetGroupArn = a} :: LoadBalancer)++instance Data.FromJSON LoadBalancer where+ parseJSON =+ Data.withObject+ "LoadBalancer"+ ( \x ->+ LoadBalancer'+ Prelude.<$> (x Data..:? "containerName")+ Prelude.<*> (x Data..:? "containerPort")+ Prelude.<*> (x Data..:? "loadBalancerName")+ Prelude.<*> (x Data..:? "targetGroupArn")+ )++instance Prelude.Hashable LoadBalancer where+ hashWithSalt _salt LoadBalancer' {..} =+ _salt+ `Prelude.hashWithSalt` containerName+ `Prelude.hashWithSalt` containerPort+ `Prelude.hashWithSalt` loadBalancerName+ `Prelude.hashWithSalt` targetGroupArn++instance Prelude.NFData LoadBalancer where+ rnf LoadBalancer' {..} =+ Prelude.rnf containerName+ `Prelude.seq` Prelude.rnf containerPort+ `Prelude.seq` Prelude.rnf loadBalancerName+ `Prelude.seq` Prelude.rnf targetGroupArn++instance Data.ToJSON LoadBalancer where+ toJSON LoadBalancer' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("containerName" Data..=) Prelude.<$> containerName,+ ("containerPort" Data..=) Prelude.<$> containerPort,+ ("loadBalancerName" Data..=)+ Prelude.<$> loadBalancerName,+ ("targetGroupArn" Data..=)+ Prelude.<$> targetGroupArn+ ]+ )
+ gen/Amazonka/ECS/Types/LogConfiguration.hs view
@@ -0,0 +1,239 @@+{-# 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.ECS.Types.LogConfiguration+-- 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.ECS.Types.LogConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.LogDriver+import Amazonka.ECS.Types.Secret+import qualified Amazonka.Prelude as Prelude++-- | The log configuration for the container. This parameter maps to+-- @LogConfig@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--log-driver@ option to+-- <https://docs.docker.com/engine/reference/commandline/run/ docker run> .+--+-- By default, containers use the same logging driver that the Docker+-- daemon uses. However, the container might use a different logging driver+-- than the Docker daemon by specifying a log driver configuration in the+-- container definition. For more information about the options for+-- different supported log drivers, see+-- <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers>+-- in the Docker documentation.+--+-- Understand the following when specifying a log configuration for your+-- containers.+--+-- - Amazon ECS currently supports a subset of the logging drivers+-- available to the Docker daemon (shown in the valid values below).+-- Additional log drivers may be available in future releases of the+-- Amazon ECS container agent.+--+-- - This parameter requires version 1.18 of the Docker Remote API or+-- greater on your container instance.+--+-- - For tasks that are hosted on Amazon EC2 instances, the Amazon ECS+-- container agent must register the available logging drivers with the+-- @ECS_AVAILABLE_LOGGING_DRIVERS@ environment variable before+-- containers placed on that instance can use these log configuration+-- options. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html Amazon ECS container agent configuration>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- - For tasks that are on Fargate, because you don\'t have access to the+-- underlying infrastructure your tasks are hosted on, any additional+-- software needed must be installed outside of the task. For example,+-- the Fluentd output aggregators or a remote host running Logstash to+-- send Gelf logs to.+--+-- /See:/ 'newLogConfiguration' smart constructor.+data LogConfiguration = LogConfiguration'+ { -- | The configuration options to send to the log driver. This parameter+ -- requires version 1.19 of the Docker Remote API or greater on your+ -- container instance. To check the Docker Remote API version on your+ -- container instance, log in to your container instance and run the+ -- following command:+ -- @sudo docker version --format \'{{.Server.APIVersion}}\'@+ options :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The secrets to pass to the log configuration. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html Specifying sensitive data>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ secretOptions :: Prelude.Maybe [Secret],+ -- | The log driver to use for the container.+ --+ -- For tasks on Fargate, the supported log drivers are @awslogs@, @splunk@,+ -- and @awsfirelens@.+ --+ -- For tasks hosted on Amazon EC2 instances, the supported log drivers are+ -- @awslogs@, @fluentd@, @gelf@, @json-file@, @journald@,+ -- @logentries@,@syslog@, @splunk@, and @awsfirelens@.+ --+ -- For more information about using the @awslogs@ log driver, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html Using the awslogs log driver>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- For more information about using the @awsfirelens@ log driver, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html Custom log routing>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- If you have a custom driver that isn\'t listed, you can fork the Amazon+ -- ECS container agent project that\'s+ -- <https://github.com/aws/amazon-ecs-agent available on GitHub> and+ -- customize it to work with that driver. We encourage you to submit pull+ -- requests for changes that you would like to have included. However, we+ -- don\'t currently provide support for running modified copies of this+ -- software.+ logDriver :: LogDriver+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'LogConfiguration' 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:+--+-- 'options', 'logConfiguration_options' - The configuration options to send to the log driver. This parameter+-- requires version 1.19 of the Docker Remote API or greater on your+-- container instance. To check the Docker Remote API version on your+-- container instance, log in to your container instance and run the+-- following command:+-- @sudo docker version --format \'{{.Server.APIVersion}}\'@+--+-- 'secretOptions', 'logConfiguration_secretOptions' - The secrets to pass to the log configuration. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html Specifying sensitive data>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'logDriver', 'logConfiguration_logDriver' - The log driver to use for the container.+--+-- For tasks on Fargate, the supported log drivers are @awslogs@, @splunk@,+-- and @awsfirelens@.+--+-- For tasks hosted on Amazon EC2 instances, the supported log drivers are+-- @awslogs@, @fluentd@, @gelf@, @json-file@, @journald@,+-- @logentries@,@syslog@, @splunk@, and @awsfirelens@.+--+-- For more information about using the @awslogs@ log driver, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html Using the awslogs log driver>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- For more information about using the @awsfirelens@ log driver, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html Custom log routing>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If you have a custom driver that isn\'t listed, you can fork the Amazon+-- ECS container agent project that\'s+-- <https://github.com/aws/amazon-ecs-agent available on GitHub> and+-- customize it to work with that driver. We encourage you to submit pull+-- requests for changes that you would like to have included. However, we+-- don\'t currently provide support for running modified copies of this+-- software.+newLogConfiguration ::+ -- | 'logDriver'+ LogDriver ->+ LogConfiguration+newLogConfiguration pLogDriver_ =+ LogConfiguration'+ { options = Prelude.Nothing,+ secretOptions = Prelude.Nothing,+ logDriver = pLogDriver_+ }++-- | The configuration options to send to the log driver. This parameter+-- requires version 1.19 of the Docker Remote API or greater on your+-- container instance. To check the Docker Remote API version on your+-- container instance, log in to your container instance and run the+-- following command:+-- @sudo docker version --format \'{{.Server.APIVersion}}\'@+logConfiguration_options :: Lens.Lens' LogConfiguration (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+logConfiguration_options = Lens.lens (\LogConfiguration' {options} -> options) (\s@LogConfiguration' {} a -> s {options = a} :: LogConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | The secrets to pass to the log configuration. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html Specifying sensitive data>+-- in the /Amazon Elastic Container Service Developer Guide/.+logConfiguration_secretOptions :: Lens.Lens' LogConfiguration (Prelude.Maybe [Secret])+logConfiguration_secretOptions = Lens.lens (\LogConfiguration' {secretOptions} -> secretOptions) (\s@LogConfiguration' {} a -> s {secretOptions = a} :: LogConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | The log driver to use for the container.+--+-- For tasks on Fargate, the supported log drivers are @awslogs@, @splunk@,+-- and @awsfirelens@.+--+-- For tasks hosted on Amazon EC2 instances, the supported log drivers are+-- @awslogs@, @fluentd@, @gelf@, @json-file@, @journald@,+-- @logentries@,@syslog@, @splunk@, and @awsfirelens@.+--+-- For more information about using the @awslogs@ log driver, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html Using the awslogs log driver>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- For more information about using the @awsfirelens@ log driver, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html Custom log routing>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If you have a custom driver that isn\'t listed, you can fork the Amazon+-- ECS container agent project that\'s+-- <https://github.com/aws/amazon-ecs-agent available on GitHub> and+-- customize it to work with that driver. We encourage you to submit pull+-- requests for changes that you would like to have included. However, we+-- don\'t currently provide support for running modified copies of this+-- software.+logConfiguration_logDriver :: Lens.Lens' LogConfiguration LogDriver+logConfiguration_logDriver = Lens.lens (\LogConfiguration' {logDriver} -> logDriver) (\s@LogConfiguration' {} a -> s {logDriver = a} :: LogConfiguration)++instance Data.FromJSON LogConfiguration where+ parseJSON =+ Data.withObject+ "LogConfiguration"+ ( \x ->+ LogConfiguration'+ Prelude.<$> (x Data..:? "options" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "secretOptions" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "logDriver")+ )++instance Prelude.Hashable LogConfiguration where+ hashWithSalt _salt LogConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` options+ `Prelude.hashWithSalt` secretOptions+ `Prelude.hashWithSalt` logDriver++instance Prelude.NFData LogConfiguration where+ rnf LogConfiguration' {..} =+ Prelude.rnf options+ `Prelude.seq` Prelude.rnf secretOptions+ `Prelude.seq` Prelude.rnf logDriver++instance Data.ToJSON LogConfiguration where+ toJSON LogConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("options" Data..=) Prelude.<$> options,+ ("secretOptions" Data..=) Prelude.<$> secretOptions,+ Prelude.Just ("logDriver" Data..= logDriver)+ ]+ )
+ gen/Amazonka/ECS/Types/LogDriver.hs view
@@ -0,0 +1,101 @@+{-# 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.ECS.Types.LogDriver+-- 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.ECS.Types.LogDriver+ ( LogDriver+ ( ..,+ LogDriver_Awsfirelens,+ LogDriver_Awslogs,+ LogDriver_Fluentd,+ LogDriver_Gelf,+ LogDriver_Journald,+ LogDriver_Json_file,+ LogDriver_Splunk,+ LogDriver_Syslog+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype LogDriver = LogDriver'+ { fromLogDriver ::+ 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 LogDriver_Awsfirelens :: LogDriver+pattern LogDriver_Awsfirelens = LogDriver' "awsfirelens"++pattern LogDriver_Awslogs :: LogDriver+pattern LogDriver_Awslogs = LogDriver' "awslogs"++pattern LogDriver_Fluentd :: LogDriver+pattern LogDriver_Fluentd = LogDriver' "fluentd"++pattern LogDriver_Gelf :: LogDriver+pattern LogDriver_Gelf = LogDriver' "gelf"++pattern LogDriver_Journald :: LogDriver+pattern LogDriver_Journald = LogDriver' "journald"++pattern LogDriver_Json_file :: LogDriver+pattern LogDriver_Json_file = LogDriver' "json-file"++pattern LogDriver_Splunk :: LogDriver+pattern LogDriver_Splunk = LogDriver' "splunk"++pattern LogDriver_Syslog :: LogDriver+pattern LogDriver_Syslog = LogDriver' "syslog"++{-# COMPLETE+ LogDriver_Awsfirelens,+ LogDriver_Awslogs,+ LogDriver_Fluentd,+ LogDriver_Gelf,+ LogDriver_Journald,+ LogDriver_Json_file,+ LogDriver_Splunk,+ LogDriver_Syslog,+ LogDriver'+ #-}
+ gen/Amazonka/ECS/Types/ManagedAgent.hs view
@@ -0,0 +1,112 @@+{-# 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.ECS.Types.ManagedAgent+-- 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.ECS.Types.ManagedAgent where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ManagedAgentName+import qualified Amazonka.Prelude as Prelude++-- | Details about the managed agent status for the container.+--+-- /See:/ 'newManagedAgent' smart constructor.+data ManagedAgent = ManagedAgent'+ { -- | The Unix timestamp for the time when the managed agent was last started.+ lastStartedAt :: Prelude.Maybe Data.POSIX,+ -- | The last known status of the managed agent.+ lastStatus :: Prelude.Maybe Prelude.Text,+ -- | The name of the managed agent. When the execute command feature is+ -- enabled, the managed agent name is @ExecuteCommandAgent@.+ name :: Prelude.Maybe ManagedAgentName,+ -- | The reason for why the managed agent is in the state it is in.+ reason :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ManagedAgent' 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:+--+-- 'lastStartedAt', 'managedAgent_lastStartedAt' - The Unix timestamp for the time when the managed agent was last started.+--+-- 'lastStatus', 'managedAgent_lastStatus' - The last known status of the managed agent.+--+-- 'name', 'managedAgent_name' - The name of the managed agent. When the execute command feature is+-- enabled, the managed agent name is @ExecuteCommandAgent@.+--+-- 'reason', 'managedAgent_reason' - The reason for why the managed agent is in the state it is in.+newManagedAgent ::+ ManagedAgent+newManagedAgent =+ ManagedAgent'+ { lastStartedAt = Prelude.Nothing,+ lastStatus = Prelude.Nothing,+ name = Prelude.Nothing,+ reason = Prelude.Nothing+ }++-- | The Unix timestamp for the time when the managed agent was last started.+managedAgent_lastStartedAt :: Lens.Lens' ManagedAgent (Prelude.Maybe Prelude.UTCTime)+managedAgent_lastStartedAt = Lens.lens (\ManagedAgent' {lastStartedAt} -> lastStartedAt) (\s@ManagedAgent' {} a -> s {lastStartedAt = a} :: ManagedAgent) Prelude.. Lens.mapping Data._Time++-- | The last known status of the managed agent.+managedAgent_lastStatus :: Lens.Lens' ManagedAgent (Prelude.Maybe Prelude.Text)+managedAgent_lastStatus = Lens.lens (\ManagedAgent' {lastStatus} -> lastStatus) (\s@ManagedAgent' {} a -> s {lastStatus = a} :: ManagedAgent)++-- | The name of the managed agent. When the execute command feature is+-- enabled, the managed agent name is @ExecuteCommandAgent@.+managedAgent_name :: Lens.Lens' ManagedAgent (Prelude.Maybe ManagedAgentName)+managedAgent_name = Lens.lens (\ManagedAgent' {name} -> name) (\s@ManagedAgent' {} a -> s {name = a} :: ManagedAgent)++-- | The reason for why the managed agent is in the state it is in.+managedAgent_reason :: Lens.Lens' ManagedAgent (Prelude.Maybe Prelude.Text)+managedAgent_reason = Lens.lens (\ManagedAgent' {reason} -> reason) (\s@ManagedAgent' {} a -> s {reason = a} :: ManagedAgent)++instance Data.FromJSON ManagedAgent where+ parseJSON =+ Data.withObject+ "ManagedAgent"+ ( \x ->+ ManagedAgent'+ Prelude.<$> (x Data..:? "lastStartedAt")+ Prelude.<*> (x Data..:? "lastStatus")+ Prelude.<*> (x Data..:? "name")+ Prelude.<*> (x Data..:? "reason")+ )++instance Prelude.Hashable ManagedAgent where+ hashWithSalt _salt ManagedAgent' {..} =+ _salt+ `Prelude.hashWithSalt` lastStartedAt+ `Prelude.hashWithSalt` lastStatus+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` reason++instance Prelude.NFData ManagedAgent where+ rnf ManagedAgent' {..} =+ Prelude.rnf lastStartedAt+ `Prelude.seq` Prelude.rnf lastStatus+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf reason
+ gen/Amazonka/ECS/Types/ManagedAgentName.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.ManagedAgentName+-- 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.ECS.Types.ManagedAgentName+ ( ManagedAgentName+ ( ..,+ ManagedAgentName_ExecuteCommandAgent+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ManagedAgentName = ManagedAgentName'+ { fromManagedAgentName ::+ 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 ManagedAgentName_ExecuteCommandAgent :: ManagedAgentName+pattern ManagedAgentName_ExecuteCommandAgent = ManagedAgentName' "ExecuteCommandAgent"++{-# COMPLETE+ ManagedAgentName_ExecuteCommandAgent,+ ManagedAgentName'+ #-}
+ gen/Amazonka/ECS/Types/ManagedAgentStateChange.hs view
@@ -0,0 +1,118 @@+{-# 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.ECS.Types.ManagedAgentStateChange+-- 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.ECS.Types.ManagedAgentStateChange where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ManagedAgentName+import qualified Amazonka.Prelude as Prelude++-- | An object representing a change in state for a managed agent.+--+-- /See:/ 'newManagedAgentStateChange' smart constructor.+data ManagedAgentStateChange = ManagedAgentStateChange'+ { -- | The reason for the status of the managed agent.+ reason :: Prelude.Maybe Prelude.Text,+ -- | The name of the container that\'s associated with the managed agent.+ containerName :: Prelude.Text,+ -- | The name of the managed agent.+ managedAgentName :: ManagedAgentName,+ -- | The status of the managed agent.+ status :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ManagedAgentStateChange' 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:+--+-- 'reason', 'managedAgentStateChange_reason' - The reason for the status of the managed agent.+--+-- 'containerName', 'managedAgentStateChange_containerName' - The name of the container that\'s associated with the managed agent.+--+-- 'managedAgentName', 'managedAgentStateChange_managedAgentName' - The name of the managed agent.+--+-- 'status', 'managedAgentStateChange_status' - The status of the managed agent.+newManagedAgentStateChange ::+ -- | 'containerName'+ Prelude.Text ->+ -- | 'managedAgentName'+ ManagedAgentName ->+ -- | 'status'+ Prelude.Text ->+ ManagedAgentStateChange+newManagedAgentStateChange+ pContainerName_+ pManagedAgentName_+ pStatus_ =+ ManagedAgentStateChange'+ { reason = Prelude.Nothing,+ containerName = pContainerName_,+ managedAgentName = pManagedAgentName_,+ status = pStatus_+ }++-- | The reason for the status of the managed agent.+managedAgentStateChange_reason :: Lens.Lens' ManagedAgentStateChange (Prelude.Maybe Prelude.Text)+managedAgentStateChange_reason = Lens.lens (\ManagedAgentStateChange' {reason} -> reason) (\s@ManagedAgentStateChange' {} a -> s {reason = a} :: ManagedAgentStateChange)++-- | The name of the container that\'s associated with the managed agent.+managedAgentStateChange_containerName :: Lens.Lens' ManagedAgentStateChange Prelude.Text+managedAgentStateChange_containerName = Lens.lens (\ManagedAgentStateChange' {containerName} -> containerName) (\s@ManagedAgentStateChange' {} a -> s {containerName = a} :: ManagedAgentStateChange)++-- | The name of the managed agent.+managedAgentStateChange_managedAgentName :: Lens.Lens' ManagedAgentStateChange ManagedAgentName+managedAgentStateChange_managedAgentName = Lens.lens (\ManagedAgentStateChange' {managedAgentName} -> managedAgentName) (\s@ManagedAgentStateChange' {} a -> s {managedAgentName = a} :: ManagedAgentStateChange)++-- | The status of the managed agent.+managedAgentStateChange_status :: Lens.Lens' ManagedAgentStateChange Prelude.Text+managedAgentStateChange_status = Lens.lens (\ManagedAgentStateChange' {status} -> status) (\s@ManagedAgentStateChange' {} a -> s {status = a} :: ManagedAgentStateChange)++instance Prelude.Hashable ManagedAgentStateChange where+ hashWithSalt _salt ManagedAgentStateChange' {..} =+ _salt+ `Prelude.hashWithSalt` reason+ `Prelude.hashWithSalt` containerName+ `Prelude.hashWithSalt` managedAgentName+ `Prelude.hashWithSalt` status++instance Prelude.NFData ManagedAgentStateChange where+ rnf ManagedAgentStateChange' {..} =+ Prelude.rnf reason+ `Prelude.seq` Prelude.rnf containerName+ `Prelude.seq` Prelude.rnf managedAgentName+ `Prelude.seq` Prelude.rnf status++instance Data.ToJSON ManagedAgentStateChange where+ toJSON ManagedAgentStateChange' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("reason" Data..=) Prelude.<$> reason,+ Prelude.Just ("containerName" Data..= containerName),+ Prelude.Just+ ("managedAgentName" Data..= managedAgentName),+ Prelude.Just ("status" Data..= status)+ ]+ )
+ gen/Amazonka/ECS/Types/ManagedScaling.hs view
@@ -0,0 +1,207 @@+{-# 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.ECS.Types.ManagedScaling+-- 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.ECS.Types.ManagedScaling where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ManagedScalingStatus+import qualified Amazonka.Prelude as Prelude++-- | The managed scaling settings for the Auto Scaling group capacity+-- provider.+--+-- When managed scaling is enabled, Amazon ECS manages the scale-in and+-- scale-out actions of the Auto Scaling group. Amazon ECS manages a target+-- tracking scaling policy using an Amazon ECS managed CloudWatch metric+-- with the specified @targetCapacity@ value as the target value for the+-- metric. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html#asg-capacity-providers-managed-scaling Using managed scaling>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If managed scaling is disabled, the user must manage the scaling of the+-- Auto Scaling group.+--+-- /See:/ 'newManagedScaling' smart constructor.+data ManagedScaling = ManagedScaling'+ { -- | The period of time, in seconds, after a newly launched Amazon EC2+ -- instance can contribute to CloudWatch metrics for Auto Scaling group. If+ -- this parameter is omitted, the default value of @300@ seconds is used.+ instanceWarmupPeriod :: Prelude.Maybe Prelude.Natural,+ -- | The maximum number of Amazon EC2 instances that Amazon ECS will scale+ -- out at one time. The scale in process is not affected by this parameter.+ -- If this parameter is omitted, the default value of @1@ is used.+ maximumScalingStepSize :: Prelude.Maybe Prelude.Natural,+ -- | The minimum number of Amazon EC2 instances that Amazon ECS will scale+ -- out at one time. The scale in process is not affected by this parameter+ -- If this parameter is omitted, the default value of @1@ is used.+ --+ -- When additional capacity is required, Amazon ECS will scale up the+ -- minimum scaling step size even if the actual demand is less than the+ -- minimum scaling step size.+ --+ -- If you use a capacity provider with an Auto Scaling group configured+ -- with more than one Amazon EC2 instance type or Availability Zone, Amazon+ -- ECS will scale up by the exact minimum scaling step size value and will+ -- ignore both the maximum scaling step size as well as the capacity+ -- demand.+ minimumScalingStepSize :: Prelude.Maybe Prelude.Natural,+ -- | Determines whether to use managed scaling for the capacity provider.+ status :: Prelude.Maybe ManagedScalingStatus,+ -- | The target capacity value for the capacity provider. The specified value+ -- must be greater than @0@ and less than or equal to @100@. A value of+ -- @100@ results in the Amazon EC2 instances in your Auto Scaling group+ -- being completely used.+ targetCapacity :: Prelude.Maybe Prelude.Natural+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ManagedScaling' 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:+--+-- 'instanceWarmupPeriod', 'managedScaling_instanceWarmupPeriod' - The period of time, in seconds, after a newly launched Amazon EC2+-- instance can contribute to CloudWatch metrics for Auto Scaling group. If+-- this parameter is omitted, the default value of @300@ seconds is used.+--+-- 'maximumScalingStepSize', 'managedScaling_maximumScalingStepSize' - The maximum number of Amazon EC2 instances that Amazon ECS will scale+-- out at one time. The scale in process is not affected by this parameter.+-- If this parameter is omitted, the default value of @1@ is used.+--+-- 'minimumScalingStepSize', 'managedScaling_minimumScalingStepSize' - The minimum number of Amazon EC2 instances that Amazon ECS will scale+-- out at one time. The scale in process is not affected by this parameter+-- If this parameter is omitted, the default value of @1@ is used.+--+-- When additional capacity is required, Amazon ECS will scale up the+-- minimum scaling step size even if the actual demand is less than the+-- minimum scaling step size.+--+-- If you use a capacity provider with an Auto Scaling group configured+-- with more than one Amazon EC2 instance type or Availability Zone, Amazon+-- ECS will scale up by the exact minimum scaling step size value and will+-- ignore both the maximum scaling step size as well as the capacity+-- demand.+--+-- 'status', 'managedScaling_status' - Determines whether to use managed scaling for the capacity provider.+--+-- 'targetCapacity', 'managedScaling_targetCapacity' - The target capacity value for the capacity provider. The specified value+-- must be greater than @0@ and less than or equal to @100@. A value of+-- @100@ results in the Amazon EC2 instances in your Auto Scaling group+-- being completely used.+newManagedScaling ::+ ManagedScaling+newManagedScaling =+ ManagedScaling'+ { instanceWarmupPeriod =+ Prelude.Nothing,+ maximumScalingStepSize = Prelude.Nothing,+ minimumScalingStepSize = Prelude.Nothing,+ status = Prelude.Nothing,+ targetCapacity = Prelude.Nothing+ }++-- | The period of time, in seconds, after a newly launched Amazon EC2+-- instance can contribute to CloudWatch metrics for Auto Scaling group. If+-- this parameter is omitted, the default value of @300@ seconds is used.+managedScaling_instanceWarmupPeriod :: Lens.Lens' ManagedScaling (Prelude.Maybe Prelude.Natural)+managedScaling_instanceWarmupPeriod = Lens.lens (\ManagedScaling' {instanceWarmupPeriod} -> instanceWarmupPeriod) (\s@ManagedScaling' {} a -> s {instanceWarmupPeriod = a} :: ManagedScaling)++-- | The maximum number of Amazon EC2 instances that Amazon ECS will scale+-- out at one time. The scale in process is not affected by this parameter.+-- If this parameter is omitted, the default value of @1@ is used.+managedScaling_maximumScalingStepSize :: Lens.Lens' ManagedScaling (Prelude.Maybe Prelude.Natural)+managedScaling_maximumScalingStepSize = Lens.lens (\ManagedScaling' {maximumScalingStepSize} -> maximumScalingStepSize) (\s@ManagedScaling' {} a -> s {maximumScalingStepSize = a} :: ManagedScaling)++-- | The minimum number of Amazon EC2 instances that Amazon ECS will scale+-- out at one time. The scale in process is not affected by this parameter+-- If this parameter is omitted, the default value of @1@ is used.+--+-- When additional capacity is required, Amazon ECS will scale up the+-- minimum scaling step size even if the actual demand is less than the+-- minimum scaling step size.+--+-- If you use a capacity provider with an Auto Scaling group configured+-- with more than one Amazon EC2 instance type or Availability Zone, Amazon+-- ECS will scale up by the exact minimum scaling step size value and will+-- ignore both the maximum scaling step size as well as the capacity+-- demand.+managedScaling_minimumScalingStepSize :: Lens.Lens' ManagedScaling (Prelude.Maybe Prelude.Natural)+managedScaling_minimumScalingStepSize = Lens.lens (\ManagedScaling' {minimumScalingStepSize} -> minimumScalingStepSize) (\s@ManagedScaling' {} a -> s {minimumScalingStepSize = a} :: ManagedScaling)++-- | Determines whether to use managed scaling for the capacity provider.+managedScaling_status :: Lens.Lens' ManagedScaling (Prelude.Maybe ManagedScalingStatus)+managedScaling_status = Lens.lens (\ManagedScaling' {status} -> status) (\s@ManagedScaling' {} a -> s {status = a} :: ManagedScaling)++-- | The target capacity value for the capacity provider. The specified value+-- must be greater than @0@ and less than or equal to @100@. A value of+-- @100@ results in the Amazon EC2 instances in your Auto Scaling group+-- being completely used.+managedScaling_targetCapacity :: Lens.Lens' ManagedScaling (Prelude.Maybe Prelude.Natural)+managedScaling_targetCapacity = Lens.lens (\ManagedScaling' {targetCapacity} -> targetCapacity) (\s@ManagedScaling' {} a -> s {targetCapacity = a} :: ManagedScaling)++instance Data.FromJSON ManagedScaling where+ parseJSON =+ Data.withObject+ "ManagedScaling"+ ( \x ->+ ManagedScaling'+ Prelude.<$> (x Data..:? "instanceWarmupPeriod")+ Prelude.<*> (x Data..:? "maximumScalingStepSize")+ Prelude.<*> (x Data..:? "minimumScalingStepSize")+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "targetCapacity")+ )++instance Prelude.Hashable ManagedScaling where+ hashWithSalt _salt ManagedScaling' {..} =+ _salt+ `Prelude.hashWithSalt` instanceWarmupPeriod+ `Prelude.hashWithSalt` maximumScalingStepSize+ `Prelude.hashWithSalt` minimumScalingStepSize+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` targetCapacity++instance Prelude.NFData ManagedScaling where+ rnf ManagedScaling' {..} =+ Prelude.rnf instanceWarmupPeriod+ `Prelude.seq` Prelude.rnf maximumScalingStepSize+ `Prelude.seq` Prelude.rnf minimumScalingStepSize+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf targetCapacity++instance Data.ToJSON ManagedScaling where+ toJSON ManagedScaling' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("instanceWarmupPeriod" Data..=)+ Prelude.<$> instanceWarmupPeriod,+ ("maximumScalingStepSize" Data..=)+ Prelude.<$> maximumScalingStepSize,+ ("minimumScalingStepSize" Data..=)+ Prelude.<$> minimumScalingStepSize,+ ("status" Data..=) Prelude.<$> status,+ ("targetCapacity" Data..=)+ Prelude.<$> targetCapacity+ ]+ )
+ gen/Amazonka/ECS/Types/ManagedScalingStatus.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.ECS.Types.ManagedScalingStatus+-- 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.ECS.Types.ManagedScalingStatus+ ( ManagedScalingStatus+ ( ..,+ ManagedScalingStatus_DISABLED,+ ManagedScalingStatus_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ManagedScalingStatus = ManagedScalingStatus'+ { fromManagedScalingStatus ::+ 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 ManagedScalingStatus_DISABLED :: ManagedScalingStatus+pattern ManagedScalingStatus_DISABLED = ManagedScalingStatus' "DISABLED"++pattern ManagedScalingStatus_ENABLED :: ManagedScalingStatus+pattern ManagedScalingStatus_ENABLED = ManagedScalingStatus' "ENABLED"++{-# COMPLETE+ ManagedScalingStatus_DISABLED,+ ManagedScalingStatus_ENABLED,+ ManagedScalingStatus'+ #-}
+ gen/Amazonka/ECS/Types/ManagedTerminationProtection.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.ECS.Types.ManagedTerminationProtection+-- 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.ECS.Types.ManagedTerminationProtection+ ( ManagedTerminationProtection+ ( ..,+ ManagedTerminationProtection_DISABLED,+ ManagedTerminationProtection_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ManagedTerminationProtection = ManagedTerminationProtection'+ { fromManagedTerminationProtection ::+ 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 ManagedTerminationProtection_DISABLED :: ManagedTerminationProtection+pattern ManagedTerminationProtection_DISABLED = ManagedTerminationProtection' "DISABLED"++pattern ManagedTerminationProtection_ENABLED :: ManagedTerminationProtection+pattern ManagedTerminationProtection_ENABLED = ManagedTerminationProtection' "ENABLED"++{-# COMPLETE+ ManagedTerminationProtection_DISABLED,+ ManagedTerminationProtection_ENABLED,+ ManagedTerminationProtection'+ #-}
+ gen/Amazonka/ECS/Types/MountPoint.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.ECS.Types.MountPoint+-- 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.ECS.Types.MountPoint 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++-- | Details for a volume mount point that\'s used in a container definition.+--+-- /See:/ 'newMountPoint' smart constructor.+data MountPoint = MountPoint'+ { -- | The path on the container to mount the host volume at.+ containerPath :: Prelude.Maybe Prelude.Text,+ -- | If this value is @true@, the container has read-only access to the+ -- volume. If this value is @false@, then the container can write to the+ -- volume. The default value is @false@.+ readOnly :: Prelude.Maybe Prelude.Bool,+ -- | The name of the volume to mount. Must be a volume name referenced in the+ -- @name@ parameter of task definition @volume@.+ sourceVolume :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MountPoint' 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:+--+-- 'containerPath', 'mountPoint_containerPath' - The path on the container to mount the host volume at.+--+-- 'readOnly', 'mountPoint_readOnly' - If this value is @true@, the container has read-only access to the+-- volume. If this value is @false@, then the container can write to the+-- volume. The default value is @false@.+--+-- 'sourceVolume', 'mountPoint_sourceVolume' - The name of the volume to mount. Must be a volume name referenced in the+-- @name@ parameter of task definition @volume@.+newMountPoint ::+ MountPoint+newMountPoint =+ MountPoint'+ { containerPath = Prelude.Nothing,+ readOnly = Prelude.Nothing,+ sourceVolume = Prelude.Nothing+ }++-- | The path on the container to mount the host volume at.+mountPoint_containerPath :: Lens.Lens' MountPoint (Prelude.Maybe Prelude.Text)+mountPoint_containerPath = Lens.lens (\MountPoint' {containerPath} -> containerPath) (\s@MountPoint' {} a -> s {containerPath = a} :: MountPoint)++-- | If this value is @true@, the container has read-only access to the+-- volume. If this value is @false@, then the container can write to the+-- volume. The default value is @false@.+mountPoint_readOnly :: Lens.Lens' MountPoint (Prelude.Maybe Prelude.Bool)+mountPoint_readOnly = Lens.lens (\MountPoint' {readOnly} -> readOnly) (\s@MountPoint' {} a -> s {readOnly = a} :: MountPoint)++-- | The name of the volume to mount. Must be a volume name referenced in the+-- @name@ parameter of task definition @volume@.+mountPoint_sourceVolume :: Lens.Lens' MountPoint (Prelude.Maybe Prelude.Text)+mountPoint_sourceVolume = Lens.lens (\MountPoint' {sourceVolume} -> sourceVolume) (\s@MountPoint' {} a -> s {sourceVolume = a} :: MountPoint)++instance Data.FromJSON MountPoint where+ parseJSON =+ Data.withObject+ "MountPoint"+ ( \x ->+ MountPoint'+ Prelude.<$> (x Data..:? "containerPath")+ Prelude.<*> (x Data..:? "readOnly")+ Prelude.<*> (x Data..:? "sourceVolume")+ )++instance Prelude.Hashable MountPoint where+ hashWithSalt _salt MountPoint' {..} =+ _salt+ `Prelude.hashWithSalt` containerPath+ `Prelude.hashWithSalt` readOnly+ `Prelude.hashWithSalt` sourceVolume++instance Prelude.NFData MountPoint where+ rnf MountPoint' {..} =+ Prelude.rnf containerPath+ `Prelude.seq` Prelude.rnf readOnly+ `Prelude.seq` Prelude.rnf sourceVolume++instance Data.ToJSON MountPoint where+ toJSON MountPoint' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("containerPath" Data..=) Prelude.<$> containerPath,+ ("readOnly" Data..=) Prelude.<$> readOnly,+ ("sourceVolume" Data..=) Prelude.<$> sourceVolume+ ]+ )
+ gen/Amazonka/ECS/Types/NetworkBinding.hs view
@@ -0,0 +1,324 @@+{-# 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.ECS.Types.NetworkBinding+-- 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.ECS.Types.NetworkBinding where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.TransportProtocol+import qualified Amazonka.Prelude as Prelude++-- | Details on the network bindings between a container and its host+-- container instance. After a task reaches the @RUNNING@ status, manual+-- and automatic host and container port assignments are visible in the+-- @networkBindings@ section of DescribeTasks API responses.+--+-- /See:/ 'newNetworkBinding' smart constructor.+data NetworkBinding = NetworkBinding'+ { -- | The IP address that the container is bound to on the container instance.+ bindIP :: Prelude.Maybe Prelude.Text,+ -- | The port number on the container that\'s used with the network binding.+ containerPort :: Prelude.Maybe Prelude.Int,+ -- | The port number range on the container that\'s bound to the dynamically+ -- mapped host port range.+ --+ -- The following rules apply when you specify a @containerPortRange@:+ --+ -- - You must use either the @bridge@ network mode or the @awsvpc@+ -- network mode.+ --+ -- - This parameter is available for both the EC2 and Fargate launch+ -- types.+ --+ -- - This parameter is available for both the Linux and Windows operating+ -- systems.+ --+ -- - The container instance must have at least version 1.67.0 of the+ -- container agent and at least version 1.67.0-1 of the @ecs-init@+ -- package+ --+ -- - You can specify a maximum of 100 port ranges per container.+ --+ -- - You do not specify a @hostPortRange@. The value of the+ -- @hostPortRange@ is set as follows:+ --+ -- - For containers in a task with the @awsvpc@ network mode, the+ -- @hostPort@ is set to the same value as the @containerPort@. This+ -- is a static mapping strategy.+ --+ -- - For containers in a task with the @bridge@ network mode, the+ -- Amazon ECS agent finds open host ports from the default+ -- ephemeral range and passes it to docker to bind them to the+ -- container ports.+ --+ -- - The @containerPortRange@ valid values are between 1 and 65535.+ --+ -- - A port can only be included in one port mapping per container.+ --+ -- - You cannot specify overlapping port ranges.+ --+ -- - The first port in the range must be less than last port in the+ -- range.+ --+ -- - Docker recommends that you turn off the docker-proxy in the Docker+ -- daemon config file when you have a large number of ports.+ --+ -- For more information, see+ -- <https://github.com/moby/moby/issues/11185 Issue #11185> on the+ -- Github website.+ --+ -- For information about how to turn off the docker-proxy in the Docker+ -- daemon config file, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon Docker daemon>+ -- in the /Amazon ECS Developer Guide/.+ --+ -- You can call+ -- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html DescribeTasks>+ -- to view the @hostPortRange@ which are the host ports that are bound to+ -- the container ports.+ containerPortRange :: Prelude.Maybe Prelude.Text,+ -- | The port number on the host that\'s used with the network binding.+ hostPort :: Prelude.Maybe Prelude.Int,+ -- | The port number range on the host that\'s used with the network binding.+ -- This is assigned is assigned by Docker and delivered by the Amazon ECS+ -- agent.+ hostPortRange :: Prelude.Maybe Prelude.Text,+ -- | The protocol used for the network binding.+ protocol :: Prelude.Maybe TransportProtocol+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NetworkBinding' 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:+--+-- 'bindIP', 'networkBinding_bindIP' - The IP address that the container is bound to on the container instance.+--+-- 'containerPort', 'networkBinding_containerPort' - The port number on the container that\'s used with the network binding.+--+-- 'containerPortRange', 'networkBinding_containerPortRange' - The port number range on the container that\'s bound to the dynamically+-- mapped host port range.+--+-- The following rules apply when you specify a @containerPortRange@:+--+-- - You must use either the @bridge@ network mode or the @awsvpc@+-- network mode.+--+-- - This parameter is available for both the EC2 and Fargate launch+-- types.+--+-- - This parameter is available for both the Linux and Windows operating+-- systems.+--+-- - The container instance must have at least version 1.67.0 of the+-- container agent and at least version 1.67.0-1 of the @ecs-init@+-- package+--+-- - You can specify a maximum of 100 port ranges per container.+--+-- - You do not specify a @hostPortRange@. The value of the+-- @hostPortRange@ is set as follows:+--+-- - For containers in a task with the @awsvpc@ network mode, the+-- @hostPort@ is set to the same value as the @containerPort@. This+-- is a static mapping strategy.+--+-- - For containers in a task with the @bridge@ network mode, the+-- Amazon ECS agent finds open host ports from the default+-- ephemeral range and passes it to docker to bind them to the+-- container ports.+--+-- - The @containerPortRange@ valid values are between 1 and 65535.+--+-- - A port can only be included in one port mapping per container.+--+-- - You cannot specify overlapping port ranges.+--+-- - The first port in the range must be less than last port in the+-- range.+--+-- - Docker recommends that you turn off the docker-proxy in the Docker+-- daemon config file when you have a large number of ports.+--+-- For more information, see+-- <https://github.com/moby/moby/issues/11185 Issue #11185> on the+-- Github website.+--+-- For information about how to turn off the docker-proxy in the Docker+-- daemon config file, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon Docker daemon>+-- in the /Amazon ECS Developer Guide/.+--+-- You can call+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html DescribeTasks>+-- to view the @hostPortRange@ which are the host ports that are bound to+-- the container ports.+--+-- 'hostPort', 'networkBinding_hostPort' - The port number on the host that\'s used with the network binding.+--+-- 'hostPortRange', 'networkBinding_hostPortRange' - The port number range on the host that\'s used with the network binding.+-- This is assigned is assigned by Docker and delivered by the Amazon ECS+-- agent.+--+-- 'protocol', 'networkBinding_protocol' - The protocol used for the network binding.+newNetworkBinding ::+ NetworkBinding+newNetworkBinding =+ NetworkBinding'+ { bindIP = Prelude.Nothing,+ containerPort = Prelude.Nothing,+ containerPortRange = Prelude.Nothing,+ hostPort = Prelude.Nothing,+ hostPortRange = Prelude.Nothing,+ protocol = Prelude.Nothing+ }++-- | The IP address that the container is bound to on the container instance.+networkBinding_bindIP :: Lens.Lens' NetworkBinding (Prelude.Maybe Prelude.Text)+networkBinding_bindIP = Lens.lens (\NetworkBinding' {bindIP} -> bindIP) (\s@NetworkBinding' {} a -> s {bindIP = a} :: NetworkBinding)++-- | The port number on the container that\'s used with the network binding.+networkBinding_containerPort :: Lens.Lens' NetworkBinding (Prelude.Maybe Prelude.Int)+networkBinding_containerPort = Lens.lens (\NetworkBinding' {containerPort} -> containerPort) (\s@NetworkBinding' {} a -> s {containerPort = a} :: NetworkBinding)++-- | The port number range on the container that\'s bound to the dynamically+-- mapped host port range.+--+-- The following rules apply when you specify a @containerPortRange@:+--+-- - You must use either the @bridge@ network mode or the @awsvpc@+-- network mode.+--+-- - This parameter is available for both the EC2 and Fargate launch+-- types.+--+-- - This parameter is available for both the Linux and Windows operating+-- systems.+--+-- - The container instance must have at least version 1.67.0 of the+-- container agent and at least version 1.67.0-1 of the @ecs-init@+-- package+--+-- - You can specify a maximum of 100 port ranges per container.+--+-- - You do not specify a @hostPortRange@. The value of the+-- @hostPortRange@ is set as follows:+--+-- - For containers in a task with the @awsvpc@ network mode, the+-- @hostPort@ is set to the same value as the @containerPort@. This+-- is a static mapping strategy.+--+-- - For containers in a task with the @bridge@ network mode, the+-- Amazon ECS agent finds open host ports from the default+-- ephemeral range and passes it to docker to bind them to the+-- container ports.+--+-- - The @containerPortRange@ valid values are between 1 and 65535.+--+-- - A port can only be included in one port mapping per container.+--+-- - You cannot specify overlapping port ranges.+--+-- - The first port in the range must be less than last port in the+-- range.+--+-- - Docker recommends that you turn off the docker-proxy in the Docker+-- daemon config file when you have a large number of ports.+--+-- For more information, see+-- <https://github.com/moby/moby/issues/11185 Issue #11185> on the+-- Github website.+--+-- For information about how to turn off the docker-proxy in the Docker+-- daemon config file, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon Docker daemon>+-- in the /Amazon ECS Developer Guide/.+--+-- You can call+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html DescribeTasks>+-- to view the @hostPortRange@ which are the host ports that are bound to+-- the container ports.+networkBinding_containerPortRange :: Lens.Lens' NetworkBinding (Prelude.Maybe Prelude.Text)+networkBinding_containerPortRange = Lens.lens (\NetworkBinding' {containerPortRange} -> containerPortRange) (\s@NetworkBinding' {} a -> s {containerPortRange = a} :: NetworkBinding)++-- | The port number on the host that\'s used with the network binding.+networkBinding_hostPort :: Lens.Lens' NetworkBinding (Prelude.Maybe Prelude.Int)+networkBinding_hostPort = Lens.lens (\NetworkBinding' {hostPort} -> hostPort) (\s@NetworkBinding' {} a -> s {hostPort = a} :: NetworkBinding)++-- | The port number range on the host that\'s used with the network binding.+-- This is assigned is assigned by Docker and delivered by the Amazon ECS+-- agent.+networkBinding_hostPortRange :: Lens.Lens' NetworkBinding (Prelude.Maybe Prelude.Text)+networkBinding_hostPortRange = Lens.lens (\NetworkBinding' {hostPortRange} -> hostPortRange) (\s@NetworkBinding' {} a -> s {hostPortRange = a} :: NetworkBinding)++-- | The protocol used for the network binding.+networkBinding_protocol :: Lens.Lens' NetworkBinding (Prelude.Maybe TransportProtocol)+networkBinding_protocol = Lens.lens (\NetworkBinding' {protocol} -> protocol) (\s@NetworkBinding' {} a -> s {protocol = a} :: NetworkBinding)++instance Data.FromJSON NetworkBinding where+ parseJSON =+ Data.withObject+ "NetworkBinding"+ ( \x ->+ NetworkBinding'+ Prelude.<$> (x Data..:? "bindIP")+ Prelude.<*> (x Data..:? "containerPort")+ Prelude.<*> (x Data..:? "containerPortRange")+ Prelude.<*> (x Data..:? "hostPort")+ Prelude.<*> (x Data..:? "hostPortRange")+ Prelude.<*> (x Data..:? "protocol")+ )++instance Prelude.Hashable NetworkBinding where+ hashWithSalt _salt NetworkBinding' {..} =+ _salt+ `Prelude.hashWithSalt` bindIP+ `Prelude.hashWithSalt` containerPort+ `Prelude.hashWithSalt` containerPortRange+ `Prelude.hashWithSalt` hostPort+ `Prelude.hashWithSalt` hostPortRange+ `Prelude.hashWithSalt` protocol++instance Prelude.NFData NetworkBinding where+ rnf NetworkBinding' {..} =+ Prelude.rnf bindIP+ `Prelude.seq` Prelude.rnf containerPort+ `Prelude.seq` Prelude.rnf containerPortRange+ `Prelude.seq` Prelude.rnf hostPort+ `Prelude.seq` Prelude.rnf hostPortRange+ `Prelude.seq` Prelude.rnf protocol++instance Data.ToJSON NetworkBinding where+ toJSON NetworkBinding' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("bindIP" Data..=) Prelude.<$> bindIP,+ ("containerPort" Data..=) Prelude.<$> containerPort,+ ("containerPortRange" Data..=)+ Prelude.<$> containerPortRange,+ ("hostPort" Data..=) Prelude.<$> hostPort,+ ("hostPortRange" Data..=) Prelude.<$> hostPortRange,+ ("protocol" Data..=) Prelude.<$> protocol+ ]+ )
+ gen/Amazonka/ECS/Types/NetworkConfiguration.hs view
@@ -0,0 +1,88 @@+{-# 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.ECS.Types.NetworkConfiguration+-- 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.ECS.Types.NetworkConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.AwsVpcConfiguration+import qualified Amazonka.Prelude as Prelude++-- | An object representing the network configuration for a task or service.+--+-- /See:/ 'newNetworkConfiguration' smart constructor.+data NetworkConfiguration = NetworkConfiguration'+ { -- | The VPC subnets and security groups that are associated with a task.+ --+ -- All specified subnets and security groups must be from the same VPC.+ awsvpcConfiguration :: Prelude.Maybe AwsVpcConfiguration+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NetworkConfiguration' 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:+--+-- 'awsvpcConfiguration', 'networkConfiguration_awsvpcConfiguration' - The VPC subnets and security groups that are associated with a task.+--+-- All specified subnets and security groups must be from the same VPC.+newNetworkConfiguration ::+ NetworkConfiguration+newNetworkConfiguration =+ NetworkConfiguration'+ { awsvpcConfiguration =+ Prelude.Nothing+ }++-- | The VPC subnets and security groups that are associated with a task.+--+-- All specified subnets and security groups must be from the same VPC.+networkConfiguration_awsvpcConfiguration :: Lens.Lens' NetworkConfiguration (Prelude.Maybe AwsVpcConfiguration)+networkConfiguration_awsvpcConfiguration = Lens.lens (\NetworkConfiguration' {awsvpcConfiguration} -> awsvpcConfiguration) (\s@NetworkConfiguration' {} a -> s {awsvpcConfiguration = a} :: NetworkConfiguration)++instance Data.FromJSON NetworkConfiguration where+ parseJSON =+ Data.withObject+ "NetworkConfiguration"+ ( \x ->+ NetworkConfiguration'+ Prelude.<$> (x Data..:? "awsvpcConfiguration")+ )++instance Prelude.Hashable NetworkConfiguration where+ hashWithSalt _salt NetworkConfiguration' {..} =+ _salt `Prelude.hashWithSalt` awsvpcConfiguration++instance Prelude.NFData NetworkConfiguration where+ rnf NetworkConfiguration' {..} =+ Prelude.rnf awsvpcConfiguration++instance Data.ToJSON NetworkConfiguration where+ toJSON NetworkConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("awsvpcConfiguration" Data..=)+ Prelude.<$> awsvpcConfiguration+ ]+ )
+ gen/Amazonka/ECS/Types/NetworkInterface.hs view
@@ -0,0 +1,97 @@+{-# 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.ECS.Types.NetworkInterface+-- 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.ECS.Types.NetworkInterface 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 object representing the elastic network interface for tasks that use+-- the @awsvpc@ network mode.+--+-- /See:/ 'newNetworkInterface' smart constructor.+data NetworkInterface = NetworkInterface'+ { -- | The attachment ID for the network interface.+ attachmentId :: Prelude.Maybe Prelude.Text,+ -- | The private IPv6 address for the network interface.+ ipv6Address :: Prelude.Maybe Prelude.Text,+ -- | The private IPv4 address for the network interface.+ privateIpv4Address :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NetworkInterface' 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:+--+-- 'attachmentId', 'networkInterface_attachmentId' - The attachment ID for the network interface.+--+-- 'ipv6Address', 'networkInterface_ipv6Address' - The private IPv6 address for the network interface.+--+-- 'privateIpv4Address', 'networkInterface_privateIpv4Address' - The private IPv4 address for the network interface.+newNetworkInterface ::+ NetworkInterface+newNetworkInterface =+ NetworkInterface'+ { attachmentId = Prelude.Nothing,+ ipv6Address = Prelude.Nothing,+ privateIpv4Address = Prelude.Nothing+ }++-- | The attachment ID for the network interface.+networkInterface_attachmentId :: Lens.Lens' NetworkInterface (Prelude.Maybe Prelude.Text)+networkInterface_attachmentId = Lens.lens (\NetworkInterface' {attachmentId} -> attachmentId) (\s@NetworkInterface' {} a -> s {attachmentId = a} :: NetworkInterface)++-- | The private IPv6 address for the network interface.+networkInterface_ipv6Address :: Lens.Lens' NetworkInterface (Prelude.Maybe Prelude.Text)+networkInterface_ipv6Address = Lens.lens (\NetworkInterface' {ipv6Address} -> ipv6Address) (\s@NetworkInterface' {} a -> s {ipv6Address = a} :: NetworkInterface)++-- | The private IPv4 address for the network interface.+networkInterface_privateIpv4Address :: Lens.Lens' NetworkInterface (Prelude.Maybe Prelude.Text)+networkInterface_privateIpv4Address = Lens.lens (\NetworkInterface' {privateIpv4Address} -> privateIpv4Address) (\s@NetworkInterface' {} a -> s {privateIpv4Address = a} :: NetworkInterface)++instance Data.FromJSON NetworkInterface where+ parseJSON =+ Data.withObject+ "NetworkInterface"+ ( \x ->+ NetworkInterface'+ Prelude.<$> (x Data..:? "attachmentId")+ Prelude.<*> (x Data..:? "ipv6Address")+ Prelude.<*> (x Data..:? "privateIpv4Address")+ )++instance Prelude.Hashable NetworkInterface where+ hashWithSalt _salt NetworkInterface' {..} =+ _salt+ `Prelude.hashWithSalt` attachmentId+ `Prelude.hashWithSalt` ipv6Address+ `Prelude.hashWithSalt` privateIpv4Address++instance Prelude.NFData NetworkInterface where+ rnf NetworkInterface' {..} =+ Prelude.rnf attachmentId+ `Prelude.seq` Prelude.rnf ipv6Address+ `Prelude.seq` Prelude.rnf privateIpv4Address
+ gen/Amazonka/ECS/Types/NetworkMode.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.ECS.Types.NetworkMode+-- 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.ECS.Types.NetworkMode+ ( NetworkMode+ ( ..,+ NetworkMode_Awsvpc,+ NetworkMode_Bridge,+ NetworkMode_Host,+ NetworkMode_None+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype NetworkMode = NetworkMode'+ { fromNetworkMode ::+ 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 NetworkMode_Awsvpc :: NetworkMode+pattern NetworkMode_Awsvpc = NetworkMode' "awsvpc"++pattern NetworkMode_Bridge :: NetworkMode+pattern NetworkMode_Bridge = NetworkMode' "bridge"++pattern NetworkMode_Host :: NetworkMode+pattern NetworkMode_Host = NetworkMode' "host"++pattern NetworkMode_None :: NetworkMode+pattern NetworkMode_None = NetworkMode' "none"++{-# COMPLETE+ NetworkMode_Awsvpc,+ NetworkMode_Bridge,+ NetworkMode_Host,+ NetworkMode_None,+ NetworkMode'+ #-}
+ gen/Amazonka/ECS/Types/OSFamily.hs view
@@ -0,0 +1,101 @@+{-# 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.ECS.Types.OSFamily+-- 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.ECS.Types.OSFamily+ ( OSFamily+ ( ..,+ OSFamily_LINUX,+ OSFamily_WINDOWS_SERVER_2004_CORE,+ OSFamily_WINDOWS_SERVER_2016_FULL,+ OSFamily_WINDOWS_SERVER_2019_CORE,+ OSFamily_WINDOWS_SERVER_2019_FULL,+ OSFamily_WINDOWS_SERVER_2022_CORE,+ OSFamily_WINDOWS_SERVER_2022_FULL,+ OSFamily_WINDOWS_SERVER_20H2_CORE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype OSFamily = OSFamily'+ { fromOSFamily ::+ 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 OSFamily_LINUX :: OSFamily+pattern OSFamily_LINUX = OSFamily' "LINUX"++pattern OSFamily_WINDOWS_SERVER_2004_CORE :: OSFamily+pattern OSFamily_WINDOWS_SERVER_2004_CORE = OSFamily' "WINDOWS_SERVER_2004_CORE"++pattern OSFamily_WINDOWS_SERVER_2016_FULL :: OSFamily+pattern OSFamily_WINDOWS_SERVER_2016_FULL = OSFamily' "WINDOWS_SERVER_2016_FULL"++pattern OSFamily_WINDOWS_SERVER_2019_CORE :: OSFamily+pattern OSFamily_WINDOWS_SERVER_2019_CORE = OSFamily' "WINDOWS_SERVER_2019_CORE"++pattern OSFamily_WINDOWS_SERVER_2019_FULL :: OSFamily+pattern OSFamily_WINDOWS_SERVER_2019_FULL = OSFamily' "WINDOWS_SERVER_2019_FULL"++pattern OSFamily_WINDOWS_SERVER_2022_CORE :: OSFamily+pattern OSFamily_WINDOWS_SERVER_2022_CORE = OSFamily' "WINDOWS_SERVER_2022_CORE"++pattern OSFamily_WINDOWS_SERVER_2022_FULL :: OSFamily+pattern OSFamily_WINDOWS_SERVER_2022_FULL = OSFamily' "WINDOWS_SERVER_2022_FULL"++pattern OSFamily_WINDOWS_SERVER_20H2_CORE :: OSFamily+pattern OSFamily_WINDOWS_SERVER_20H2_CORE = OSFamily' "WINDOWS_SERVER_20H2_CORE"++{-# COMPLETE+ OSFamily_LINUX,+ OSFamily_WINDOWS_SERVER_2004_CORE,+ OSFamily_WINDOWS_SERVER_2016_FULL,+ OSFamily_WINDOWS_SERVER_2019_CORE,+ OSFamily_WINDOWS_SERVER_2019_FULL,+ OSFamily_WINDOWS_SERVER_2022_CORE,+ OSFamily_WINDOWS_SERVER_2022_FULL,+ OSFamily_WINDOWS_SERVER_20H2_CORE,+ OSFamily'+ #-}
+ gen/Amazonka/ECS/Types/PidMode.hs view
@@ -0,0 +1,68 @@+{-# 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.ECS.Types.PidMode+-- 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.ECS.Types.PidMode+ ( PidMode+ ( ..,+ PidMode_Host,+ PidMode_Task+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PidMode = PidMode' {fromPidMode :: 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 PidMode_Host :: PidMode+pattern PidMode_Host = PidMode' "host"++pattern PidMode_Task :: PidMode+pattern PidMode_Task = PidMode' "task"++{-# COMPLETE+ PidMode_Host,+ PidMode_Task,+ PidMode'+ #-}
+ gen/Amazonka/ECS/Types/PlacementConstraint.hs view
@@ -0,0 +1,121 @@+{-# 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.ECS.Types.PlacementConstraint+-- 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.ECS.Types.PlacementConstraint where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.PlacementConstraintType+import qualified Amazonka.Prelude as Prelude++-- | An object representing a constraint on task placement. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html Task placement constraints>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If you\'re using the Fargate launch type, task placement constraints+-- aren\'t supported.+--+-- /See:/ 'newPlacementConstraint' smart constructor.+data PlacementConstraint = PlacementConstraint'+ { -- | A cluster query language expression to apply to the constraint. The+ -- expression can have a maximum length of 2000 characters. You can\'t+ -- specify an expression if the constraint type is @distinctInstance@. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster query language>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ expression :: Prelude.Maybe Prelude.Text,+ -- | The type of constraint. Use @distinctInstance@ to ensure that each task+ -- in a particular group is running on a different container instance. Use+ -- @memberOf@ to restrict the selection to a group of valid candidates.+ type' :: Prelude.Maybe PlacementConstraintType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PlacementConstraint' 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:+--+-- 'expression', 'placementConstraint_expression' - A cluster query language expression to apply to the constraint. The+-- expression can have a maximum length of 2000 characters. You can\'t+-- specify an expression if the constraint type is @distinctInstance@. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster query language>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'type'', 'placementConstraint_type' - The type of constraint. Use @distinctInstance@ to ensure that each task+-- in a particular group is running on a different container instance. Use+-- @memberOf@ to restrict the selection to a group of valid candidates.+newPlacementConstraint ::+ PlacementConstraint+newPlacementConstraint =+ PlacementConstraint'+ { expression = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | A cluster query language expression to apply to the constraint. The+-- expression can have a maximum length of 2000 characters. You can\'t+-- specify an expression if the constraint type is @distinctInstance@. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster query language>+-- in the /Amazon Elastic Container Service Developer Guide/.+placementConstraint_expression :: Lens.Lens' PlacementConstraint (Prelude.Maybe Prelude.Text)+placementConstraint_expression = Lens.lens (\PlacementConstraint' {expression} -> expression) (\s@PlacementConstraint' {} a -> s {expression = a} :: PlacementConstraint)++-- | The type of constraint. Use @distinctInstance@ to ensure that each task+-- in a particular group is running on a different container instance. Use+-- @memberOf@ to restrict the selection to a group of valid candidates.+placementConstraint_type :: Lens.Lens' PlacementConstraint (Prelude.Maybe PlacementConstraintType)+placementConstraint_type = Lens.lens (\PlacementConstraint' {type'} -> type') (\s@PlacementConstraint' {} a -> s {type' = a} :: PlacementConstraint)++instance Data.FromJSON PlacementConstraint where+ parseJSON =+ Data.withObject+ "PlacementConstraint"+ ( \x ->+ PlacementConstraint'+ Prelude.<$> (x Data..:? "expression")+ Prelude.<*> (x Data..:? "type")+ )++instance Prelude.Hashable PlacementConstraint where+ hashWithSalt _salt PlacementConstraint' {..} =+ _salt+ `Prelude.hashWithSalt` expression+ `Prelude.hashWithSalt` type'++instance Prelude.NFData PlacementConstraint where+ rnf PlacementConstraint' {..} =+ Prelude.rnf expression+ `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON PlacementConstraint where+ toJSON PlacementConstraint' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("expression" Data..=) Prelude.<$> expression,+ ("type" Data..=) Prelude.<$> type'+ ]+ )
+ gen/Amazonka/ECS/Types/PlacementConstraintType.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.ECS.Types.PlacementConstraintType+-- 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.ECS.Types.PlacementConstraintType+ ( PlacementConstraintType+ ( ..,+ PlacementConstraintType_DistinctInstance,+ PlacementConstraintType_MemberOf+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PlacementConstraintType = PlacementConstraintType'+ { fromPlacementConstraintType ::+ 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 PlacementConstraintType_DistinctInstance :: PlacementConstraintType+pattern PlacementConstraintType_DistinctInstance = PlacementConstraintType' "distinctInstance"++pattern PlacementConstraintType_MemberOf :: PlacementConstraintType+pattern PlacementConstraintType_MemberOf = PlacementConstraintType' "memberOf"++{-# COMPLETE+ PlacementConstraintType_DistinctInstance,+ PlacementConstraintType_MemberOf,+ PlacementConstraintType'+ #-}
+ gen/Amazonka/ECS/Types/PlacementStrategy.hs view
@@ -0,0 +1,132 @@+{-# 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.ECS.Types.PlacementStrategy+-- 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.ECS.Types.PlacementStrategy where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.PlacementStrategyType+import qualified Amazonka.Prelude as Prelude++-- | The task placement strategy for a task or service. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html Task placement strategies>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newPlacementStrategy' smart constructor.+data PlacementStrategy = PlacementStrategy'+ { -- | The field to apply the placement strategy against. For the @spread@+ -- placement strategy, valid values are @instanceId@ (or @host@, which has+ -- the same effect), or any platform or custom attribute that\'s applied to+ -- a container instance, such as @attribute:ecs.availability-zone@. For the+ -- @binpack@ placement strategy, valid values are @cpu@ and @memory@. For+ -- the @random@ placement strategy, this field is not used.+ field :: Prelude.Maybe Prelude.Text,+ -- | The type of placement strategy. The @random@ placement strategy randomly+ -- places tasks on available candidates. The @spread@ placement strategy+ -- spreads placement across available candidates evenly based on the+ -- @field@ parameter. The @binpack@ strategy places tasks on available+ -- candidates that have the least available amount of the resource that\'s+ -- specified with the @field@ parameter. For example, if you binpack on+ -- memory, a task is placed on the instance with the least amount of+ -- remaining memory but still enough to run the task.+ type' :: Prelude.Maybe PlacementStrategyType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PlacementStrategy' 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:+--+-- 'field', 'placementStrategy_field' - The field to apply the placement strategy against. For the @spread@+-- placement strategy, valid values are @instanceId@ (or @host@, which has+-- the same effect), or any platform or custom attribute that\'s applied to+-- a container instance, such as @attribute:ecs.availability-zone@. For the+-- @binpack@ placement strategy, valid values are @cpu@ and @memory@. For+-- the @random@ placement strategy, this field is not used.+--+-- 'type'', 'placementStrategy_type' - The type of placement strategy. The @random@ placement strategy randomly+-- places tasks on available candidates. The @spread@ placement strategy+-- spreads placement across available candidates evenly based on the+-- @field@ parameter. The @binpack@ strategy places tasks on available+-- candidates that have the least available amount of the resource that\'s+-- specified with the @field@ parameter. For example, if you binpack on+-- memory, a task is placed on the instance with the least amount of+-- remaining memory but still enough to run the task.+newPlacementStrategy ::+ PlacementStrategy+newPlacementStrategy =+ PlacementStrategy'+ { field = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | The field to apply the placement strategy against. For the @spread@+-- placement strategy, valid values are @instanceId@ (or @host@, which has+-- the same effect), or any platform or custom attribute that\'s applied to+-- a container instance, such as @attribute:ecs.availability-zone@. For the+-- @binpack@ placement strategy, valid values are @cpu@ and @memory@. For+-- the @random@ placement strategy, this field is not used.+placementStrategy_field :: Lens.Lens' PlacementStrategy (Prelude.Maybe Prelude.Text)+placementStrategy_field = Lens.lens (\PlacementStrategy' {field} -> field) (\s@PlacementStrategy' {} a -> s {field = a} :: PlacementStrategy)++-- | The type of placement strategy. The @random@ placement strategy randomly+-- places tasks on available candidates. The @spread@ placement strategy+-- spreads placement across available candidates evenly based on the+-- @field@ parameter. The @binpack@ strategy places tasks on available+-- candidates that have the least available amount of the resource that\'s+-- specified with the @field@ parameter. For example, if you binpack on+-- memory, a task is placed on the instance with the least amount of+-- remaining memory but still enough to run the task.+placementStrategy_type :: Lens.Lens' PlacementStrategy (Prelude.Maybe PlacementStrategyType)+placementStrategy_type = Lens.lens (\PlacementStrategy' {type'} -> type') (\s@PlacementStrategy' {} a -> s {type' = a} :: PlacementStrategy)++instance Data.FromJSON PlacementStrategy where+ parseJSON =+ Data.withObject+ "PlacementStrategy"+ ( \x ->+ PlacementStrategy'+ Prelude.<$> (x Data..:? "field")+ Prelude.<*> (x Data..:? "type")+ )++instance Prelude.Hashable PlacementStrategy where+ hashWithSalt _salt PlacementStrategy' {..} =+ _salt+ `Prelude.hashWithSalt` field+ `Prelude.hashWithSalt` type'++instance Prelude.NFData PlacementStrategy where+ rnf PlacementStrategy' {..} =+ Prelude.rnf field `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON PlacementStrategy where+ toJSON PlacementStrategy' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("field" Data..=) Prelude.<$> field,+ ("type" Data..=) Prelude.<$> type'+ ]+ )
+ gen/Amazonka/ECS/Types/PlacementStrategyType.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.PlacementStrategyType+-- 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.ECS.Types.PlacementStrategyType+ ( PlacementStrategyType+ ( ..,+ PlacementStrategyType_Binpack,+ PlacementStrategyType_Random,+ PlacementStrategyType_Spread+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PlacementStrategyType = PlacementStrategyType'+ { fromPlacementStrategyType ::+ 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 PlacementStrategyType_Binpack :: PlacementStrategyType+pattern PlacementStrategyType_Binpack = PlacementStrategyType' "binpack"++pattern PlacementStrategyType_Random :: PlacementStrategyType+pattern PlacementStrategyType_Random = PlacementStrategyType' "random"++pattern PlacementStrategyType_Spread :: PlacementStrategyType+pattern PlacementStrategyType_Spread = PlacementStrategyType' "spread"++{-# COMPLETE+ PlacementStrategyType_Binpack,+ PlacementStrategyType_Random,+ PlacementStrategyType_Spread,+ PlacementStrategyType'+ #-}
+ gen/Amazonka/ECS/Types/PlatformDevice.hs view
@@ -0,0 +1,94 @@+{-# 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.ECS.Types.PlatformDevice+-- 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.ECS.Types.PlatformDevice where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.PlatformDeviceType+import qualified Amazonka.Prelude as Prelude++-- | The devices that are available on the container instance. The only+-- supported device type is a GPU.+--+-- /See:/ 'newPlatformDevice' smart constructor.+data PlatformDevice = PlatformDevice'+ { -- | The ID for the GPUs on the container instance. The available GPU IDs can+ -- also be obtained on the container instance in the+ -- @\/var\/lib\/ecs\/gpu\/nvidia_gpu_info.json@ file.+ id :: Prelude.Text,+ -- | The type of device that\'s available on the container instance. The only+ -- supported value is @GPU@.+ type' :: PlatformDeviceType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PlatformDevice' 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:+--+-- 'id', 'platformDevice_id' - The ID for the GPUs on the container instance. The available GPU IDs can+-- also be obtained on the container instance in the+-- @\/var\/lib\/ecs\/gpu\/nvidia_gpu_info.json@ file.+--+-- 'type'', 'platformDevice_type' - The type of device that\'s available on the container instance. The only+-- supported value is @GPU@.+newPlatformDevice ::+ -- | 'id'+ Prelude.Text ->+ -- | 'type''+ PlatformDeviceType ->+ PlatformDevice+newPlatformDevice pId_ pType_ =+ PlatformDevice' {id = pId_, type' = pType_}++-- | The ID for the GPUs on the container instance. The available GPU IDs can+-- also be obtained on the container instance in the+-- @\/var\/lib\/ecs\/gpu\/nvidia_gpu_info.json@ file.+platformDevice_id :: Lens.Lens' PlatformDevice Prelude.Text+platformDevice_id = Lens.lens (\PlatformDevice' {id} -> id) (\s@PlatformDevice' {} a -> s {id = a} :: PlatformDevice)++-- | The type of device that\'s available on the container instance. The only+-- supported value is @GPU@.+platformDevice_type :: Lens.Lens' PlatformDevice PlatformDeviceType+platformDevice_type = Lens.lens (\PlatformDevice' {type'} -> type') (\s@PlatformDevice' {} a -> s {type' = a} :: PlatformDevice)++instance Prelude.Hashable PlatformDevice where+ hashWithSalt _salt PlatformDevice' {..} =+ _salt+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` type'++instance Prelude.NFData PlatformDevice where+ rnf PlatformDevice' {..} =+ Prelude.rnf id `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON PlatformDevice where+ toJSON PlatformDevice' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("id" Data..= id),+ Prelude.Just ("type" Data..= type')+ ]+ )
+ gen/Amazonka/ECS/Types/PlatformDeviceType.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.PlatformDeviceType+-- 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.ECS.Types.PlatformDeviceType+ ( PlatformDeviceType+ ( ..,+ PlatformDeviceType_GPU+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PlatformDeviceType = PlatformDeviceType'+ { fromPlatformDeviceType ::+ 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 PlatformDeviceType_GPU :: PlatformDeviceType+pattern PlatformDeviceType_GPU = PlatformDeviceType' "GPU"++{-# COMPLETE+ PlatformDeviceType_GPU,+ PlatformDeviceType'+ #-}
+ gen/Amazonka/ECS/Types/PortMapping.hs view
@@ -0,0 +1,563 @@+{-# 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.ECS.Types.PortMapping+-- 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.ECS.Types.PortMapping where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ApplicationProtocol+import Amazonka.ECS.Types.TransportProtocol+import qualified Amazonka.Prelude as Prelude++-- | Port mappings allow containers to access ports on the host container+-- instance to send or receive traffic. Port mappings are specified as part+-- of the container definition.+--+-- If you use containers in a task with the @awsvpc@ or @host@ network+-- mode, specify the exposed ports using @containerPort@. The @hostPort@+-- can be left blank or it must be the same value as the @containerPort@.+--+-- You can\'t expose the same container port for multiple protocols. If you+-- attempt this, an error is returned.+--+-- After a task reaches the @RUNNING@ status, manual and automatic host and+-- container port assignments are visible in the @networkBindings@ section+-- of DescribeTasks API responses.+--+-- /See:/ 'newPortMapping' smart constructor.+data PortMapping = PortMapping'+ { -- | The application protocol that\'s used for the port mapping. This+ -- parameter only applies to Service Connect. We recommend that you set+ -- this parameter to be consistent with the protocol that your application+ -- uses. If you set this parameter, Amazon ECS adds protocol-specific+ -- connection handling to the Service Connect proxy. If you set this+ -- parameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS+ -- console and CloudWatch.+ --+ -- If you don\'t set a value for this parameter, then TCP is used. However,+ -- Amazon ECS doesn\'t add protocol-specific telemetry for TCP.+ --+ -- Tasks that run in a namespace can use short names to connect to services+ -- in the namespace. Tasks can connect to services across all of the+ -- clusters in the namespace. Tasks connect through a managed proxy+ -- container that collects logs and metrics for increased visibility. Only+ -- the tasks that Amazon ECS services create are supported with Service+ -- Connect. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ appProtocol :: Prelude.Maybe ApplicationProtocol,+ -- | The port number on the container that\'s bound to the user-specified or+ -- automatically assigned host port.+ --+ -- If you use containers in a task with the @awsvpc@ or @host@ network+ -- mode, specify the exposed ports using @containerPort@.+ --+ -- If you use containers in a task with the @bridge@ network mode and you+ -- specify a container port and not a host port, your container+ -- automatically receives a host port in the ephemeral port range. For more+ -- information, see @hostPort@. Port mappings that are automatically+ -- assigned in this way do not count toward the 100 reserved ports limit of+ -- a container instance.+ containerPort :: Prelude.Maybe Prelude.Int,+ -- | The port number range on the container that\'s bound to the dynamically+ -- mapped host port range.+ --+ -- The following rules apply when you specify a @containerPortRange@:+ --+ -- - You must use either the @bridge@ network mode or the @awsvpc@+ -- network mode.+ --+ -- - This parameter is available for both the EC2 and Fargate launch+ -- types.+ --+ -- - This parameter is available for both the Linux and Windows operating+ -- systems.+ --+ -- - The container instance must have at least version 1.67.0 of the+ -- container agent and at least version 1.67.0-1 of the @ecs-init@+ -- package+ --+ -- - You can specify a maximum of 100 port ranges per container.+ --+ -- - You do not specify a @hostPortRange@. The value of the+ -- @hostPortRange@ is set as follows:+ --+ -- - For containers in a task with the @awsvpc@ network mode, the+ -- @hostPort@ is set to the same value as the @containerPort@. This+ -- is a static mapping strategy.+ --+ -- - For containers in a task with the @bridge@ network mode, the+ -- Amazon ECS agent finds open host ports from the default+ -- ephemeral range and passes it to docker to bind them to the+ -- container ports.+ --+ -- - The @containerPortRange@ valid values are between 1 and 65535.+ --+ -- - A port can only be included in one port mapping per container.+ --+ -- - You cannot specify overlapping port ranges.+ --+ -- - The first port in the range must be less than last port in the+ -- range.+ --+ -- - Docker recommends that you turn off the docker-proxy in the Docker+ -- daemon config file when you have a large number of ports.+ --+ -- For more information, see+ -- <https://github.com/moby/moby/issues/11185 Issue #11185> on the+ -- Github website.+ --+ -- For information about how to turn off the docker-proxy in the Docker+ -- daemon config file, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon Docker daemon>+ -- in the /Amazon ECS Developer Guide/.+ --+ -- You can call+ -- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html DescribeTasks>+ -- to view the @hostPortRange@ which are the host ports that are bound to+ -- the container ports.+ containerPortRange :: Prelude.Maybe Prelude.Text,+ -- | The port number on the container instance to reserve for your container.+ --+ -- If you specify a @containerPortRange@, leave this field empty and the+ -- value of the @hostPort@ is set as follows:+ --+ -- - For containers in a task with the @awsvpc@ network mode, the+ -- @hostPort@ is set to the same value as the @containerPort@. This is+ -- a static mapping strategy.+ --+ -- - For containers in a task with the @bridge@ network mode, the Amazon+ -- ECS agent finds open ports on the host and automaticaly binds them+ -- to the container ports. This is a dynamic mapping strategy.+ --+ -- If you use containers in a task with the @awsvpc@ or @host@ network+ -- mode, the @hostPort@ can either be left blank or set to the same value+ -- as the @containerPort@.+ --+ -- If you use containers in a task with the @bridge@ network mode, you can+ -- specify a non-reserved host port for your container port mapping, or you+ -- can omit the @hostPort@ (or set it to @0@) while specifying a+ -- @containerPort@ and your container automatically receives a port in the+ -- ephemeral port range for your container instance operating system and+ -- Docker version.+ --+ -- The default ephemeral port range for Docker version 1.6.0 and later is+ -- listed on the instance under+ -- @\/proc\/sys\/net\/ipv4\/ip_local_port_range@. If this kernel parameter+ -- is unavailable, the default ephemeral port range from 49153 through+ -- 65535 is used. Do not attempt to specify a host port in the ephemeral+ -- port range as these are reserved for automatic assignment. In general,+ -- ports below 32768 are outside of the ephemeral port range.+ --+ -- The default reserved ports are 22 for SSH, the Docker ports 2375 and+ -- 2376, and the Amazon ECS container agent ports 51678-51680. Any host+ -- port that was previously specified in a running task is also reserved+ -- while the task is running. That is, after a task stops, the host port is+ -- released. The current reserved ports are displayed in the+ -- @remainingResources@ of DescribeContainerInstances output. A container+ -- instance can have up to 100 reserved ports at a time. This number+ -- includes the default reserved ports. Automatically assigned ports+ -- aren\'t included in the 100 reserved ports quota.+ hostPort :: Prelude.Maybe Prelude.Int,+ -- | The name that\'s used for the port mapping. This parameter only applies+ -- to Service Connect. This parameter is the name that you use in the+ -- @serviceConnectConfiguration@ of a service. The name can include up to+ -- 64 characters. The characters can include lowercase letters, numbers,+ -- underscores (_), and hyphens (-). The name can\'t start with a hyphen.+ --+ -- For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ name :: Prelude.Maybe Prelude.Text,+ -- | The protocol used for the port mapping. Valid values are @tcp@ and+ -- @udp@. The default is @tcp@.+ protocol :: Prelude.Maybe TransportProtocol+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PortMapping' 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:+--+-- 'appProtocol', 'portMapping_appProtocol' - The application protocol that\'s used for the port mapping. This+-- parameter only applies to Service Connect. We recommend that you set+-- this parameter to be consistent with the protocol that your application+-- uses. If you set this parameter, Amazon ECS adds protocol-specific+-- connection handling to the Service Connect proxy. If you set this+-- parameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS+-- console and CloudWatch.+--+-- If you don\'t set a value for this parameter, then TCP is used. However,+-- Amazon ECS doesn\'t add protocol-specific telemetry for TCP.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'containerPort', 'portMapping_containerPort' - The port number on the container that\'s bound to the user-specified or+-- automatically assigned host port.+--+-- If you use containers in a task with the @awsvpc@ or @host@ network+-- mode, specify the exposed ports using @containerPort@.+--+-- If you use containers in a task with the @bridge@ network mode and you+-- specify a container port and not a host port, your container+-- automatically receives a host port in the ephemeral port range. For more+-- information, see @hostPort@. Port mappings that are automatically+-- assigned in this way do not count toward the 100 reserved ports limit of+-- a container instance.+--+-- 'containerPortRange', 'portMapping_containerPortRange' - The port number range on the container that\'s bound to the dynamically+-- mapped host port range.+--+-- The following rules apply when you specify a @containerPortRange@:+--+-- - You must use either the @bridge@ network mode or the @awsvpc@+-- network mode.+--+-- - This parameter is available for both the EC2 and Fargate launch+-- types.+--+-- - This parameter is available for both the Linux and Windows operating+-- systems.+--+-- - The container instance must have at least version 1.67.0 of the+-- container agent and at least version 1.67.0-1 of the @ecs-init@+-- package+--+-- - You can specify a maximum of 100 port ranges per container.+--+-- - You do not specify a @hostPortRange@. The value of the+-- @hostPortRange@ is set as follows:+--+-- - For containers in a task with the @awsvpc@ network mode, the+-- @hostPort@ is set to the same value as the @containerPort@. This+-- is a static mapping strategy.+--+-- - For containers in a task with the @bridge@ network mode, the+-- Amazon ECS agent finds open host ports from the default+-- ephemeral range and passes it to docker to bind them to the+-- container ports.+--+-- - The @containerPortRange@ valid values are between 1 and 65535.+--+-- - A port can only be included in one port mapping per container.+--+-- - You cannot specify overlapping port ranges.+--+-- - The first port in the range must be less than last port in the+-- range.+--+-- - Docker recommends that you turn off the docker-proxy in the Docker+-- daemon config file when you have a large number of ports.+--+-- For more information, see+-- <https://github.com/moby/moby/issues/11185 Issue #11185> on the+-- Github website.+--+-- For information about how to turn off the docker-proxy in the Docker+-- daemon config file, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon Docker daemon>+-- in the /Amazon ECS Developer Guide/.+--+-- You can call+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html DescribeTasks>+-- to view the @hostPortRange@ which are the host ports that are bound to+-- the container ports.+--+-- 'hostPort', 'portMapping_hostPort' - The port number on the container instance to reserve for your container.+--+-- If you specify a @containerPortRange@, leave this field empty and the+-- value of the @hostPort@ is set as follows:+--+-- - For containers in a task with the @awsvpc@ network mode, the+-- @hostPort@ is set to the same value as the @containerPort@. This is+-- a static mapping strategy.+--+-- - For containers in a task with the @bridge@ network mode, the Amazon+-- ECS agent finds open ports on the host and automaticaly binds them+-- to the container ports. This is a dynamic mapping strategy.+--+-- If you use containers in a task with the @awsvpc@ or @host@ network+-- mode, the @hostPort@ can either be left blank or set to the same value+-- as the @containerPort@.+--+-- If you use containers in a task with the @bridge@ network mode, you can+-- specify a non-reserved host port for your container port mapping, or you+-- can omit the @hostPort@ (or set it to @0@) while specifying a+-- @containerPort@ and your container automatically receives a port in the+-- ephemeral port range for your container instance operating system and+-- Docker version.+--+-- The default ephemeral port range for Docker version 1.6.0 and later is+-- listed on the instance under+-- @\/proc\/sys\/net\/ipv4\/ip_local_port_range@. If this kernel parameter+-- is unavailable, the default ephemeral port range from 49153 through+-- 65535 is used. Do not attempt to specify a host port in the ephemeral+-- port range as these are reserved for automatic assignment. In general,+-- ports below 32768 are outside of the ephemeral port range.+--+-- The default reserved ports are 22 for SSH, the Docker ports 2375 and+-- 2376, and the Amazon ECS container agent ports 51678-51680. Any host+-- port that was previously specified in a running task is also reserved+-- while the task is running. That is, after a task stops, the host port is+-- released. The current reserved ports are displayed in the+-- @remainingResources@ of DescribeContainerInstances output. A container+-- instance can have up to 100 reserved ports at a time. This number+-- includes the default reserved ports. Automatically assigned ports+-- aren\'t included in the 100 reserved ports quota.+--+-- 'name', 'portMapping_name' - The name that\'s used for the port mapping. This parameter only applies+-- to Service Connect. This parameter is the name that you use in the+-- @serviceConnectConfiguration@ of a service. The name can include up to+-- 64 characters. The characters can include lowercase letters, numbers,+-- underscores (_), and hyphens (-). The name can\'t start with a hyphen.+--+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'protocol', 'portMapping_protocol' - The protocol used for the port mapping. Valid values are @tcp@ and+-- @udp@. The default is @tcp@.+newPortMapping ::+ PortMapping+newPortMapping =+ PortMapping'+ { appProtocol = Prelude.Nothing,+ containerPort = Prelude.Nothing,+ containerPortRange = Prelude.Nothing,+ hostPort = Prelude.Nothing,+ name = Prelude.Nothing,+ protocol = Prelude.Nothing+ }++-- | The application protocol that\'s used for the port mapping. This+-- parameter only applies to Service Connect. We recommend that you set+-- this parameter to be consistent with the protocol that your application+-- uses. If you set this parameter, Amazon ECS adds protocol-specific+-- connection handling to the Service Connect proxy. If you set this+-- parameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS+-- console and CloudWatch.+--+-- If you don\'t set a value for this parameter, then TCP is used. However,+-- Amazon ECS doesn\'t add protocol-specific telemetry for TCP.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+portMapping_appProtocol :: Lens.Lens' PortMapping (Prelude.Maybe ApplicationProtocol)+portMapping_appProtocol = Lens.lens (\PortMapping' {appProtocol} -> appProtocol) (\s@PortMapping' {} a -> s {appProtocol = a} :: PortMapping)++-- | The port number on the container that\'s bound to the user-specified or+-- automatically assigned host port.+--+-- If you use containers in a task with the @awsvpc@ or @host@ network+-- mode, specify the exposed ports using @containerPort@.+--+-- If you use containers in a task with the @bridge@ network mode and you+-- specify a container port and not a host port, your container+-- automatically receives a host port in the ephemeral port range. For more+-- information, see @hostPort@. Port mappings that are automatically+-- assigned in this way do not count toward the 100 reserved ports limit of+-- a container instance.+portMapping_containerPort :: Lens.Lens' PortMapping (Prelude.Maybe Prelude.Int)+portMapping_containerPort = Lens.lens (\PortMapping' {containerPort} -> containerPort) (\s@PortMapping' {} a -> s {containerPort = a} :: PortMapping)++-- | The port number range on the container that\'s bound to the dynamically+-- mapped host port range.+--+-- The following rules apply when you specify a @containerPortRange@:+--+-- - You must use either the @bridge@ network mode or the @awsvpc@+-- network mode.+--+-- - This parameter is available for both the EC2 and Fargate launch+-- types.+--+-- - This parameter is available for both the Linux and Windows operating+-- systems.+--+-- - The container instance must have at least version 1.67.0 of the+-- container agent and at least version 1.67.0-1 of the @ecs-init@+-- package+--+-- - You can specify a maximum of 100 port ranges per container.+--+-- - You do not specify a @hostPortRange@. The value of the+-- @hostPortRange@ is set as follows:+--+-- - For containers in a task with the @awsvpc@ network mode, the+-- @hostPort@ is set to the same value as the @containerPort@. This+-- is a static mapping strategy.+--+-- - For containers in a task with the @bridge@ network mode, the+-- Amazon ECS agent finds open host ports from the default+-- ephemeral range and passes it to docker to bind them to the+-- container ports.+--+-- - The @containerPortRange@ valid values are between 1 and 65535.+--+-- - A port can only be included in one port mapping per container.+--+-- - You cannot specify overlapping port ranges.+--+-- - The first port in the range must be less than last port in the+-- range.+--+-- - Docker recommends that you turn off the docker-proxy in the Docker+-- daemon config file when you have a large number of ports.+--+-- For more information, see+-- <https://github.com/moby/moby/issues/11185 Issue #11185> on the+-- Github website.+--+-- For information about how to turn off the docker-proxy in the Docker+-- daemon config file, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon Docker daemon>+-- in the /Amazon ECS Developer Guide/.+--+-- You can call+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html DescribeTasks>+-- to view the @hostPortRange@ which are the host ports that are bound to+-- the container ports.+portMapping_containerPortRange :: Lens.Lens' PortMapping (Prelude.Maybe Prelude.Text)+portMapping_containerPortRange = Lens.lens (\PortMapping' {containerPortRange} -> containerPortRange) (\s@PortMapping' {} a -> s {containerPortRange = a} :: PortMapping)++-- | The port number on the container instance to reserve for your container.+--+-- If you specify a @containerPortRange@, leave this field empty and the+-- value of the @hostPort@ is set as follows:+--+-- - For containers in a task with the @awsvpc@ network mode, the+-- @hostPort@ is set to the same value as the @containerPort@. This is+-- a static mapping strategy.+--+-- - For containers in a task with the @bridge@ network mode, the Amazon+-- ECS agent finds open ports on the host and automaticaly binds them+-- to the container ports. This is a dynamic mapping strategy.+--+-- If you use containers in a task with the @awsvpc@ or @host@ network+-- mode, the @hostPort@ can either be left blank or set to the same value+-- as the @containerPort@.+--+-- If you use containers in a task with the @bridge@ network mode, you can+-- specify a non-reserved host port for your container port mapping, or you+-- can omit the @hostPort@ (or set it to @0@) while specifying a+-- @containerPort@ and your container automatically receives a port in the+-- ephemeral port range for your container instance operating system and+-- Docker version.+--+-- The default ephemeral port range for Docker version 1.6.0 and later is+-- listed on the instance under+-- @\/proc\/sys\/net\/ipv4\/ip_local_port_range@. If this kernel parameter+-- is unavailable, the default ephemeral port range from 49153 through+-- 65535 is used. Do not attempt to specify a host port in the ephemeral+-- port range as these are reserved for automatic assignment. In general,+-- ports below 32768 are outside of the ephemeral port range.+--+-- The default reserved ports are 22 for SSH, the Docker ports 2375 and+-- 2376, and the Amazon ECS container agent ports 51678-51680. Any host+-- port that was previously specified in a running task is also reserved+-- while the task is running. That is, after a task stops, the host port is+-- released. The current reserved ports are displayed in the+-- @remainingResources@ of DescribeContainerInstances output. A container+-- instance can have up to 100 reserved ports at a time. This number+-- includes the default reserved ports. Automatically assigned ports+-- aren\'t included in the 100 reserved ports quota.+portMapping_hostPort :: Lens.Lens' PortMapping (Prelude.Maybe Prelude.Int)+portMapping_hostPort = Lens.lens (\PortMapping' {hostPort} -> hostPort) (\s@PortMapping' {} a -> s {hostPort = a} :: PortMapping)++-- | The name that\'s used for the port mapping. This parameter only applies+-- to Service Connect. This parameter is the name that you use in the+-- @serviceConnectConfiguration@ of a service. The name can include up to+-- 64 characters. The characters can include lowercase letters, numbers,+-- underscores (_), and hyphens (-). The name can\'t start with a hyphen.+--+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+portMapping_name :: Lens.Lens' PortMapping (Prelude.Maybe Prelude.Text)+portMapping_name = Lens.lens (\PortMapping' {name} -> name) (\s@PortMapping' {} a -> s {name = a} :: PortMapping)++-- | The protocol used for the port mapping. Valid values are @tcp@ and+-- @udp@. The default is @tcp@.+portMapping_protocol :: Lens.Lens' PortMapping (Prelude.Maybe TransportProtocol)+portMapping_protocol = Lens.lens (\PortMapping' {protocol} -> protocol) (\s@PortMapping' {} a -> s {protocol = a} :: PortMapping)++instance Data.FromJSON PortMapping where+ parseJSON =+ Data.withObject+ "PortMapping"+ ( \x ->+ PortMapping'+ Prelude.<$> (x Data..:? "appProtocol")+ Prelude.<*> (x Data..:? "containerPort")+ Prelude.<*> (x Data..:? "containerPortRange")+ Prelude.<*> (x Data..:? "hostPort")+ Prelude.<*> (x Data..:? "name")+ Prelude.<*> (x Data..:? "protocol")+ )++instance Prelude.Hashable PortMapping where+ hashWithSalt _salt PortMapping' {..} =+ _salt+ `Prelude.hashWithSalt` appProtocol+ `Prelude.hashWithSalt` containerPort+ `Prelude.hashWithSalt` containerPortRange+ `Prelude.hashWithSalt` hostPort+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` protocol++instance Prelude.NFData PortMapping where+ rnf PortMapping' {..} =+ Prelude.rnf appProtocol+ `Prelude.seq` Prelude.rnf containerPort+ `Prelude.seq` Prelude.rnf containerPortRange+ `Prelude.seq` Prelude.rnf hostPort+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf protocol++instance Data.ToJSON PortMapping where+ toJSON PortMapping' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("appProtocol" Data..=) Prelude.<$> appProtocol,+ ("containerPort" Data..=) Prelude.<$> containerPort,+ ("containerPortRange" Data..=)+ Prelude.<$> containerPortRange,+ ("hostPort" Data..=) Prelude.<$> hostPort,+ ("name" Data..=) Prelude.<$> name,+ ("protocol" Data..=) Prelude.<$> protocol+ ]+ )
+ gen/Amazonka/ECS/Types/PropagateTags.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.PropagateTags+-- 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.ECS.Types.PropagateTags+ ( PropagateTags+ ( ..,+ PropagateTags_NONE,+ PropagateTags_SERVICE,+ PropagateTags_TASK_DEFINITION+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PropagateTags = PropagateTags'+ { fromPropagateTags ::+ 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 PropagateTags_NONE :: PropagateTags+pattern PropagateTags_NONE = PropagateTags' "NONE"++pattern PropagateTags_SERVICE :: PropagateTags+pattern PropagateTags_SERVICE = PropagateTags' "SERVICE"++pattern PropagateTags_TASK_DEFINITION :: PropagateTags+pattern PropagateTags_TASK_DEFINITION = PropagateTags' "TASK_DEFINITION"++{-# COMPLETE+ PropagateTags_NONE,+ PropagateTags_SERVICE,+ PropagateTags_TASK_DEFINITION,+ PropagateTags'+ #-}
+ gen/Amazonka/ECS/Types/ProtectedTask.hs view
@@ -0,0 +1,101 @@+{-# 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.ECS.Types.ProtectedTask+-- 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.ECS.Types.ProtectedTask 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 object representing the protection status details for a task. You can+-- set the protection status with the UpdateTaskProtection API and get the+-- status of tasks with the GetTaskProtection API.+--+-- /See:/ 'newProtectedTask' smart constructor.+data ProtectedTask = ProtectedTask'+ { -- | The epoch time when protection for the task will expire.+ expirationDate :: Prelude.Maybe Data.POSIX,+ -- | The protection status of the task. If scale-in protection is enabled for+ -- a task, the value is @true@. Otherwise, it is @false@.+ protectionEnabled :: Prelude.Maybe Prelude.Bool,+ -- | The task ARN.+ taskArn :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ProtectedTask' 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:+--+-- 'expirationDate', 'protectedTask_expirationDate' - The epoch time when protection for the task will expire.+--+-- 'protectionEnabled', 'protectedTask_protectionEnabled' - The protection status of the task. If scale-in protection is enabled for+-- a task, the value is @true@. Otherwise, it is @false@.+--+-- 'taskArn', 'protectedTask_taskArn' - The task ARN.+newProtectedTask ::+ ProtectedTask+newProtectedTask =+ ProtectedTask'+ { expirationDate = Prelude.Nothing,+ protectionEnabled = Prelude.Nothing,+ taskArn = Prelude.Nothing+ }++-- | The epoch time when protection for the task will expire.+protectedTask_expirationDate :: Lens.Lens' ProtectedTask (Prelude.Maybe Prelude.UTCTime)+protectedTask_expirationDate = Lens.lens (\ProtectedTask' {expirationDate} -> expirationDate) (\s@ProtectedTask' {} a -> s {expirationDate = a} :: ProtectedTask) Prelude.. Lens.mapping Data._Time++-- | The protection status of the task. If scale-in protection is enabled for+-- a task, the value is @true@. Otherwise, it is @false@.+protectedTask_protectionEnabled :: Lens.Lens' ProtectedTask (Prelude.Maybe Prelude.Bool)+protectedTask_protectionEnabled = Lens.lens (\ProtectedTask' {protectionEnabled} -> protectionEnabled) (\s@ProtectedTask' {} a -> s {protectionEnabled = a} :: ProtectedTask)++-- | The task ARN.+protectedTask_taskArn :: Lens.Lens' ProtectedTask (Prelude.Maybe Prelude.Text)+protectedTask_taskArn = Lens.lens (\ProtectedTask' {taskArn} -> taskArn) (\s@ProtectedTask' {} a -> s {taskArn = a} :: ProtectedTask)++instance Data.FromJSON ProtectedTask where+ parseJSON =+ Data.withObject+ "ProtectedTask"+ ( \x ->+ ProtectedTask'+ Prelude.<$> (x Data..:? "expirationDate")+ Prelude.<*> (x Data..:? "protectionEnabled")+ Prelude.<*> (x Data..:? "taskArn")+ )++instance Prelude.Hashable ProtectedTask where+ hashWithSalt _salt ProtectedTask' {..} =+ _salt+ `Prelude.hashWithSalt` expirationDate+ `Prelude.hashWithSalt` protectionEnabled+ `Prelude.hashWithSalt` taskArn++instance Prelude.NFData ProtectedTask where+ rnf ProtectedTask' {..} =+ Prelude.rnf expirationDate+ `Prelude.seq` Prelude.rnf protectionEnabled+ `Prelude.seq` Prelude.rnf taskArn
+ gen/Amazonka/ECS/Types/ProxyConfiguration.hs view
@@ -0,0 +1,206 @@+{-# 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.ECS.Types.ProxyConfiguration+-- 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.ECS.Types.ProxyConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.KeyValuePair+import Amazonka.ECS.Types.ProxyConfigurationType+import qualified Amazonka.Prelude as Prelude++-- | The configuration details for the App Mesh proxy.+--+-- For tasks that use the EC2 launch type, the container instances require+-- at least version 1.26.0 of the container agent and at least version+-- 1.26.0-1 of the @ecs-init@ package to use a proxy configuration. If your+-- container instances are launched from the Amazon ECS optimized AMI+-- version @20190301@ or later, then they contain the required versions of+-- the container agent and @ecs-init@. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+--+-- /See:/ 'newProxyConfiguration' smart constructor.+data ProxyConfiguration = ProxyConfiguration'+ { -- | The set of network configuration parameters to provide the Container+ -- Network Interface (CNI) plugin, specified as key-value pairs.+ --+ -- - @IgnoredUID@ - (Required) The user ID (UID) of the proxy container+ -- as defined by the @user@ parameter in a container definition. This+ -- is used to ensure the proxy ignores its own traffic. If @IgnoredGID@+ -- is specified, this field can be empty.+ --+ -- - @IgnoredGID@ - (Required) The group ID (GID) of the proxy container+ -- as defined by the @user@ parameter in a container definition. This+ -- is used to ensure the proxy ignores its own traffic. If @IgnoredUID@+ -- is specified, this field can be empty.+ --+ -- - @AppPorts@ - (Required) The list of ports that the application uses.+ -- Network traffic to these ports is forwarded to the+ -- @ProxyIngressPort@ and @ProxyEgressPort@.+ --+ -- - @ProxyIngressPort@ - (Required) Specifies the port that incoming+ -- traffic to the @AppPorts@ is directed to.+ --+ -- - @ProxyEgressPort@ - (Required) Specifies the port that outgoing+ -- traffic from the @AppPorts@ is directed to.+ --+ -- - @EgressIgnoredPorts@ - (Required) The egress traffic going to the+ -- specified ports is ignored and not redirected to the+ -- @ProxyEgressPort@. It can be an empty list.+ --+ -- - @EgressIgnoredIPs@ - (Required) The egress traffic going to the+ -- specified IP addresses is ignored and not redirected to the+ -- @ProxyEgressPort@. It can be an empty list.+ properties :: Prelude.Maybe [KeyValuePair],+ -- | The proxy type. The only supported value is @APPMESH@.+ type' :: Prelude.Maybe ProxyConfigurationType,+ -- | The name of the container that will serve as the App Mesh proxy.+ containerName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ProxyConfiguration' 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:+--+-- 'properties', 'proxyConfiguration_properties' - The set of network configuration parameters to provide the Container+-- Network Interface (CNI) plugin, specified as key-value pairs.+--+-- - @IgnoredUID@ - (Required) The user ID (UID) of the proxy container+-- as defined by the @user@ parameter in a container definition. This+-- is used to ensure the proxy ignores its own traffic. If @IgnoredGID@+-- is specified, this field can be empty.+--+-- - @IgnoredGID@ - (Required) The group ID (GID) of the proxy container+-- as defined by the @user@ parameter in a container definition. This+-- is used to ensure the proxy ignores its own traffic. If @IgnoredUID@+-- is specified, this field can be empty.+--+-- - @AppPorts@ - (Required) The list of ports that the application uses.+-- Network traffic to these ports is forwarded to the+-- @ProxyIngressPort@ and @ProxyEgressPort@.+--+-- - @ProxyIngressPort@ - (Required) Specifies the port that incoming+-- traffic to the @AppPorts@ is directed to.+--+-- - @ProxyEgressPort@ - (Required) Specifies the port that outgoing+-- traffic from the @AppPorts@ is directed to.+--+-- - @EgressIgnoredPorts@ - (Required) The egress traffic going to the+-- specified ports is ignored and not redirected to the+-- @ProxyEgressPort@. It can be an empty list.+--+-- - @EgressIgnoredIPs@ - (Required) The egress traffic going to the+-- specified IP addresses is ignored and not redirected to the+-- @ProxyEgressPort@. It can be an empty list.+--+-- 'type'', 'proxyConfiguration_type' - The proxy type. The only supported value is @APPMESH@.+--+-- 'containerName', 'proxyConfiguration_containerName' - The name of the container that will serve as the App Mesh proxy.+newProxyConfiguration ::+ -- | 'containerName'+ Prelude.Text ->+ ProxyConfiguration+newProxyConfiguration pContainerName_ =+ ProxyConfiguration'+ { properties = Prelude.Nothing,+ type' = Prelude.Nothing,+ containerName = pContainerName_+ }++-- | The set of network configuration parameters to provide the Container+-- Network Interface (CNI) plugin, specified as key-value pairs.+--+-- - @IgnoredUID@ - (Required) The user ID (UID) of the proxy container+-- as defined by the @user@ parameter in a container definition. This+-- is used to ensure the proxy ignores its own traffic. If @IgnoredGID@+-- is specified, this field can be empty.+--+-- - @IgnoredGID@ - (Required) The group ID (GID) of the proxy container+-- as defined by the @user@ parameter in a container definition. This+-- is used to ensure the proxy ignores its own traffic. If @IgnoredUID@+-- is specified, this field can be empty.+--+-- - @AppPorts@ - (Required) The list of ports that the application uses.+-- Network traffic to these ports is forwarded to the+-- @ProxyIngressPort@ and @ProxyEgressPort@.+--+-- - @ProxyIngressPort@ - (Required) Specifies the port that incoming+-- traffic to the @AppPorts@ is directed to.+--+-- - @ProxyEgressPort@ - (Required) Specifies the port that outgoing+-- traffic from the @AppPorts@ is directed to.+--+-- - @EgressIgnoredPorts@ - (Required) The egress traffic going to the+-- specified ports is ignored and not redirected to the+-- @ProxyEgressPort@. It can be an empty list.+--+-- - @EgressIgnoredIPs@ - (Required) The egress traffic going to the+-- specified IP addresses is ignored and not redirected to the+-- @ProxyEgressPort@. It can be an empty list.+proxyConfiguration_properties :: Lens.Lens' ProxyConfiguration (Prelude.Maybe [KeyValuePair])+proxyConfiguration_properties = Lens.lens (\ProxyConfiguration' {properties} -> properties) (\s@ProxyConfiguration' {} a -> s {properties = a} :: ProxyConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | The proxy type. The only supported value is @APPMESH@.+proxyConfiguration_type :: Lens.Lens' ProxyConfiguration (Prelude.Maybe ProxyConfigurationType)+proxyConfiguration_type = Lens.lens (\ProxyConfiguration' {type'} -> type') (\s@ProxyConfiguration' {} a -> s {type' = a} :: ProxyConfiguration)++-- | The name of the container that will serve as the App Mesh proxy.+proxyConfiguration_containerName :: Lens.Lens' ProxyConfiguration Prelude.Text+proxyConfiguration_containerName = Lens.lens (\ProxyConfiguration' {containerName} -> containerName) (\s@ProxyConfiguration' {} a -> s {containerName = a} :: ProxyConfiguration)++instance Data.FromJSON ProxyConfiguration where+ parseJSON =+ Data.withObject+ "ProxyConfiguration"+ ( \x ->+ ProxyConfiguration'+ Prelude.<$> (x Data..:? "properties" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "type")+ Prelude.<*> (x Data..: "containerName")+ )++instance Prelude.Hashable ProxyConfiguration where+ hashWithSalt _salt ProxyConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` properties+ `Prelude.hashWithSalt` type'+ `Prelude.hashWithSalt` containerName++instance Prelude.NFData ProxyConfiguration where+ rnf ProxyConfiguration' {..} =+ Prelude.rnf properties+ `Prelude.seq` Prelude.rnf type'+ `Prelude.seq` Prelude.rnf containerName++instance Data.ToJSON ProxyConfiguration where+ toJSON ProxyConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("properties" Data..=) Prelude.<$> properties,+ ("type" Data..=) Prelude.<$> type',+ Prelude.Just+ ("containerName" Data..= containerName)+ ]+ )
+ gen/Amazonka/ECS/Types/ProxyConfigurationType.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.ProxyConfigurationType+-- 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.ECS.Types.ProxyConfigurationType+ ( ProxyConfigurationType+ ( ..,+ ProxyConfigurationType_APPMESH+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ProxyConfigurationType = ProxyConfigurationType'+ { fromProxyConfigurationType ::+ 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 ProxyConfigurationType_APPMESH :: ProxyConfigurationType+pattern ProxyConfigurationType_APPMESH = ProxyConfigurationType' "APPMESH"++{-# COMPLETE+ ProxyConfigurationType_APPMESH,+ ProxyConfigurationType'+ #-}
+ gen/Amazonka/ECS/Types/RepositoryCredentials.hs view
@@ -0,0 +1,106 @@+{-# 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.ECS.Types.RepositoryCredentials+-- 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.ECS.Types.RepositoryCredentials 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++-- | The repository credentials for private registry authentication.+--+-- /See:/ 'newRepositoryCredentials' smart constructor.+data RepositoryCredentials = RepositoryCredentials'+ { -- | The Amazon Resource Name (ARN) of the secret containing the private+ -- repository credentials.+ --+ -- When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the+ -- secret exists in the same Region as the task that you\'re launching then+ -- you can use either the full ARN or the name of the secret. When you use+ -- the Amazon Web Services Management Console, you must specify the full+ -- ARN of the secret.+ credentialsParameter :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RepositoryCredentials' 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:+--+-- 'credentialsParameter', 'repositoryCredentials_credentialsParameter' - The Amazon Resource Name (ARN) of the secret containing the private+-- repository credentials.+--+-- When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the+-- secret exists in the same Region as the task that you\'re launching then+-- you can use either the full ARN or the name of the secret. When you use+-- the Amazon Web Services Management Console, you must specify the full+-- ARN of the secret.+newRepositoryCredentials ::+ -- | 'credentialsParameter'+ Prelude.Text ->+ RepositoryCredentials+newRepositoryCredentials pCredentialsParameter_ =+ RepositoryCredentials'+ { credentialsParameter =+ pCredentialsParameter_+ }++-- | The Amazon Resource Name (ARN) of the secret containing the private+-- repository credentials.+--+-- When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the+-- secret exists in the same Region as the task that you\'re launching then+-- you can use either the full ARN or the name of the secret. When you use+-- the Amazon Web Services Management Console, you must specify the full+-- ARN of the secret.+repositoryCredentials_credentialsParameter :: Lens.Lens' RepositoryCredentials Prelude.Text+repositoryCredentials_credentialsParameter = Lens.lens (\RepositoryCredentials' {credentialsParameter} -> credentialsParameter) (\s@RepositoryCredentials' {} a -> s {credentialsParameter = a} :: RepositoryCredentials)++instance Data.FromJSON RepositoryCredentials where+ parseJSON =+ Data.withObject+ "RepositoryCredentials"+ ( \x ->+ RepositoryCredentials'+ Prelude.<$> (x Data..: "credentialsParameter")+ )++instance Prelude.Hashable RepositoryCredentials where+ hashWithSalt _salt RepositoryCredentials' {..} =+ _salt `Prelude.hashWithSalt` credentialsParameter++instance Prelude.NFData RepositoryCredentials where+ rnf RepositoryCredentials' {..} =+ Prelude.rnf credentialsParameter++instance Data.ToJSON RepositoryCredentials where+ toJSON RepositoryCredentials' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ( "credentialsParameter"+ Data..= credentialsParameter+ )+ ]+ )
+ gen/Amazonka/ECS/Types/Resource.hs view
@@ -0,0 +1,164 @@+{-# 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.ECS.Types.Resource+-- 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.ECS.Types.Resource 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++-- | Describes the resources available for a container instance.+--+-- /See:/ 'newResource' smart constructor.+data Resource = Resource'+ { -- | When the @doubleValue@ type is set, the value of the resource must be a+ -- double precision floating-point type.+ doubleValue :: Prelude.Maybe Prelude.Double,+ -- | When the @integerValue@ type is set, the value of the resource must be+ -- an integer.+ integerValue :: Prelude.Maybe Prelude.Int,+ -- | When the @longValue@ type is set, the value of the resource must be an+ -- extended precision floating-point type.+ longValue :: Prelude.Maybe Prelude.Integer,+ -- | The name of the resource, such as @CPU@, @MEMORY@, @PORTS@, @PORTS_UDP@,+ -- or a user-defined resource.+ name :: Prelude.Maybe Prelude.Text,+ -- | When the @stringSetValue@ type is set, the value of the resource must be+ -- a string type.+ stringSetValue :: Prelude.Maybe [Prelude.Text],+ -- | The type of the resource. Valid values: @INTEGER@, @DOUBLE@, @LONG@, or+ -- @STRINGSET@.+ type' :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Resource' 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:+--+-- 'doubleValue', 'resource_doubleValue' - When the @doubleValue@ type is set, the value of the resource must be a+-- double precision floating-point type.+--+-- 'integerValue', 'resource_integerValue' - When the @integerValue@ type is set, the value of the resource must be+-- an integer.+--+-- 'longValue', 'resource_longValue' - When the @longValue@ type is set, the value of the resource must be an+-- extended precision floating-point type.+--+-- 'name', 'resource_name' - The name of the resource, such as @CPU@, @MEMORY@, @PORTS@, @PORTS_UDP@,+-- or a user-defined resource.+--+-- 'stringSetValue', 'resource_stringSetValue' - When the @stringSetValue@ type is set, the value of the resource must be+-- a string type.+--+-- 'type'', 'resource_type' - The type of the resource. Valid values: @INTEGER@, @DOUBLE@, @LONG@, or+-- @STRINGSET@.+newResource ::+ Resource+newResource =+ Resource'+ { doubleValue = Prelude.Nothing,+ integerValue = Prelude.Nothing,+ longValue = Prelude.Nothing,+ name = Prelude.Nothing,+ stringSetValue = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | When the @doubleValue@ type is set, the value of the resource must be a+-- double precision floating-point type.+resource_doubleValue :: Lens.Lens' Resource (Prelude.Maybe Prelude.Double)+resource_doubleValue = Lens.lens (\Resource' {doubleValue} -> doubleValue) (\s@Resource' {} a -> s {doubleValue = a} :: Resource)++-- | When the @integerValue@ type is set, the value of the resource must be+-- an integer.+resource_integerValue :: Lens.Lens' Resource (Prelude.Maybe Prelude.Int)+resource_integerValue = Lens.lens (\Resource' {integerValue} -> integerValue) (\s@Resource' {} a -> s {integerValue = a} :: Resource)++-- | When the @longValue@ type is set, the value of the resource must be an+-- extended precision floating-point type.+resource_longValue :: Lens.Lens' Resource (Prelude.Maybe Prelude.Integer)+resource_longValue = Lens.lens (\Resource' {longValue} -> longValue) (\s@Resource' {} a -> s {longValue = a} :: Resource)++-- | The name of the resource, such as @CPU@, @MEMORY@, @PORTS@, @PORTS_UDP@,+-- or a user-defined resource.+resource_name :: Lens.Lens' Resource (Prelude.Maybe Prelude.Text)+resource_name = Lens.lens (\Resource' {name} -> name) (\s@Resource' {} a -> s {name = a} :: Resource)++-- | When the @stringSetValue@ type is set, the value of the resource must be+-- a string type.+resource_stringSetValue :: Lens.Lens' Resource (Prelude.Maybe [Prelude.Text])+resource_stringSetValue = Lens.lens (\Resource' {stringSetValue} -> stringSetValue) (\s@Resource' {} a -> s {stringSetValue = a} :: Resource) Prelude.. Lens.mapping Lens.coerced++-- | The type of the resource. Valid values: @INTEGER@, @DOUBLE@, @LONG@, or+-- @STRINGSET@.+resource_type :: Lens.Lens' Resource (Prelude.Maybe Prelude.Text)+resource_type = Lens.lens (\Resource' {type'} -> type') (\s@Resource' {} a -> s {type' = a} :: Resource)++instance Data.FromJSON Resource where+ parseJSON =+ Data.withObject+ "Resource"+ ( \x ->+ Resource'+ Prelude.<$> (x Data..:? "doubleValue")+ Prelude.<*> (x Data..:? "integerValue")+ Prelude.<*> (x Data..:? "longValue")+ Prelude.<*> (x Data..:? "name")+ Prelude.<*> (x Data..:? "stringSetValue" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "type")+ )++instance Prelude.Hashable Resource where+ hashWithSalt _salt Resource' {..} =+ _salt+ `Prelude.hashWithSalt` doubleValue+ `Prelude.hashWithSalt` integerValue+ `Prelude.hashWithSalt` longValue+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` stringSetValue+ `Prelude.hashWithSalt` type'++instance Prelude.NFData Resource where+ rnf Resource' {..} =+ Prelude.rnf doubleValue+ `Prelude.seq` Prelude.rnf integerValue+ `Prelude.seq` Prelude.rnf longValue+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf stringSetValue+ `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON Resource where+ toJSON Resource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("doubleValue" Data..=) Prelude.<$> doubleValue,+ ("integerValue" Data..=) Prelude.<$> integerValue,+ ("longValue" Data..=) Prelude.<$> longValue,+ ("name" Data..=) Prelude.<$> name,+ ("stringSetValue" Data..=)+ Prelude.<$> stringSetValue,+ ("type" Data..=) Prelude.<$> type'+ ]+ )
+ gen/Amazonka/ECS/Types/ResourceRequirement.hs view
@@ -0,0 +1,133 @@+{-# 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.ECS.Types.ResourceRequirement+-- 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.ECS.Types.ResourceRequirement where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ResourceType+import qualified Amazonka.Prelude as Prelude++-- | The type and amount of a resource to assign to a container. The+-- supported resource types are GPUs and Elastic Inference accelerators.+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html Working with GPUs on Amazon ECS>+-- or+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html Working with Amazon Elastic Inference on Amazon ECS>+-- in the /Amazon Elastic Container Service Developer Guide/+--+-- /See:/ 'newResourceRequirement' smart constructor.+data ResourceRequirement = ResourceRequirement'+ { -- | The value for the specified resource type.+ --+ -- If the @GPU@ type is used, the value is the number of physical @GPUs@+ -- the Amazon ECS container agent reserves for the container. The number of+ -- GPUs that\'s reserved for all containers in a task can\'t exceed the+ -- number of available GPUs on the container instance that the task is+ -- launched on.+ --+ -- If the @InferenceAccelerator@ type is used, the @value@ matches the+ -- @deviceName@ for an InferenceAccelerator specified in a task definition.+ value :: Prelude.Text,+ -- | The type of resource to assign to a container. The supported values are+ -- @GPU@ or @InferenceAccelerator@.+ type' :: ResourceType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResourceRequirement' 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:+--+-- 'value', 'resourceRequirement_value' - The value for the specified resource type.+--+-- If the @GPU@ type is used, the value is the number of physical @GPUs@+-- the Amazon ECS container agent reserves for the container. The number of+-- GPUs that\'s reserved for all containers in a task can\'t exceed the+-- number of available GPUs on the container instance that the task is+-- launched on.+--+-- If the @InferenceAccelerator@ type is used, the @value@ matches the+-- @deviceName@ for an InferenceAccelerator specified in a task definition.+--+-- 'type'', 'resourceRequirement_type' - The type of resource to assign to a container. The supported values are+-- @GPU@ or @InferenceAccelerator@.+newResourceRequirement ::+ -- | 'value'+ Prelude.Text ->+ -- | 'type''+ ResourceType ->+ ResourceRequirement+newResourceRequirement pValue_ pType_ =+ ResourceRequirement'+ { value = pValue_,+ type' = pType_+ }++-- | The value for the specified resource type.+--+-- If the @GPU@ type is used, the value is the number of physical @GPUs@+-- the Amazon ECS container agent reserves for the container. The number of+-- GPUs that\'s reserved for all containers in a task can\'t exceed the+-- number of available GPUs on the container instance that the task is+-- launched on.+--+-- If the @InferenceAccelerator@ type is used, the @value@ matches the+-- @deviceName@ for an InferenceAccelerator specified in a task definition.+resourceRequirement_value :: Lens.Lens' ResourceRequirement Prelude.Text+resourceRequirement_value = Lens.lens (\ResourceRequirement' {value} -> value) (\s@ResourceRequirement' {} a -> s {value = a} :: ResourceRequirement)++-- | The type of resource to assign to a container. The supported values are+-- @GPU@ or @InferenceAccelerator@.+resourceRequirement_type :: Lens.Lens' ResourceRequirement ResourceType+resourceRequirement_type = Lens.lens (\ResourceRequirement' {type'} -> type') (\s@ResourceRequirement' {} a -> s {type' = a} :: ResourceRequirement)++instance Data.FromJSON ResourceRequirement where+ parseJSON =+ Data.withObject+ "ResourceRequirement"+ ( \x ->+ ResourceRequirement'+ Prelude.<$> (x Data..: "value")+ Prelude.<*> (x Data..: "type")+ )++instance Prelude.Hashable ResourceRequirement where+ hashWithSalt _salt ResourceRequirement' {..} =+ _salt+ `Prelude.hashWithSalt` value+ `Prelude.hashWithSalt` type'++instance Prelude.NFData ResourceRequirement where+ rnf ResourceRequirement' {..} =+ Prelude.rnf value `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON ResourceRequirement where+ toJSON ResourceRequirement' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("value" Data..= value),+ Prelude.Just ("type" Data..= type')+ ]+ )
+ gen/Amazonka/ECS/Types/ResourceType.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.ECS.Types.ResourceType+-- 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.ECS.Types.ResourceType+ ( ResourceType+ ( ..,+ ResourceType_GPU,+ ResourceType_InferenceAccelerator+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ResourceType = ResourceType'+ { fromResourceType ::+ 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 ResourceType_GPU :: ResourceType+pattern ResourceType_GPU = ResourceType' "GPU"++pattern ResourceType_InferenceAccelerator :: ResourceType+pattern ResourceType_InferenceAccelerator = ResourceType' "InferenceAccelerator"++{-# COMPLETE+ ResourceType_GPU,+ ResourceType_InferenceAccelerator,+ ResourceType'+ #-}
+ gen/Amazonka/ECS/Types/RuntimePlatform.hs view
@@ -0,0 +1,113 @@+{-# 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.ECS.Types.RuntimePlatform+-- 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.ECS.Types.RuntimePlatform where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.CPUArchitecture+import Amazonka.ECS.Types.OSFamily+import qualified Amazonka.Prelude as Prelude++-- | Information about the platform for the Amazon ECS service or task.+--+-- For more information about @RuntimePlatform@, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform RuntimePlatform>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newRuntimePlatform' smart constructor.+data RuntimePlatform = RuntimePlatform'+ { -- | The CPU architecture.+ --+ -- You can run your Linux tasks on an ARM-based platform by setting the+ -- value to @ARM64@. This option is available for tasks that run on Linux+ -- Amazon EC2 instance or Linux containers on Fargate.+ cpuArchitecture :: Prelude.Maybe CPUArchitecture,+ -- | The operating system.+ operatingSystemFamily :: Prelude.Maybe OSFamily+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RuntimePlatform' 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:+--+-- 'cpuArchitecture', 'runtimePlatform_cpuArchitecture' - The CPU architecture.+--+-- You can run your Linux tasks on an ARM-based platform by setting the+-- value to @ARM64@. This option is available for tasks that run on Linux+-- Amazon EC2 instance or Linux containers on Fargate.+--+-- 'operatingSystemFamily', 'runtimePlatform_operatingSystemFamily' - The operating system.+newRuntimePlatform ::+ RuntimePlatform+newRuntimePlatform =+ RuntimePlatform'+ { cpuArchitecture = Prelude.Nothing,+ operatingSystemFamily = Prelude.Nothing+ }++-- | The CPU architecture.+--+-- You can run your Linux tasks on an ARM-based platform by setting the+-- value to @ARM64@. This option is available for tasks that run on Linux+-- Amazon EC2 instance or Linux containers on Fargate.+runtimePlatform_cpuArchitecture :: Lens.Lens' RuntimePlatform (Prelude.Maybe CPUArchitecture)+runtimePlatform_cpuArchitecture = Lens.lens (\RuntimePlatform' {cpuArchitecture} -> cpuArchitecture) (\s@RuntimePlatform' {} a -> s {cpuArchitecture = a} :: RuntimePlatform)++-- | The operating system.+runtimePlatform_operatingSystemFamily :: Lens.Lens' RuntimePlatform (Prelude.Maybe OSFamily)+runtimePlatform_operatingSystemFamily = Lens.lens (\RuntimePlatform' {operatingSystemFamily} -> operatingSystemFamily) (\s@RuntimePlatform' {} a -> s {operatingSystemFamily = a} :: RuntimePlatform)++instance Data.FromJSON RuntimePlatform where+ parseJSON =+ Data.withObject+ "RuntimePlatform"+ ( \x ->+ RuntimePlatform'+ Prelude.<$> (x Data..:? "cpuArchitecture")+ Prelude.<*> (x Data..:? "operatingSystemFamily")+ )++instance Prelude.Hashable RuntimePlatform where+ hashWithSalt _salt RuntimePlatform' {..} =+ _salt+ `Prelude.hashWithSalt` cpuArchitecture+ `Prelude.hashWithSalt` operatingSystemFamily++instance Prelude.NFData RuntimePlatform where+ rnf RuntimePlatform' {..} =+ Prelude.rnf cpuArchitecture+ `Prelude.seq` Prelude.rnf operatingSystemFamily++instance Data.ToJSON RuntimePlatform where+ toJSON RuntimePlatform' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cpuArchitecture" Data..=)+ Prelude.<$> cpuArchitecture,+ ("operatingSystemFamily" Data..=)+ Prelude.<$> operatingSystemFamily+ ]+ )
+ gen/Amazonka/ECS/Types/Scale.hs view
@@ -0,0 +1,97 @@+{-# 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.ECS.Types.Scale+-- 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.ECS.Types.Scale where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ScaleUnit+import qualified Amazonka.Prelude as Prelude++-- | A floating-point percentage of the desired number of tasks to place and+-- keep running in the task set.+--+-- /See:/ 'newScale' smart constructor.+data Scale = Scale'+ { -- | The unit of measure for the scale value.+ unit :: Prelude.Maybe ScaleUnit,+ -- | The value, specified as a percent total of a service\'s @desiredCount@,+ -- to scale the task set. Accepted values are numbers between 0 and 100.+ value :: Prelude.Maybe Prelude.Double+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Scale' 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:+--+-- 'unit', 'scale_unit' - The unit of measure for the scale value.+--+-- 'value', 'scale_value' - The value, specified as a percent total of a service\'s @desiredCount@,+-- to scale the task set. Accepted values are numbers between 0 and 100.+newScale ::+ Scale+newScale =+ Scale'+ { unit = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | The unit of measure for the scale value.+scale_unit :: Lens.Lens' Scale (Prelude.Maybe ScaleUnit)+scale_unit = Lens.lens (\Scale' {unit} -> unit) (\s@Scale' {} a -> s {unit = a} :: Scale)++-- | The value, specified as a percent total of a service\'s @desiredCount@,+-- to scale the task set. Accepted values are numbers between 0 and 100.+scale_value :: Lens.Lens' Scale (Prelude.Maybe Prelude.Double)+scale_value = Lens.lens (\Scale' {value} -> value) (\s@Scale' {} a -> s {value = a} :: Scale)++instance Data.FromJSON Scale where+ parseJSON =+ Data.withObject+ "Scale"+ ( \x ->+ Scale'+ Prelude.<$> (x Data..:? "unit")+ Prelude.<*> (x Data..:? "value")+ )++instance Prelude.Hashable Scale where+ hashWithSalt _salt Scale' {..} =+ _salt+ `Prelude.hashWithSalt` unit+ `Prelude.hashWithSalt` value++instance Prelude.NFData Scale where+ rnf Scale' {..} =+ Prelude.rnf unit `Prelude.seq` Prelude.rnf value++instance Data.ToJSON Scale where+ toJSON Scale' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("unit" Data..=) Prelude.<$> unit,+ ("value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/ECS/Types/ScaleUnit.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.ScaleUnit+-- 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.ECS.Types.ScaleUnit+ ( ScaleUnit+ ( ..,+ ScaleUnit_PERCENT+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ScaleUnit = ScaleUnit'+ { fromScaleUnit ::+ 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 ScaleUnit_PERCENT :: ScaleUnit+pattern ScaleUnit_PERCENT = ScaleUnit' "PERCENT"++{-# COMPLETE+ ScaleUnit_PERCENT,+ ScaleUnit'+ #-}
+ gen/Amazonka/ECS/Types/SchedulingStrategy.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.ECS.Types.SchedulingStrategy+-- 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.ECS.Types.SchedulingStrategy+ ( SchedulingStrategy+ ( ..,+ SchedulingStrategy_DAEMON,+ SchedulingStrategy_REPLICA+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype SchedulingStrategy = SchedulingStrategy'+ { fromSchedulingStrategy ::+ 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 SchedulingStrategy_DAEMON :: SchedulingStrategy+pattern SchedulingStrategy_DAEMON = SchedulingStrategy' "DAEMON"++pattern SchedulingStrategy_REPLICA :: SchedulingStrategy+pattern SchedulingStrategy_REPLICA = SchedulingStrategy' "REPLICA"++{-# COMPLETE+ SchedulingStrategy_DAEMON,+ SchedulingStrategy_REPLICA,+ SchedulingStrategy'+ #-}
+ gen/Amazonka/ECS/Types/Scope.hs view
@@ -0,0 +1,68 @@+{-# 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.ECS.Types.Scope+-- 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.ECS.Types.Scope+ ( Scope+ ( ..,+ Scope_Shared,+ Scope_Task+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype Scope = Scope' {fromScope :: 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 Scope_Shared :: Scope+pattern Scope_Shared = Scope' "shared"++pattern Scope_Task :: Scope+pattern Scope_Task = Scope' "task"++{-# COMPLETE+ Scope_Shared,+ Scope_Task,+ Scope'+ #-}
+ gen/Amazonka/ECS/Types/Secret.hs view
@@ -0,0 +1,150 @@+{-# 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.ECS.Types.Secret+-- 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.ECS.Types.Secret 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 object representing the secret to expose to your container. Secrets+-- can be exposed to a container in the following ways:+--+-- - To inject sensitive data into your containers as environment+-- variables, use the @secrets@ container definition parameter.+--+-- - To reference sensitive information in the log configuration of a+-- container, use the @secretOptions@ container definition parameter.+--+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html Specifying sensitive data>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newSecret' smart constructor.+data Secret = Secret'+ { -- | The name of the secret.+ name :: Prelude.Text,+ -- | The secret to expose to the container. The supported values are either+ -- the full ARN of the Secrets Manager secret or the full ARN of the+ -- parameter in the SSM Parameter Store.+ --+ -- For information about the require Identity and Access Management+ -- permissions, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam Required IAM permissions for Amazon ECS secrets>+ -- (for Secrets Manager) or+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html Required IAM permissions for Amazon ECS secrets>+ -- (for Systems Manager Parameter store) in the /Amazon Elastic Container+ -- Service Developer Guide/.+ --+ -- If the SSM Parameter Store parameter exists in the same Region as the+ -- task you\'re launching, then you can use either the full ARN or name of+ -- the parameter. If the parameter exists in a different Region, then the+ -- full ARN must be specified.+ valueFrom :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Secret' 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', 'secret_name' - The name of the secret.+--+-- 'valueFrom', 'secret_valueFrom' - The secret to expose to the container. The supported values are either+-- the full ARN of the Secrets Manager secret or the full ARN of the+-- parameter in the SSM Parameter Store.+--+-- For information about the require Identity and Access Management+-- permissions, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam Required IAM permissions for Amazon ECS secrets>+-- (for Secrets Manager) or+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html Required IAM permissions for Amazon ECS secrets>+-- (for Systems Manager Parameter store) in the /Amazon Elastic Container+-- Service Developer Guide/.+--+-- If the SSM Parameter Store parameter exists in the same Region as the+-- task you\'re launching, then you can use either the full ARN or name of+-- the parameter. If the parameter exists in a different Region, then the+-- full ARN must be specified.+newSecret ::+ -- | 'name'+ Prelude.Text ->+ -- | 'valueFrom'+ Prelude.Text ->+ Secret+newSecret pName_ pValueFrom_ =+ Secret' {name = pName_, valueFrom = pValueFrom_}++-- | The name of the secret.+secret_name :: Lens.Lens' Secret Prelude.Text+secret_name = Lens.lens (\Secret' {name} -> name) (\s@Secret' {} a -> s {name = a} :: Secret)++-- | The secret to expose to the container. The supported values are either+-- the full ARN of the Secrets Manager secret or the full ARN of the+-- parameter in the SSM Parameter Store.+--+-- For information about the require Identity and Access Management+-- permissions, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam Required IAM permissions for Amazon ECS secrets>+-- (for Secrets Manager) or+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html Required IAM permissions for Amazon ECS secrets>+-- (for Systems Manager Parameter store) in the /Amazon Elastic Container+-- Service Developer Guide/.+--+-- If the SSM Parameter Store parameter exists in the same Region as the+-- task you\'re launching, then you can use either the full ARN or name of+-- the parameter. If the parameter exists in a different Region, then the+-- full ARN must be specified.+secret_valueFrom :: Lens.Lens' Secret Prelude.Text+secret_valueFrom = Lens.lens (\Secret' {valueFrom} -> valueFrom) (\s@Secret' {} a -> s {valueFrom = a} :: Secret)++instance Data.FromJSON Secret where+ parseJSON =+ Data.withObject+ "Secret"+ ( \x ->+ Secret'+ Prelude.<$> (x Data..: "name")+ Prelude.<*> (x Data..: "valueFrom")+ )++instance Prelude.Hashable Secret where+ hashWithSalt _salt Secret' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` valueFrom++instance Prelude.NFData Secret where+ rnf Secret' {..} =+ Prelude.rnf name+ `Prelude.seq` Prelude.rnf valueFrom++instance Data.ToJSON Secret where+ toJSON Secret' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("name" Data..= name),+ Prelude.Just ("valueFrom" Data..= valueFrom)+ ]+ )
+ gen/Amazonka/ECS/Types/ServiceConnectClientAlias.hs view
@@ -0,0 +1,176 @@+{-# 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.ECS.Types.ServiceConnectClientAlias+-- 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.ECS.Types.ServiceConnectClientAlias 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++-- | Each alias (\"endpoint\") is a fully-qualified name and port number that+-- other tasks (\"clients\") can use to connect to this service.+--+-- Each name and port mapping must be unique within the namespace.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newServiceConnectClientAlias' smart constructor.+data ServiceConnectClientAlias = ServiceConnectClientAlias'+ { -- | The @dnsName@ is the name that you use in the applications of client+ -- tasks to connect to this service. The name must be a valid DNS name but+ -- doesn\'t need to be fully-qualified. The name can include up to 127+ -- characters. The name can include lowercase letters, numbers, underscores+ -- (_), hyphens (-), and periods (.). The name can\'t start with a hyphen.+ --+ -- If this parameter isn\'t specified, the default value of+ -- @discoveryName.namespace@ is used. If the @discoveryName@ isn\'t+ -- specified, the port mapping name from the task definition is used in+ -- @portName.namespace@.+ --+ -- To avoid changing your applications in client Amazon ECS services, set+ -- this to the same name that the client application uses by default. For+ -- example, a few common names are @database@, @db@, or the lowercase name+ -- of a database, such as @mysql@ or @redis@. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ dnsName :: Prelude.Maybe Prelude.Text,+ -- | The listening port number for the Service Connect proxy. This port is+ -- available inside of all of the tasks within the same namespace.+ --+ -- To avoid changing your applications in client Amazon ECS services, set+ -- this to the same port that the client application uses by default. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ port :: Prelude.Natural+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ServiceConnectClientAlias' 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:+--+-- 'dnsName', 'serviceConnectClientAlias_dnsName' - The @dnsName@ is the name that you use in the applications of client+-- tasks to connect to this service. The name must be a valid DNS name but+-- doesn\'t need to be fully-qualified. The name can include up to 127+-- characters. The name can include lowercase letters, numbers, underscores+-- (_), hyphens (-), and periods (.). The name can\'t start with a hyphen.+--+-- If this parameter isn\'t specified, the default value of+-- @discoveryName.namespace@ is used. If the @discoveryName@ isn\'t+-- specified, the port mapping name from the task definition is used in+-- @portName.namespace@.+--+-- To avoid changing your applications in client Amazon ECS services, set+-- this to the same name that the client application uses by default. For+-- example, a few common names are @database@, @db@, or the lowercase name+-- of a database, such as @mysql@ or @redis@. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'port', 'serviceConnectClientAlias_port' - The listening port number for the Service Connect proxy. This port is+-- available inside of all of the tasks within the same namespace.+--+-- To avoid changing your applications in client Amazon ECS services, set+-- this to the same port that the client application uses by default. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+newServiceConnectClientAlias ::+ -- | 'port'+ Prelude.Natural ->+ ServiceConnectClientAlias+newServiceConnectClientAlias pPort_ =+ ServiceConnectClientAlias'+ { dnsName =+ Prelude.Nothing,+ port = pPort_+ }++-- | The @dnsName@ is the name that you use in the applications of client+-- tasks to connect to this service. The name must be a valid DNS name but+-- doesn\'t need to be fully-qualified. The name can include up to 127+-- characters. The name can include lowercase letters, numbers, underscores+-- (_), hyphens (-), and periods (.). The name can\'t start with a hyphen.+--+-- If this parameter isn\'t specified, the default value of+-- @discoveryName.namespace@ is used. If the @discoveryName@ isn\'t+-- specified, the port mapping name from the task definition is used in+-- @portName.namespace@.+--+-- To avoid changing your applications in client Amazon ECS services, set+-- this to the same name that the client application uses by default. For+-- example, a few common names are @database@, @db@, or the lowercase name+-- of a database, such as @mysql@ or @redis@. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+serviceConnectClientAlias_dnsName :: Lens.Lens' ServiceConnectClientAlias (Prelude.Maybe Prelude.Text)+serviceConnectClientAlias_dnsName = Lens.lens (\ServiceConnectClientAlias' {dnsName} -> dnsName) (\s@ServiceConnectClientAlias' {} a -> s {dnsName = a} :: ServiceConnectClientAlias)++-- | The listening port number for the Service Connect proxy. This port is+-- available inside of all of the tasks within the same namespace.+--+-- To avoid changing your applications in client Amazon ECS services, set+-- this to the same port that the client application uses by default. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+serviceConnectClientAlias_port :: Lens.Lens' ServiceConnectClientAlias Prelude.Natural+serviceConnectClientAlias_port = Lens.lens (\ServiceConnectClientAlias' {port} -> port) (\s@ServiceConnectClientAlias' {} a -> s {port = a} :: ServiceConnectClientAlias)++instance Data.FromJSON ServiceConnectClientAlias where+ parseJSON =+ Data.withObject+ "ServiceConnectClientAlias"+ ( \x ->+ ServiceConnectClientAlias'+ Prelude.<$> (x Data..:? "dnsName")+ Prelude.<*> (x Data..: "port")+ )++instance Prelude.Hashable ServiceConnectClientAlias where+ hashWithSalt _salt ServiceConnectClientAlias' {..} =+ _salt+ `Prelude.hashWithSalt` dnsName+ `Prelude.hashWithSalt` port++instance Prelude.NFData ServiceConnectClientAlias where+ rnf ServiceConnectClientAlias' {..} =+ Prelude.rnf dnsName `Prelude.seq` Prelude.rnf port++instance Data.ToJSON ServiceConnectClientAlias where+ toJSON ServiceConnectClientAlias' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("dnsName" Data..=) Prelude.<$> dnsName,+ Prelude.Just ("port" Data..= port)+ ]+ )
+ gen/Amazonka/ECS/Types/ServiceConnectConfiguration.hs view
@@ -0,0 +1,189 @@+{-# 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.ECS.Types.ServiceConnectConfiguration+-- 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.ECS.Types.ServiceConnectConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.LogConfiguration+import Amazonka.ECS.Types.ServiceConnectService+import qualified Amazonka.Prelude as Prelude++-- | The Service Connect configuration of your Amazon ECS service. The+-- configuration for this service to discover and connect to services, and+-- be discovered by, and connected from, other services within a namespace.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newServiceConnectConfiguration' smart constructor.+data ServiceConnectConfiguration = ServiceConnectConfiguration'+ { logConfiguration :: Prelude.Maybe LogConfiguration,+ -- | The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+ -- namespace for use with Service Connect. The namespace must be in the+ -- same Amazon Web Services Region as the Amazon ECS service and cluster.+ -- The type of namespace doesn\'t affect Service Connect. For more+ -- information about Cloud Map, see+ -- <https://docs.aws.amazon.com/ Working with Services> in the /Cloud Map+ -- Developer Guide/.+ namespace :: Prelude.Maybe Prelude.Text,+ -- | The list of Service Connect service objects. These are names and aliases+ -- (also known as endpoints) that are used by other Amazon ECS services to+ -- connect to this service.+ --+ -- This field is not required for a \"client\" Amazon ECS service that\'s a+ -- member of a namespace only to connect to other services within the+ -- namespace. An example of this would be a frontend application that+ -- accepts incoming requests from either a load balancer that\'s attached+ -- to the service or by other means.+ --+ -- An object selects a port from the task definition, assigns a name for+ -- the Cloud Map service, and a list of aliases (endpoints) and ports for+ -- client applications to refer to this service.+ services :: Prelude.Maybe [ServiceConnectService],+ -- | Specifies whether to use Service Connect with this service.+ enabled :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ServiceConnectConfiguration' 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:+--+-- 'logConfiguration', 'serviceConnectConfiguration_logConfiguration' - Undocumented member.+--+-- 'namespace', 'serviceConnectConfiguration_namespace' - The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+-- namespace for use with Service Connect. The namespace must be in the+-- same Amazon Web Services Region as the Amazon ECS service and cluster.+-- The type of namespace doesn\'t affect Service Connect. For more+-- information about Cloud Map, see+-- <https://docs.aws.amazon.com/ Working with Services> in the /Cloud Map+-- Developer Guide/.+--+-- 'services', 'serviceConnectConfiguration_services' - The list of Service Connect service objects. These are names and aliases+-- (also known as endpoints) that are used by other Amazon ECS services to+-- connect to this service.+--+-- This field is not required for a \"client\" Amazon ECS service that\'s a+-- member of a namespace only to connect to other services within the+-- namespace. An example of this would be a frontend application that+-- accepts incoming requests from either a load balancer that\'s attached+-- to the service or by other means.+--+-- An object selects a port from the task definition, assigns a name for+-- the Cloud Map service, and a list of aliases (endpoints) and ports for+-- client applications to refer to this service.+--+-- 'enabled', 'serviceConnectConfiguration_enabled' - Specifies whether to use Service Connect with this service.+newServiceConnectConfiguration ::+ -- | 'enabled'+ Prelude.Bool ->+ ServiceConnectConfiguration+newServiceConnectConfiguration pEnabled_ =+ ServiceConnectConfiguration'+ { logConfiguration =+ Prelude.Nothing,+ namespace = Prelude.Nothing,+ services = Prelude.Nothing,+ enabled = pEnabled_+ }++-- | Undocumented member.+serviceConnectConfiguration_logConfiguration :: Lens.Lens' ServiceConnectConfiguration (Prelude.Maybe LogConfiguration)+serviceConnectConfiguration_logConfiguration = Lens.lens (\ServiceConnectConfiguration' {logConfiguration} -> logConfiguration) (\s@ServiceConnectConfiguration' {} a -> s {logConfiguration = a} :: ServiceConnectConfiguration)++-- | The namespace name or full Amazon Resource Name (ARN) of the Cloud Map+-- namespace for use with Service Connect. The namespace must be in the+-- same Amazon Web Services Region as the Amazon ECS service and cluster.+-- The type of namespace doesn\'t affect Service Connect. For more+-- information about Cloud Map, see+-- <https://docs.aws.amazon.com/ Working with Services> in the /Cloud Map+-- Developer Guide/.+serviceConnectConfiguration_namespace :: Lens.Lens' ServiceConnectConfiguration (Prelude.Maybe Prelude.Text)+serviceConnectConfiguration_namespace = Lens.lens (\ServiceConnectConfiguration' {namespace} -> namespace) (\s@ServiceConnectConfiguration' {} a -> s {namespace = a} :: ServiceConnectConfiguration)++-- | The list of Service Connect service objects. These are names and aliases+-- (also known as endpoints) that are used by other Amazon ECS services to+-- connect to this service.+--+-- This field is not required for a \"client\" Amazon ECS service that\'s a+-- member of a namespace only to connect to other services within the+-- namespace. An example of this would be a frontend application that+-- accepts incoming requests from either a load balancer that\'s attached+-- to the service or by other means.+--+-- An object selects a port from the task definition, assigns a name for+-- the Cloud Map service, and a list of aliases (endpoints) and ports for+-- client applications to refer to this service.+serviceConnectConfiguration_services :: Lens.Lens' ServiceConnectConfiguration (Prelude.Maybe [ServiceConnectService])+serviceConnectConfiguration_services = Lens.lens (\ServiceConnectConfiguration' {services} -> services) (\s@ServiceConnectConfiguration' {} a -> s {services = a} :: ServiceConnectConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | Specifies whether to use Service Connect with this service.+serviceConnectConfiguration_enabled :: Lens.Lens' ServiceConnectConfiguration Prelude.Bool+serviceConnectConfiguration_enabled = Lens.lens (\ServiceConnectConfiguration' {enabled} -> enabled) (\s@ServiceConnectConfiguration' {} a -> s {enabled = a} :: ServiceConnectConfiguration)++instance Data.FromJSON ServiceConnectConfiguration where+ parseJSON =+ Data.withObject+ "ServiceConnectConfiguration"+ ( \x ->+ ServiceConnectConfiguration'+ Prelude.<$> (x Data..:? "logConfiguration")+ Prelude.<*> (x Data..:? "namespace")+ Prelude.<*> (x Data..:? "services" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "enabled")+ )++instance Prelude.Hashable ServiceConnectConfiguration where+ hashWithSalt _salt ServiceConnectConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` logConfiguration+ `Prelude.hashWithSalt` namespace+ `Prelude.hashWithSalt` services+ `Prelude.hashWithSalt` enabled++instance Prelude.NFData ServiceConnectConfiguration where+ rnf ServiceConnectConfiguration' {..} =+ Prelude.rnf logConfiguration+ `Prelude.seq` Prelude.rnf namespace+ `Prelude.seq` Prelude.rnf services+ `Prelude.seq` Prelude.rnf enabled++instance Data.ToJSON ServiceConnectConfiguration where+ toJSON ServiceConnectConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("logConfiguration" Data..=)+ Prelude.<$> logConfiguration,+ ("namespace" Data..=) Prelude.<$> namespace,+ ("services" Data..=) Prelude.<$> services,+ Prelude.Just ("enabled" Data..= enabled)+ ]+ )
+ gen/Amazonka/ECS/Types/ServiceConnectService.hs view
@@ -0,0 +1,217 @@+{-# 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.ECS.Types.ServiceConnectService+-- 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.ECS.Types.ServiceConnectService where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ServiceConnectClientAlias+import qualified Amazonka.Prelude as Prelude++-- | The Service Connect service object configuration. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- /See:/ 'newServiceConnectService' smart constructor.+data ServiceConnectService = ServiceConnectService'+ { -- | The list of client aliases for this Service Connect service. You use+ -- these to assign names that can be used by client applications. The+ -- maximum number of client aliases that you can have in this list is 1.+ --+ -- Each alias (\"endpoint\") is a fully-qualified name and port number that+ -- other Amazon ECS tasks (\"clients\") can use to connect to this service.+ --+ -- Each name and port mapping must be unique within the namespace.+ --+ -- For each @ServiceConnectService@, you must provide at least one+ -- @clientAlias@ with one @port@.+ clientAliases :: Prelude.Maybe [ServiceConnectClientAlias],+ -- | The @discoveryName@ is the name of the new Cloud Map service that Amazon+ -- ECS creates for this Amazon ECS service. This must be unique within the+ -- Cloud Map namespace. The name can contain up to 64 characters. The name+ -- can include lowercase letters, numbers, underscores (_), and hyphens+ -- (-). The name can\'t start with a hyphen.+ --+ -- If this parameter isn\'t specified, the default value of+ -- @discoveryName.namespace@ is used. If the @discoveryName@ isn\'t+ -- specified, the port mapping name from the task definition is used in+ -- @portName.namespace@.+ discoveryName :: Prelude.Maybe Prelude.Text,+ -- | The port number for the Service Connect proxy to listen on.+ --+ -- Use the value of this field to bypass the proxy for traffic on the port+ -- number specified in the named @portMapping@ in the task definition of+ -- this application, and then use it in your VPC security groups to allow+ -- traffic into the proxy for this Amazon ECS service.+ --+ -- In @awsvpc@ mode and Fargate, the default value is the container port+ -- number. The container port number is in the @portMapping@ in the task+ -- definition. In bridge mode, the default value is the ephemeral port of+ -- the Service Connect proxy.+ ingressPortOverride :: Prelude.Maybe Prelude.Natural,+ -- | The @portName@ must match the name of one of the @portMappings@ from all+ -- the containers in the task definition of this Amazon ECS service.+ portName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ServiceConnectService' 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:+--+-- 'clientAliases', 'serviceConnectService_clientAliases' - The list of client aliases for this Service Connect service. You use+-- these to assign names that can be used by client applications. The+-- maximum number of client aliases that you can have in this list is 1.+--+-- Each alias (\"endpoint\") is a fully-qualified name and port number that+-- other Amazon ECS tasks (\"clients\") can use to connect to this service.+--+-- Each name and port mapping must be unique within the namespace.+--+-- For each @ServiceConnectService@, you must provide at least one+-- @clientAlias@ with one @port@.+--+-- 'discoveryName', 'serviceConnectService_discoveryName' - The @discoveryName@ is the name of the new Cloud Map service that Amazon+-- ECS creates for this Amazon ECS service. This must be unique within the+-- Cloud Map namespace. The name can contain up to 64 characters. The name+-- can include lowercase letters, numbers, underscores (_), and hyphens+-- (-). The name can\'t start with a hyphen.+--+-- If this parameter isn\'t specified, the default value of+-- @discoveryName.namespace@ is used. If the @discoveryName@ isn\'t+-- specified, the port mapping name from the task definition is used in+-- @portName.namespace@.+--+-- 'ingressPortOverride', 'serviceConnectService_ingressPortOverride' - The port number for the Service Connect proxy to listen on.+--+-- Use the value of this field to bypass the proxy for traffic on the port+-- number specified in the named @portMapping@ in the task definition of+-- this application, and then use it in your VPC security groups to allow+-- traffic into the proxy for this Amazon ECS service.+--+-- In @awsvpc@ mode and Fargate, the default value is the container port+-- number. The container port number is in the @portMapping@ in the task+-- definition. In bridge mode, the default value is the ephemeral port of+-- the Service Connect proxy.+--+-- 'portName', 'serviceConnectService_portName' - The @portName@ must match the name of one of the @portMappings@ from all+-- the containers in the task definition of this Amazon ECS service.+newServiceConnectService ::+ -- | 'portName'+ Prelude.Text ->+ ServiceConnectService+newServiceConnectService pPortName_ =+ ServiceConnectService'+ { clientAliases =+ Prelude.Nothing,+ discoveryName = Prelude.Nothing,+ ingressPortOverride = Prelude.Nothing,+ portName = pPortName_+ }++-- | The list of client aliases for this Service Connect service. You use+-- these to assign names that can be used by client applications. The+-- maximum number of client aliases that you can have in this list is 1.+--+-- Each alias (\"endpoint\") is a fully-qualified name and port number that+-- other Amazon ECS tasks (\"clients\") can use to connect to this service.+--+-- Each name and port mapping must be unique within the namespace.+--+-- For each @ServiceConnectService@, you must provide at least one+-- @clientAlias@ with one @port@.+serviceConnectService_clientAliases :: Lens.Lens' ServiceConnectService (Prelude.Maybe [ServiceConnectClientAlias])+serviceConnectService_clientAliases = Lens.lens (\ServiceConnectService' {clientAliases} -> clientAliases) (\s@ServiceConnectService' {} a -> s {clientAliases = a} :: ServiceConnectService) Prelude.. Lens.mapping Lens.coerced++-- | The @discoveryName@ is the name of the new Cloud Map service that Amazon+-- ECS creates for this Amazon ECS service. This must be unique within the+-- Cloud Map namespace. The name can contain up to 64 characters. The name+-- can include lowercase letters, numbers, underscores (_), and hyphens+-- (-). The name can\'t start with a hyphen.+--+-- If this parameter isn\'t specified, the default value of+-- @discoveryName.namespace@ is used. If the @discoveryName@ isn\'t+-- specified, the port mapping name from the task definition is used in+-- @portName.namespace@.+serviceConnectService_discoveryName :: Lens.Lens' ServiceConnectService (Prelude.Maybe Prelude.Text)+serviceConnectService_discoveryName = Lens.lens (\ServiceConnectService' {discoveryName} -> discoveryName) (\s@ServiceConnectService' {} a -> s {discoveryName = a} :: ServiceConnectService)++-- | The port number for the Service Connect proxy to listen on.+--+-- Use the value of this field to bypass the proxy for traffic on the port+-- number specified in the named @portMapping@ in the task definition of+-- this application, and then use it in your VPC security groups to allow+-- traffic into the proxy for this Amazon ECS service.+--+-- In @awsvpc@ mode and Fargate, the default value is the container port+-- number. The container port number is in the @portMapping@ in the task+-- definition. In bridge mode, the default value is the ephemeral port of+-- the Service Connect proxy.+serviceConnectService_ingressPortOverride :: Lens.Lens' ServiceConnectService (Prelude.Maybe Prelude.Natural)+serviceConnectService_ingressPortOverride = Lens.lens (\ServiceConnectService' {ingressPortOverride} -> ingressPortOverride) (\s@ServiceConnectService' {} a -> s {ingressPortOverride = a} :: ServiceConnectService)++-- | The @portName@ must match the name of one of the @portMappings@ from all+-- the containers in the task definition of this Amazon ECS service.+serviceConnectService_portName :: Lens.Lens' ServiceConnectService Prelude.Text+serviceConnectService_portName = Lens.lens (\ServiceConnectService' {portName} -> portName) (\s@ServiceConnectService' {} a -> s {portName = a} :: ServiceConnectService)++instance Data.FromJSON ServiceConnectService where+ parseJSON =+ Data.withObject+ "ServiceConnectService"+ ( \x ->+ ServiceConnectService'+ Prelude.<$> (x Data..:? "clientAliases" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "discoveryName")+ Prelude.<*> (x Data..:? "ingressPortOverride")+ Prelude.<*> (x Data..: "portName")+ )++instance Prelude.Hashable ServiceConnectService where+ hashWithSalt _salt ServiceConnectService' {..} =+ _salt+ `Prelude.hashWithSalt` clientAliases+ `Prelude.hashWithSalt` discoveryName+ `Prelude.hashWithSalt` ingressPortOverride+ `Prelude.hashWithSalt` portName++instance Prelude.NFData ServiceConnectService where+ rnf ServiceConnectService' {..} =+ Prelude.rnf clientAliases+ `Prelude.seq` Prelude.rnf discoveryName+ `Prelude.seq` Prelude.rnf ingressPortOverride+ `Prelude.seq` Prelude.rnf portName++instance Data.ToJSON ServiceConnectService where+ toJSON ServiceConnectService' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("clientAliases" Data..=) Prelude.<$> clientAliases,+ ("discoveryName" Data..=) Prelude.<$> discoveryName,+ ("ingressPortOverride" Data..=)+ Prelude.<$> ingressPortOverride,+ Prelude.Just ("portName" Data..= portName)+ ]+ )
+ gen/Amazonka/ECS/Types/ServiceConnectServiceResource.hs view
@@ -0,0 +1,138 @@+{-# 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.ECS.Types.ServiceConnectServiceResource+-- 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.ECS.Types.ServiceConnectServiceResource 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++-- | The Service Connect resource. Each configuration maps a discovery name+-- to a Cloud Map service name. The data is stored in Cloud Map as part of+-- the Service Connect configuration for each discovery name of this Amazon+-- ECS service.+--+-- A task can resolve the @dnsName@ for each of the @clientAliases@ of a+-- service. However a task can\'t resolve the discovery names. If you want+-- to connect to a service, refer to the @ServiceConnectConfiguration@ of+-- that service for the list of @clientAliases@ that you can use.+--+-- /See:/ 'newServiceConnectServiceResource' smart constructor.+data ServiceConnectServiceResource = ServiceConnectServiceResource'+ { -- | The Amazon Resource Name (ARN) for the namespace in Cloud Map that+ -- matches the discovery name for this Service Connect resource. You can+ -- use this ARN in other integrations with Cloud Map. However, Service+ -- Connect can\'t ensure connectivity outside of Amazon ECS.+ discoveryArn :: Prelude.Maybe Prelude.Text,+ -- | The discovery name of this Service Connect resource.+ --+ -- The @discoveryName@ is the name of the new Cloud Map service that Amazon+ -- ECS creates for this Amazon ECS service. This must be unique within the+ -- Cloud Map namespace. The name can contain up to 64 characters. The name+ -- can include lowercase letters, numbers, underscores (_), and hyphens+ -- (-). The name can\'t start with a hyphen.+ --+ -- If this parameter isn\'t specified, the default value of+ -- @discoveryName.namespace@ is used. If the @discoveryName@ isn\'t+ -- specified, the port mapping name from the task definition is used in+ -- @portName.namespace@.+ discoveryName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ServiceConnectServiceResource' 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:+--+-- 'discoveryArn', 'serviceConnectServiceResource_discoveryArn' - The Amazon Resource Name (ARN) for the namespace in Cloud Map that+-- matches the discovery name for this Service Connect resource. You can+-- use this ARN in other integrations with Cloud Map. However, Service+-- Connect can\'t ensure connectivity outside of Amazon ECS.+--+-- 'discoveryName', 'serviceConnectServiceResource_discoveryName' - The discovery name of this Service Connect resource.+--+-- The @discoveryName@ is the name of the new Cloud Map service that Amazon+-- ECS creates for this Amazon ECS service. This must be unique within the+-- Cloud Map namespace. The name can contain up to 64 characters. The name+-- can include lowercase letters, numbers, underscores (_), and hyphens+-- (-). The name can\'t start with a hyphen.+--+-- If this parameter isn\'t specified, the default value of+-- @discoveryName.namespace@ is used. If the @discoveryName@ isn\'t+-- specified, the port mapping name from the task definition is used in+-- @portName.namespace@.+newServiceConnectServiceResource ::+ ServiceConnectServiceResource+newServiceConnectServiceResource =+ ServiceConnectServiceResource'+ { discoveryArn =+ Prelude.Nothing,+ discoveryName = Prelude.Nothing+ }++-- | The Amazon Resource Name (ARN) for the namespace in Cloud Map that+-- matches the discovery name for this Service Connect resource. You can+-- use this ARN in other integrations with Cloud Map. However, Service+-- Connect can\'t ensure connectivity outside of Amazon ECS.+serviceConnectServiceResource_discoveryArn :: Lens.Lens' ServiceConnectServiceResource (Prelude.Maybe Prelude.Text)+serviceConnectServiceResource_discoveryArn = Lens.lens (\ServiceConnectServiceResource' {discoveryArn} -> discoveryArn) (\s@ServiceConnectServiceResource' {} a -> s {discoveryArn = a} :: ServiceConnectServiceResource)++-- | The discovery name of this Service Connect resource.+--+-- The @discoveryName@ is the name of the new Cloud Map service that Amazon+-- ECS creates for this Amazon ECS service. This must be unique within the+-- Cloud Map namespace. The name can contain up to 64 characters. The name+-- can include lowercase letters, numbers, underscores (_), and hyphens+-- (-). The name can\'t start with a hyphen.+--+-- If this parameter isn\'t specified, the default value of+-- @discoveryName.namespace@ is used. If the @discoveryName@ isn\'t+-- specified, the port mapping name from the task definition is used in+-- @portName.namespace@.+serviceConnectServiceResource_discoveryName :: Lens.Lens' ServiceConnectServiceResource (Prelude.Maybe Prelude.Text)+serviceConnectServiceResource_discoveryName = Lens.lens (\ServiceConnectServiceResource' {discoveryName} -> discoveryName) (\s@ServiceConnectServiceResource' {} a -> s {discoveryName = a} :: ServiceConnectServiceResource)++instance Data.FromJSON ServiceConnectServiceResource where+ parseJSON =+ Data.withObject+ "ServiceConnectServiceResource"+ ( \x ->+ ServiceConnectServiceResource'+ Prelude.<$> (x Data..:? "discoveryArn")+ Prelude.<*> (x Data..:? "discoveryName")+ )++instance+ Prelude.Hashable+ ServiceConnectServiceResource+ where+ hashWithSalt _salt ServiceConnectServiceResource' {..} =+ _salt+ `Prelude.hashWithSalt` discoveryArn+ `Prelude.hashWithSalt` discoveryName++instance Prelude.NFData ServiceConnectServiceResource where+ rnf ServiceConnectServiceResource' {..} =+ Prelude.rnf discoveryArn+ `Prelude.seq` Prelude.rnf discoveryName
+ gen/Amazonka/ECS/Types/ServiceEvent.hs view
@@ -0,0 +1,96 @@+{-# 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.ECS.Types.ServiceEvent+-- 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.ECS.Types.ServiceEvent 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++-- | The details for an event that\'s associated with a service.+--+-- /See:/ 'newServiceEvent' smart constructor.+data ServiceEvent = ServiceEvent'+ { -- | The Unix timestamp for the time when the event was triggered.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The ID string for the event.+ id :: Prelude.Maybe Prelude.Text,+ -- | The event message.+ message :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ServiceEvent' 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', 'serviceEvent_createdAt' - The Unix timestamp for the time when the event was triggered.+--+-- 'id', 'serviceEvent_id' - The ID string for the event.+--+-- 'message', 'serviceEvent_message' - The event message.+newServiceEvent ::+ ServiceEvent+newServiceEvent =+ ServiceEvent'+ { createdAt = Prelude.Nothing,+ id = Prelude.Nothing,+ message = Prelude.Nothing+ }++-- | The Unix timestamp for the time when the event was triggered.+serviceEvent_createdAt :: Lens.Lens' ServiceEvent (Prelude.Maybe Prelude.UTCTime)+serviceEvent_createdAt = Lens.lens (\ServiceEvent' {createdAt} -> createdAt) (\s@ServiceEvent' {} a -> s {createdAt = a} :: ServiceEvent) Prelude.. Lens.mapping Data._Time++-- | The ID string for the event.+serviceEvent_id :: Lens.Lens' ServiceEvent (Prelude.Maybe Prelude.Text)+serviceEvent_id = Lens.lens (\ServiceEvent' {id} -> id) (\s@ServiceEvent' {} a -> s {id = a} :: ServiceEvent)++-- | The event message.+serviceEvent_message :: Lens.Lens' ServiceEvent (Prelude.Maybe Prelude.Text)+serviceEvent_message = Lens.lens (\ServiceEvent' {message} -> message) (\s@ServiceEvent' {} a -> s {message = a} :: ServiceEvent)++instance Data.FromJSON ServiceEvent where+ parseJSON =+ Data.withObject+ "ServiceEvent"+ ( \x ->+ ServiceEvent'+ Prelude.<$> (x Data..:? "createdAt")+ Prelude.<*> (x Data..:? "id")+ Prelude.<*> (x Data..:? "message")+ )++instance Prelude.Hashable ServiceEvent where+ hashWithSalt _salt ServiceEvent' {..} =+ _salt+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` message++instance Prelude.NFData ServiceEvent where+ rnf ServiceEvent' {..} =+ Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf id+ `Prelude.seq` Prelude.rnf message
+ gen/Amazonka/ECS/Types/ServiceField.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.ServiceField+-- 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.ECS.Types.ServiceField+ ( ServiceField+ ( ..,+ ServiceField_TAGS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ServiceField = ServiceField'+ { fromServiceField ::+ 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 ServiceField_TAGS :: ServiceField+pattern ServiceField_TAGS = ServiceField' "TAGS"++{-# COMPLETE+ ServiceField_TAGS,+ ServiceField'+ #-}
+ gen/Amazonka/ECS/Types/ServiceRegistry.hs view
@@ -0,0 +1,180 @@+{-# 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.ECS.Types.ServiceRegistry+-- 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.ECS.Types.ServiceRegistry 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++-- | The details for the service registry.+--+-- Each service may be associated with one service registry. Multiple+-- service registries for each service are not supported.+--+-- When you add, update, or remove the service registries configuration,+-- Amazon ECS starts a new deployment. New tasks are registered and+-- deregistered to the updated service registry configuration.+--+-- /See:/ 'newServiceRegistry' smart constructor.+data ServiceRegistry = ServiceRegistry'+ { -- | The container name value to be used for your service discovery service.+ -- It\'s already specified in the task definition. If the task definition+ -- that your service task specifies uses the @bridge@ or @host@ network+ -- mode, you must specify a @containerName@ and @containerPort@ combination+ -- from the task definition. If the task definition that your service task+ -- specifies uses the @awsvpc@ network mode and a type SRV DNS record is+ -- used, you must specify either a @containerName@ and @containerPort@+ -- combination or a @port@ value. However, you can\'t specify both.+ containerName :: Prelude.Maybe Prelude.Text,+ -- | The port value to be used for your service discovery service. It\'s+ -- already specified in the task definition. If the task definition your+ -- service task specifies uses the @bridge@ or @host@ network mode, you+ -- must specify a @containerName@ and @containerPort@ combination from the+ -- task definition. If the task definition your service task specifies uses+ -- the @awsvpc@ network mode and a type SRV DNS record is used, you must+ -- specify either a @containerName@ and @containerPort@ combination or a+ -- @port@ value. However, you can\'t specify both.+ containerPort :: Prelude.Maybe Prelude.Int,+ -- | The port value used if your service discovery service specified an SRV+ -- record. This field might be used if both the @awsvpc@ network mode and+ -- SRV records are used.+ port :: Prelude.Maybe Prelude.Int,+ -- | The Amazon Resource Name (ARN) of the service registry. The currently+ -- supported service registry is Cloud Map. For more information, see+ -- <https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html CreateService>.+ registryArn :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ServiceRegistry' 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:+--+-- 'containerName', 'serviceRegistry_containerName' - The container name value to be used for your service discovery service.+-- It\'s already specified in the task definition. If the task definition+-- that your service task specifies uses the @bridge@ or @host@ network+-- mode, you must specify a @containerName@ and @containerPort@ combination+-- from the task definition. If the task definition that your service task+-- specifies uses the @awsvpc@ network mode and a type SRV DNS record is+-- used, you must specify either a @containerName@ and @containerPort@+-- combination or a @port@ value. However, you can\'t specify both.+--+-- 'containerPort', 'serviceRegistry_containerPort' - The port value to be used for your service discovery service. It\'s+-- already specified in the task definition. If the task definition your+-- service task specifies uses the @bridge@ or @host@ network mode, you+-- must specify a @containerName@ and @containerPort@ combination from the+-- task definition. If the task definition your service task specifies uses+-- the @awsvpc@ network mode and a type SRV DNS record is used, you must+-- specify either a @containerName@ and @containerPort@ combination or a+-- @port@ value. However, you can\'t specify both.+--+-- 'port', 'serviceRegistry_port' - The port value used if your service discovery service specified an SRV+-- record. This field might be used if both the @awsvpc@ network mode and+-- SRV records are used.+--+-- 'registryArn', 'serviceRegistry_registryArn' - The Amazon Resource Name (ARN) of the service registry. The currently+-- supported service registry is Cloud Map. For more information, see+-- <https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html CreateService>.+newServiceRegistry ::+ ServiceRegistry+newServiceRegistry =+ ServiceRegistry'+ { containerName = Prelude.Nothing,+ containerPort = Prelude.Nothing,+ port = Prelude.Nothing,+ registryArn = Prelude.Nothing+ }++-- | The container name value to be used for your service discovery service.+-- It\'s already specified in the task definition. If the task definition+-- that your service task specifies uses the @bridge@ or @host@ network+-- mode, you must specify a @containerName@ and @containerPort@ combination+-- from the task definition. If the task definition that your service task+-- specifies uses the @awsvpc@ network mode and a type SRV DNS record is+-- used, you must specify either a @containerName@ and @containerPort@+-- combination or a @port@ value. However, you can\'t specify both.+serviceRegistry_containerName :: Lens.Lens' ServiceRegistry (Prelude.Maybe Prelude.Text)+serviceRegistry_containerName = Lens.lens (\ServiceRegistry' {containerName} -> containerName) (\s@ServiceRegistry' {} a -> s {containerName = a} :: ServiceRegistry)++-- | The port value to be used for your service discovery service. It\'s+-- already specified in the task definition. If the task definition your+-- service task specifies uses the @bridge@ or @host@ network mode, you+-- must specify a @containerName@ and @containerPort@ combination from the+-- task definition. If the task definition your service task specifies uses+-- the @awsvpc@ network mode and a type SRV DNS record is used, you must+-- specify either a @containerName@ and @containerPort@ combination or a+-- @port@ value. However, you can\'t specify both.+serviceRegistry_containerPort :: Lens.Lens' ServiceRegistry (Prelude.Maybe Prelude.Int)+serviceRegistry_containerPort = Lens.lens (\ServiceRegistry' {containerPort} -> containerPort) (\s@ServiceRegistry' {} a -> s {containerPort = a} :: ServiceRegistry)++-- | The port value used if your service discovery service specified an SRV+-- record. This field might be used if both the @awsvpc@ network mode and+-- SRV records are used.+serviceRegistry_port :: Lens.Lens' ServiceRegistry (Prelude.Maybe Prelude.Int)+serviceRegistry_port = Lens.lens (\ServiceRegistry' {port} -> port) (\s@ServiceRegistry' {} a -> s {port = a} :: ServiceRegistry)++-- | The Amazon Resource Name (ARN) of the service registry. The currently+-- supported service registry is Cloud Map. For more information, see+-- <https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html CreateService>.+serviceRegistry_registryArn :: Lens.Lens' ServiceRegistry (Prelude.Maybe Prelude.Text)+serviceRegistry_registryArn = Lens.lens (\ServiceRegistry' {registryArn} -> registryArn) (\s@ServiceRegistry' {} a -> s {registryArn = a} :: ServiceRegistry)++instance Data.FromJSON ServiceRegistry where+ parseJSON =+ Data.withObject+ "ServiceRegistry"+ ( \x ->+ ServiceRegistry'+ Prelude.<$> (x Data..:? "containerName")+ Prelude.<*> (x Data..:? "containerPort")+ Prelude.<*> (x Data..:? "port")+ Prelude.<*> (x Data..:? "registryArn")+ )++instance Prelude.Hashable ServiceRegistry where+ hashWithSalt _salt ServiceRegistry' {..} =+ _salt+ `Prelude.hashWithSalt` containerName+ `Prelude.hashWithSalt` containerPort+ `Prelude.hashWithSalt` port+ `Prelude.hashWithSalt` registryArn++instance Prelude.NFData ServiceRegistry where+ rnf ServiceRegistry' {..} =+ Prelude.rnf containerName+ `Prelude.seq` Prelude.rnf containerPort+ `Prelude.seq` Prelude.rnf port+ `Prelude.seq` Prelude.rnf registryArn++instance Data.ToJSON ServiceRegistry where+ toJSON ServiceRegistry' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("containerName" Data..=) Prelude.<$> containerName,+ ("containerPort" Data..=) Prelude.<$> containerPort,+ ("port" Data..=) Prelude.<$> port,+ ("registryArn" Data..=) Prelude.<$> registryArn+ ]+ )
+ gen/Amazonka/ECS/Types/Session.hs view
@@ -0,0 +1,102 @@+{-# 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.ECS.Types.Session+-- 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.ECS.Types.Session 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++-- | The details for the execute command session.+--+-- /See:/ 'newSession' smart constructor.+data Session = Session'+ { -- | The ID of the execute command session.+ sessionId :: Prelude.Maybe Prelude.Text,+ -- | A URL to the managed agent on the container that the SSM Session Manager+ -- client uses to send commands and receive output from the container.+ streamUrl :: Prelude.Maybe Prelude.Text,+ -- | An encrypted token value containing session and caller information.+ -- It\'s used to authenticate the connection to the container.+ tokenValue :: Prelude.Maybe (Data.Sensitive Prelude.Text)+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Session' 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:+--+-- 'sessionId', 'session_sessionId' - The ID of the execute command session.+--+-- 'streamUrl', 'session_streamUrl' - A URL to the managed agent on the container that the SSM Session Manager+-- client uses to send commands and receive output from the container.+--+-- 'tokenValue', 'session_tokenValue' - An encrypted token value containing session and caller information.+-- It\'s used to authenticate the connection to the container.+newSession ::+ Session+newSession =+ Session'+ { sessionId = Prelude.Nothing,+ streamUrl = Prelude.Nothing,+ tokenValue = Prelude.Nothing+ }++-- | The ID of the execute command session.+session_sessionId :: Lens.Lens' Session (Prelude.Maybe Prelude.Text)+session_sessionId = Lens.lens (\Session' {sessionId} -> sessionId) (\s@Session' {} a -> s {sessionId = a} :: Session)++-- | A URL to the managed agent on the container that the SSM Session Manager+-- client uses to send commands and receive output from the container.+session_streamUrl :: Lens.Lens' Session (Prelude.Maybe Prelude.Text)+session_streamUrl = Lens.lens (\Session' {streamUrl} -> streamUrl) (\s@Session' {} a -> s {streamUrl = a} :: Session)++-- | An encrypted token value containing session and caller information.+-- It\'s used to authenticate the connection to the container.+session_tokenValue :: Lens.Lens' Session (Prelude.Maybe Prelude.Text)+session_tokenValue = Lens.lens (\Session' {tokenValue} -> tokenValue) (\s@Session' {} a -> s {tokenValue = a} :: Session) Prelude.. Lens.mapping Data._Sensitive++instance Data.FromJSON Session where+ parseJSON =+ Data.withObject+ "Session"+ ( \x ->+ Session'+ Prelude.<$> (x Data..:? "sessionId")+ Prelude.<*> (x Data..:? "streamUrl")+ Prelude.<*> (x Data..:? "tokenValue")+ )++instance Prelude.Hashable Session where+ hashWithSalt _salt Session' {..} =+ _salt+ `Prelude.hashWithSalt` sessionId+ `Prelude.hashWithSalt` streamUrl+ `Prelude.hashWithSalt` tokenValue++instance Prelude.NFData Session where+ rnf Session' {..} =+ Prelude.rnf sessionId+ `Prelude.seq` Prelude.rnf streamUrl+ `Prelude.seq` Prelude.rnf tokenValue
+ gen/Amazonka/ECS/Types/Setting.hs view
@@ -0,0 +1,103 @@+{-# 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.ECS.Types.Setting+-- 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.ECS.Types.Setting where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.SettingName+import qualified Amazonka.Prelude as Prelude++-- | The current account setting for a resource.+--+-- /See:/ 'newSetting' smart constructor.+data Setting = Setting'+ { -- | The Amazon ECS resource name.+ name :: Prelude.Maybe SettingName,+ -- | The ARN of the principal. It can be an IAM user, IAM role, or the root+ -- user. If this field is omitted, the authenticated user is assumed.+ principalArn :: Prelude.Maybe Prelude.Text,+ -- | Determines whether the account setting is enabled or disabled for the+ -- specified resource.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Setting' 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', 'setting_name' - The Amazon ECS resource name.+--+-- 'principalArn', 'setting_principalArn' - The ARN of the principal. It can be an IAM user, IAM role, or the root+-- user. If this field is omitted, the authenticated user is assumed.+--+-- 'value', 'setting_value' - Determines whether the account setting is enabled or disabled for the+-- specified resource.+newSetting ::+ Setting+newSetting =+ Setting'+ { name = Prelude.Nothing,+ principalArn = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | The Amazon ECS resource name.+setting_name :: Lens.Lens' Setting (Prelude.Maybe SettingName)+setting_name = Lens.lens (\Setting' {name} -> name) (\s@Setting' {} a -> s {name = a} :: Setting)++-- | The ARN of the principal. It can be an IAM user, IAM role, or the root+-- user. If this field is omitted, the authenticated user is assumed.+setting_principalArn :: Lens.Lens' Setting (Prelude.Maybe Prelude.Text)+setting_principalArn = Lens.lens (\Setting' {principalArn} -> principalArn) (\s@Setting' {} a -> s {principalArn = a} :: Setting)++-- | Determines whether the account setting is enabled or disabled for the+-- specified resource.+setting_value :: Lens.Lens' Setting (Prelude.Maybe Prelude.Text)+setting_value = Lens.lens (\Setting' {value} -> value) (\s@Setting' {} a -> s {value = a} :: Setting)++instance Data.FromJSON Setting where+ parseJSON =+ Data.withObject+ "Setting"+ ( \x ->+ Setting'+ Prelude.<$> (x Data..:? "name")+ Prelude.<*> (x Data..:? "principalArn")+ Prelude.<*> (x Data..:? "value")+ )++instance Prelude.Hashable Setting where+ hashWithSalt _salt Setting' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` principalArn+ `Prelude.hashWithSalt` value++instance Prelude.NFData Setting where+ rnf Setting' {..} =+ Prelude.rnf name+ `Prelude.seq` Prelude.rnf principalArn+ `Prelude.seq` Prelude.rnf value
+ gen/Amazonka/ECS/Types/SettingName.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.ECS.Types.SettingName+-- 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.ECS.Types.SettingName+ ( SettingName+ ( ..,+ SettingName_AwsvpcTrunking,+ SettingName_ContainerInsights,+ SettingName_ContainerInstanceLongArnFormat,+ SettingName_ServiceLongArnFormat,+ SettingName_TaskLongArnFormat+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype SettingName = SettingName'+ { fromSettingName ::+ 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 SettingName_AwsvpcTrunking :: SettingName+pattern SettingName_AwsvpcTrunking = SettingName' "awsvpcTrunking"++pattern SettingName_ContainerInsights :: SettingName+pattern SettingName_ContainerInsights = SettingName' "containerInsights"++pattern SettingName_ContainerInstanceLongArnFormat :: SettingName+pattern SettingName_ContainerInstanceLongArnFormat = SettingName' "containerInstanceLongArnFormat"++pattern SettingName_ServiceLongArnFormat :: SettingName+pattern SettingName_ServiceLongArnFormat = SettingName' "serviceLongArnFormat"++pattern SettingName_TaskLongArnFormat :: SettingName+pattern SettingName_TaskLongArnFormat = SettingName' "taskLongArnFormat"++{-# COMPLETE+ SettingName_AwsvpcTrunking,+ SettingName_ContainerInsights,+ SettingName_ContainerInstanceLongArnFormat,+ SettingName_ServiceLongArnFormat,+ SettingName_TaskLongArnFormat,+ SettingName'+ #-}
+ gen/Amazonka/ECS/Types/SortOrder.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.ECS.Types.SortOrder+-- 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.ECS.Types.SortOrder+ ( SortOrder+ ( ..,+ SortOrder_ASC,+ SortOrder_DESC+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype SortOrder = SortOrder'+ { fromSortOrder ::+ 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 SortOrder_ASC :: SortOrder+pattern SortOrder_ASC = SortOrder' "ASC"++pattern SortOrder_DESC :: SortOrder+pattern SortOrder_DESC = SortOrder' "DESC"++{-# COMPLETE+ SortOrder_ASC,+ SortOrder_DESC,+ SortOrder'+ #-}
+ gen/Amazonka/ECS/Types/StabilityStatus.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.ECS.Types.StabilityStatus+-- 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.ECS.Types.StabilityStatus+ ( StabilityStatus+ ( ..,+ StabilityStatus_STABILIZING,+ StabilityStatus_STEADY_STATE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype StabilityStatus = StabilityStatus'+ { fromStabilityStatus ::+ 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 StabilityStatus_STABILIZING :: StabilityStatus+pattern StabilityStatus_STABILIZING = StabilityStatus' "STABILIZING"++pattern StabilityStatus_STEADY_STATE :: StabilityStatus+pattern StabilityStatus_STEADY_STATE = StabilityStatus' "STEADY_STATE"++{-# COMPLETE+ StabilityStatus_STABILIZING,+ StabilityStatus_STEADY_STATE,+ StabilityStatus'+ #-}
+ gen/Amazonka/ECS/Types/SystemControl.hs view
@@ -0,0 +1,118 @@+{-# 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.ECS.Types.SystemControl+-- 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.ECS.Types.SystemControl 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 list of namespaced kernel parameters to set in the container. This+-- parameter maps to @Sysctls@ in the+-- <https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate Create a container>+-- section of the+-- <https://docs.docker.com/engine/api/v1.35/ Docker Remote API> and the+-- @--sysctl@ option to+-- <https://docs.docker.com/engine/reference/run/#security-configuration docker run>.+--+-- We don\'t recommend that you specify network-related @systemControls@+-- parameters for multiple containers in a single task. This task also uses+-- either the @awsvpc@ or @host@ network mode. It does it for the following+-- reasons.+--+-- - For tasks that use the @awsvpc@ network mode, if you set+-- @systemControls@ for any container, it applies to all containers in+-- the task. If you set different @systemControls@ for multiple+-- containers in a single task, the container that\'s started last+-- determines which @systemControls@ take effect.+--+-- - For tasks that use the @host@ network mode, the @systemControls@+-- parameter applies to the container instance\'s kernel parameter and+-- that of all containers of any tasks running on that container+-- instance.+--+-- /See:/ 'newSystemControl' smart constructor.+data SystemControl = SystemControl'+ { -- | The namespaced kernel parameter to set a @value@ for.+ namespace :: Prelude.Maybe Prelude.Text,+ -- | The value for the namespaced kernel parameter that\'s specified in+ -- @namespace@.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SystemControl' 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:+--+-- 'namespace', 'systemControl_namespace' - The namespaced kernel parameter to set a @value@ for.+--+-- 'value', 'systemControl_value' - The value for the namespaced kernel parameter that\'s specified in+-- @namespace@.+newSystemControl ::+ SystemControl+newSystemControl =+ SystemControl'+ { namespace = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | The namespaced kernel parameter to set a @value@ for.+systemControl_namespace :: Lens.Lens' SystemControl (Prelude.Maybe Prelude.Text)+systemControl_namespace = Lens.lens (\SystemControl' {namespace} -> namespace) (\s@SystemControl' {} a -> s {namespace = a} :: SystemControl)++-- | The value for the namespaced kernel parameter that\'s specified in+-- @namespace@.+systemControl_value :: Lens.Lens' SystemControl (Prelude.Maybe Prelude.Text)+systemControl_value = Lens.lens (\SystemControl' {value} -> value) (\s@SystemControl' {} a -> s {value = a} :: SystemControl)++instance Data.FromJSON SystemControl where+ parseJSON =+ Data.withObject+ "SystemControl"+ ( \x ->+ SystemControl'+ Prelude.<$> (x Data..:? "namespace")+ Prelude.<*> (x Data..:? "value")+ )++instance Prelude.Hashable SystemControl where+ hashWithSalt _salt SystemControl' {..} =+ _salt+ `Prelude.hashWithSalt` namespace+ `Prelude.hashWithSalt` value++instance Prelude.NFData SystemControl where+ rnf SystemControl' {..} =+ Prelude.rnf namespace+ `Prelude.seq` Prelude.rnf value++instance Data.ToJSON SystemControl where+ toJSON SystemControl' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("namespace" Data..=) Prelude.<$> namespace,+ ("value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/ECS/Types/Tag.hs view
@@ -0,0 +1,125 @@+{-# 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.ECS.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.ECS.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++-- | The metadata that you apply to a resource to help you categorize and+-- organize them. Each tag consists of a key and an optional value. You+-- define them.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- /See:/ 'newTag' smart constructor.+data Tag = Tag'+ { -- | One part of a key-value pair that make up a tag. A @key@ is a general+ -- label that acts like a category for more specific tag values.+ key :: Prelude.Maybe Prelude.Text,+ -- | The optional part of a key-value pair that make up a tag. A @value@ acts+ -- as a descriptor within a tag category (key).+ value :: Prelude.Maybe 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' - One part of a key-value pair that make up a tag. A @key@ is a general+-- label that acts like a category for more specific tag values.+--+-- 'value', 'tag_value' - The optional part of a key-value pair that make up a tag. A @value@ acts+-- as a descriptor within a tag category (key).+newTag ::+ Tag+newTag =+ Tag'+ { key = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | One part of a key-value pair that make up a tag. A @key@ is a general+-- label that acts like a category for more specific tag values.+tag_key :: Lens.Lens' Tag (Prelude.Maybe Prelude.Text)+tag_key = Lens.lens (\Tag' {key} -> key) (\s@Tag' {} a -> s {key = a} :: Tag)++-- | The optional part of a key-value pair that make up a tag. A @value@ acts+-- as a descriptor within a tag category (key).+tag_value :: Lens.Lens' Tag (Prelude.Maybe 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+ [ ("key" Data..=) Prelude.<$> key,+ ("value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/ECS/Types/TargetType.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.TargetType+-- 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.ECS.Types.TargetType+ ( TargetType+ ( ..,+ TargetType_Container_instance+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TargetType = TargetType'+ { fromTargetType ::+ 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 TargetType_Container_instance :: TargetType+pattern TargetType_Container_instance = TargetType' "container-instance"++{-# COMPLETE+ TargetType_Container_instance,+ TargetType'+ #-}
+ gen/Amazonka/ECS/Types/Task.hs view
@@ -0,0 +1,1009 @@+{-# 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.ECS.Types.Task+-- 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.ECS.Types.Task where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.Attachment+import Amazonka.ECS.Types.Attribute+import Amazonka.ECS.Types.Connectivity+import Amazonka.ECS.Types.Container+import Amazonka.ECS.Types.EphemeralStorage+import Amazonka.ECS.Types.HealthStatus+import Amazonka.ECS.Types.InferenceAccelerator+import Amazonka.ECS.Types.LaunchType+import Amazonka.ECS.Types.Tag+import Amazonka.ECS.Types.TaskOverride+import Amazonka.ECS.Types.TaskStopCode+import qualified Amazonka.Prelude as Prelude++-- | Details on a task in a cluster.+--+-- /See:/ 'newTask' smart constructor.+data Task = Task'+ { -- | The Elastic Network Adapter that\'s associated with the task if the task+ -- uses the @awsvpc@ network mode.+ attachments :: Prelude.Maybe [Attachment],+ -- | The attributes of the task+ attributes :: Prelude.Maybe [Attribute],+ -- | The Availability Zone for the task.+ availabilityZone :: Prelude.Maybe Prelude.Text,+ -- | The capacity provider that\'s associated with the task.+ capacityProviderName :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the cluster that hosts the task.+ clusterArn :: Prelude.Maybe Prelude.Text,+ -- | The connectivity status of a task.+ connectivity :: Prelude.Maybe Connectivity,+ -- | The Unix timestamp for the time when the task last went into @CONNECTED@+ -- status.+ connectivityAt :: Prelude.Maybe Data.POSIX,+ -- | The ARN of the container instances that host the task.+ containerInstanceArn :: Prelude.Maybe Prelude.Text,+ -- | The containers that\'s associated with the task.+ containers :: Prelude.Maybe [Container],+ -- | The number of CPU units used by the task as expressed in a task+ -- definition. It can be expressed as an integer using CPU units (for+ -- example, @1024@). It can also be expressed as a string using vCPUs (for+ -- example, @1 vCPU@ or @1 vcpu@). String values are converted to an+ -- integer that indicates the CPU units when the task definition is+ -- registered.+ --+ -- If you use the EC2 launch type, this field is optional. Supported values+ -- are between @128@ CPU units (@0.125@ vCPUs) and @10240@ CPU units (@10@+ -- vCPUs).+ --+ -- If you use the Fargate launch type, this field is required. You must use+ -- one of the following values. These values determine the range of+ -- supported values for the @memory@ parameter:+ --+ -- The CPU units cannot be less than 1 vCPU when you use Windows containers+ -- on Fargate.+ --+ -- - 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1+ -- GB), 2048 (2 GB)+ --+ -- - 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB),+ -- 3072 (3 GB), 4096 (4 GB)+ --+ -- - 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB),+ -- 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)+ --+ -- - 2048 (2 vCPU) - Available @memory@ values: 4096 (4 GB) and 16384 (16+ -- GB) in increments of 1024 (1 GB)+ --+ -- - 4096 (4 vCPU) - Available @memory@ values: 8192 (8 GB) and 30720 (30+ -- GB) in increments of 1024 (1 GB)+ --+ -- - 8192 (8 vCPU) - Available @memory@ values: 16 GB and 60 GB in 4 GB+ -- increments+ --+ -- This option requires Linux platform @1.4.0@ or later.+ --+ -- - 16384 (16vCPU) - Available @memory@ values: 32GB and 120 GB in 8 GB+ -- increments+ --+ -- This option requires Linux platform @1.4.0@ or later.+ cpu :: Prelude.Maybe Prelude.Text,+ -- | The Unix timestamp for the time when the task was created. More+ -- specifically, it\'s for the time when the task entered the @PENDING@+ -- state.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The desired status of the task. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html Task Lifecycle>.+ desiredStatus :: Prelude.Maybe Prelude.Text,+ -- | Determines whether execute command functionality is enabled for this+ -- task. If @true@, execute command functionality is enabled on all the+ -- containers in the task.+ enableExecuteCommand :: Prelude.Maybe Prelude.Bool,+ -- | The ephemeral storage settings for the task.+ ephemeralStorage :: Prelude.Maybe EphemeralStorage,+ -- | The Unix timestamp for the time when the task execution stopped.+ executionStoppedAt :: Prelude.Maybe Data.POSIX,+ -- | The name of the task group that\'s associated with the task.+ group' :: Prelude.Maybe Prelude.Text,+ -- | The health status for the task. It\'s determined by the health of the+ -- essential containers in the task. If all essential containers in the+ -- task are reporting as @HEALTHY@, the task status also reports as+ -- @HEALTHY@. If any essential containers in the task are reporting as+ -- @UNHEALTHY@ or @UNKNOWN@, the task status also reports as @UNHEALTHY@ or+ -- @UNKNOWN@.+ --+ -- The Amazon ECS container agent doesn\'t monitor or report on Docker+ -- health checks that are embedded in a container image and not specified+ -- in the container definition. For example, this includes those specified+ -- in a parent image or from the image\'s Dockerfile. Health check+ -- parameters that are specified in a container definition override any+ -- Docker health checks that are found in the container image.+ healthStatus :: Prelude.Maybe HealthStatus,+ -- | The Elastic Inference accelerator that\'s associated with the task.+ inferenceAccelerators :: Prelude.Maybe [InferenceAccelerator],+ -- | The last known status for the task. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html Task Lifecycle>.+ lastStatus :: Prelude.Maybe Prelude.Text,+ -- | The infrastructure where your task runs on. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ launchType :: Prelude.Maybe LaunchType,+ -- | The amount of memory (in MiB) that the task uses as expressed in a task+ -- definition. It can be expressed as an integer using MiB (for example,+ -- @1024@). If it\'s expressed as a string using GB (for example, @1GB@ or+ -- @1 GB@), it\'s converted to an integer indicating the MiB when the task+ -- definition is registered.+ --+ -- If you use the EC2 launch type, this field is optional.+ --+ -- If you use the Fargate launch type, this field is required. You must use+ -- one of the following values. The value that you choose determines the+ -- range of supported values for the @cpu@ parameter.+ --+ -- - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256+ -- (.25 vCPU)+ --+ -- - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@+ -- values: 512 (.5 vCPU)+ --+ -- - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),+ -- 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU)+ --+ -- - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) -+ -- Available @cpu@ values: 2048 (2 vCPU)+ --+ -- - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -+ -- Available @cpu@ values: 4096 (4 vCPU)+ --+ -- - Between 16 GB and 60 GB in 4 GB increments - Available @cpu@ values:+ -- 8192 (8 vCPU)+ --+ -- This option requires Linux platform @1.4.0@ or later.+ --+ -- - Between 32GB and 120 GB in 8 GB increments - Available @cpu@ values:+ -- 16384 (16 vCPU)+ --+ -- This option requires Linux platform @1.4.0@ or later.+ memory :: Prelude.Maybe Prelude.Text,+ -- | One or more container overrides.+ overrides :: Prelude.Maybe TaskOverride,+ -- | The operating system that your tasks are running on. A platform family+ -- is specified only for tasks that use the Fargate launch type.+ --+ -- All tasks that run as part of this service must use the same+ -- @platformFamily@ value as the service (for example, @LINUX.@).+ platformFamily :: Prelude.Maybe Prelude.Text,+ -- | The platform version where your task runs on. A platform version is only+ -- specified for tasks that use the Fargate launch type. If you didn\'t+ -- specify one, the @LATEST@ platform version is used. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ platformVersion :: Prelude.Maybe Prelude.Text,+ -- | The Unix timestamp for the time when the container image pull began.+ pullStartedAt :: Prelude.Maybe Data.POSIX,+ -- | The Unix timestamp for the time when the container image pull completed.+ pullStoppedAt :: Prelude.Maybe Data.POSIX,+ -- | The Unix timestamp for the time when the task started. More+ -- specifically, it\'s for the time when the task transitioned from the+ -- @PENDING@ state to the @RUNNING@ state.+ startedAt :: Prelude.Maybe Data.POSIX,+ -- | The tag specified when a task is started. If an Amazon ECS service+ -- started the task, the @startedBy@ parameter contains the deployment ID+ -- of that service.+ startedBy :: Prelude.Maybe Prelude.Text,+ -- | The stop code indicating why a task was stopped. The @stoppedReason@+ -- might contain additional details.+ --+ -- The following are valid values:+ --+ -- - @TaskFailedToStart@+ --+ -- - @EssentialContainerExited@+ --+ -- - @UserInitiated@+ --+ -- - @TerminationNotice@+ --+ -- - @ServiceSchedulerInitiated@+ --+ -- - @SpotInterruption@+ stopCode :: Prelude.Maybe TaskStopCode,+ -- | The Unix timestamp for the time when the task was stopped. More+ -- specifically, it\'s for the time when the task transitioned from the+ -- @RUNNING@ state to the @STOPPED@ state.+ stoppedAt :: Prelude.Maybe Data.POSIX,+ -- | The reason that the task was stopped.+ stoppedReason :: Prelude.Maybe Prelude.Text,+ -- | The Unix timestamp for the time when the task stops. More specifically,+ -- it\'s for the time when the task transitions from the @RUNNING@ state to+ -- @STOPPED@.+ stoppingAt :: Prelude.Maybe Data.POSIX,+ -- | The metadata that you apply to the task to help you categorize and+ -- organize the task. Each tag consists of a key and an optional value. You+ -- define both the key and value.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The Amazon Resource Name (ARN) of the task.+ taskArn :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the task definition that creates the task.+ taskDefinitionArn :: Prelude.Maybe Prelude.Text,+ -- | The version counter for the task. Every time a task experiences a change+ -- that starts a CloudWatch event, the version counter is incremented. If+ -- you replicate your Amazon ECS task state with CloudWatch Events, you can+ -- compare the version of a task reported by the Amazon ECS API actions+ -- with the version reported in CloudWatch Events for the task (inside the+ -- @detail@ object) to verify that the version in your event stream is+ -- current.+ version :: Prelude.Maybe Prelude.Integer+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Task' 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:+--+-- 'attachments', 'task_attachments' - The Elastic Network Adapter that\'s associated with the task if the task+-- uses the @awsvpc@ network mode.+--+-- 'attributes', 'task_attributes' - The attributes of the task+--+-- 'availabilityZone', 'task_availabilityZone' - The Availability Zone for the task.+--+-- 'capacityProviderName', 'task_capacityProviderName' - The capacity provider that\'s associated with the task.+--+-- 'clusterArn', 'task_clusterArn' - The ARN of the cluster that hosts the task.+--+-- 'connectivity', 'task_connectivity' - The connectivity status of a task.+--+-- 'connectivityAt', 'task_connectivityAt' - The Unix timestamp for the time when the task last went into @CONNECTED@+-- status.+--+-- 'containerInstanceArn', 'task_containerInstanceArn' - The ARN of the container instances that host the task.+--+-- 'containers', 'task_containers' - The containers that\'s associated with the task.+--+-- 'cpu', 'task_cpu' - The number of CPU units used by the task as expressed in a task+-- definition. It can be expressed as an integer using CPU units (for+-- example, @1024@). It can also be expressed as a string using vCPUs (for+-- example, @1 vCPU@ or @1 vcpu@). String values are converted to an+-- integer that indicates the CPU units when the task definition is+-- registered.+--+-- If you use the EC2 launch type, this field is optional. Supported values+-- are between @128@ CPU units (@0.125@ vCPUs) and @10240@ CPU units (@10@+-- vCPUs).+--+-- If you use the Fargate launch type, this field is required. You must use+-- one of the following values. These values determine the range of+-- supported values for the @memory@ parameter:+--+-- The CPU units cannot be less than 1 vCPU when you use Windows containers+-- on Fargate.+--+-- - 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1+-- GB), 2048 (2 GB)+--+-- - 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB),+-- 3072 (3 GB), 4096 (4 GB)+--+-- - 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB),+-- 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)+--+-- - 2048 (2 vCPU) - Available @memory@ values: 4096 (4 GB) and 16384 (16+-- GB) in increments of 1024 (1 GB)+--+-- - 4096 (4 vCPU) - Available @memory@ values: 8192 (8 GB) and 30720 (30+-- GB) in increments of 1024 (1 GB)+--+-- - 8192 (8 vCPU) - Available @memory@ values: 16 GB and 60 GB in 4 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - 16384 (16vCPU) - Available @memory@ values: 32GB and 120 GB in 8 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- 'createdAt', 'task_createdAt' - The Unix timestamp for the time when the task was created. More+-- specifically, it\'s for the time when the task entered the @PENDING@+-- state.+--+-- 'desiredStatus', 'task_desiredStatus' - The desired status of the task. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html Task Lifecycle>.+--+-- 'enableExecuteCommand', 'task_enableExecuteCommand' - Determines whether execute command functionality is enabled for this+-- task. If @true@, execute command functionality is enabled on all the+-- containers in the task.+--+-- 'ephemeralStorage', 'task_ephemeralStorage' - The ephemeral storage settings for the task.+--+-- 'executionStoppedAt', 'task_executionStoppedAt' - The Unix timestamp for the time when the task execution stopped.+--+-- 'group'', 'task_group' - The name of the task group that\'s associated with the task.+--+-- 'healthStatus', 'task_healthStatus' - The health status for the task. It\'s determined by the health of the+-- essential containers in the task. If all essential containers in the+-- task are reporting as @HEALTHY@, the task status also reports as+-- @HEALTHY@. If any essential containers in the task are reporting as+-- @UNHEALTHY@ or @UNKNOWN@, the task status also reports as @UNHEALTHY@ or+-- @UNKNOWN@.+--+-- The Amazon ECS container agent doesn\'t monitor or report on Docker+-- health checks that are embedded in a container image and not specified+-- in the container definition. For example, this includes those specified+-- in a parent image or from the image\'s Dockerfile. Health check+-- parameters that are specified in a container definition override any+-- Docker health checks that are found in the container image.+--+-- 'inferenceAccelerators', 'task_inferenceAccelerators' - The Elastic Inference accelerator that\'s associated with the task.+--+-- 'lastStatus', 'task_lastStatus' - The last known status for the task. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html Task Lifecycle>.+--+-- 'launchType', 'task_launchType' - The infrastructure where your task runs on. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'memory', 'task_memory' - The amount of memory (in MiB) that the task uses as expressed in a task+-- definition. It can be expressed as an integer using MiB (for example,+-- @1024@). If it\'s expressed as a string using GB (for example, @1GB@ or+-- @1 GB@), it\'s converted to an integer indicating the MiB when the task+-- definition is registered.+--+-- If you use the EC2 launch type, this field is optional.+--+-- If you use the Fargate launch type, this field is required. You must use+-- one of the following values. The value that you choose determines the+-- range of supported values for the @cpu@ parameter.+--+-- - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256+-- (.25 vCPU)+--+-- - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@+-- values: 512 (.5 vCPU)+--+-- - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),+-- 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU)+--+-- - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 2048 (2 vCPU)+--+-- - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 4096 (4 vCPU)+--+-- - Between 16 GB and 60 GB in 4 GB increments - Available @cpu@ values:+-- 8192 (8 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - Between 32GB and 120 GB in 8 GB increments - Available @cpu@ values:+-- 16384 (16 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- 'overrides', 'task_overrides' - One or more container overrides.+--+-- 'platformFamily', 'task_platformFamily' - The operating system that your tasks are running on. A platform family+-- is specified only for tasks that use the Fargate launch type.+--+-- All tasks that run as part of this service must use the same+-- @platformFamily@ value as the service (for example, @LINUX.@).+--+-- 'platformVersion', 'task_platformVersion' - The platform version where your task runs on. A platform version is only+-- specified for tasks that use the Fargate launch type. If you didn\'t+-- specify one, the @LATEST@ platform version is used. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'pullStartedAt', 'task_pullStartedAt' - The Unix timestamp for the time when the container image pull began.+--+-- 'pullStoppedAt', 'task_pullStoppedAt' - The Unix timestamp for the time when the container image pull completed.+--+-- 'startedAt', 'task_startedAt' - The Unix timestamp for the time when the task started. More+-- specifically, it\'s for the time when the task transitioned from the+-- @PENDING@ state to the @RUNNING@ state.+--+-- 'startedBy', 'task_startedBy' - The tag specified when a task is started. If an Amazon ECS service+-- started the task, the @startedBy@ parameter contains the deployment ID+-- of that service.+--+-- 'stopCode', 'task_stopCode' - The stop code indicating why a task was stopped. The @stoppedReason@+-- might contain additional details.+--+-- The following are valid values:+--+-- - @TaskFailedToStart@+--+-- - @EssentialContainerExited@+--+-- - @UserInitiated@+--+-- - @TerminationNotice@+--+-- - @ServiceSchedulerInitiated@+--+-- - @SpotInterruption@+--+-- 'stoppedAt', 'task_stoppedAt' - The Unix timestamp for the time when the task was stopped. More+-- specifically, it\'s for the time when the task transitioned from the+-- @RUNNING@ state to the @STOPPED@ state.+--+-- 'stoppedReason', 'task_stoppedReason' - The reason that the task was stopped.+--+-- 'stoppingAt', 'task_stoppingAt' - The Unix timestamp for the time when the task stops. More specifically,+-- it\'s for the time when the task transitions from the @RUNNING@ state to+-- @STOPPED@.+--+-- 'tags', 'task_tags' - The metadata that you apply to the task to help you categorize and+-- organize the task. Each tag consists of a key and an optional value. You+-- define both the key and value.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'taskArn', 'task_taskArn' - The Amazon Resource Name (ARN) of the task.+--+-- 'taskDefinitionArn', 'task_taskDefinitionArn' - The ARN of the task definition that creates the task.+--+-- 'version', 'task_version' - The version counter for the task. Every time a task experiences a change+-- that starts a CloudWatch event, the version counter is incremented. If+-- you replicate your Amazon ECS task state with CloudWatch Events, you can+-- compare the version of a task reported by the Amazon ECS API actions+-- with the version reported in CloudWatch Events for the task (inside the+-- @detail@ object) to verify that the version in your event stream is+-- current.+newTask ::+ Task+newTask =+ Task'+ { attachments = Prelude.Nothing,+ attributes = Prelude.Nothing,+ availabilityZone = Prelude.Nothing,+ capacityProviderName = Prelude.Nothing,+ clusterArn = Prelude.Nothing,+ connectivity = Prelude.Nothing,+ connectivityAt = Prelude.Nothing,+ containerInstanceArn = Prelude.Nothing,+ containers = Prelude.Nothing,+ cpu = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ desiredStatus = Prelude.Nothing,+ enableExecuteCommand = Prelude.Nothing,+ ephemeralStorage = Prelude.Nothing,+ executionStoppedAt = Prelude.Nothing,+ group' = Prelude.Nothing,+ healthStatus = Prelude.Nothing,+ inferenceAccelerators = Prelude.Nothing,+ lastStatus = Prelude.Nothing,+ launchType = Prelude.Nothing,+ memory = Prelude.Nothing,+ overrides = Prelude.Nothing,+ platformFamily = Prelude.Nothing,+ platformVersion = Prelude.Nothing,+ pullStartedAt = Prelude.Nothing,+ pullStoppedAt = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ startedBy = Prelude.Nothing,+ stopCode = Prelude.Nothing,+ stoppedAt = Prelude.Nothing,+ stoppedReason = Prelude.Nothing,+ stoppingAt = Prelude.Nothing,+ tags = Prelude.Nothing,+ taskArn = Prelude.Nothing,+ taskDefinitionArn = Prelude.Nothing,+ version = Prelude.Nothing+ }++-- | The Elastic Network Adapter that\'s associated with the task if the task+-- uses the @awsvpc@ network mode.+task_attachments :: Lens.Lens' Task (Prelude.Maybe [Attachment])+task_attachments = Lens.lens (\Task' {attachments} -> attachments) (\s@Task' {} a -> s {attachments = a} :: Task) Prelude.. Lens.mapping Lens.coerced++-- | The attributes of the task+task_attributes :: Lens.Lens' Task (Prelude.Maybe [Attribute])+task_attributes = Lens.lens (\Task' {attributes} -> attributes) (\s@Task' {} a -> s {attributes = a} :: Task) Prelude.. Lens.mapping Lens.coerced++-- | The Availability Zone for the task.+task_availabilityZone :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_availabilityZone = Lens.lens (\Task' {availabilityZone} -> availabilityZone) (\s@Task' {} a -> s {availabilityZone = a} :: Task)++-- | The capacity provider that\'s associated with the task.+task_capacityProviderName :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_capacityProviderName = Lens.lens (\Task' {capacityProviderName} -> capacityProviderName) (\s@Task' {} a -> s {capacityProviderName = a} :: Task)++-- | The ARN of the cluster that hosts the task.+task_clusterArn :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_clusterArn = Lens.lens (\Task' {clusterArn} -> clusterArn) (\s@Task' {} a -> s {clusterArn = a} :: Task)++-- | The connectivity status of a task.+task_connectivity :: Lens.Lens' Task (Prelude.Maybe Connectivity)+task_connectivity = Lens.lens (\Task' {connectivity} -> connectivity) (\s@Task' {} a -> s {connectivity = a} :: Task)++-- | The Unix timestamp for the time when the task last went into @CONNECTED@+-- status.+task_connectivityAt :: Lens.Lens' Task (Prelude.Maybe Prelude.UTCTime)+task_connectivityAt = Lens.lens (\Task' {connectivityAt} -> connectivityAt) (\s@Task' {} a -> s {connectivityAt = a} :: Task) Prelude.. Lens.mapping Data._Time++-- | The ARN of the container instances that host the task.+task_containerInstanceArn :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_containerInstanceArn = Lens.lens (\Task' {containerInstanceArn} -> containerInstanceArn) (\s@Task' {} a -> s {containerInstanceArn = a} :: Task)++-- | The containers that\'s associated with the task.+task_containers :: Lens.Lens' Task (Prelude.Maybe [Container])+task_containers = Lens.lens (\Task' {containers} -> containers) (\s@Task' {} a -> s {containers = a} :: Task) Prelude.. Lens.mapping Lens.coerced++-- | The number of CPU units used by the task as expressed in a task+-- definition. It can be expressed as an integer using CPU units (for+-- example, @1024@). It can also be expressed as a string using vCPUs (for+-- example, @1 vCPU@ or @1 vcpu@). String values are converted to an+-- integer that indicates the CPU units when the task definition is+-- registered.+--+-- If you use the EC2 launch type, this field is optional. Supported values+-- are between @128@ CPU units (@0.125@ vCPUs) and @10240@ CPU units (@10@+-- vCPUs).+--+-- If you use the Fargate launch type, this field is required. You must use+-- one of the following values. These values determine the range of+-- supported values for the @memory@ parameter:+--+-- The CPU units cannot be less than 1 vCPU when you use Windows containers+-- on Fargate.+--+-- - 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1+-- GB), 2048 (2 GB)+--+-- - 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB),+-- 3072 (3 GB), 4096 (4 GB)+--+-- - 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB),+-- 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)+--+-- - 2048 (2 vCPU) - Available @memory@ values: 4096 (4 GB) and 16384 (16+-- GB) in increments of 1024 (1 GB)+--+-- - 4096 (4 vCPU) - Available @memory@ values: 8192 (8 GB) and 30720 (30+-- GB) in increments of 1024 (1 GB)+--+-- - 8192 (8 vCPU) - Available @memory@ values: 16 GB and 60 GB in 4 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - 16384 (16vCPU) - Available @memory@ values: 32GB and 120 GB in 8 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+task_cpu :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_cpu = Lens.lens (\Task' {cpu} -> cpu) (\s@Task' {} a -> s {cpu = a} :: Task)++-- | The Unix timestamp for the time when the task was created. More+-- specifically, it\'s for the time when the task entered the @PENDING@+-- state.+task_createdAt :: Lens.Lens' Task (Prelude.Maybe Prelude.UTCTime)+task_createdAt = Lens.lens (\Task' {createdAt} -> createdAt) (\s@Task' {} a -> s {createdAt = a} :: Task) Prelude.. Lens.mapping Data._Time++-- | The desired status of the task. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html Task Lifecycle>.+task_desiredStatus :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_desiredStatus = Lens.lens (\Task' {desiredStatus} -> desiredStatus) (\s@Task' {} a -> s {desiredStatus = a} :: Task)++-- | Determines whether execute command functionality is enabled for this+-- task. If @true@, execute command functionality is enabled on all the+-- containers in the task.+task_enableExecuteCommand :: Lens.Lens' Task (Prelude.Maybe Prelude.Bool)+task_enableExecuteCommand = Lens.lens (\Task' {enableExecuteCommand} -> enableExecuteCommand) (\s@Task' {} a -> s {enableExecuteCommand = a} :: Task)++-- | The ephemeral storage settings for the task.+task_ephemeralStorage :: Lens.Lens' Task (Prelude.Maybe EphemeralStorage)+task_ephemeralStorage = Lens.lens (\Task' {ephemeralStorage} -> ephemeralStorage) (\s@Task' {} a -> s {ephemeralStorage = a} :: Task)++-- | The Unix timestamp for the time when the task execution stopped.+task_executionStoppedAt :: Lens.Lens' Task (Prelude.Maybe Prelude.UTCTime)+task_executionStoppedAt = Lens.lens (\Task' {executionStoppedAt} -> executionStoppedAt) (\s@Task' {} a -> s {executionStoppedAt = a} :: Task) Prelude.. Lens.mapping Data._Time++-- | The name of the task group that\'s associated with the task.+task_group :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_group = Lens.lens (\Task' {group'} -> group') (\s@Task' {} a -> s {group' = a} :: Task)++-- | The health status for the task. It\'s determined by the health of the+-- essential containers in the task. If all essential containers in the+-- task are reporting as @HEALTHY@, the task status also reports as+-- @HEALTHY@. If any essential containers in the task are reporting as+-- @UNHEALTHY@ or @UNKNOWN@, the task status also reports as @UNHEALTHY@ or+-- @UNKNOWN@.+--+-- The Amazon ECS container agent doesn\'t monitor or report on Docker+-- health checks that are embedded in a container image and not specified+-- in the container definition. For example, this includes those specified+-- in a parent image or from the image\'s Dockerfile. Health check+-- parameters that are specified in a container definition override any+-- Docker health checks that are found in the container image.+task_healthStatus :: Lens.Lens' Task (Prelude.Maybe HealthStatus)+task_healthStatus = Lens.lens (\Task' {healthStatus} -> healthStatus) (\s@Task' {} a -> s {healthStatus = a} :: Task)++-- | The Elastic Inference accelerator that\'s associated with the task.+task_inferenceAccelerators :: Lens.Lens' Task (Prelude.Maybe [InferenceAccelerator])+task_inferenceAccelerators = Lens.lens (\Task' {inferenceAccelerators} -> inferenceAccelerators) (\s@Task' {} a -> s {inferenceAccelerators = a} :: Task) Prelude.. Lens.mapping Lens.coerced++-- | The last known status for the task. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html Task Lifecycle>.+task_lastStatus :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_lastStatus = Lens.lens (\Task' {lastStatus} -> lastStatus) (\s@Task' {} a -> s {lastStatus = a} :: Task)++-- | The infrastructure where your task runs on. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+task_launchType :: Lens.Lens' Task (Prelude.Maybe LaunchType)+task_launchType = Lens.lens (\Task' {launchType} -> launchType) (\s@Task' {} a -> s {launchType = a} :: Task)++-- | The amount of memory (in MiB) that the task uses as expressed in a task+-- definition. It can be expressed as an integer using MiB (for example,+-- @1024@). If it\'s expressed as a string using GB (for example, @1GB@ or+-- @1 GB@), it\'s converted to an integer indicating the MiB when the task+-- definition is registered.+--+-- If you use the EC2 launch type, this field is optional.+--+-- If you use the Fargate launch type, this field is required. You must use+-- one of the following values. The value that you choose determines the+-- range of supported values for the @cpu@ parameter.+--+-- - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256+-- (.25 vCPU)+--+-- - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@+-- values: 512 (.5 vCPU)+--+-- - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),+-- 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU)+--+-- - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 2048 (2 vCPU)+--+-- - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 4096 (4 vCPU)+--+-- - Between 16 GB and 60 GB in 4 GB increments - Available @cpu@ values:+-- 8192 (8 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - Between 32GB and 120 GB in 8 GB increments - Available @cpu@ values:+-- 16384 (16 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+task_memory :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_memory = Lens.lens (\Task' {memory} -> memory) (\s@Task' {} a -> s {memory = a} :: Task)++-- | One or more container overrides.+task_overrides :: Lens.Lens' Task (Prelude.Maybe TaskOverride)+task_overrides = Lens.lens (\Task' {overrides} -> overrides) (\s@Task' {} a -> s {overrides = a} :: Task)++-- | The operating system that your tasks are running on. A platform family+-- is specified only for tasks that use the Fargate launch type.+--+-- All tasks that run as part of this service must use the same+-- @platformFamily@ value as the service (for example, @LINUX.@).+task_platformFamily :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_platformFamily = Lens.lens (\Task' {platformFamily} -> platformFamily) (\s@Task' {} a -> s {platformFamily = a} :: Task)++-- | The platform version where your task runs on. A platform version is only+-- specified for tasks that use the Fargate launch type. If you didn\'t+-- specify one, the @LATEST@ platform version is used. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+task_platformVersion :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_platformVersion = Lens.lens (\Task' {platformVersion} -> platformVersion) (\s@Task' {} a -> s {platformVersion = a} :: Task)++-- | The Unix timestamp for the time when the container image pull began.+task_pullStartedAt :: Lens.Lens' Task (Prelude.Maybe Prelude.UTCTime)+task_pullStartedAt = Lens.lens (\Task' {pullStartedAt} -> pullStartedAt) (\s@Task' {} a -> s {pullStartedAt = a} :: Task) Prelude.. Lens.mapping Data._Time++-- | The Unix timestamp for the time when the container image pull completed.+task_pullStoppedAt :: Lens.Lens' Task (Prelude.Maybe Prelude.UTCTime)+task_pullStoppedAt = Lens.lens (\Task' {pullStoppedAt} -> pullStoppedAt) (\s@Task' {} a -> s {pullStoppedAt = a} :: Task) Prelude.. Lens.mapping Data._Time++-- | The Unix timestamp for the time when the task started. More+-- specifically, it\'s for the time when the task transitioned from the+-- @PENDING@ state to the @RUNNING@ state.+task_startedAt :: Lens.Lens' Task (Prelude.Maybe Prelude.UTCTime)+task_startedAt = Lens.lens (\Task' {startedAt} -> startedAt) (\s@Task' {} a -> s {startedAt = a} :: Task) Prelude.. Lens.mapping Data._Time++-- | The tag specified when a task is started. If an Amazon ECS service+-- started the task, the @startedBy@ parameter contains the deployment ID+-- of that service.+task_startedBy :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_startedBy = Lens.lens (\Task' {startedBy} -> startedBy) (\s@Task' {} a -> s {startedBy = a} :: Task)++-- | The stop code indicating why a task was stopped. The @stoppedReason@+-- might contain additional details.+--+-- The following are valid values:+--+-- - @TaskFailedToStart@+--+-- - @EssentialContainerExited@+--+-- - @UserInitiated@+--+-- - @TerminationNotice@+--+-- - @ServiceSchedulerInitiated@+--+-- - @SpotInterruption@+task_stopCode :: Lens.Lens' Task (Prelude.Maybe TaskStopCode)+task_stopCode = Lens.lens (\Task' {stopCode} -> stopCode) (\s@Task' {} a -> s {stopCode = a} :: Task)++-- | The Unix timestamp for the time when the task was stopped. More+-- specifically, it\'s for the time when the task transitioned from the+-- @RUNNING@ state to the @STOPPED@ state.+task_stoppedAt :: Lens.Lens' Task (Prelude.Maybe Prelude.UTCTime)+task_stoppedAt = Lens.lens (\Task' {stoppedAt} -> stoppedAt) (\s@Task' {} a -> s {stoppedAt = a} :: Task) Prelude.. Lens.mapping Data._Time++-- | The reason that the task was stopped.+task_stoppedReason :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_stoppedReason = Lens.lens (\Task' {stoppedReason} -> stoppedReason) (\s@Task' {} a -> s {stoppedReason = a} :: Task)++-- | The Unix timestamp for the time when the task stops. More specifically,+-- it\'s for the time when the task transitions from the @RUNNING@ state to+-- @STOPPED@.+task_stoppingAt :: Lens.Lens' Task (Prelude.Maybe Prelude.UTCTime)+task_stoppingAt = Lens.lens (\Task' {stoppingAt} -> stoppingAt) (\s@Task' {} a -> s {stoppingAt = a} :: Task) Prelude.. Lens.mapping Data._Time++-- | The metadata that you apply to the task to help you categorize and+-- organize the task. Each tag consists of a key and an optional value. You+-- define both the key and value.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+task_tags :: Lens.Lens' Task (Prelude.Maybe [Tag])+task_tags = Lens.lens (\Task' {tags} -> tags) (\s@Task' {} a -> s {tags = a} :: Task) Prelude.. Lens.mapping Lens.coerced++-- | The Amazon Resource Name (ARN) of the task.+task_taskArn :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_taskArn = Lens.lens (\Task' {taskArn} -> taskArn) (\s@Task' {} a -> s {taskArn = a} :: Task)++-- | The ARN of the task definition that creates the task.+task_taskDefinitionArn :: Lens.Lens' Task (Prelude.Maybe Prelude.Text)+task_taskDefinitionArn = Lens.lens (\Task' {taskDefinitionArn} -> taskDefinitionArn) (\s@Task' {} a -> s {taskDefinitionArn = a} :: Task)++-- | The version counter for the task. Every time a task experiences a change+-- that starts a CloudWatch event, the version counter is incremented. If+-- you replicate your Amazon ECS task state with CloudWatch Events, you can+-- compare the version of a task reported by the Amazon ECS API actions+-- with the version reported in CloudWatch Events for the task (inside the+-- @detail@ object) to verify that the version in your event stream is+-- current.+task_version :: Lens.Lens' Task (Prelude.Maybe Prelude.Integer)+task_version = Lens.lens (\Task' {version} -> version) (\s@Task' {} a -> s {version = a} :: Task)++instance Data.FromJSON Task where+ parseJSON =+ Data.withObject+ "Task"+ ( \x ->+ Task'+ Prelude.<$> (x Data..:? "attachments" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "attributes" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "availabilityZone")+ Prelude.<*> (x Data..:? "capacityProviderName")+ Prelude.<*> (x Data..:? "clusterArn")+ Prelude.<*> (x Data..:? "connectivity")+ Prelude.<*> (x Data..:? "connectivityAt")+ Prelude.<*> (x Data..:? "containerInstanceArn")+ Prelude.<*> (x Data..:? "containers" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "cpu")+ Prelude.<*> (x Data..:? "createdAt")+ Prelude.<*> (x Data..:? "desiredStatus")+ Prelude.<*> (x Data..:? "enableExecuteCommand")+ Prelude.<*> (x Data..:? "ephemeralStorage")+ Prelude.<*> (x Data..:? "executionStoppedAt")+ Prelude.<*> (x Data..:? "group")+ Prelude.<*> (x Data..:? "healthStatus")+ Prelude.<*> ( x+ Data..:? "inferenceAccelerators"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "lastStatus")+ Prelude.<*> (x Data..:? "launchType")+ Prelude.<*> (x Data..:? "memory")+ Prelude.<*> (x Data..:? "overrides")+ Prelude.<*> (x Data..:? "platformFamily")+ Prelude.<*> (x Data..:? "platformVersion")+ Prelude.<*> (x Data..:? "pullStartedAt")+ Prelude.<*> (x Data..:? "pullStoppedAt")+ Prelude.<*> (x Data..:? "startedAt")+ Prelude.<*> (x Data..:? "startedBy")+ Prelude.<*> (x Data..:? "stopCode")+ Prelude.<*> (x Data..:? "stoppedAt")+ Prelude.<*> (x Data..:? "stoppedReason")+ Prelude.<*> (x Data..:? "stoppingAt")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "taskArn")+ Prelude.<*> (x Data..:? "taskDefinitionArn")+ Prelude.<*> (x Data..:? "version")+ )++instance Prelude.Hashable Task where+ hashWithSalt _salt Task' {..} =+ _salt+ `Prelude.hashWithSalt` attachments+ `Prelude.hashWithSalt` attributes+ `Prelude.hashWithSalt` availabilityZone+ `Prelude.hashWithSalt` capacityProviderName+ `Prelude.hashWithSalt` clusterArn+ `Prelude.hashWithSalt` connectivity+ `Prelude.hashWithSalt` connectivityAt+ `Prelude.hashWithSalt` containerInstanceArn+ `Prelude.hashWithSalt` containers+ `Prelude.hashWithSalt` cpu+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` desiredStatus+ `Prelude.hashWithSalt` enableExecuteCommand+ `Prelude.hashWithSalt` ephemeralStorage+ `Prelude.hashWithSalt` executionStoppedAt+ `Prelude.hashWithSalt` group'+ `Prelude.hashWithSalt` healthStatus+ `Prelude.hashWithSalt` inferenceAccelerators+ `Prelude.hashWithSalt` lastStatus+ `Prelude.hashWithSalt` launchType+ `Prelude.hashWithSalt` memory+ `Prelude.hashWithSalt` overrides+ `Prelude.hashWithSalt` platformFamily+ `Prelude.hashWithSalt` platformVersion+ `Prelude.hashWithSalt` pullStartedAt+ `Prelude.hashWithSalt` pullStoppedAt+ `Prelude.hashWithSalt` startedAt+ `Prelude.hashWithSalt` startedBy+ `Prelude.hashWithSalt` stopCode+ `Prelude.hashWithSalt` stoppedAt+ `Prelude.hashWithSalt` stoppedReason+ `Prelude.hashWithSalt` stoppingAt+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` taskArn+ `Prelude.hashWithSalt` taskDefinitionArn+ `Prelude.hashWithSalt` version++instance Prelude.NFData Task where+ rnf Task' {..} =+ Prelude.rnf attachments+ `Prelude.seq` Prelude.rnf attributes+ `Prelude.seq` Prelude.rnf availabilityZone+ `Prelude.seq` Prelude.rnf capacityProviderName+ `Prelude.seq` Prelude.rnf clusterArn+ `Prelude.seq` Prelude.rnf connectivity+ `Prelude.seq` Prelude.rnf connectivityAt+ `Prelude.seq` Prelude.rnf containerInstanceArn+ `Prelude.seq` Prelude.rnf containers+ `Prelude.seq` Prelude.rnf cpu+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf desiredStatus+ `Prelude.seq` Prelude.rnf enableExecuteCommand+ `Prelude.seq` Prelude.rnf ephemeralStorage+ `Prelude.seq` Prelude.rnf executionStoppedAt+ `Prelude.seq` Prelude.rnf group'+ `Prelude.seq` Prelude.rnf healthStatus+ `Prelude.seq` Prelude.rnf inferenceAccelerators+ `Prelude.seq` Prelude.rnf lastStatus+ `Prelude.seq` Prelude.rnf launchType+ `Prelude.seq` Prelude.rnf memory+ `Prelude.seq` Prelude.rnf overrides+ `Prelude.seq` Prelude.rnf+ platformFamily+ `Prelude.seq` Prelude.rnf+ platformVersion+ `Prelude.seq` Prelude.rnf+ pullStartedAt+ `Prelude.seq` Prelude.rnf+ pullStoppedAt+ `Prelude.seq` Prelude.rnf+ startedAt+ `Prelude.seq` Prelude.rnf+ startedBy+ `Prelude.seq` Prelude.rnf+ stopCode+ `Prelude.seq` Prelude.rnf+ stoppedAt+ `Prelude.seq` Prelude.rnf+ stoppedReason+ `Prelude.seq` Prelude.rnf+ stoppingAt+ `Prelude.seq` Prelude.rnf+ tags+ `Prelude.seq` Prelude.rnf+ taskArn+ `Prelude.seq` Prelude.rnf+ taskDefinitionArn+ `Prelude.seq` Prelude.rnf+ version
+ gen/Amazonka/ECS/Types/TaskDefinition.hs view
@@ -0,0 +1,1051 @@+{-# 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.ECS.Types.TaskDefinition+-- 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.ECS.Types.TaskDefinition where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.Attribute+import Amazonka.ECS.Types.Compatibility+import Amazonka.ECS.Types.ContainerDefinition+import Amazonka.ECS.Types.EphemeralStorage+import Amazonka.ECS.Types.InferenceAccelerator+import Amazonka.ECS.Types.IpcMode+import Amazonka.ECS.Types.NetworkMode+import Amazonka.ECS.Types.PidMode+import Amazonka.ECS.Types.ProxyConfiguration+import Amazonka.ECS.Types.RuntimePlatform+import Amazonka.ECS.Types.TaskDefinitionPlacementConstraint+import Amazonka.ECS.Types.TaskDefinitionStatus+import Amazonka.ECS.Types.Volume+import qualified Amazonka.Prelude as Prelude++-- | The details of a task definition which describes the container and+-- volume definitions of an Amazon Elastic Container Service task. You can+-- specify which Docker images to use, the required resources, and other+-- configurations related to launching the task definition through an+-- Amazon ECS service or task.+--+-- /See:/ 'newTaskDefinition' smart constructor.+data TaskDefinition = TaskDefinition'+ { -- | The task launch types the task definition validated against during task+ -- definition registration. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ compatibilities :: Prelude.Maybe [Compatibility],+ -- | A list of container definitions in JSON format that describe the+ -- different containers that make up your task. For more information about+ -- container definition parameters and defaults, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ containerDefinitions :: Prelude.Maybe [ContainerDefinition],+ -- | The number of @cpu@ units used by the task. If you use the EC2 launch+ -- type, this field is optional. Any value can be used. If you use the+ -- Fargate launch type, this field is required. You must use one of the+ -- following values. The value that you choose determines your range of+ -- valid values for the @memory@ parameter.+ --+ -- The CPU units cannot be less than 1 vCPU when you use Windows containers+ -- on Fargate.+ --+ -- - 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1+ -- GB), 2048 (2 GB)+ --+ -- - 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB),+ -- 3072 (3 GB), 4096 (4 GB)+ --+ -- - 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB),+ -- 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)+ --+ -- - 2048 (2 vCPU) - Available @memory@ values: 4096 (4 GB) and 16384 (16+ -- GB) in increments of 1024 (1 GB)+ --+ -- - 4096 (4 vCPU) - Available @memory@ values: 8192 (8 GB) and 30720 (30+ -- GB) in increments of 1024 (1 GB)+ --+ -- - 8192 (8 vCPU) - Available @memory@ values: 16 GB and 60 GB in 4 GB+ -- increments+ --+ -- This option requires Linux platform @1.4.0@ or later.+ --+ -- - 16384 (16vCPU) - Available @memory@ values: 32GB and 120 GB in 8 GB+ -- increments+ --+ -- This option requires Linux platform @1.4.0@ or later.+ cpu :: Prelude.Maybe Prelude.Text,+ -- | The Unix timestamp for the time when the task definition was+ -- deregistered.+ deregisteredAt :: Prelude.Maybe Data.POSIX,+ -- | The ephemeral storage settings to use for tasks run with the task+ -- definition.+ ephemeralStorage :: Prelude.Maybe EphemeralStorage,+ -- | The Amazon Resource Name (ARN) of the task execution role that grants+ -- the Amazon ECS container agent permission to make Amazon Web Services+ -- API calls on your behalf. The task execution IAM role is required+ -- depending on the requirements of your task. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html Amazon ECS task execution IAM role>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ executionRoleArn :: Prelude.Maybe Prelude.Text,+ -- | The name of a family that this task definition is registered to. Up to+ -- 255 characters are allowed. Letters (both uppercase and lowercase+ -- letters), numbers, hyphens (-), and underscores (_) are allowed.+ --+ -- A family groups multiple versions of a task definition. Amazon ECS gives+ -- the first task definition that you registered to a family a revision+ -- number of 1. Amazon ECS gives sequential revision numbers to each task+ -- definition that you add.+ family :: Prelude.Maybe Prelude.Text,+ -- | The Elastic Inference accelerator that\'s associated with the task.+ inferenceAccelerators :: Prelude.Maybe [InferenceAccelerator],+ -- | The IPC resource namespace to use for the containers in the task. The+ -- valid values are @host@, @task@, or @none@. If @host@ is specified, then+ -- all containers within the tasks that specified the @host@ IPC mode on+ -- the same container instance share the same IPC resources with the host+ -- Amazon EC2 instance. If @task@ is specified, all containers within the+ -- specified task share the same IPC resources. If @none@ is specified,+ -- then IPC resources within the containers of a task are private and not+ -- shared with other containers in a task or on the container instance. If+ -- no value is specified, then the IPC resource namespace sharing depends+ -- on the Docker daemon setting on the container instance. For more+ -- information, see+ -- <https://docs.docker.com/engine/reference/run/#ipc-settings---ipc IPC settings>+ -- in the /Docker run reference/.+ --+ -- If the @host@ IPC mode is used, be aware that there is a heightened risk+ -- of undesired IPC namespace expose. For more information, see+ -- <https://docs.docker.com/engine/security/security/ Docker security>.+ --+ -- If you are setting namespaced kernel parameters using @systemControls@+ -- for the containers in the task, the following will apply to your IPC+ -- resource namespace. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html System Controls>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- - For tasks that use the @host@ IPC mode, IPC namespace related+ -- @systemControls@ are not supported.+ --+ -- - For tasks that use the @task@ IPC mode, IPC namespace related+ -- @systemControls@ will apply to all containers within a task.+ --+ -- This parameter is not supported for Windows containers or tasks run on+ -- Fargate.+ ipcMode :: Prelude.Maybe IpcMode,+ -- | The amount (in MiB) of memory used by the task.+ --+ -- If your tasks runs on Amazon EC2 instances, you must specify either a+ -- task-level memory value or a container-level memory value. This field is+ -- optional and any value can be used. If a task-level memory value is+ -- specified, the container-level memory value is optional. For more+ -- information regarding container-level memory and memory reservation, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html ContainerDefinition>.+ --+ -- If your tasks runs on Fargate, this field is required. You must use one+ -- of the following values. The value you choose determines your range of+ -- valid values for the @cpu@ parameter.+ --+ -- - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256+ -- (.25 vCPU)+ --+ -- - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@+ -- values: 512 (.5 vCPU)+ --+ -- - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),+ -- 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU)+ --+ -- - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) -+ -- Available @cpu@ values: 2048 (2 vCPU)+ --+ -- - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -+ -- Available @cpu@ values: 4096 (4 vCPU)+ --+ -- - Between 16 GB and 60 GB in 4 GB increments - Available @cpu@ values:+ -- 8192 (8 vCPU)+ --+ -- This option requires Linux platform @1.4.0@ or later.+ --+ -- - Between 32GB and 120 GB in 8 GB increments - Available @cpu@ values:+ -- 16384 (16 vCPU)+ --+ -- This option requires Linux platform @1.4.0@ or later.+ memory :: Prelude.Maybe Prelude.Text,+ -- | The Docker networking mode to use for the containers in the task. The+ -- valid values are @none@, @bridge@, @awsvpc@, and @host@. If no network+ -- mode is specified, the default is @bridge@.+ --+ -- For Amazon ECS tasks on Fargate, the @awsvpc@ network mode is required.+ -- For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can+ -- be used. For Amazon ECS tasks on Amazon EC2 Windows instances,+ -- @\<default>@ or @awsvpc@ can be used. If the network mode is set to+ -- @none@, you cannot specify port mappings in your container definitions,+ -- and the tasks containers do not have external connectivity. The @host@+ -- and @awsvpc@ network modes offer the highest networking performance for+ -- containers because they use the EC2 network stack instead of the+ -- virtualized network stack provided by the @bridge@ mode.+ --+ -- With the @host@ and @awsvpc@ network modes, exposed container ports are+ -- mapped directly to the corresponding host port (for the @host@ network+ -- mode) or the attached elastic network interface port (for the @awsvpc@+ -- network mode), so you cannot take advantage of dynamic host port+ -- mappings.+ --+ -- When using the @host@ network mode, you should not run containers using+ -- the root user (UID 0). It is considered best practice to use a non-root+ -- user.+ --+ -- If the network mode is @awsvpc@, the task is allocated an elastic+ -- network interface, and you must specify a NetworkConfiguration value+ -- when you create a service or run a task with the task definition. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- If the network mode is @host@, you cannot run multiple instantiations of+ -- the same task on a single container instance when port mappings are+ -- used.+ --+ -- For more information, see+ -- <https://docs.docker.com/engine/reference/run/#network-settings Network settings>+ -- in the /Docker run reference/.+ networkMode :: Prelude.Maybe NetworkMode,+ -- | The process namespace to use for the containers in the task. The valid+ -- values are @host@ or @task@. If @host@ is specified, then all containers+ -- within the tasks that specified the @host@ PID mode on the same+ -- container instance share the same process namespace with the host Amazon+ -- EC2 instance. If @task@ is specified, all containers within the+ -- specified task share the same process namespace. If no value is+ -- specified, the default is a private namespace. For more information, see+ -- <https://docs.docker.com/engine/reference/run/#pid-settings---pid PID settings>+ -- in the /Docker run reference/.+ --+ -- If the @host@ PID mode is used, be aware that there is a heightened risk+ -- of undesired process namespace expose. For more information, see+ -- <https://docs.docker.com/engine/security/security/ Docker security>.+ --+ -- This parameter is not supported for Windows containers or tasks run on+ -- Fargate.+ pidMode :: Prelude.Maybe PidMode,+ -- | An array of placement constraint objects to use for tasks.+ --+ -- This parameter isn\'t supported for tasks run on Fargate.+ placementConstraints :: Prelude.Maybe [TaskDefinitionPlacementConstraint],+ -- | The configuration details for the App Mesh proxy.+ --+ -- Your Amazon ECS container instances require at least version 1.26.0 of+ -- the container agent and at least version 1.26.0-1 of the @ecs-init@+ -- package to use a proxy configuration. If your container instances are+ -- launched from the Amazon ECS optimized AMI version @20190301@ or later,+ -- they contain the required versions of the container agent and+ -- @ecs-init@. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ proxyConfiguration :: Prelude.Maybe ProxyConfiguration,+ -- | The Unix timestamp for the time when the task definition was registered.+ registeredAt :: Prelude.Maybe Data.POSIX,+ -- | The principal that registered the task definition.+ registeredBy :: Prelude.Maybe Prelude.Text,+ -- | The container instance attributes required by your task. When an Amazon+ -- EC2 instance is registered to your cluster, the Amazon ECS container+ -- agent assigns some standard attributes to the instance. You can apply+ -- custom attributes. These are specified as key-value pairs using the+ -- Amazon ECS console or the PutAttributes API. These attributes are used+ -- when determining task placement for tasks hosted on Amazon EC2+ -- instances. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes Attributes>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- This parameter isn\'t supported for tasks run on Fargate.+ requiresAttributes :: Prelude.Maybe [Attribute],+ -- | The task launch types the task definition was validated against. To+ -- determine which task launch types the task definition is validated for,+ -- see the TaskDefinition$compatibilities parameter.+ requiresCompatibilities :: Prelude.Maybe [Compatibility],+ -- | The revision of the task in a particular family. The revision is a+ -- version number of a task definition in a family. When you register a+ -- task definition for the first time, the revision is @1@. Each time that+ -- you register a new revision of a task definition in the same family, the+ -- revision value always increases by one. This is even if you deregistered+ -- previous revisions in this family.+ revision :: Prelude.Maybe Prelude.Int,+ -- | The operating system that your task definitions are running on. A+ -- platform family is specified only for tasks using the Fargate launch+ -- type.+ --+ -- When you specify a task in a service, this value must match the+ -- @runtimePlatform@ value of the service.+ runtimePlatform :: Prelude.Maybe RuntimePlatform,+ -- | The status of the task definition.+ status :: Prelude.Maybe TaskDefinitionStatus,+ -- | The full Amazon Resource Name (ARN) of the task definition.+ taskDefinitionArn :: Prelude.Maybe Prelude.Text,+ -- | The short name or full Amazon Resource Name (ARN) of the Identity and+ -- Access Management role that grants containers in the task permission to+ -- call Amazon Web Services APIs on your behalf. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html Amazon ECS Task Role>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- IAM roles for tasks on Windows require that the @-EnableTaskIAMRole@+ -- option is set when you launch the Amazon ECS-optimized Windows AMI. Your+ -- containers must also run some configuration code to use the feature. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows_task_IAM_roles.html Windows IAM roles for tasks>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ taskRoleArn :: Prelude.Maybe Prelude.Text,+ -- | The list of data volume definitions for the task. For more information,+ -- see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html Using data volumes in tasks>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- The @host@ and @sourcePath@ parameters aren\'t supported for tasks run+ -- on Fargate.+ volumes :: Prelude.Maybe [Volume]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TaskDefinition' 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:+--+-- 'compatibilities', 'taskDefinition_compatibilities' - The task launch types the task definition validated against during task+-- definition registration. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'containerDefinitions', 'taskDefinition_containerDefinitions' - A list of container definitions in JSON format that describe the+-- different containers that make up your task. For more information about+-- container definition parameters and defaults, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'cpu', 'taskDefinition_cpu' - The number of @cpu@ units used by the task. If you use the EC2 launch+-- type, this field is optional. Any value can be used. If you use the+-- Fargate launch type, this field is required. You must use one of the+-- following values. The value that you choose determines your range of+-- valid values for the @memory@ parameter.+--+-- The CPU units cannot be less than 1 vCPU when you use Windows containers+-- on Fargate.+--+-- - 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1+-- GB), 2048 (2 GB)+--+-- - 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB),+-- 3072 (3 GB), 4096 (4 GB)+--+-- - 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB),+-- 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)+--+-- - 2048 (2 vCPU) - Available @memory@ values: 4096 (4 GB) and 16384 (16+-- GB) in increments of 1024 (1 GB)+--+-- - 4096 (4 vCPU) - Available @memory@ values: 8192 (8 GB) and 30720 (30+-- GB) in increments of 1024 (1 GB)+--+-- - 8192 (8 vCPU) - Available @memory@ values: 16 GB and 60 GB in 4 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - 16384 (16vCPU) - Available @memory@ values: 32GB and 120 GB in 8 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- 'deregisteredAt', 'taskDefinition_deregisteredAt' - The Unix timestamp for the time when the task definition was+-- deregistered.+--+-- 'ephemeralStorage', 'taskDefinition_ephemeralStorage' - The ephemeral storage settings to use for tasks run with the task+-- definition.+--+-- 'executionRoleArn', 'taskDefinition_executionRoleArn' - The Amazon Resource Name (ARN) of the task execution role that grants+-- the Amazon ECS container agent permission to make Amazon Web Services+-- API calls on your behalf. The task execution IAM role is required+-- depending on the requirements of your task. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html Amazon ECS task execution IAM role>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'family', 'taskDefinition_family' - The name of a family that this task definition is registered to. Up to+-- 255 characters are allowed. Letters (both uppercase and lowercase+-- letters), numbers, hyphens (-), and underscores (_) are allowed.+--+-- A family groups multiple versions of a task definition. Amazon ECS gives+-- the first task definition that you registered to a family a revision+-- number of 1. Amazon ECS gives sequential revision numbers to each task+-- definition that you add.+--+-- 'inferenceAccelerators', 'taskDefinition_inferenceAccelerators' - The Elastic Inference accelerator that\'s associated with the task.+--+-- 'ipcMode', 'taskDefinition_ipcMode' - The IPC resource namespace to use for the containers in the task. The+-- valid values are @host@, @task@, or @none@. If @host@ is specified, then+-- all containers within the tasks that specified the @host@ IPC mode on+-- the same container instance share the same IPC resources with the host+-- Amazon EC2 instance. If @task@ is specified, all containers within the+-- specified task share the same IPC resources. If @none@ is specified,+-- then IPC resources within the containers of a task are private and not+-- shared with other containers in a task or on the container instance. If+-- no value is specified, then the IPC resource namespace sharing depends+-- on the Docker daemon setting on the container instance. For more+-- information, see+-- <https://docs.docker.com/engine/reference/run/#ipc-settings---ipc IPC settings>+-- in the /Docker run reference/.+--+-- If the @host@ IPC mode is used, be aware that there is a heightened risk+-- of undesired IPC namespace expose. For more information, see+-- <https://docs.docker.com/engine/security/security/ Docker security>.+--+-- If you are setting namespaced kernel parameters using @systemControls@+-- for the containers in the task, the following will apply to your IPC+-- resource namespace. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html System Controls>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- - For tasks that use the @host@ IPC mode, IPC namespace related+-- @systemControls@ are not supported.+--+-- - For tasks that use the @task@ IPC mode, IPC namespace related+-- @systemControls@ will apply to all containers within a task.+--+-- This parameter is not supported for Windows containers or tasks run on+-- Fargate.+--+-- 'memory', 'taskDefinition_memory' - The amount (in MiB) of memory used by the task.+--+-- If your tasks runs on Amazon EC2 instances, you must specify either a+-- task-level memory value or a container-level memory value. This field is+-- optional and any value can be used. If a task-level memory value is+-- specified, the container-level memory value is optional. For more+-- information regarding container-level memory and memory reservation, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html ContainerDefinition>.+--+-- If your tasks runs on Fargate, this field is required. You must use one+-- of the following values. The value you choose determines your range of+-- valid values for the @cpu@ parameter.+--+-- - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256+-- (.25 vCPU)+--+-- - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@+-- values: 512 (.5 vCPU)+--+-- - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),+-- 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU)+--+-- - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 2048 (2 vCPU)+--+-- - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 4096 (4 vCPU)+--+-- - Between 16 GB and 60 GB in 4 GB increments - Available @cpu@ values:+-- 8192 (8 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - Between 32GB and 120 GB in 8 GB increments - Available @cpu@ values:+-- 16384 (16 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- 'networkMode', 'taskDefinition_networkMode' - The Docker networking mode to use for the containers in the task. The+-- valid values are @none@, @bridge@, @awsvpc@, and @host@. If no network+-- mode is specified, the default is @bridge@.+--+-- For Amazon ECS tasks on Fargate, the @awsvpc@ network mode is required.+-- For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can+-- be used. For Amazon ECS tasks on Amazon EC2 Windows instances,+-- @\<default>@ or @awsvpc@ can be used. If the network mode is set to+-- @none@, you cannot specify port mappings in your container definitions,+-- and the tasks containers do not have external connectivity. The @host@+-- and @awsvpc@ network modes offer the highest networking performance for+-- containers because they use the EC2 network stack instead of the+-- virtualized network stack provided by the @bridge@ mode.+--+-- With the @host@ and @awsvpc@ network modes, exposed container ports are+-- mapped directly to the corresponding host port (for the @host@ network+-- mode) or the attached elastic network interface port (for the @awsvpc@+-- network mode), so you cannot take advantage of dynamic host port+-- mappings.+--+-- When using the @host@ network mode, you should not run containers using+-- the root user (UID 0). It is considered best practice to use a non-root+-- user.+--+-- If the network mode is @awsvpc@, the task is allocated an elastic+-- network interface, and you must specify a NetworkConfiguration value+-- when you create a service or run a task with the task definition. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If the network mode is @host@, you cannot run multiple instantiations of+-- the same task on a single container instance when port mappings are+-- used.+--+-- For more information, see+-- <https://docs.docker.com/engine/reference/run/#network-settings Network settings>+-- in the /Docker run reference/.+--+-- 'pidMode', 'taskDefinition_pidMode' - The process namespace to use for the containers in the task. The valid+-- values are @host@ or @task@. If @host@ is specified, then all containers+-- within the tasks that specified the @host@ PID mode on the same+-- container instance share the same process namespace with the host Amazon+-- EC2 instance. If @task@ is specified, all containers within the+-- specified task share the same process namespace. If no value is+-- specified, the default is a private namespace. For more information, see+-- <https://docs.docker.com/engine/reference/run/#pid-settings---pid PID settings>+-- in the /Docker run reference/.+--+-- If the @host@ PID mode is used, be aware that there is a heightened risk+-- of undesired process namespace expose. For more information, see+-- <https://docs.docker.com/engine/security/security/ Docker security>.+--+-- This parameter is not supported for Windows containers or tasks run on+-- Fargate.+--+-- 'placementConstraints', 'taskDefinition_placementConstraints' - An array of placement constraint objects to use for tasks.+--+-- This parameter isn\'t supported for tasks run on Fargate.+--+-- 'proxyConfiguration', 'taskDefinition_proxyConfiguration' - The configuration details for the App Mesh proxy.+--+-- Your Amazon ECS container instances require at least version 1.26.0 of+-- the container agent and at least version 1.26.0-1 of the @ecs-init@+-- package to use a proxy configuration. If your container instances are+-- launched from the Amazon ECS optimized AMI version @20190301@ or later,+-- they contain the required versions of the container agent and+-- @ecs-init@. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'registeredAt', 'taskDefinition_registeredAt' - The Unix timestamp for the time when the task definition was registered.+--+-- 'registeredBy', 'taskDefinition_registeredBy' - The principal that registered the task definition.+--+-- 'requiresAttributes', 'taskDefinition_requiresAttributes' - The container instance attributes required by your task. When an Amazon+-- EC2 instance is registered to your cluster, the Amazon ECS container+-- agent assigns some standard attributes to the instance. You can apply+-- custom attributes. These are specified as key-value pairs using the+-- Amazon ECS console or the PutAttributes API. These attributes are used+-- when determining task placement for tasks hosted on Amazon EC2+-- instances. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes Attributes>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- This parameter isn\'t supported for tasks run on Fargate.+--+-- 'requiresCompatibilities', 'taskDefinition_requiresCompatibilities' - The task launch types the task definition was validated against. To+-- determine which task launch types the task definition is validated for,+-- see the TaskDefinition$compatibilities parameter.+--+-- 'revision', 'taskDefinition_revision' - The revision of the task in a particular family. The revision is a+-- version number of a task definition in a family. When you register a+-- task definition for the first time, the revision is @1@. Each time that+-- you register a new revision of a task definition in the same family, the+-- revision value always increases by one. This is even if you deregistered+-- previous revisions in this family.+--+-- 'runtimePlatform', 'taskDefinition_runtimePlatform' - The operating system that your task definitions are running on. A+-- platform family is specified only for tasks using the Fargate launch+-- type.+--+-- When you specify a task in a service, this value must match the+-- @runtimePlatform@ value of the service.+--+-- 'status', 'taskDefinition_status' - The status of the task definition.+--+-- 'taskDefinitionArn', 'taskDefinition_taskDefinitionArn' - The full Amazon Resource Name (ARN) of the task definition.+--+-- 'taskRoleArn', 'taskDefinition_taskRoleArn' - The short name or full Amazon Resource Name (ARN) of the Identity and+-- Access Management role that grants containers in the task permission to+-- call Amazon Web Services APIs on your behalf. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html Amazon ECS Task Role>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- IAM roles for tasks on Windows require that the @-EnableTaskIAMRole@+-- option is set when you launch the Amazon ECS-optimized Windows AMI. Your+-- containers must also run some configuration code to use the feature. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows_task_IAM_roles.html Windows IAM roles for tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'volumes', 'taskDefinition_volumes' - The list of data volume definitions for the task. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html Using data volumes in tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- The @host@ and @sourcePath@ parameters aren\'t supported for tasks run+-- on Fargate.+newTaskDefinition ::+ TaskDefinition+newTaskDefinition =+ TaskDefinition'+ { compatibilities = Prelude.Nothing,+ containerDefinitions = Prelude.Nothing,+ cpu = Prelude.Nothing,+ deregisteredAt = Prelude.Nothing,+ ephemeralStorage = Prelude.Nothing,+ executionRoleArn = Prelude.Nothing,+ family = Prelude.Nothing,+ inferenceAccelerators = Prelude.Nothing,+ ipcMode = Prelude.Nothing,+ memory = Prelude.Nothing,+ networkMode = Prelude.Nothing,+ pidMode = Prelude.Nothing,+ placementConstraints = Prelude.Nothing,+ proxyConfiguration = Prelude.Nothing,+ registeredAt = Prelude.Nothing,+ registeredBy = Prelude.Nothing,+ requiresAttributes = Prelude.Nothing,+ requiresCompatibilities = Prelude.Nothing,+ revision = Prelude.Nothing,+ runtimePlatform = Prelude.Nothing,+ status = Prelude.Nothing,+ taskDefinitionArn = Prelude.Nothing,+ taskRoleArn = Prelude.Nothing,+ volumes = Prelude.Nothing+ }++-- | The task launch types the task definition validated against during task+-- definition registration. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+taskDefinition_compatibilities :: Lens.Lens' TaskDefinition (Prelude.Maybe [Compatibility])+taskDefinition_compatibilities = Lens.lens (\TaskDefinition' {compatibilities} -> compatibilities) (\s@TaskDefinition' {} a -> s {compatibilities = a} :: TaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | A list of container definitions in JSON format that describe the+-- different containers that make up your task. For more information about+-- container definition parameters and defaults, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions>+-- in the /Amazon Elastic Container Service Developer Guide/.+taskDefinition_containerDefinitions :: Lens.Lens' TaskDefinition (Prelude.Maybe [ContainerDefinition])+taskDefinition_containerDefinitions = Lens.lens (\TaskDefinition' {containerDefinitions} -> containerDefinitions) (\s@TaskDefinition' {} a -> s {containerDefinitions = a} :: TaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The number of @cpu@ units used by the task. If you use the EC2 launch+-- type, this field is optional. Any value can be used. If you use the+-- Fargate launch type, this field is required. You must use one of the+-- following values. The value that you choose determines your range of+-- valid values for the @memory@ parameter.+--+-- The CPU units cannot be less than 1 vCPU when you use Windows containers+-- on Fargate.+--+-- - 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1+-- GB), 2048 (2 GB)+--+-- - 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB),+-- 3072 (3 GB), 4096 (4 GB)+--+-- - 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB),+-- 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)+--+-- - 2048 (2 vCPU) - Available @memory@ values: 4096 (4 GB) and 16384 (16+-- GB) in increments of 1024 (1 GB)+--+-- - 4096 (4 vCPU) - Available @memory@ values: 8192 (8 GB) and 30720 (30+-- GB) in increments of 1024 (1 GB)+--+-- - 8192 (8 vCPU) - Available @memory@ values: 16 GB and 60 GB in 4 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - 16384 (16vCPU) - Available @memory@ values: 32GB and 120 GB in 8 GB+-- increments+--+-- This option requires Linux platform @1.4.0@ or later.+taskDefinition_cpu :: Lens.Lens' TaskDefinition (Prelude.Maybe Prelude.Text)+taskDefinition_cpu = Lens.lens (\TaskDefinition' {cpu} -> cpu) (\s@TaskDefinition' {} a -> s {cpu = a} :: TaskDefinition)++-- | The Unix timestamp for the time when the task definition was+-- deregistered.+taskDefinition_deregisteredAt :: Lens.Lens' TaskDefinition (Prelude.Maybe Prelude.UTCTime)+taskDefinition_deregisteredAt = Lens.lens (\TaskDefinition' {deregisteredAt} -> deregisteredAt) (\s@TaskDefinition' {} a -> s {deregisteredAt = a} :: TaskDefinition) Prelude.. Lens.mapping Data._Time++-- | The ephemeral storage settings to use for tasks run with the task+-- definition.+taskDefinition_ephemeralStorage :: Lens.Lens' TaskDefinition (Prelude.Maybe EphemeralStorage)+taskDefinition_ephemeralStorage = Lens.lens (\TaskDefinition' {ephemeralStorage} -> ephemeralStorage) (\s@TaskDefinition' {} a -> s {ephemeralStorage = a} :: TaskDefinition)++-- | The Amazon Resource Name (ARN) of the task execution role that grants+-- the Amazon ECS container agent permission to make Amazon Web Services+-- API calls on your behalf. The task execution IAM role is required+-- depending on the requirements of your task. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html Amazon ECS task execution IAM role>+-- in the /Amazon Elastic Container Service Developer Guide/.+taskDefinition_executionRoleArn :: Lens.Lens' TaskDefinition (Prelude.Maybe Prelude.Text)+taskDefinition_executionRoleArn = Lens.lens (\TaskDefinition' {executionRoleArn} -> executionRoleArn) (\s@TaskDefinition' {} a -> s {executionRoleArn = a} :: TaskDefinition)++-- | The name of a family that this task definition is registered to. Up to+-- 255 characters are allowed. Letters (both uppercase and lowercase+-- letters), numbers, hyphens (-), and underscores (_) are allowed.+--+-- A family groups multiple versions of a task definition. Amazon ECS gives+-- the first task definition that you registered to a family a revision+-- number of 1. Amazon ECS gives sequential revision numbers to each task+-- definition that you add.+taskDefinition_family :: Lens.Lens' TaskDefinition (Prelude.Maybe Prelude.Text)+taskDefinition_family = Lens.lens (\TaskDefinition' {family} -> family) (\s@TaskDefinition' {} a -> s {family = a} :: TaskDefinition)++-- | The Elastic Inference accelerator that\'s associated with the task.+taskDefinition_inferenceAccelerators :: Lens.Lens' TaskDefinition (Prelude.Maybe [InferenceAccelerator])+taskDefinition_inferenceAccelerators = Lens.lens (\TaskDefinition' {inferenceAccelerators} -> inferenceAccelerators) (\s@TaskDefinition' {} a -> s {inferenceAccelerators = a} :: TaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The IPC resource namespace to use for the containers in the task. The+-- valid values are @host@, @task@, or @none@. If @host@ is specified, then+-- all containers within the tasks that specified the @host@ IPC mode on+-- the same container instance share the same IPC resources with the host+-- Amazon EC2 instance. If @task@ is specified, all containers within the+-- specified task share the same IPC resources. If @none@ is specified,+-- then IPC resources within the containers of a task are private and not+-- shared with other containers in a task or on the container instance. If+-- no value is specified, then the IPC resource namespace sharing depends+-- on the Docker daemon setting on the container instance. For more+-- information, see+-- <https://docs.docker.com/engine/reference/run/#ipc-settings---ipc IPC settings>+-- in the /Docker run reference/.+--+-- If the @host@ IPC mode is used, be aware that there is a heightened risk+-- of undesired IPC namespace expose. For more information, see+-- <https://docs.docker.com/engine/security/security/ Docker security>.+--+-- If you are setting namespaced kernel parameters using @systemControls@+-- for the containers in the task, the following will apply to your IPC+-- resource namespace. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html System Controls>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- - For tasks that use the @host@ IPC mode, IPC namespace related+-- @systemControls@ are not supported.+--+-- - For tasks that use the @task@ IPC mode, IPC namespace related+-- @systemControls@ will apply to all containers within a task.+--+-- This parameter is not supported for Windows containers or tasks run on+-- Fargate.+taskDefinition_ipcMode :: Lens.Lens' TaskDefinition (Prelude.Maybe IpcMode)+taskDefinition_ipcMode = Lens.lens (\TaskDefinition' {ipcMode} -> ipcMode) (\s@TaskDefinition' {} a -> s {ipcMode = a} :: TaskDefinition)++-- | The amount (in MiB) of memory used by the task.+--+-- If your tasks runs on Amazon EC2 instances, you must specify either a+-- task-level memory value or a container-level memory value. This field is+-- optional and any value can be used. If a task-level memory value is+-- specified, the container-level memory value is optional. For more+-- information regarding container-level memory and memory reservation, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html ContainerDefinition>.+--+-- If your tasks runs on Fargate, this field is required. You must use one+-- of the following values. The value you choose determines your range of+-- valid values for the @cpu@ parameter.+--+-- - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256+-- (.25 vCPU)+--+-- - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@+-- values: 512 (.5 vCPU)+--+-- - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),+-- 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU)+--+-- - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 2048 (2 vCPU)+--+-- - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -+-- Available @cpu@ values: 4096 (4 vCPU)+--+-- - Between 16 GB and 60 GB in 4 GB increments - Available @cpu@ values:+-- 8192 (8 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+--+-- - Between 32GB and 120 GB in 8 GB increments - Available @cpu@ values:+-- 16384 (16 vCPU)+--+-- This option requires Linux platform @1.4.0@ or later.+taskDefinition_memory :: Lens.Lens' TaskDefinition (Prelude.Maybe Prelude.Text)+taskDefinition_memory = Lens.lens (\TaskDefinition' {memory} -> memory) (\s@TaskDefinition' {} a -> s {memory = a} :: TaskDefinition)++-- | The Docker networking mode to use for the containers in the task. The+-- valid values are @none@, @bridge@, @awsvpc@, and @host@. If no network+-- mode is specified, the default is @bridge@.+--+-- For Amazon ECS tasks on Fargate, the @awsvpc@ network mode is required.+-- For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can+-- be used. For Amazon ECS tasks on Amazon EC2 Windows instances,+-- @\<default>@ or @awsvpc@ can be used. If the network mode is set to+-- @none@, you cannot specify port mappings in your container definitions,+-- and the tasks containers do not have external connectivity. The @host@+-- and @awsvpc@ network modes offer the highest networking performance for+-- containers because they use the EC2 network stack instead of the+-- virtualized network stack provided by the @bridge@ mode.+--+-- With the @host@ and @awsvpc@ network modes, exposed container ports are+-- mapped directly to the corresponding host port (for the @host@ network+-- mode) or the attached elastic network interface port (for the @awsvpc@+-- network mode), so you cannot take advantage of dynamic host port+-- mappings.+--+-- When using the @host@ network mode, you should not run containers using+-- the root user (UID 0). It is considered best practice to use a non-root+-- user.+--+-- If the network mode is @awsvpc@, the task is allocated an elastic+-- network interface, and you must specify a NetworkConfiguration value+-- when you create a service or run a task with the task definition. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- If the network mode is @host@, you cannot run multiple instantiations of+-- the same task on a single container instance when port mappings are+-- used.+--+-- For more information, see+-- <https://docs.docker.com/engine/reference/run/#network-settings Network settings>+-- in the /Docker run reference/.+taskDefinition_networkMode :: Lens.Lens' TaskDefinition (Prelude.Maybe NetworkMode)+taskDefinition_networkMode = Lens.lens (\TaskDefinition' {networkMode} -> networkMode) (\s@TaskDefinition' {} a -> s {networkMode = a} :: TaskDefinition)++-- | The process namespace to use for the containers in the task. The valid+-- values are @host@ or @task@. If @host@ is specified, then all containers+-- within the tasks that specified the @host@ PID mode on the same+-- container instance share the same process namespace with the host Amazon+-- EC2 instance. If @task@ is specified, all containers within the+-- specified task share the same process namespace. If no value is+-- specified, the default is a private namespace. For more information, see+-- <https://docs.docker.com/engine/reference/run/#pid-settings---pid PID settings>+-- in the /Docker run reference/.+--+-- If the @host@ PID mode is used, be aware that there is a heightened risk+-- of undesired process namespace expose. For more information, see+-- <https://docs.docker.com/engine/security/security/ Docker security>.+--+-- This parameter is not supported for Windows containers or tasks run on+-- Fargate.+taskDefinition_pidMode :: Lens.Lens' TaskDefinition (Prelude.Maybe PidMode)+taskDefinition_pidMode = Lens.lens (\TaskDefinition' {pidMode} -> pidMode) (\s@TaskDefinition' {} a -> s {pidMode = a} :: TaskDefinition)++-- | An array of placement constraint objects to use for tasks.+--+-- This parameter isn\'t supported for tasks run on Fargate.+taskDefinition_placementConstraints :: Lens.Lens' TaskDefinition (Prelude.Maybe [TaskDefinitionPlacementConstraint])+taskDefinition_placementConstraints = Lens.lens (\TaskDefinition' {placementConstraints} -> placementConstraints) (\s@TaskDefinition' {} a -> s {placementConstraints = a} :: TaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The configuration details for the App Mesh proxy.+--+-- Your Amazon ECS container instances require at least version 1.26.0 of+-- the container agent and at least version 1.26.0-1 of the @ecs-init@+-- package to use a proxy configuration. If your container instances are+-- launched from the Amazon ECS optimized AMI version @20190301@ or later,+-- they contain the required versions of the container agent and+-- @ecs-init@. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html Amazon ECS-optimized Linux AMI>+-- in the /Amazon Elastic Container Service Developer Guide/.+taskDefinition_proxyConfiguration :: Lens.Lens' TaskDefinition (Prelude.Maybe ProxyConfiguration)+taskDefinition_proxyConfiguration = Lens.lens (\TaskDefinition' {proxyConfiguration} -> proxyConfiguration) (\s@TaskDefinition' {} a -> s {proxyConfiguration = a} :: TaskDefinition)++-- | The Unix timestamp for the time when the task definition was registered.+taskDefinition_registeredAt :: Lens.Lens' TaskDefinition (Prelude.Maybe Prelude.UTCTime)+taskDefinition_registeredAt = Lens.lens (\TaskDefinition' {registeredAt} -> registeredAt) (\s@TaskDefinition' {} a -> s {registeredAt = a} :: TaskDefinition) Prelude.. Lens.mapping Data._Time++-- | The principal that registered the task definition.+taskDefinition_registeredBy :: Lens.Lens' TaskDefinition (Prelude.Maybe Prelude.Text)+taskDefinition_registeredBy = Lens.lens (\TaskDefinition' {registeredBy} -> registeredBy) (\s@TaskDefinition' {} a -> s {registeredBy = a} :: TaskDefinition)++-- | The container instance attributes required by your task. When an Amazon+-- EC2 instance is registered to your cluster, the Amazon ECS container+-- agent assigns some standard attributes to the instance. You can apply+-- custom attributes. These are specified as key-value pairs using the+-- Amazon ECS console or the PutAttributes API. These attributes are used+-- when determining task placement for tasks hosted on Amazon EC2+-- instances. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes Attributes>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- This parameter isn\'t supported for tasks run on Fargate.+taskDefinition_requiresAttributes :: Lens.Lens' TaskDefinition (Prelude.Maybe [Attribute])+taskDefinition_requiresAttributes = Lens.lens (\TaskDefinition' {requiresAttributes} -> requiresAttributes) (\s@TaskDefinition' {} a -> s {requiresAttributes = a} :: TaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The task launch types the task definition was validated against. To+-- determine which task launch types the task definition is validated for,+-- see the TaskDefinition$compatibilities parameter.+taskDefinition_requiresCompatibilities :: Lens.Lens' TaskDefinition (Prelude.Maybe [Compatibility])+taskDefinition_requiresCompatibilities = Lens.lens (\TaskDefinition' {requiresCompatibilities} -> requiresCompatibilities) (\s@TaskDefinition' {} a -> s {requiresCompatibilities = a} :: TaskDefinition) Prelude.. Lens.mapping Lens.coerced++-- | The revision of the task in a particular family. The revision is a+-- version number of a task definition in a family. When you register a+-- task definition for the first time, the revision is @1@. Each time that+-- you register a new revision of a task definition in the same family, the+-- revision value always increases by one. This is even if you deregistered+-- previous revisions in this family.+taskDefinition_revision :: Lens.Lens' TaskDefinition (Prelude.Maybe Prelude.Int)+taskDefinition_revision = Lens.lens (\TaskDefinition' {revision} -> revision) (\s@TaskDefinition' {} a -> s {revision = a} :: TaskDefinition)++-- | The operating system that your task definitions are running on. A+-- platform family is specified only for tasks using the Fargate launch+-- type.+--+-- When you specify a task in a service, this value must match the+-- @runtimePlatform@ value of the service.+taskDefinition_runtimePlatform :: Lens.Lens' TaskDefinition (Prelude.Maybe RuntimePlatform)+taskDefinition_runtimePlatform = Lens.lens (\TaskDefinition' {runtimePlatform} -> runtimePlatform) (\s@TaskDefinition' {} a -> s {runtimePlatform = a} :: TaskDefinition)++-- | The status of the task definition.+taskDefinition_status :: Lens.Lens' TaskDefinition (Prelude.Maybe TaskDefinitionStatus)+taskDefinition_status = Lens.lens (\TaskDefinition' {status} -> status) (\s@TaskDefinition' {} a -> s {status = a} :: TaskDefinition)++-- | The full Amazon Resource Name (ARN) of the task definition.+taskDefinition_taskDefinitionArn :: Lens.Lens' TaskDefinition (Prelude.Maybe Prelude.Text)+taskDefinition_taskDefinitionArn = Lens.lens (\TaskDefinition' {taskDefinitionArn} -> taskDefinitionArn) (\s@TaskDefinition' {} a -> s {taskDefinitionArn = a} :: TaskDefinition)++-- | The short name or full Amazon Resource Name (ARN) of the Identity and+-- Access Management role that grants containers in the task permission to+-- call Amazon Web Services APIs on your behalf. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html Amazon ECS Task Role>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- IAM roles for tasks on Windows require that the @-EnableTaskIAMRole@+-- option is set when you launch the Amazon ECS-optimized Windows AMI. Your+-- containers must also run some configuration code to use the feature. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows_task_IAM_roles.html Windows IAM roles for tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+taskDefinition_taskRoleArn :: Lens.Lens' TaskDefinition (Prelude.Maybe Prelude.Text)+taskDefinition_taskRoleArn = Lens.lens (\TaskDefinition' {taskRoleArn} -> taskRoleArn) (\s@TaskDefinition' {} a -> s {taskRoleArn = a} :: TaskDefinition)++-- | The list of data volume definitions for the task. For more information,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html Using data volumes in tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- The @host@ and @sourcePath@ parameters aren\'t supported for tasks run+-- on Fargate.+taskDefinition_volumes :: Lens.Lens' TaskDefinition (Prelude.Maybe [Volume])+taskDefinition_volumes = Lens.lens (\TaskDefinition' {volumes} -> volumes) (\s@TaskDefinition' {} a -> s {volumes = a} :: TaskDefinition) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON TaskDefinition where+ parseJSON =+ Data.withObject+ "TaskDefinition"+ ( \x ->+ TaskDefinition'+ Prelude.<$> ( x+ Data..:? "compatibilities"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "containerDefinitions"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "cpu")+ Prelude.<*> (x Data..:? "deregisteredAt")+ Prelude.<*> (x Data..:? "ephemeralStorage")+ Prelude.<*> (x Data..:? "executionRoleArn")+ Prelude.<*> (x Data..:? "family")+ Prelude.<*> ( x+ Data..:? "inferenceAccelerators"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "ipcMode")+ Prelude.<*> (x Data..:? "memory")+ Prelude.<*> (x Data..:? "networkMode")+ Prelude.<*> (x Data..:? "pidMode")+ Prelude.<*> ( x+ Data..:? "placementConstraints"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "proxyConfiguration")+ Prelude.<*> (x Data..:? "registeredAt")+ Prelude.<*> (x Data..:? "registeredBy")+ Prelude.<*> ( x+ Data..:? "requiresAttributes"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "requiresCompatibilities"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "revision")+ Prelude.<*> (x Data..:? "runtimePlatform")+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "taskDefinitionArn")+ Prelude.<*> (x Data..:? "taskRoleArn")+ Prelude.<*> (x Data..:? "volumes" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable TaskDefinition where+ hashWithSalt _salt TaskDefinition' {..} =+ _salt+ `Prelude.hashWithSalt` compatibilities+ `Prelude.hashWithSalt` containerDefinitions+ `Prelude.hashWithSalt` cpu+ `Prelude.hashWithSalt` deregisteredAt+ `Prelude.hashWithSalt` ephemeralStorage+ `Prelude.hashWithSalt` executionRoleArn+ `Prelude.hashWithSalt` family+ `Prelude.hashWithSalt` inferenceAccelerators+ `Prelude.hashWithSalt` ipcMode+ `Prelude.hashWithSalt` memory+ `Prelude.hashWithSalt` networkMode+ `Prelude.hashWithSalt` pidMode+ `Prelude.hashWithSalt` placementConstraints+ `Prelude.hashWithSalt` proxyConfiguration+ `Prelude.hashWithSalt` registeredAt+ `Prelude.hashWithSalt` registeredBy+ `Prelude.hashWithSalt` requiresAttributes+ `Prelude.hashWithSalt` requiresCompatibilities+ `Prelude.hashWithSalt` revision+ `Prelude.hashWithSalt` runtimePlatform+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` taskDefinitionArn+ `Prelude.hashWithSalt` taskRoleArn+ `Prelude.hashWithSalt` volumes++instance Prelude.NFData TaskDefinition where+ rnf TaskDefinition' {..} =+ Prelude.rnf compatibilities+ `Prelude.seq` Prelude.rnf containerDefinitions+ `Prelude.seq` Prelude.rnf cpu+ `Prelude.seq` Prelude.rnf deregisteredAt+ `Prelude.seq` Prelude.rnf ephemeralStorage+ `Prelude.seq` Prelude.rnf executionRoleArn+ `Prelude.seq` Prelude.rnf family+ `Prelude.seq` Prelude.rnf inferenceAccelerators+ `Prelude.seq` Prelude.rnf ipcMode+ `Prelude.seq` Prelude.rnf memory+ `Prelude.seq` Prelude.rnf networkMode+ `Prelude.seq` Prelude.rnf pidMode+ `Prelude.seq` Prelude.rnf placementConstraints+ `Prelude.seq` Prelude.rnf proxyConfiguration+ `Prelude.seq` Prelude.rnf registeredAt+ `Prelude.seq` Prelude.rnf registeredBy+ `Prelude.seq` Prelude.rnf requiresAttributes+ `Prelude.seq` Prelude.rnf+ requiresCompatibilities+ `Prelude.seq` Prelude.rnf revision+ `Prelude.seq` Prelude.rnf runtimePlatform+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf+ taskDefinitionArn+ `Prelude.seq` Prelude.rnf taskRoleArn+ `Prelude.seq` Prelude.rnf volumes
+ gen/Amazonka/ECS/Types/TaskDefinitionFamilyStatus.hs view
@@ -0,0 +1,76 @@+{-# 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.ECS.Types.TaskDefinitionFamilyStatus+-- 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.ECS.Types.TaskDefinitionFamilyStatus+ ( TaskDefinitionFamilyStatus+ ( ..,+ TaskDefinitionFamilyStatus_ACTIVE,+ TaskDefinitionFamilyStatus_ALL,+ TaskDefinitionFamilyStatus_INACTIVE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TaskDefinitionFamilyStatus = TaskDefinitionFamilyStatus'+ { fromTaskDefinitionFamilyStatus ::+ 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 TaskDefinitionFamilyStatus_ACTIVE :: TaskDefinitionFamilyStatus+pattern TaskDefinitionFamilyStatus_ACTIVE = TaskDefinitionFamilyStatus' "ACTIVE"++pattern TaskDefinitionFamilyStatus_ALL :: TaskDefinitionFamilyStatus+pattern TaskDefinitionFamilyStatus_ALL = TaskDefinitionFamilyStatus' "ALL"++pattern TaskDefinitionFamilyStatus_INACTIVE :: TaskDefinitionFamilyStatus+pattern TaskDefinitionFamilyStatus_INACTIVE = TaskDefinitionFamilyStatus' "INACTIVE"++{-# COMPLETE+ TaskDefinitionFamilyStatus_ACTIVE,+ TaskDefinitionFamilyStatus_ALL,+ TaskDefinitionFamilyStatus_INACTIVE,+ TaskDefinitionFamilyStatus'+ #-}
+ gen/Amazonka/ECS/Types/TaskDefinitionField.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.TaskDefinitionField+-- 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.ECS.Types.TaskDefinitionField+ ( TaskDefinitionField+ ( ..,+ TaskDefinitionField_TAGS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TaskDefinitionField = TaskDefinitionField'+ { fromTaskDefinitionField ::+ 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 TaskDefinitionField_TAGS :: TaskDefinitionField+pattern TaskDefinitionField_TAGS = TaskDefinitionField' "TAGS"++{-# COMPLETE+ TaskDefinitionField_TAGS,+ TaskDefinitionField'+ #-}
+ gen/Amazonka/ECS/Types/TaskDefinitionPlacementConstraint.hs view
@@ -0,0 +1,126 @@+{-# 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.ECS.Types.TaskDefinitionPlacementConstraint+-- 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.ECS.Types.TaskDefinitionPlacementConstraint where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.TaskDefinitionPlacementConstraintType+import qualified Amazonka.Prelude as Prelude++-- | An object representing a constraint on task placement in the task+-- definition. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html Task placement constraints>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- Task placement constraints aren\'t supported for tasks run on Fargate.+--+-- /See:/ 'newTaskDefinitionPlacementConstraint' smart constructor.+data TaskDefinitionPlacementConstraint = TaskDefinitionPlacementConstraint'+ { -- | A cluster query language expression to apply to the constraint. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster query language>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ expression :: Prelude.Maybe Prelude.Text,+ -- | The type of constraint. The @MemberOf@ constraint restricts selection to+ -- be from a group of valid candidates.+ type' :: Prelude.Maybe TaskDefinitionPlacementConstraintType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TaskDefinitionPlacementConstraint' 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:+--+-- 'expression', 'taskDefinitionPlacementConstraint_expression' - A cluster query language expression to apply to the constraint. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster query language>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'type'', 'taskDefinitionPlacementConstraint_type' - The type of constraint. The @MemberOf@ constraint restricts selection to+-- be from a group of valid candidates.+newTaskDefinitionPlacementConstraint ::+ TaskDefinitionPlacementConstraint+newTaskDefinitionPlacementConstraint =+ TaskDefinitionPlacementConstraint'+ { expression =+ Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | A cluster query language expression to apply to the constraint. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster query language>+-- in the /Amazon Elastic Container Service Developer Guide/.+taskDefinitionPlacementConstraint_expression :: Lens.Lens' TaskDefinitionPlacementConstraint (Prelude.Maybe Prelude.Text)+taskDefinitionPlacementConstraint_expression = Lens.lens (\TaskDefinitionPlacementConstraint' {expression} -> expression) (\s@TaskDefinitionPlacementConstraint' {} a -> s {expression = a} :: TaskDefinitionPlacementConstraint)++-- | The type of constraint. The @MemberOf@ constraint restricts selection to+-- be from a group of valid candidates.+taskDefinitionPlacementConstraint_type :: Lens.Lens' TaskDefinitionPlacementConstraint (Prelude.Maybe TaskDefinitionPlacementConstraintType)+taskDefinitionPlacementConstraint_type = Lens.lens (\TaskDefinitionPlacementConstraint' {type'} -> type') (\s@TaskDefinitionPlacementConstraint' {} a -> s {type' = a} :: TaskDefinitionPlacementConstraint)++instance+ Data.FromJSON+ TaskDefinitionPlacementConstraint+ where+ parseJSON =+ Data.withObject+ "TaskDefinitionPlacementConstraint"+ ( \x ->+ TaskDefinitionPlacementConstraint'+ Prelude.<$> (x Data..:? "expression")+ Prelude.<*> (x Data..:? "type")+ )++instance+ Prelude.Hashable+ TaskDefinitionPlacementConstraint+ where+ hashWithSalt+ _salt+ TaskDefinitionPlacementConstraint' {..} =+ _salt+ `Prelude.hashWithSalt` expression+ `Prelude.hashWithSalt` type'++instance+ Prelude.NFData+ TaskDefinitionPlacementConstraint+ where+ rnf TaskDefinitionPlacementConstraint' {..} =+ Prelude.rnf expression+ `Prelude.seq` Prelude.rnf type'++instance+ Data.ToJSON+ TaskDefinitionPlacementConstraint+ where+ toJSON TaskDefinitionPlacementConstraint' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("expression" Data..=) Prelude.<$> expression,+ ("type" Data..=) Prelude.<$> type'+ ]+ )
+ gen/Amazonka/ECS/Types/TaskDefinitionPlacementConstraintType.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.TaskDefinitionPlacementConstraintType+-- 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.ECS.Types.TaskDefinitionPlacementConstraintType+ ( TaskDefinitionPlacementConstraintType+ ( ..,+ TaskDefinitionPlacementConstraintType_MemberOf+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TaskDefinitionPlacementConstraintType = TaskDefinitionPlacementConstraintType'+ { fromTaskDefinitionPlacementConstraintType ::+ 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 TaskDefinitionPlacementConstraintType_MemberOf :: TaskDefinitionPlacementConstraintType+pattern TaskDefinitionPlacementConstraintType_MemberOf = TaskDefinitionPlacementConstraintType' "memberOf"++{-# COMPLETE+ TaskDefinitionPlacementConstraintType_MemberOf,+ TaskDefinitionPlacementConstraintType'+ #-}
+ gen/Amazonka/ECS/Types/TaskDefinitionStatus.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.ECS.Types.TaskDefinitionStatus+-- 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.ECS.Types.TaskDefinitionStatus+ ( TaskDefinitionStatus+ ( ..,+ TaskDefinitionStatus_ACTIVE,+ TaskDefinitionStatus_INACTIVE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TaskDefinitionStatus = TaskDefinitionStatus'+ { fromTaskDefinitionStatus ::+ 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 TaskDefinitionStatus_ACTIVE :: TaskDefinitionStatus+pattern TaskDefinitionStatus_ACTIVE = TaskDefinitionStatus' "ACTIVE"++pattern TaskDefinitionStatus_INACTIVE :: TaskDefinitionStatus+pattern TaskDefinitionStatus_INACTIVE = TaskDefinitionStatus' "INACTIVE"++{-# COMPLETE+ TaskDefinitionStatus_ACTIVE,+ TaskDefinitionStatus_INACTIVE,+ TaskDefinitionStatus'+ #-}
+ gen/Amazonka/ECS/Types/TaskField.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.TaskField+-- 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.ECS.Types.TaskField+ ( TaskField+ ( ..,+ TaskField_TAGS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TaskField = TaskField'+ { fromTaskField ::+ 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 TaskField_TAGS :: TaskField+pattern TaskField_TAGS = TaskField' "TAGS"++{-# COMPLETE+ TaskField_TAGS,+ TaskField'+ #-}
+ gen/Amazonka/ECS/Types/TaskOverride.hs view
@@ -0,0 +1,213 @@+{-# 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.ECS.Types.TaskOverride+-- 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.ECS.Types.TaskOverride where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.ContainerOverride+import Amazonka.ECS.Types.EphemeralStorage+import Amazonka.ECS.Types.InferenceAcceleratorOverride+import qualified Amazonka.Prelude as Prelude++-- | The overrides that are associated with a task.+--+-- /See:/ 'newTaskOverride' smart constructor.+data TaskOverride = TaskOverride'+ { -- | One or more container overrides that are sent to a task.+ containerOverrides :: Prelude.Maybe [ContainerOverride],+ -- | The CPU override for the task.+ cpu :: Prelude.Maybe Prelude.Text,+ -- | The ephemeral storage setting override for the task.+ --+ -- This parameter is only supported for tasks hosted on Fargate that use+ -- the following platform versions:+ --+ -- - Linux platform version @1.4.0@ or later.+ --+ -- - Windows platform version @1.0.0@ or later.+ ephemeralStorage :: Prelude.Maybe EphemeralStorage,+ -- | The Amazon Resource Name (ARN) of the task execution IAM role override+ -- for the task. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html Amazon ECS task execution IAM role>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ executionRoleArn :: Prelude.Maybe Prelude.Text,+ -- | The Elastic Inference accelerator override for the task.+ inferenceAcceleratorOverrides :: Prelude.Maybe [InferenceAcceleratorOverride],+ -- | The memory override for the task.+ memory :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the IAM role that containers in this+ -- task can assume. All containers in this task are granted the permissions+ -- that are specified in this role. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM Role for Tasks>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ taskRoleArn :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TaskOverride' 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:+--+-- 'containerOverrides', 'taskOverride_containerOverrides' - One or more container overrides that are sent to a task.+--+-- 'cpu', 'taskOverride_cpu' - The CPU override for the task.+--+-- 'ephemeralStorage', 'taskOverride_ephemeralStorage' - The ephemeral storage setting override for the task.+--+-- This parameter is only supported for tasks hosted on Fargate that use+-- the following platform versions:+--+-- - Linux platform version @1.4.0@ or later.+--+-- - Windows platform version @1.0.0@ or later.+--+-- 'executionRoleArn', 'taskOverride_executionRoleArn' - The Amazon Resource Name (ARN) of the task execution IAM role override+-- for the task. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html Amazon ECS task execution IAM role>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'inferenceAcceleratorOverrides', 'taskOverride_inferenceAcceleratorOverrides' - The Elastic Inference accelerator override for the task.+--+-- 'memory', 'taskOverride_memory' - The memory override for the task.+--+-- 'taskRoleArn', 'taskOverride_taskRoleArn' - The Amazon Resource Name (ARN) of the IAM role that containers in this+-- task can assume. All containers in this task are granted the permissions+-- that are specified in this role. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM Role for Tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+newTaskOverride ::+ TaskOverride+newTaskOverride =+ TaskOverride'+ { containerOverrides = Prelude.Nothing,+ cpu = Prelude.Nothing,+ ephemeralStorage = Prelude.Nothing,+ executionRoleArn = Prelude.Nothing,+ inferenceAcceleratorOverrides = Prelude.Nothing,+ memory = Prelude.Nothing,+ taskRoleArn = Prelude.Nothing+ }++-- | One or more container overrides that are sent to a task.+taskOverride_containerOverrides :: Lens.Lens' TaskOverride (Prelude.Maybe [ContainerOverride])+taskOverride_containerOverrides = Lens.lens (\TaskOverride' {containerOverrides} -> containerOverrides) (\s@TaskOverride' {} a -> s {containerOverrides = a} :: TaskOverride) Prelude.. Lens.mapping Lens.coerced++-- | The CPU override for the task.+taskOverride_cpu :: Lens.Lens' TaskOverride (Prelude.Maybe Prelude.Text)+taskOverride_cpu = Lens.lens (\TaskOverride' {cpu} -> cpu) (\s@TaskOverride' {} a -> s {cpu = a} :: TaskOverride)++-- | The ephemeral storage setting override for the task.+--+-- This parameter is only supported for tasks hosted on Fargate that use+-- the following platform versions:+--+-- - Linux platform version @1.4.0@ or later.+--+-- - Windows platform version @1.0.0@ or later.+taskOverride_ephemeralStorage :: Lens.Lens' TaskOverride (Prelude.Maybe EphemeralStorage)+taskOverride_ephemeralStorage = Lens.lens (\TaskOverride' {ephemeralStorage} -> ephemeralStorage) (\s@TaskOverride' {} a -> s {ephemeralStorage = a} :: TaskOverride)++-- | The Amazon Resource Name (ARN) of the task execution IAM role override+-- for the task. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html Amazon ECS task execution IAM role>+-- in the /Amazon Elastic Container Service Developer Guide/.+taskOverride_executionRoleArn :: Lens.Lens' TaskOverride (Prelude.Maybe Prelude.Text)+taskOverride_executionRoleArn = Lens.lens (\TaskOverride' {executionRoleArn} -> executionRoleArn) (\s@TaskOverride' {} a -> s {executionRoleArn = a} :: TaskOverride)++-- | The Elastic Inference accelerator override for the task.+taskOverride_inferenceAcceleratorOverrides :: Lens.Lens' TaskOverride (Prelude.Maybe [InferenceAcceleratorOverride])+taskOverride_inferenceAcceleratorOverrides = Lens.lens (\TaskOverride' {inferenceAcceleratorOverrides} -> inferenceAcceleratorOverrides) (\s@TaskOverride' {} a -> s {inferenceAcceleratorOverrides = a} :: TaskOverride) Prelude.. Lens.mapping Lens.coerced++-- | The memory override for the task.+taskOverride_memory :: Lens.Lens' TaskOverride (Prelude.Maybe Prelude.Text)+taskOverride_memory = Lens.lens (\TaskOverride' {memory} -> memory) (\s@TaskOverride' {} a -> s {memory = a} :: TaskOverride)++-- | The Amazon Resource Name (ARN) of the IAM role that containers in this+-- task can assume. All containers in this task are granted the permissions+-- that are specified in this role. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM Role for Tasks>+-- in the /Amazon Elastic Container Service Developer Guide/.+taskOverride_taskRoleArn :: Lens.Lens' TaskOverride (Prelude.Maybe Prelude.Text)+taskOverride_taskRoleArn = Lens.lens (\TaskOverride' {taskRoleArn} -> taskRoleArn) (\s@TaskOverride' {} a -> s {taskRoleArn = a} :: TaskOverride)++instance Data.FromJSON TaskOverride where+ parseJSON =+ Data.withObject+ "TaskOverride"+ ( \x ->+ TaskOverride'+ Prelude.<$> ( x+ Data..:? "containerOverrides"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "cpu")+ Prelude.<*> (x Data..:? "ephemeralStorage")+ Prelude.<*> (x Data..:? "executionRoleArn")+ Prelude.<*> ( x+ Data..:? "inferenceAcceleratorOverrides"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "memory")+ Prelude.<*> (x Data..:? "taskRoleArn")+ )++instance Prelude.Hashable TaskOverride where+ hashWithSalt _salt TaskOverride' {..} =+ _salt+ `Prelude.hashWithSalt` containerOverrides+ `Prelude.hashWithSalt` cpu+ `Prelude.hashWithSalt` ephemeralStorage+ `Prelude.hashWithSalt` executionRoleArn+ `Prelude.hashWithSalt` inferenceAcceleratorOverrides+ `Prelude.hashWithSalt` memory+ `Prelude.hashWithSalt` taskRoleArn++instance Prelude.NFData TaskOverride where+ rnf TaskOverride' {..} =+ Prelude.rnf containerOverrides+ `Prelude.seq` Prelude.rnf cpu+ `Prelude.seq` Prelude.rnf ephemeralStorage+ `Prelude.seq` Prelude.rnf executionRoleArn+ `Prelude.seq` Prelude.rnf inferenceAcceleratorOverrides+ `Prelude.seq` Prelude.rnf memory+ `Prelude.seq` Prelude.rnf taskRoleArn++instance Data.ToJSON TaskOverride where+ toJSON TaskOverride' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("containerOverrides" Data..=)+ Prelude.<$> containerOverrides,+ ("cpu" Data..=) Prelude.<$> cpu,+ ("ephemeralStorage" Data..=)+ Prelude.<$> ephemeralStorage,+ ("executionRoleArn" Data..=)+ Prelude.<$> executionRoleArn,+ ("inferenceAcceleratorOverrides" Data..=)+ Prelude.<$> inferenceAcceleratorOverrides,+ ("memory" Data..=) Prelude.<$> memory,+ ("taskRoleArn" Data..=) Prelude.<$> taskRoleArn+ ]+ )
+ gen/Amazonka/ECS/Types/TaskSet.hs view
@@ -0,0 +1,627 @@+{-# 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.ECS.Types.TaskSet+-- 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.ECS.Types.TaskSet where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.CapacityProviderStrategyItem+import Amazonka.ECS.Types.LaunchType+import Amazonka.ECS.Types.LoadBalancer+import Amazonka.ECS.Types.NetworkConfiguration+import Amazonka.ECS.Types.Scale+import Amazonka.ECS.Types.ServiceRegistry+import Amazonka.ECS.Types.StabilityStatus+import Amazonka.ECS.Types.Tag+import qualified Amazonka.Prelude as Prelude++-- | Information about a set of Amazon ECS tasks in either an CodeDeploy or+-- an @EXTERNAL@ deployment. An Amazon ECS task set includes details such+-- as the desired number of tasks, how many tasks are running, and whether+-- the task set serves production traffic.+--+-- /See:/ 'newTaskSet' smart constructor.+data TaskSet = TaskSet'+ { -- | The capacity provider strategy that are associated with the task set.+ capacityProviderStrategy :: Prelude.Maybe [CapacityProviderStrategyItem],+ -- | The Amazon Resource Name (ARN) of the cluster that the service that+ -- hosts the task set exists in.+ clusterArn :: Prelude.Maybe Prelude.Text,+ -- | The computed desired count for the task set. This is calculated by+ -- multiplying the service\'s @desiredCount@ by the task set\'s @scale@+ -- percentage. The result is always rounded up. For example, if the+ -- computed desired count is 1.2, it rounds up to 2 tasks.+ computedDesiredCount :: Prelude.Maybe Prelude.Int,+ -- | The Unix timestamp for the time when the task set was created.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The external ID associated with the task set.+ --+ -- If an CodeDeploy deployment created a task set, the @externalId@+ -- parameter contains the CodeDeploy deployment ID.+ --+ -- If a task set is created for an external deployment and is associated+ -- with a service discovery registry, the @externalId@ parameter contains+ -- the @ECS_TASK_SET_EXTERNAL_ID@ Cloud Map attribute.+ externalId :: Prelude.Maybe Prelude.Text,+ -- | The ID of the task set.+ id :: Prelude.Maybe Prelude.Text,+ -- | The launch type the tasks in the task set are using. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ launchType :: Prelude.Maybe LaunchType,+ -- | Details on a load balancer that are used with a task set.+ loadBalancers :: Prelude.Maybe [LoadBalancer],+ -- | The network configuration for the task set.+ networkConfiguration :: Prelude.Maybe NetworkConfiguration,+ -- | The number of tasks in the task set that are in the @PENDING@ status+ -- during a deployment. A task in the @PENDING@ state is preparing to enter+ -- the @RUNNING@ state. A task set enters the @PENDING@ status when it+ -- launches for the first time or when it\'s restarted after being in the+ -- @STOPPED@ state.+ pendingCount :: Prelude.Maybe Prelude.Int,+ -- | The operating system that your tasks in the set are running on. A+ -- platform family is specified only for tasks that use the Fargate launch+ -- type.+ --+ -- All tasks in the set must have the same value.+ platformFamily :: Prelude.Maybe Prelude.Text,+ -- | The Fargate platform version where the tasks in the task set are+ -- running. A platform version is only specified for tasks run on Fargate.+ -- For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ platformVersion :: Prelude.Maybe Prelude.Text,+ -- | The number of tasks in the task set that are in the @RUNNING@ status+ -- during a deployment. A task in the @RUNNING@ state is running and ready+ -- for use.+ runningCount :: Prelude.Maybe Prelude.Int,+ -- | A floating-point percentage of your desired number of tasks to place and+ -- keep running in the task set.+ scale :: Prelude.Maybe Scale,+ -- | The Amazon Resource Name (ARN) of the service the task set exists in.+ serviceArn :: Prelude.Maybe Prelude.Text,+ -- | The details for the service discovery registries to assign to this task+ -- set. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service discovery>.+ serviceRegistries :: Prelude.Maybe [ServiceRegistry],+ -- | The stability status. This indicates whether the task set has reached a+ -- steady state. If the following conditions are met, the task set are in+ -- @STEADY_STATE@:+ --+ -- - The task @runningCount@ is equal to the @computedDesiredCount@.+ --+ -- - The @pendingCount@ is @0@.+ --+ -- - There are no tasks that are running on container instances in the+ -- @DRAINING@ status.+ --+ -- - All tasks are reporting a healthy status from the load balancers,+ -- service discovery, and container health checks.+ --+ -- If any of those conditions aren\'t met, the stability status returns+ -- @STABILIZING@.+ stabilityStatus :: Prelude.Maybe StabilityStatus,+ -- | The Unix timestamp for the time when the task set stability status was+ -- retrieved.+ stabilityStatusAt :: Prelude.Maybe Data.POSIX,+ -- | The tag specified when a task set is started. If an CodeDeploy+ -- deployment created the task set, the @startedBy@ parameter is+ -- @CODE_DEPLOY@. If an external deployment created the task set, the+ -- @startedBy@ field isn\'t used.+ startedBy :: Prelude.Maybe Prelude.Text,+ -- | The status of the task set. The following describes each state.+ --+ -- [PRIMARY]+ -- The task set is serving production traffic.+ --+ -- [ACTIVE]+ -- The task set isn\'t serving production traffic.+ --+ -- [DRAINING]+ -- The tasks in the task set are being stopped, and their corresponding+ -- targets are being deregistered from their target group.+ status :: Prelude.Maybe Prelude.Text,+ -- | The metadata that you apply to the task set to help you categorize and+ -- organize them. Each tag consists of a key and an optional value. You+ -- define both.+ --+ -- The following basic restrictions apply to tags:+ --+ -- - Maximum number of tags per resource - 50+ --+ -- - For each resource, each tag key must be unique, and each tag key can+ -- have only one value.+ --+ -- - Maximum key length - 128 Unicode characters in UTF-8+ --+ -- - Maximum value length - 256 Unicode characters in UTF-8+ --+ -- - If your tagging schema is used across multiple services and+ -- resources, remember that other services may have restrictions on+ -- allowed characters. Generally allowed characters are: letters,+ -- numbers, and spaces representable in UTF-8, and the following+ -- characters: + - = . _ : \/ \@.+ --+ -- - Tag keys and values are case-sensitive.+ --+ -- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+ -- such as a prefix for either keys or values as it is reserved for+ -- Amazon Web Services use. You cannot edit or delete tag keys or+ -- values with this prefix. Tags with this prefix do not count against+ -- your tags per resource limit.+ tags :: Prelude.Maybe [Tag],+ -- | The task definition that the task set is using.+ taskDefinition :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the task set.+ taskSetArn :: Prelude.Maybe Prelude.Text,+ -- | The Unix timestamp for the time when the task set was last updated.+ updatedAt :: Prelude.Maybe Data.POSIX+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TaskSet' 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:+--+-- 'capacityProviderStrategy', 'taskSet_capacityProviderStrategy' - The capacity provider strategy that are associated with the task set.+--+-- 'clusterArn', 'taskSet_clusterArn' - The Amazon Resource Name (ARN) of the cluster that the service that+-- hosts the task set exists in.+--+-- 'computedDesiredCount', 'taskSet_computedDesiredCount' - The computed desired count for the task set. This is calculated by+-- multiplying the service\'s @desiredCount@ by the task set\'s @scale@+-- percentage. The result is always rounded up. For example, if the+-- computed desired count is 1.2, it rounds up to 2 tasks.+--+-- 'createdAt', 'taskSet_createdAt' - The Unix timestamp for the time when the task set was created.+--+-- 'externalId', 'taskSet_externalId' - The external ID associated with the task set.+--+-- If an CodeDeploy deployment created a task set, the @externalId@+-- parameter contains the CodeDeploy deployment ID.+--+-- If a task set is created for an external deployment and is associated+-- with a service discovery registry, the @externalId@ parameter contains+-- the @ECS_TASK_SET_EXTERNAL_ID@ Cloud Map attribute.+--+-- 'id', 'taskSet_id' - The ID of the task set.+--+-- 'launchType', 'taskSet_launchType' - The launch type the tasks in the task set are using. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'loadBalancers', 'taskSet_loadBalancers' - Details on a load balancer that are used with a task set.+--+-- 'networkConfiguration', 'taskSet_networkConfiguration' - The network configuration for the task set.+--+-- 'pendingCount', 'taskSet_pendingCount' - The number of tasks in the task set that are in the @PENDING@ status+-- during a deployment. A task in the @PENDING@ state is preparing to enter+-- the @RUNNING@ state. A task set enters the @PENDING@ status when it+-- launches for the first time or when it\'s restarted after being in the+-- @STOPPED@ state.+--+-- 'platformFamily', 'taskSet_platformFamily' - The operating system that your tasks in the set are running on. A+-- platform family is specified only for tasks that use the Fargate launch+-- type.+--+-- All tasks in the set must have the same value.+--+-- 'platformVersion', 'taskSet_platformVersion' - The Fargate platform version where the tasks in the task set are+-- running. A platform version is only specified for tasks run on Fargate.+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'runningCount', 'taskSet_runningCount' - The number of tasks in the task set that are in the @RUNNING@ status+-- during a deployment. A task in the @RUNNING@ state is running and ready+-- for use.+--+-- 'scale', 'taskSet_scale' - A floating-point percentage of your desired number of tasks to place and+-- keep running in the task set.+--+-- 'serviceArn', 'taskSet_serviceArn' - The Amazon Resource Name (ARN) of the service the task set exists in.+--+-- 'serviceRegistries', 'taskSet_serviceRegistries' - The details for the service discovery registries to assign to this task+-- set. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service discovery>.+--+-- 'stabilityStatus', 'taskSet_stabilityStatus' - The stability status. This indicates whether the task set has reached a+-- steady state. If the following conditions are met, the task set are in+-- @STEADY_STATE@:+--+-- - The task @runningCount@ is equal to the @computedDesiredCount@.+--+-- - The @pendingCount@ is @0@.+--+-- - There are no tasks that are running on container instances in the+-- @DRAINING@ status.+--+-- - All tasks are reporting a healthy status from the load balancers,+-- service discovery, and container health checks.+--+-- If any of those conditions aren\'t met, the stability status returns+-- @STABILIZING@.+--+-- 'stabilityStatusAt', 'taskSet_stabilityStatusAt' - The Unix timestamp for the time when the task set stability status was+-- retrieved.+--+-- 'startedBy', 'taskSet_startedBy' - The tag specified when a task set is started. If an CodeDeploy+-- deployment created the task set, the @startedBy@ parameter is+-- @CODE_DEPLOY@. If an external deployment created the task set, the+-- @startedBy@ field isn\'t used.+--+-- 'status', 'taskSet_status' - The status of the task set. The following describes each state.+--+-- [PRIMARY]+-- The task set is serving production traffic.+--+-- [ACTIVE]+-- The task set isn\'t serving production traffic.+--+-- [DRAINING]+-- The tasks in the task set are being stopped, and their corresponding+-- targets are being deregistered from their target group.+--+-- 'tags', 'taskSet_tags' - The metadata that you apply to the task set to help you categorize and+-- organize them. Each tag consists of a key and an optional value. You+-- define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+--+-- 'taskDefinition', 'taskSet_taskDefinition' - The task definition that the task set is using.+--+-- 'taskSetArn', 'taskSet_taskSetArn' - The Amazon Resource Name (ARN) of the task set.+--+-- 'updatedAt', 'taskSet_updatedAt' - The Unix timestamp for the time when the task set was last updated.+newTaskSet ::+ TaskSet+newTaskSet =+ TaskSet'+ { capacityProviderStrategy =+ Prelude.Nothing,+ clusterArn = Prelude.Nothing,+ computedDesiredCount = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ externalId = Prelude.Nothing,+ id = Prelude.Nothing,+ launchType = Prelude.Nothing,+ loadBalancers = Prelude.Nothing,+ networkConfiguration = Prelude.Nothing,+ pendingCount = Prelude.Nothing,+ platformFamily = Prelude.Nothing,+ platformVersion = Prelude.Nothing,+ runningCount = Prelude.Nothing,+ scale = Prelude.Nothing,+ serviceArn = Prelude.Nothing,+ serviceRegistries = Prelude.Nothing,+ stabilityStatus = Prelude.Nothing,+ stabilityStatusAt = Prelude.Nothing,+ startedBy = Prelude.Nothing,+ status = Prelude.Nothing,+ tags = Prelude.Nothing,+ taskDefinition = Prelude.Nothing,+ taskSetArn = Prelude.Nothing,+ updatedAt = Prelude.Nothing+ }++-- | The capacity provider strategy that are associated with the task set.+taskSet_capacityProviderStrategy :: Lens.Lens' TaskSet (Prelude.Maybe [CapacityProviderStrategyItem])+taskSet_capacityProviderStrategy = Lens.lens (\TaskSet' {capacityProviderStrategy} -> capacityProviderStrategy) (\s@TaskSet' {} a -> s {capacityProviderStrategy = a} :: TaskSet) Prelude.. Lens.mapping Lens.coerced++-- | The Amazon Resource Name (ARN) of the cluster that the service that+-- hosts the task set exists in.+taskSet_clusterArn :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Text)+taskSet_clusterArn = Lens.lens (\TaskSet' {clusterArn} -> clusterArn) (\s@TaskSet' {} a -> s {clusterArn = a} :: TaskSet)++-- | The computed desired count for the task set. This is calculated by+-- multiplying the service\'s @desiredCount@ by the task set\'s @scale@+-- percentage. The result is always rounded up. For example, if the+-- computed desired count is 1.2, it rounds up to 2 tasks.+taskSet_computedDesiredCount :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Int)+taskSet_computedDesiredCount = Lens.lens (\TaskSet' {computedDesiredCount} -> computedDesiredCount) (\s@TaskSet' {} a -> s {computedDesiredCount = a} :: TaskSet)++-- | The Unix timestamp for the time when the task set was created.+taskSet_createdAt :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.UTCTime)+taskSet_createdAt = Lens.lens (\TaskSet' {createdAt} -> createdAt) (\s@TaskSet' {} a -> s {createdAt = a} :: TaskSet) Prelude.. Lens.mapping Data._Time++-- | The external ID associated with the task set.+--+-- If an CodeDeploy deployment created a task set, the @externalId@+-- parameter contains the CodeDeploy deployment ID.+--+-- If a task set is created for an external deployment and is associated+-- with a service discovery registry, the @externalId@ parameter contains+-- the @ECS_TASK_SET_EXTERNAL_ID@ Cloud Map attribute.+taskSet_externalId :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Text)+taskSet_externalId = Lens.lens (\TaskSet' {externalId} -> externalId) (\s@TaskSet' {} a -> s {externalId = a} :: TaskSet)++-- | The ID of the task set.+taskSet_id :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Text)+taskSet_id = Lens.lens (\TaskSet' {id} -> id) (\s@TaskSet' {} a -> s {id = a} :: TaskSet)++-- | The launch type the tasks in the task set are using. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS launch types>+-- in the /Amazon Elastic Container Service Developer Guide/.+taskSet_launchType :: Lens.Lens' TaskSet (Prelude.Maybe LaunchType)+taskSet_launchType = Lens.lens (\TaskSet' {launchType} -> launchType) (\s@TaskSet' {} a -> s {launchType = a} :: TaskSet)++-- | Details on a load balancer that are used with a task set.+taskSet_loadBalancers :: Lens.Lens' TaskSet (Prelude.Maybe [LoadBalancer])+taskSet_loadBalancers = Lens.lens (\TaskSet' {loadBalancers} -> loadBalancers) (\s@TaskSet' {} a -> s {loadBalancers = a} :: TaskSet) Prelude.. Lens.mapping Lens.coerced++-- | The network configuration for the task set.+taskSet_networkConfiguration :: Lens.Lens' TaskSet (Prelude.Maybe NetworkConfiguration)+taskSet_networkConfiguration = Lens.lens (\TaskSet' {networkConfiguration} -> networkConfiguration) (\s@TaskSet' {} a -> s {networkConfiguration = a} :: TaskSet)++-- | The number of tasks in the task set that are in the @PENDING@ status+-- during a deployment. A task in the @PENDING@ state is preparing to enter+-- the @RUNNING@ state. A task set enters the @PENDING@ status when it+-- launches for the first time or when it\'s restarted after being in the+-- @STOPPED@ state.+taskSet_pendingCount :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Int)+taskSet_pendingCount = Lens.lens (\TaskSet' {pendingCount} -> pendingCount) (\s@TaskSet' {} a -> s {pendingCount = a} :: TaskSet)++-- | The operating system that your tasks in the set are running on. A+-- platform family is specified only for tasks that use the Fargate launch+-- type.+--+-- All tasks in the set must have the same value.+taskSet_platformFamily :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Text)+taskSet_platformFamily = Lens.lens (\TaskSet' {platformFamily} -> platformFamily) (\s@TaskSet' {} a -> s {platformFamily = a} :: TaskSet)++-- | The Fargate platform version where the tasks in the task set are+-- running. A platform version is only specified for tasks run on Fargate.+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate platform versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+taskSet_platformVersion :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Text)+taskSet_platformVersion = Lens.lens (\TaskSet' {platformVersion} -> platformVersion) (\s@TaskSet' {} a -> s {platformVersion = a} :: TaskSet)++-- | The number of tasks in the task set that are in the @RUNNING@ status+-- during a deployment. A task in the @RUNNING@ state is running and ready+-- for use.+taskSet_runningCount :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Int)+taskSet_runningCount = Lens.lens (\TaskSet' {runningCount} -> runningCount) (\s@TaskSet' {} a -> s {runningCount = a} :: TaskSet)++-- | A floating-point percentage of your desired number of tasks to place and+-- keep running in the task set.+taskSet_scale :: Lens.Lens' TaskSet (Prelude.Maybe Scale)+taskSet_scale = Lens.lens (\TaskSet' {scale} -> scale) (\s@TaskSet' {} a -> s {scale = a} :: TaskSet)++-- | The Amazon Resource Name (ARN) of the service the task set exists in.+taskSet_serviceArn :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Text)+taskSet_serviceArn = Lens.lens (\TaskSet' {serviceArn} -> serviceArn) (\s@TaskSet' {} a -> s {serviceArn = a} :: TaskSet)++-- | The details for the service discovery registries to assign to this task+-- set. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service discovery>.+taskSet_serviceRegistries :: Lens.Lens' TaskSet (Prelude.Maybe [ServiceRegistry])+taskSet_serviceRegistries = Lens.lens (\TaskSet' {serviceRegistries} -> serviceRegistries) (\s@TaskSet' {} a -> s {serviceRegistries = a} :: TaskSet) Prelude.. Lens.mapping Lens.coerced++-- | The stability status. This indicates whether the task set has reached a+-- steady state. If the following conditions are met, the task set are in+-- @STEADY_STATE@:+--+-- - The task @runningCount@ is equal to the @computedDesiredCount@.+--+-- - The @pendingCount@ is @0@.+--+-- - There are no tasks that are running on container instances in the+-- @DRAINING@ status.+--+-- - All tasks are reporting a healthy status from the load balancers,+-- service discovery, and container health checks.+--+-- If any of those conditions aren\'t met, the stability status returns+-- @STABILIZING@.+taskSet_stabilityStatus :: Lens.Lens' TaskSet (Prelude.Maybe StabilityStatus)+taskSet_stabilityStatus = Lens.lens (\TaskSet' {stabilityStatus} -> stabilityStatus) (\s@TaskSet' {} a -> s {stabilityStatus = a} :: TaskSet)++-- | The Unix timestamp for the time when the task set stability status was+-- retrieved.+taskSet_stabilityStatusAt :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.UTCTime)+taskSet_stabilityStatusAt = Lens.lens (\TaskSet' {stabilityStatusAt} -> stabilityStatusAt) (\s@TaskSet' {} a -> s {stabilityStatusAt = a} :: TaskSet) Prelude.. Lens.mapping Data._Time++-- | The tag specified when a task set is started. If an CodeDeploy+-- deployment created the task set, the @startedBy@ parameter is+-- @CODE_DEPLOY@. If an external deployment created the task set, the+-- @startedBy@ field isn\'t used.+taskSet_startedBy :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Text)+taskSet_startedBy = Lens.lens (\TaskSet' {startedBy} -> startedBy) (\s@TaskSet' {} a -> s {startedBy = a} :: TaskSet)++-- | The status of the task set. The following describes each state.+--+-- [PRIMARY]+-- The task set is serving production traffic.+--+-- [ACTIVE]+-- The task set isn\'t serving production traffic.+--+-- [DRAINING]+-- The tasks in the task set are being stopped, and their corresponding+-- targets are being deregistered from their target group.+taskSet_status :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Text)+taskSet_status = Lens.lens (\TaskSet' {status} -> status) (\s@TaskSet' {} a -> s {status = a} :: TaskSet)++-- | The metadata that you apply to the task set to help you categorize and+-- organize them. Each tag consists of a key and an optional value. You+-- define both.+--+-- The following basic restrictions apply to tags:+--+-- - Maximum number of tags per resource - 50+--+-- - For each resource, each tag key must be unique, and each tag key can+-- have only one value.+--+-- - Maximum key length - 128 Unicode characters in UTF-8+--+-- - Maximum value length - 256 Unicode characters in UTF-8+--+-- - If your tagging schema is used across multiple services and+-- resources, remember that other services may have restrictions on+-- allowed characters. Generally allowed characters are: letters,+-- numbers, and spaces representable in UTF-8, and the following+-- characters: + - = . _ : \/ \@.+--+-- - Tag keys and values are case-sensitive.+--+-- - Do not use @aws:@, @AWS:@, or any upper or lowercase combination of+-- such as a prefix for either keys or values as it is reserved for+-- Amazon Web Services use. You cannot edit or delete tag keys or+-- values with this prefix. Tags with this prefix do not count against+-- your tags per resource limit.+taskSet_tags :: Lens.Lens' TaskSet (Prelude.Maybe [Tag])+taskSet_tags = Lens.lens (\TaskSet' {tags} -> tags) (\s@TaskSet' {} a -> s {tags = a} :: TaskSet) Prelude.. Lens.mapping Lens.coerced++-- | The task definition that the task set is using.+taskSet_taskDefinition :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Text)+taskSet_taskDefinition = Lens.lens (\TaskSet' {taskDefinition} -> taskDefinition) (\s@TaskSet' {} a -> s {taskDefinition = a} :: TaskSet)++-- | The Amazon Resource Name (ARN) of the task set.+taskSet_taskSetArn :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.Text)+taskSet_taskSetArn = Lens.lens (\TaskSet' {taskSetArn} -> taskSetArn) (\s@TaskSet' {} a -> s {taskSetArn = a} :: TaskSet)++-- | The Unix timestamp for the time when the task set was last updated.+taskSet_updatedAt :: Lens.Lens' TaskSet (Prelude.Maybe Prelude.UTCTime)+taskSet_updatedAt = Lens.lens (\TaskSet' {updatedAt} -> updatedAt) (\s@TaskSet' {} a -> s {updatedAt = a} :: TaskSet) Prelude.. Lens.mapping Data._Time++instance Data.FromJSON TaskSet where+ parseJSON =+ Data.withObject+ "TaskSet"+ ( \x ->+ TaskSet'+ Prelude.<$> ( x+ Data..:? "capacityProviderStrategy"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "clusterArn")+ Prelude.<*> (x Data..:? "computedDesiredCount")+ Prelude.<*> (x Data..:? "createdAt")+ Prelude.<*> (x Data..:? "externalId")+ Prelude.<*> (x Data..:? "id")+ Prelude.<*> (x Data..:? "launchType")+ Prelude.<*> (x Data..:? "loadBalancers" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "networkConfiguration")+ Prelude.<*> (x Data..:? "pendingCount")+ Prelude.<*> (x Data..:? "platformFamily")+ Prelude.<*> (x Data..:? "platformVersion")+ Prelude.<*> (x Data..:? "runningCount")+ Prelude.<*> (x Data..:? "scale")+ Prelude.<*> (x Data..:? "serviceArn")+ Prelude.<*> ( x+ Data..:? "serviceRegistries"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "stabilityStatus")+ Prelude.<*> (x Data..:? "stabilityStatusAt")+ Prelude.<*> (x Data..:? "startedBy")+ Prelude.<*> (x Data..:? "status")+ Prelude.<*> (x Data..:? "tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "taskDefinition")+ Prelude.<*> (x Data..:? "taskSetArn")+ Prelude.<*> (x Data..:? "updatedAt")+ )++instance Prelude.Hashable TaskSet where+ hashWithSalt _salt TaskSet' {..} =+ _salt+ `Prelude.hashWithSalt` capacityProviderStrategy+ `Prelude.hashWithSalt` clusterArn+ `Prelude.hashWithSalt` computedDesiredCount+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` externalId+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` launchType+ `Prelude.hashWithSalt` loadBalancers+ `Prelude.hashWithSalt` networkConfiguration+ `Prelude.hashWithSalt` pendingCount+ `Prelude.hashWithSalt` platformFamily+ `Prelude.hashWithSalt` platformVersion+ `Prelude.hashWithSalt` runningCount+ `Prelude.hashWithSalt` scale+ `Prelude.hashWithSalt` serviceArn+ `Prelude.hashWithSalt` serviceRegistries+ `Prelude.hashWithSalt` stabilityStatus+ `Prelude.hashWithSalt` stabilityStatusAt+ `Prelude.hashWithSalt` startedBy+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` taskDefinition+ `Prelude.hashWithSalt` taskSetArn+ `Prelude.hashWithSalt` updatedAt++instance Prelude.NFData TaskSet where+ rnf TaskSet' {..} =+ Prelude.rnf capacityProviderStrategy+ `Prelude.seq` Prelude.rnf clusterArn+ `Prelude.seq` Prelude.rnf computedDesiredCount+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf externalId+ `Prelude.seq` Prelude.rnf id+ `Prelude.seq` Prelude.rnf launchType+ `Prelude.seq` Prelude.rnf loadBalancers+ `Prelude.seq` Prelude.rnf networkConfiguration+ `Prelude.seq` Prelude.rnf pendingCount+ `Prelude.seq` Prelude.rnf platformFamily+ `Prelude.seq` Prelude.rnf platformVersion+ `Prelude.seq` Prelude.rnf runningCount+ `Prelude.seq` Prelude.rnf scale+ `Prelude.seq` Prelude.rnf serviceArn+ `Prelude.seq` Prelude.rnf serviceRegistries+ `Prelude.seq` Prelude.rnf stabilityStatus+ `Prelude.seq` Prelude.rnf stabilityStatusAt+ `Prelude.seq` Prelude.rnf startedBy+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf taskDefinition+ `Prelude.seq` Prelude.rnf taskSetArn+ `Prelude.seq` Prelude.rnf updatedAt
+ gen/Amazonka/ECS/Types/TaskSetField.hs view
@@ -0,0 +1,66 @@+{-# 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.ECS.Types.TaskSetField+-- 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.ECS.Types.TaskSetField+ ( TaskSetField+ ( ..,+ TaskSetField_TAGS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TaskSetField = TaskSetField'+ { fromTaskSetField ::+ 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 TaskSetField_TAGS :: TaskSetField+pattern TaskSetField_TAGS = TaskSetField' "TAGS"++{-# COMPLETE+ TaskSetField_TAGS,+ TaskSetField'+ #-}
+ gen/Amazonka/ECS/Types/TaskStopCode.hs view
@@ -0,0 +1,91 @@+{-# 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.ECS.Types.TaskStopCode+-- 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.ECS.Types.TaskStopCode+ ( TaskStopCode+ ( ..,+ TaskStopCode_EssentialContainerExited,+ TaskStopCode_ServiceSchedulerInitiated,+ TaskStopCode_SpotInterruption,+ TaskStopCode_TaskFailedToStart,+ TaskStopCode_TerminationNotice,+ TaskStopCode_UserInitiated+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TaskStopCode = TaskStopCode'+ { fromTaskStopCode ::+ 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 TaskStopCode_EssentialContainerExited :: TaskStopCode+pattern TaskStopCode_EssentialContainerExited = TaskStopCode' "EssentialContainerExited"++pattern TaskStopCode_ServiceSchedulerInitiated :: TaskStopCode+pattern TaskStopCode_ServiceSchedulerInitiated = TaskStopCode' "ServiceSchedulerInitiated"++pattern TaskStopCode_SpotInterruption :: TaskStopCode+pattern TaskStopCode_SpotInterruption = TaskStopCode' "SpotInterruption"++pattern TaskStopCode_TaskFailedToStart :: TaskStopCode+pattern TaskStopCode_TaskFailedToStart = TaskStopCode' "TaskFailedToStart"++pattern TaskStopCode_TerminationNotice :: TaskStopCode+pattern TaskStopCode_TerminationNotice = TaskStopCode' "TerminationNotice"++pattern TaskStopCode_UserInitiated :: TaskStopCode+pattern TaskStopCode_UserInitiated = TaskStopCode' "UserInitiated"++{-# COMPLETE+ TaskStopCode_EssentialContainerExited,+ TaskStopCode_ServiceSchedulerInitiated,+ TaskStopCode_SpotInterruption,+ TaskStopCode_TaskFailedToStart,+ TaskStopCode_TerminationNotice,+ TaskStopCode_UserInitiated,+ TaskStopCode'+ #-}
+ gen/Amazonka/ECS/Types/Tmpfs.hs view
@@ -0,0 +1,119 @@+{-# 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.ECS.Types.Tmpfs+-- 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.ECS.Types.Tmpfs 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++-- | The container path, mount options, and size of the tmpfs mount.+--+-- /See:/ 'newTmpfs' smart constructor.+data Tmpfs = Tmpfs'+ { -- | The list of tmpfs volume mount options.+ --+ -- Valid values:+ -- @\"defaults\" | \"ro\" | \"rw\" | \"suid\" | \"nosuid\" | \"dev\" | \"nodev\" | \"exec\" | \"noexec\" | \"sync\" | \"async\" | \"dirsync\" | \"remount\" | \"mand\" | \"nomand\" | \"atime\" | \"noatime\" | \"diratime\" | \"nodiratime\" | \"bind\" | \"rbind\" | \"unbindable\" | \"runbindable\" | \"private\" | \"rprivate\" | \"shared\" | \"rshared\" | \"slave\" | \"rslave\" | \"relatime\" | \"norelatime\" | \"strictatime\" | \"nostrictatime\" | \"mode\" | \"uid\" | \"gid\" | \"nr_inodes\" | \"nr_blocks\" | \"mpol\"@+ mountOptions :: Prelude.Maybe [Prelude.Text],+ -- | The absolute file path where the tmpfs volume is to be mounted.+ containerPath :: Prelude.Text,+ -- | The maximum size (in MiB) of the tmpfs volume.+ size :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tmpfs' 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:+--+-- 'mountOptions', 'tmpfs_mountOptions' - The list of tmpfs volume mount options.+--+-- Valid values:+-- @\"defaults\" | \"ro\" | \"rw\" | \"suid\" | \"nosuid\" | \"dev\" | \"nodev\" | \"exec\" | \"noexec\" | \"sync\" | \"async\" | \"dirsync\" | \"remount\" | \"mand\" | \"nomand\" | \"atime\" | \"noatime\" | \"diratime\" | \"nodiratime\" | \"bind\" | \"rbind\" | \"unbindable\" | \"runbindable\" | \"private\" | \"rprivate\" | \"shared\" | \"rshared\" | \"slave\" | \"rslave\" | \"relatime\" | \"norelatime\" | \"strictatime\" | \"nostrictatime\" | \"mode\" | \"uid\" | \"gid\" | \"nr_inodes\" | \"nr_blocks\" | \"mpol\"@+--+-- 'containerPath', 'tmpfs_containerPath' - The absolute file path where the tmpfs volume is to be mounted.+--+-- 'size', 'tmpfs_size' - The maximum size (in MiB) of the tmpfs volume.+newTmpfs ::+ -- | 'containerPath'+ Prelude.Text ->+ -- | 'size'+ Prelude.Int ->+ Tmpfs+newTmpfs pContainerPath_ pSize_ =+ Tmpfs'+ { mountOptions = Prelude.Nothing,+ containerPath = pContainerPath_,+ size = pSize_+ }++-- | The list of tmpfs volume mount options.+--+-- Valid values:+-- @\"defaults\" | \"ro\" | \"rw\" | \"suid\" | \"nosuid\" | \"dev\" | \"nodev\" | \"exec\" | \"noexec\" | \"sync\" | \"async\" | \"dirsync\" | \"remount\" | \"mand\" | \"nomand\" | \"atime\" | \"noatime\" | \"diratime\" | \"nodiratime\" | \"bind\" | \"rbind\" | \"unbindable\" | \"runbindable\" | \"private\" | \"rprivate\" | \"shared\" | \"rshared\" | \"slave\" | \"rslave\" | \"relatime\" | \"norelatime\" | \"strictatime\" | \"nostrictatime\" | \"mode\" | \"uid\" | \"gid\" | \"nr_inodes\" | \"nr_blocks\" | \"mpol\"@+tmpfs_mountOptions :: Lens.Lens' Tmpfs (Prelude.Maybe [Prelude.Text])+tmpfs_mountOptions = Lens.lens (\Tmpfs' {mountOptions} -> mountOptions) (\s@Tmpfs' {} a -> s {mountOptions = a} :: Tmpfs) Prelude.. Lens.mapping Lens.coerced++-- | The absolute file path where the tmpfs volume is to be mounted.+tmpfs_containerPath :: Lens.Lens' Tmpfs Prelude.Text+tmpfs_containerPath = Lens.lens (\Tmpfs' {containerPath} -> containerPath) (\s@Tmpfs' {} a -> s {containerPath = a} :: Tmpfs)++-- | The maximum size (in MiB) of the tmpfs volume.+tmpfs_size :: Lens.Lens' Tmpfs Prelude.Int+tmpfs_size = Lens.lens (\Tmpfs' {size} -> size) (\s@Tmpfs' {} a -> s {size = a} :: Tmpfs)++instance Data.FromJSON Tmpfs where+ parseJSON =+ Data.withObject+ "Tmpfs"+ ( \x ->+ Tmpfs'+ Prelude.<$> (x Data..:? "mountOptions" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "containerPath")+ Prelude.<*> (x Data..: "size")+ )++instance Prelude.Hashable Tmpfs where+ hashWithSalt _salt Tmpfs' {..} =+ _salt+ `Prelude.hashWithSalt` mountOptions+ `Prelude.hashWithSalt` containerPath+ `Prelude.hashWithSalt` size++instance Prelude.NFData Tmpfs where+ rnf Tmpfs' {..} =+ Prelude.rnf mountOptions+ `Prelude.seq` Prelude.rnf containerPath+ `Prelude.seq` Prelude.rnf size++instance Data.ToJSON Tmpfs where+ toJSON Tmpfs' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("mountOptions" Data..=) Prelude.<$> mountOptions,+ Prelude.Just ("containerPath" Data..= containerPath),+ Prelude.Just ("size" Data..= size)+ ]+ )
+ gen/Amazonka/ECS/Types/TransportProtocol.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.ECS.Types.TransportProtocol+-- 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.ECS.Types.TransportProtocol+ ( TransportProtocol+ ( ..,+ TransportProtocol_Tcp,+ TransportProtocol_Udp+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TransportProtocol = TransportProtocol'+ { fromTransportProtocol ::+ 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 TransportProtocol_Tcp :: TransportProtocol+pattern TransportProtocol_Tcp = TransportProtocol' "tcp"++pattern TransportProtocol_Udp :: TransportProtocol+pattern TransportProtocol_Udp = TransportProtocol' "udp"++{-# COMPLETE+ TransportProtocol_Tcp,+ TransportProtocol_Udp,+ TransportProtocol'+ #-}
+ gen/Amazonka/ECS/Types/Ulimit.hs view
@@ -0,0 +1,119 @@+{-# 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.ECS.Types.Ulimit+-- 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.ECS.Types.Ulimit where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.UlimitName+import qualified Amazonka.Prelude as Prelude++-- | The @ulimit@ settings to pass to the container.+--+-- Amazon ECS tasks hosted on Fargate use the default resource limit values+-- set by the operating system with the exception of the @nofile@ resource+-- limit parameter which Fargate overrides. The @nofile@ resource limit+-- sets a restriction on the number of open files that a container can use.+-- The default @nofile@ soft limit is @1024@ and hard limit is @4096@.+--+-- /See:/ 'newUlimit' smart constructor.+data Ulimit = Ulimit'+ { -- | The @type@ of the @ulimit@.+ name :: UlimitName,+ -- | The soft limit for the @ulimit@ type.+ softLimit :: Prelude.Int,+ -- | The hard limit for the @ulimit@ type.+ hardLimit :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Ulimit' 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', 'ulimit_name' - The @type@ of the @ulimit@.+--+-- 'softLimit', 'ulimit_softLimit' - The soft limit for the @ulimit@ type.+--+-- 'hardLimit', 'ulimit_hardLimit' - The hard limit for the @ulimit@ type.+newUlimit ::+ -- | 'name'+ UlimitName ->+ -- | 'softLimit'+ Prelude.Int ->+ -- | 'hardLimit'+ Prelude.Int ->+ Ulimit+newUlimit pName_ pSoftLimit_ pHardLimit_ =+ Ulimit'+ { name = pName_,+ softLimit = pSoftLimit_,+ hardLimit = pHardLimit_+ }++-- | The @type@ of the @ulimit@.+ulimit_name :: Lens.Lens' Ulimit UlimitName+ulimit_name = Lens.lens (\Ulimit' {name} -> name) (\s@Ulimit' {} a -> s {name = a} :: Ulimit)++-- | The soft limit for the @ulimit@ type.+ulimit_softLimit :: Lens.Lens' Ulimit Prelude.Int+ulimit_softLimit = Lens.lens (\Ulimit' {softLimit} -> softLimit) (\s@Ulimit' {} a -> s {softLimit = a} :: Ulimit)++-- | The hard limit for the @ulimit@ type.+ulimit_hardLimit :: Lens.Lens' Ulimit Prelude.Int+ulimit_hardLimit = Lens.lens (\Ulimit' {hardLimit} -> hardLimit) (\s@Ulimit' {} a -> s {hardLimit = a} :: Ulimit)++instance Data.FromJSON Ulimit where+ parseJSON =+ Data.withObject+ "Ulimit"+ ( \x ->+ Ulimit'+ Prelude.<$> (x Data..: "name")+ Prelude.<*> (x Data..: "softLimit")+ Prelude.<*> (x Data..: "hardLimit")+ )++instance Prelude.Hashable Ulimit where+ hashWithSalt _salt Ulimit' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` softLimit+ `Prelude.hashWithSalt` hardLimit++instance Prelude.NFData Ulimit where+ rnf Ulimit' {..} =+ Prelude.rnf name+ `Prelude.seq` Prelude.rnf softLimit+ `Prelude.seq` Prelude.rnf hardLimit++instance Data.ToJSON Ulimit where+ toJSON Ulimit' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("name" Data..= name),+ Prelude.Just ("softLimit" Data..= softLimit),+ Prelude.Just ("hardLimit" Data..= hardLimit)+ ]+ )
+ gen/Amazonka/ECS/Types/UlimitName.hs view
@@ -0,0 +1,136 @@+{-# 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.ECS.Types.UlimitName+-- 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.ECS.Types.UlimitName+ ( UlimitName+ ( ..,+ UlimitName_Core,+ UlimitName_Cpu,+ UlimitName_Data,+ UlimitName_Fsize,+ UlimitName_Locks,+ UlimitName_Memlock,+ UlimitName_Msgqueue,+ UlimitName_Nice,+ UlimitName_Nofile,+ UlimitName_Nproc,+ UlimitName_Rss,+ UlimitName_Rtprio,+ UlimitName_Rttime,+ UlimitName_Sigpending,+ UlimitName_Stack+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype UlimitName = UlimitName'+ { fromUlimitName ::+ 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 UlimitName_Core :: UlimitName+pattern UlimitName_Core = UlimitName' "core"++pattern UlimitName_Cpu :: UlimitName+pattern UlimitName_Cpu = UlimitName' "cpu"++pattern UlimitName_Data :: UlimitName+pattern UlimitName_Data = UlimitName' "data"++pattern UlimitName_Fsize :: UlimitName+pattern UlimitName_Fsize = UlimitName' "fsize"++pattern UlimitName_Locks :: UlimitName+pattern UlimitName_Locks = UlimitName' "locks"++pattern UlimitName_Memlock :: UlimitName+pattern UlimitName_Memlock = UlimitName' "memlock"++pattern UlimitName_Msgqueue :: UlimitName+pattern UlimitName_Msgqueue = UlimitName' "msgqueue"++pattern UlimitName_Nice :: UlimitName+pattern UlimitName_Nice = UlimitName' "nice"++pattern UlimitName_Nofile :: UlimitName+pattern UlimitName_Nofile = UlimitName' "nofile"++pattern UlimitName_Nproc :: UlimitName+pattern UlimitName_Nproc = UlimitName' "nproc"++pattern UlimitName_Rss :: UlimitName+pattern UlimitName_Rss = UlimitName' "rss"++pattern UlimitName_Rtprio :: UlimitName+pattern UlimitName_Rtprio = UlimitName' "rtprio"++pattern UlimitName_Rttime :: UlimitName+pattern UlimitName_Rttime = UlimitName' "rttime"++pattern UlimitName_Sigpending :: UlimitName+pattern UlimitName_Sigpending = UlimitName' "sigpending"++pattern UlimitName_Stack :: UlimitName+pattern UlimitName_Stack = UlimitName' "stack"++{-# COMPLETE+ UlimitName_Core,+ UlimitName_Cpu,+ UlimitName_Data,+ UlimitName_Fsize,+ UlimitName_Locks,+ UlimitName_Memlock,+ UlimitName_Msgqueue,+ UlimitName_Nice,+ UlimitName_Nofile,+ UlimitName_Nproc,+ UlimitName_Rss,+ UlimitName_Rtprio,+ UlimitName_Rttime,+ UlimitName_Sigpending,+ UlimitName_Stack,+ UlimitName'+ #-}
+ gen/Amazonka/ECS/Types/VersionInfo.hs view
@@ -0,0 +1,113 @@+{-# 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.ECS.Types.VersionInfo+-- 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.ECS.Types.VersionInfo 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++-- | The Docker and Amazon ECS container agent version information about a+-- container instance.+--+-- /See:/ 'newVersionInfo' smart constructor.+data VersionInfo = VersionInfo'+ { -- | The Git commit hash for the Amazon ECS container agent build on the+ -- <https://github.com/aws/amazon-ecs-agent/commits/master amazon-ecs-agent>+ -- GitHub repository.+ agentHash :: Prelude.Maybe Prelude.Text,+ -- | The version number of the Amazon ECS container agent.+ agentVersion :: Prelude.Maybe Prelude.Text,+ -- | The Docker version that\'s running on the container instance.+ dockerVersion :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'VersionInfo' 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:+--+-- 'agentHash', 'versionInfo_agentHash' - The Git commit hash for the Amazon ECS container agent build on the+-- <https://github.com/aws/amazon-ecs-agent/commits/master amazon-ecs-agent>+-- GitHub repository.+--+-- 'agentVersion', 'versionInfo_agentVersion' - The version number of the Amazon ECS container agent.+--+-- 'dockerVersion', 'versionInfo_dockerVersion' - The Docker version that\'s running on the container instance.+newVersionInfo ::+ VersionInfo+newVersionInfo =+ VersionInfo'+ { agentHash = Prelude.Nothing,+ agentVersion = Prelude.Nothing,+ dockerVersion = Prelude.Nothing+ }++-- | The Git commit hash for the Amazon ECS container agent build on the+-- <https://github.com/aws/amazon-ecs-agent/commits/master amazon-ecs-agent>+-- GitHub repository.+versionInfo_agentHash :: Lens.Lens' VersionInfo (Prelude.Maybe Prelude.Text)+versionInfo_agentHash = Lens.lens (\VersionInfo' {agentHash} -> agentHash) (\s@VersionInfo' {} a -> s {agentHash = a} :: VersionInfo)++-- | The version number of the Amazon ECS container agent.+versionInfo_agentVersion :: Lens.Lens' VersionInfo (Prelude.Maybe Prelude.Text)+versionInfo_agentVersion = Lens.lens (\VersionInfo' {agentVersion} -> agentVersion) (\s@VersionInfo' {} a -> s {agentVersion = a} :: VersionInfo)++-- | The Docker version that\'s running on the container instance.+versionInfo_dockerVersion :: Lens.Lens' VersionInfo (Prelude.Maybe Prelude.Text)+versionInfo_dockerVersion = Lens.lens (\VersionInfo' {dockerVersion} -> dockerVersion) (\s@VersionInfo' {} a -> s {dockerVersion = a} :: VersionInfo)++instance Data.FromJSON VersionInfo where+ parseJSON =+ Data.withObject+ "VersionInfo"+ ( \x ->+ VersionInfo'+ Prelude.<$> (x Data..:? "agentHash")+ Prelude.<*> (x Data..:? "agentVersion")+ Prelude.<*> (x Data..:? "dockerVersion")+ )++instance Prelude.Hashable VersionInfo where+ hashWithSalt _salt VersionInfo' {..} =+ _salt+ `Prelude.hashWithSalt` agentHash+ `Prelude.hashWithSalt` agentVersion+ `Prelude.hashWithSalt` dockerVersion++instance Prelude.NFData VersionInfo where+ rnf VersionInfo' {..} =+ Prelude.rnf agentHash+ `Prelude.seq` Prelude.rnf agentVersion+ `Prelude.seq` Prelude.rnf dockerVersion++instance Data.ToJSON VersionInfo where+ toJSON VersionInfo' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("agentHash" Data..=) Prelude.<$> agentHash,+ ("agentVersion" Data..=) Prelude.<$> agentVersion,+ ("dockerVersion" Data..=) Prelude.<$> dockerVersion+ ]+ )
+ gen/Amazonka/ECS/Types/Volume.hs view
@@ -0,0 +1,211 @@+{-# 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.ECS.Types.Volume+-- 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.ECS.Types.Volume where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types.DockerVolumeConfiguration+import Amazonka.ECS.Types.EFSVolumeConfiguration+import Amazonka.ECS.Types.FSxWindowsFileServerVolumeConfiguration+import Amazonka.ECS.Types.HostVolumeProperties+import qualified Amazonka.Prelude as Prelude++-- | A data volume that\'s used in a task definition. For tasks that use the+-- Amazon Elastic File System (Amazon EFS), specify an+-- @efsVolumeConfiguration@. For Windows tasks that use Amazon FSx for+-- Windows File Server file system, specify a+-- @fsxWindowsFileServerVolumeConfiguration@. For tasks that use a Docker+-- volume, specify a @DockerVolumeConfiguration@. For tasks that use a bind+-- mount host volume, specify a @host@ and optional @sourcePath@. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html Using Data Volumes in Tasks>.+--+-- /See:/ 'newVolume' smart constructor.+data Volume = Volume'+ { -- | This parameter is specified when you use Docker volumes.+ --+ -- Windows containers only support the use of the @local@ driver. To use+ -- bind mounts, specify the @host@ parameter instead.+ --+ -- Docker volumes aren\'t supported by tasks run on Fargate.+ dockerVolumeConfiguration :: Prelude.Maybe DockerVolumeConfiguration,+ -- | This parameter is specified when you use an Amazon Elastic File System+ -- file system for task storage.+ efsVolumeConfiguration :: Prelude.Maybe EFSVolumeConfiguration,+ -- | This parameter is specified when you use Amazon FSx for Windows File+ -- Server file system for task storage.+ fsxWindowsFileServerVolumeConfiguration :: Prelude.Maybe FSxWindowsFileServerVolumeConfiguration,+ -- | This parameter is specified when you use bind mount host volumes. The+ -- contents of the @host@ parameter determine whether your bind mount host+ -- volume persists on the host container instance and where it\'s stored.+ -- If the @host@ parameter is empty, then the Docker daemon assigns a host+ -- path for your data volume. However, the data isn\'t guaranteed to+ -- persist after the containers that are associated with it stop running.+ --+ -- Windows containers can mount whole directories on the same drive as+ -- @$env:ProgramData@. Windows containers can\'t mount directories on a+ -- different drive, and mount point can\'t be across drives. For example,+ -- you can mount @C:\\my\\path:C:\\my\\path@ and @D:\\:D:\\@, but not+ -- @D:\\my\\path:C:\\my\\path@ or @D:\\:C:\\my\\path@.+ host :: Prelude.Maybe HostVolumeProperties,+ -- | The name of the volume. Up to 255 letters (uppercase and lowercase),+ -- numbers, underscores, and hyphens are allowed. This name is referenced+ -- in the @sourceVolume@ parameter of container definition @mountPoints@.+ name :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Volume' 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:+--+-- 'dockerVolumeConfiguration', 'volume_dockerVolumeConfiguration' - This parameter is specified when you use Docker volumes.+--+-- Windows containers only support the use of the @local@ driver. To use+-- bind mounts, specify the @host@ parameter instead.+--+-- Docker volumes aren\'t supported by tasks run on Fargate.+--+-- 'efsVolumeConfiguration', 'volume_efsVolumeConfiguration' - This parameter is specified when you use an Amazon Elastic File System+-- file system for task storage.+--+-- 'fsxWindowsFileServerVolumeConfiguration', 'volume_fsxWindowsFileServerVolumeConfiguration' - This parameter is specified when you use Amazon FSx for Windows File+-- Server file system for task storage.+--+-- 'host', 'volume_host' - This parameter is specified when you use bind mount host volumes. The+-- contents of the @host@ parameter determine whether your bind mount host+-- volume persists on the host container instance and where it\'s stored.+-- If the @host@ parameter is empty, then the Docker daemon assigns a host+-- path for your data volume. However, the data isn\'t guaranteed to+-- persist after the containers that are associated with it stop running.+--+-- Windows containers can mount whole directories on the same drive as+-- @$env:ProgramData@. Windows containers can\'t mount directories on a+-- different drive, and mount point can\'t be across drives. For example,+-- you can mount @C:\\my\\path:C:\\my\\path@ and @D:\\:D:\\@, but not+-- @D:\\my\\path:C:\\my\\path@ or @D:\\:C:\\my\\path@.+--+-- 'name', 'volume_name' - The name of the volume. Up to 255 letters (uppercase and lowercase),+-- numbers, underscores, and hyphens are allowed. This name is referenced+-- in the @sourceVolume@ parameter of container definition @mountPoints@.+newVolume ::+ Volume+newVolume =+ Volume'+ { dockerVolumeConfiguration =+ Prelude.Nothing,+ efsVolumeConfiguration = Prelude.Nothing,+ fsxWindowsFileServerVolumeConfiguration =+ Prelude.Nothing,+ host = Prelude.Nothing,+ name = Prelude.Nothing+ }++-- | This parameter is specified when you use Docker volumes.+--+-- Windows containers only support the use of the @local@ driver. To use+-- bind mounts, specify the @host@ parameter instead.+--+-- Docker volumes aren\'t supported by tasks run on Fargate.+volume_dockerVolumeConfiguration :: Lens.Lens' Volume (Prelude.Maybe DockerVolumeConfiguration)+volume_dockerVolumeConfiguration = Lens.lens (\Volume' {dockerVolumeConfiguration} -> dockerVolumeConfiguration) (\s@Volume' {} a -> s {dockerVolumeConfiguration = a} :: Volume)++-- | This parameter is specified when you use an Amazon Elastic File System+-- file system for task storage.+volume_efsVolumeConfiguration :: Lens.Lens' Volume (Prelude.Maybe EFSVolumeConfiguration)+volume_efsVolumeConfiguration = Lens.lens (\Volume' {efsVolumeConfiguration} -> efsVolumeConfiguration) (\s@Volume' {} a -> s {efsVolumeConfiguration = a} :: Volume)++-- | This parameter is specified when you use Amazon FSx for Windows File+-- Server file system for task storage.+volume_fsxWindowsFileServerVolumeConfiguration :: Lens.Lens' Volume (Prelude.Maybe FSxWindowsFileServerVolumeConfiguration)+volume_fsxWindowsFileServerVolumeConfiguration = Lens.lens (\Volume' {fsxWindowsFileServerVolumeConfiguration} -> fsxWindowsFileServerVolumeConfiguration) (\s@Volume' {} a -> s {fsxWindowsFileServerVolumeConfiguration = a} :: Volume)++-- | This parameter is specified when you use bind mount host volumes. The+-- contents of the @host@ parameter determine whether your bind mount host+-- volume persists on the host container instance and where it\'s stored.+-- If the @host@ parameter is empty, then the Docker daemon assigns a host+-- path for your data volume. However, the data isn\'t guaranteed to+-- persist after the containers that are associated with it stop running.+--+-- Windows containers can mount whole directories on the same drive as+-- @$env:ProgramData@. Windows containers can\'t mount directories on a+-- different drive, and mount point can\'t be across drives. For example,+-- you can mount @C:\\my\\path:C:\\my\\path@ and @D:\\:D:\\@, but not+-- @D:\\my\\path:C:\\my\\path@ or @D:\\:C:\\my\\path@.+volume_host :: Lens.Lens' Volume (Prelude.Maybe HostVolumeProperties)+volume_host = Lens.lens (\Volume' {host} -> host) (\s@Volume' {} a -> s {host = a} :: Volume)++-- | The name of the volume. Up to 255 letters (uppercase and lowercase),+-- numbers, underscores, and hyphens are allowed. This name is referenced+-- in the @sourceVolume@ parameter of container definition @mountPoints@.+volume_name :: Lens.Lens' Volume (Prelude.Maybe Prelude.Text)+volume_name = Lens.lens (\Volume' {name} -> name) (\s@Volume' {} a -> s {name = a} :: Volume)++instance Data.FromJSON Volume where+ parseJSON =+ Data.withObject+ "Volume"+ ( \x ->+ Volume'+ Prelude.<$> (x Data..:? "dockerVolumeConfiguration")+ Prelude.<*> (x Data..:? "efsVolumeConfiguration")+ Prelude.<*> ( x+ Data..:? "fsxWindowsFileServerVolumeConfiguration"+ )+ Prelude.<*> (x Data..:? "host")+ Prelude.<*> (x Data..:? "name")+ )++instance Prelude.Hashable Volume where+ hashWithSalt _salt Volume' {..} =+ _salt+ `Prelude.hashWithSalt` dockerVolumeConfiguration+ `Prelude.hashWithSalt` efsVolumeConfiguration+ `Prelude.hashWithSalt` fsxWindowsFileServerVolumeConfiguration+ `Prelude.hashWithSalt` host+ `Prelude.hashWithSalt` name++instance Prelude.NFData Volume where+ rnf Volume' {..} =+ Prelude.rnf dockerVolumeConfiguration+ `Prelude.seq` Prelude.rnf efsVolumeConfiguration+ `Prelude.seq` Prelude.rnf fsxWindowsFileServerVolumeConfiguration+ `Prelude.seq` Prelude.rnf host+ `Prelude.seq` Prelude.rnf name++instance Data.ToJSON Volume where+ toJSON Volume' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("dockerVolumeConfiguration" Data..=)+ Prelude.<$> dockerVolumeConfiguration,+ ("efsVolumeConfiguration" Data..=)+ Prelude.<$> efsVolumeConfiguration,+ ("fsxWindowsFileServerVolumeConfiguration" Data..=)+ Prelude.<$> fsxWindowsFileServerVolumeConfiguration,+ ("host" Data..=) Prelude.<$> host,+ ("name" Data..=) Prelude.<$> name+ ]+ )
+ gen/Amazonka/ECS/Types/VolumeFrom.hs view
@@ -0,0 +1,104 @@+{-# 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.ECS.Types.VolumeFrom+-- 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.ECS.Types.VolumeFrom 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++-- | Details on a data volume from another container in the same task+-- definition.+--+-- /See:/ 'newVolumeFrom' smart constructor.+data VolumeFrom = VolumeFrom'+ { -- | If this value is @true@, the container has read-only access to the+ -- volume. If this value is @false@, then the container can write to the+ -- volume. The default value is @false@.+ readOnly :: Prelude.Maybe Prelude.Bool,+ -- | The name of another container within the same task definition to mount+ -- volumes from.+ sourceContainer :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'VolumeFrom' 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:+--+-- 'readOnly', 'volumeFrom_readOnly' - If this value is @true@, the container has read-only access to the+-- volume. If this value is @false@, then the container can write to the+-- volume. The default value is @false@.+--+-- 'sourceContainer', 'volumeFrom_sourceContainer' - The name of another container within the same task definition to mount+-- volumes from.+newVolumeFrom ::+ VolumeFrom+newVolumeFrom =+ VolumeFrom'+ { readOnly = Prelude.Nothing,+ sourceContainer = Prelude.Nothing+ }++-- | If this value is @true@, the container has read-only access to the+-- volume. If this value is @false@, then the container can write to the+-- volume. The default value is @false@.+volumeFrom_readOnly :: Lens.Lens' VolumeFrom (Prelude.Maybe Prelude.Bool)+volumeFrom_readOnly = Lens.lens (\VolumeFrom' {readOnly} -> readOnly) (\s@VolumeFrom' {} a -> s {readOnly = a} :: VolumeFrom)++-- | The name of another container within the same task definition to mount+-- volumes from.+volumeFrom_sourceContainer :: Lens.Lens' VolumeFrom (Prelude.Maybe Prelude.Text)+volumeFrom_sourceContainer = Lens.lens (\VolumeFrom' {sourceContainer} -> sourceContainer) (\s@VolumeFrom' {} a -> s {sourceContainer = a} :: VolumeFrom)++instance Data.FromJSON VolumeFrom where+ parseJSON =+ Data.withObject+ "VolumeFrom"+ ( \x ->+ VolumeFrom'+ Prelude.<$> (x Data..:? "readOnly")+ Prelude.<*> (x Data..:? "sourceContainer")+ )++instance Prelude.Hashable VolumeFrom where+ hashWithSalt _salt VolumeFrom' {..} =+ _salt+ `Prelude.hashWithSalt` readOnly+ `Prelude.hashWithSalt` sourceContainer++instance Prelude.NFData VolumeFrom where+ rnf VolumeFrom' {..} =+ Prelude.rnf readOnly+ `Prelude.seq` Prelude.rnf sourceContainer++instance Data.ToJSON VolumeFrom where+ toJSON VolumeFrom' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("readOnly" Data..=) Prelude.<$> readOnly,+ ("sourceContainer" Data..=)+ Prelude.<$> sourceContainer+ ]+ )
+ gen/Amazonka/ECS/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.ECS.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)+--+-- Deletes specified tags from a resource.+module Amazonka.ECS.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.ECS.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 Name (ARN) of the resource to delete tags from.+ -- Currently, the supported resources are Amazon ECS capacity providers,+ -- tasks, services, task definitions, clusters, and container instances.+ resourceArn :: Prelude.Text,+ -- | The keys of the tags to be removed.+ 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 Name (ARN) of the resource to delete tags from.+-- Currently, the supported resources are Amazon ECS capacity providers,+-- tasks, services, task definitions, clusters, and container instances.+--+-- 'tagKeys', 'untagResource_tagKeys' - The keys of the tags to be removed.+newUntagResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ UntagResource+newUntagResource pResourceArn_ =+ UntagResource'+ { resourceArn = pResourceArn_,+ tagKeys = Prelude.mempty+ }++-- | The Amazon Resource Name (ARN) of the resource to delete tags from.+-- Currently, the supported resources are Amazon ECS capacity providers,+-- tasks, services, task definitions, clusters, and container instances.+untagResource_resourceArn :: Lens.Lens' UntagResource Prelude.Text+untagResource_resourceArn = Lens.lens (\UntagResource' {resourceArn} -> resourceArn) (\s@UntagResource' {} a -> s {resourceArn = a} :: UntagResource)++-- | The keys of the tags to be removed.+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.=# ( "AmazonEC2ContainerServiceV20141113.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/ECS/UpdateCapacityProvider.hs view
@@ -0,0 +1,200 @@+{-# 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.ECS.UpdateCapacityProvider+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies the parameters for a capacity provider.+module Amazonka.ECS.UpdateCapacityProvider+ ( -- * Creating a Request+ UpdateCapacityProvider (..),+ newUpdateCapacityProvider,++ -- * Request Lenses+ updateCapacityProvider_name,+ updateCapacityProvider_autoScalingGroupProvider,++ -- * Destructuring the Response+ UpdateCapacityProviderResponse (..),+ newUpdateCapacityProviderResponse,++ -- * Response Lenses+ updateCapacityProviderResponse_capacityProvider,+ updateCapacityProviderResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateCapacityProvider' smart constructor.+data UpdateCapacityProvider = UpdateCapacityProvider'+ { -- | The name of the capacity provider to update.+ name :: Prelude.Text,+ -- | An object that represent the parameters to update for the Auto Scaling+ -- group capacity provider.+ autoScalingGroupProvider :: AutoScalingGroupProviderUpdate+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateCapacityProvider' 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', 'updateCapacityProvider_name' - The name of the capacity provider to update.+--+-- 'autoScalingGroupProvider', 'updateCapacityProvider_autoScalingGroupProvider' - An object that represent the parameters to update for the Auto Scaling+-- group capacity provider.+newUpdateCapacityProvider ::+ -- | 'name'+ Prelude.Text ->+ -- | 'autoScalingGroupProvider'+ AutoScalingGroupProviderUpdate ->+ UpdateCapacityProvider+newUpdateCapacityProvider+ pName_+ pAutoScalingGroupProvider_ =+ UpdateCapacityProvider'+ { name = pName_,+ autoScalingGroupProvider =+ pAutoScalingGroupProvider_+ }++-- | The name of the capacity provider to update.+updateCapacityProvider_name :: Lens.Lens' UpdateCapacityProvider Prelude.Text+updateCapacityProvider_name = Lens.lens (\UpdateCapacityProvider' {name} -> name) (\s@UpdateCapacityProvider' {} a -> s {name = a} :: UpdateCapacityProvider)++-- | An object that represent the parameters to update for the Auto Scaling+-- group capacity provider.+updateCapacityProvider_autoScalingGroupProvider :: Lens.Lens' UpdateCapacityProvider AutoScalingGroupProviderUpdate+updateCapacityProvider_autoScalingGroupProvider = Lens.lens (\UpdateCapacityProvider' {autoScalingGroupProvider} -> autoScalingGroupProvider) (\s@UpdateCapacityProvider' {} a -> s {autoScalingGroupProvider = a} :: UpdateCapacityProvider)++instance Core.AWSRequest UpdateCapacityProvider where+ type+ AWSResponse UpdateCapacityProvider =+ UpdateCapacityProviderResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateCapacityProviderResponse'+ Prelude.<$> (x Data..?> "capacityProvider")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateCapacityProvider where+ hashWithSalt _salt UpdateCapacityProvider' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` autoScalingGroupProvider++instance Prelude.NFData UpdateCapacityProvider where+ rnf UpdateCapacityProvider' {..} =+ Prelude.rnf name+ `Prelude.seq` Prelude.rnf autoScalingGroupProvider++instance Data.ToHeaders UpdateCapacityProvider where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.UpdateCapacityProvider" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateCapacityProvider where+ toJSON UpdateCapacityProvider' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("name" Data..= name),+ Prelude.Just+ ( "autoScalingGroupProvider"+ Data..= autoScalingGroupProvider+ )+ ]+ )++instance Data.ToPath UpdateCapacityProvider where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateCapacityProvider where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateCapacityProviderResponse' smart constructor.+data UpdateCapacityProviderResponse = UpdateCapacityProviderResponse'+ { -- | Details about the capacity provider.+ capacityProvider :: Prelude.Maybe CapacityProvider,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateCapacityProviderResponse' 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:+--+-- 'capacityProvider', 'updateCapacityProviderResponse_capacityProvider' - Details about the capacity provider.+--+-- 'httpStatus', 'updateCapacityProviderResponse_httpStatus' - The response's http status code.+newUpdateCapacityProviderResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateCapacityProviderResponse+newUpdateCapacityProviderResponse pHttpStatus_ =+ UpdateCapacityProviderResponse'+ { capacityProvider =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Details about the capacity provider.+updateCapacityProviderResponse_capacityProvider :: Lens.Lens' UpdateCapacityProviderResponse (Prelude.Maybe CapacityProvider)+updateCapacityProviderResponse_capacityProvider = Lens.lens (\UpdateCapacityProviderResponse' {capacityProvider} -> capacityProvider) (\s@UpdateCapacityProviderResponse' {} a -> s {capacityProvider = a} :: UpdateCapacityProviderResponse)++-- | The response's http status code.+updateCapacityProviderResponse_httpStatus :: Lens.Lens' UpdateCapacityProviderResponse Prelude.Int+updateCapacityProviderResponse_httpStatus = Lens.lens (\UpdateCapacityProviderResponse' {httpStatus} -> httpStatus) (\s@UpdateCapacityProviderResponse' {} a -> s {httpStatus = a} :: UpdateCapacityProviderResponse)++instance+ Prelude.NFData+ UpdateCapacityProviderResponse+ where+ rnf UpdateCapacityProviderResponse' {..} =+ Prelude.rnf capacityProvider+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/UpdateCluster.hs view
@@ -0,0 +1,260 @@+{-# 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.ECS.UpdateCluster+-- 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 the cluster.+module Amazonka.ECS.UpdateCluster+ ( -- * Creating a Request+ UpdateCluster (..),+ newUpdateCluster,++ -- * Request Lenses+ updateCluster_configuration,+ updateCluster_serviceConnectDefaults,+ updateCluster_settings,+ updateCluster_cluster,++ -- * Destructuring the Response+ UpdateClusterResponse (..),+ newUpdateClusterResponse,++ -- * Response Lenses+ updateClusterResponse_cluster,+ updateClusterResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateCluster' smart constructor.+data UpdateCluster = UpdateCluster'+ { -- | The execute command configuration for the cluster.+ configuration :: Prelude.Maybe ClusterConfiguration,+ -- | Use this parameter to set a default Service Connect namespace. After you+ -- set a default Service Connect namespace, any new services with Service+ -- Connect turned on that are created in the cluster are added as client+ -- services in the namespace. This setting only applies to new services+ -- that set the @enabled@ parameter to @true@ in the+ -- @ServiceConnectConfiguration@. You can set the namespace of each service+ -- individually in the @ServiceConnectConfiguration@ to override this+ -- default parameter.+ --+ -- Tasks that run in a namespace can use short names to connect to services+ -- in the namespace. Tasks can connect to services across all of the+ -- clusters in the namespace. Tasks connect through a managed proxy+ -- container that collects logs and metrics for increased visibility. Only+ -- the tasks that Amazon ECS services create are supported with Service+ -- Connect. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ serviceConnectDefaults :: Prelude.Maybe ClusterServiceConnectDefaultsRequest,+ -- | The cluster settings for your cluster.+ settings :: Prelude.Maybe [ClusterSetting],+ -- | The name of the cluster to modify the settings for.+ cluster :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateCluster' 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:+--+-- 'configuration', 'updateCluster_configuration' - The execute command configuration for the cluster.+--+-- 'serviceConnectDefaults', 'updateCluster_serviceConnectDefaults' - Use this parameter to set a default Service Connect namespace. After you+-- set a default Service Connect namespace, any new services with Service+-- Connect turned on that are created in the cluster are added as client+-- services in the namespace. This setting only applies to new services+-- that set the @enabled@ parameter to @true@ in the+-- @ServiceConnectConfiguration@. You can set the namespace of each service+-- individually in the @ServiceConnectConfiguration@ to override this+-- default parameter.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'settings', 'updateCluster_settings' - The cluster settings for your cluster.+--+-- 'cluster', 'updateCluster_cluster' - The name of the cluster to modify the settings for.+newUpdateCluster ::+ -- | 'cluster'+ Prelude.Text ->+ UpdateCluster+newUpdateCluster pCluster_ =+ UpdateCluster'+ { configuration = Prelude.Nothing,+ serviceConnectDefaults = Prelude.Nothing,+ settings = Prelude.Nothing,+ cluster = pCluster_+ }++-- | The execute command configuration for the cluster.+updateCluster_configuration :: Lens.Lens' UpdateCluster (Prelude.Maybe ClusterConfiguration)+updateCluster_configuration = Lens.lens (\UpdateCluster' {configuration} -> configuration) (\s@UpdateCluster' {} a -> s {configuration = a} :: UpdateCluster)++-- | Use this parameter to set a default Service Connect namespace. After you+-- set a default Service Connect namespace, any new services with Service+-- Connect turned on that are created in the cluster are added as client+-- services in the namespace. This setting only applies to new services+-- that set the @enabled@ parameter to @true@ in the+-- @ServiceConnectConfiguration@. You can set the namespace of each service+-- individually in the @ServiceConnectConfiguration@ to override this+-- default parameter.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+updateCluster_serviceConnectDefaults :: Lens.Lens' UpdateCluster (Prelude.Maybe ClusterServiceConnectDefaultsRequest)+updateCluster_serviceConnectDefaults = Lens.lens (\UpdateCluster' {serviceConnectDefaults} -> serviceConnectDefaults) (\s@UpdateCluster' {} a -> s {serviceConnectDefaults = a} :: UpdateCluster)++-- | The cluster settings for your cluster.+updateCluster_settings :: Lens.Lens' UpdateCluster (Prelude.Maybe [ClusterSetting])+updateCluster_settings = Lens.lens (\UpdateCluster' {settings} -> settings) (\s@UpdateCluster' {} a -> s {settings = a} :: UpdateCluster) Prelude.. Lens.mapping Lens.coerced++-- | The name of the cluster to modify the settings for.+updateCluster_cluster :: Lens.Lens' UpdateCluster Prelude.Text+updateCluster_cluster = Lens.lens (\UpdateCluster' {cluster} -> cluster) (\s@UpdateCluster' {} a -> s {cluster = a} :: UpdateCluster)++instance Core.AWSRequest UpdateCluster where+ type+ AWSResponse UpdateCluster =+ UpdateClusterResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateClusterResponse'+ Prelude.<$> (x Data..?> "cluster")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateCluster where+ hashWithSalt _salt UpdateCluster' {..} =+ _salt+ `Prelude.hashWithSalt` configuration+ `Prelude.hashWithSalt` serviceConnectDefaults+ `Prelude.hashWithSalt` settings+ `Prelude.hashWithSalt` cluster++instance Prelude.NFData UpdateCluster where+ rnf UpdateCluster' {..} =+ Prelude.rnf configuration+ `Prelude.seq` Prelude.rnf serviceConnectDefaults+ `Prelude.seq` Prelude.rnf settings+ `Prelude.seq` Prelude.rnf cluster++instance Data.ToHeaders UpdateCluster where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.UpdateCluster" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateCluster where+ toJSON UpdateCluster' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("configuration" Data..=) Prelude.<$> configuration,+ ("serviceConnectDefaults" Data..=)+ Prelude.<$> serviceConnectDefaults,+ ("settings" Data..=) Prelude.<$> settings,+ Prelude.Just ("cluster" Data..= cluster)+ ]+ )++instance Data.ToPath UpdateCluster where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateCluster where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateClusterResponse' smart constructor.+data UpdateClusterResponse = UpdateClusterResponse'+ { -- | Details about the cluster.+ cluster :: Prelude.Maybe Cluster,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateClusterResponse' 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:+--+-- 'cluster', 'updateClusterResponse_cluster' - Details about the cluster.+--+-- 'httpStatus', 'updateClusterResponse_httpStatus' - The response's http status code.+newUpdateClusterResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateClusterResponse+newUpdateClusterResponse pHttpStatus_ =+ UpdateClusterResponse'+ { cluster = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Details about the cluster.+updateClusterResponse_cluster :: Lens.Lens' UpdateClusterResponse (Prelude.Maybe Cluster)+updateClusterResponse_cluster = Lens.lens (\UpdateClusterResponse' {cluster} -> cluster) (\s@UpdateClusterResponse' {} a -> s {cluster = a} :: UpdateClusterResponse)++-- | The response's http status code.+updateClusterResponse_httpStatus :: Lens.Lens' UpdateClusterResponse Prelude.Int+updateClusterResponse_httpStatus = Lens.lens (\UpdateClusterResponse' {httpStatus} -> httpStatus) (\s@UpdateClusterResponse' {} a -> s {httpStatus = a} :: UpdateClusterResponse)++instance Prelude.NFData UpdateClusterResponse where+ rnf UpdateClusterResponse' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/UpdateClusterSettings.hs view
@@ -0,0 +1,216 @@+{-# 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.ECS.UpdateClusterSettings+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies the settings to use for a cluster.+module Amazonka.ECS.UpdateClusterSettings+ ( -- * Creating a Request+ UpdateClusterSettings (..),+ newUpdateClusterSettings,++ -- * Request Lenses+ updateClusterSettings_cluster,+ updateClusterSettings_settings,++ -- * Destructuring the Response+ UpdateClusterSettingsResponse (..),+ newUpdateClusterSettingsResponse,++ -- * Response Lenses+ updateClusterSettingsResponse_cluster,+ updateClusterSettingsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateClusterSettings' smart constructor.+data UpdateClusterSettings = UpdateClusterSettings'+ { -- | The name of the cluster to modify the settings for.+ cluster :: Prelude.Text,+ -- | The setting to use by default for a cluster. This parameter is used to+ -- turn on CloudWatch Container Insights for a cluster. If this value is+ -- specified, it overrides the @containerInsights@ value set with+ -- PutAccountSetting or PutAccountSettingDefault.+ --+ -- Currently, if you delete an existing cluster that does not have+ -- Container Insights turned on, and then create a new cluster with the+ -- same name with Container Insights tuned on, Container Insights will not+ -- actually be turned on. If you want to preserve the same name for your+ -- existing cluster and turn on Container Insights, you must wait 7 days+ -- before you can re-create it.+ settings :: [ClusterSetting]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateClusterSettings' 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:+--+-- 'cluster', 'updateClusterSettings_cluster' - The name of the cluster to modify the settings for.+--+-- 'settings', 'updateClusterSettings_settings' - The setting to use by default for a cluster. This parameter is used to+-- turn on CloudWatch Container Insights for a cluster. If this value is+-- specified, it overrides the @containerInsights@ value set with+-- PutAccountSetting or PutAccountSettingDefault.+--+-- Currently, if you delete an existing cluster that does not have+-- Container Insights turned on, and then create a new cluster with the+-- same name with Container Insights tuned on, Container Insights will not+-- actually be turned on. If you want to preserve the same name for your+-- existing cluster and turn on Container Insights, you must wait 7 days+-- before you can re-create it.+newUpdateClusterSettings ::+ -- | 'cluster'+ Prelude.Text ->+ UpdateClusterSettings+newUpdateClusterSettings pCluster_ =+ UpdateClusterSettings'+ { cluster = pCluster_,+ settings = Prelude.mempty+ }++-- | The name of the cluster to modify the settings for.+updateClusterSettings_cluster :: Lens.Lens' UpdateClusterSettings Prelude.Text+updateClusterSettings_cluster = Lens.lens (\UpdateClusterSettings' {cluster} -> cluster) (\s@UpdateClusterSettings' {} a -> s {cluster = a} :: UpdateClusterSettings)++-- | The setting to use by default for a cluster. This parameter is used to+-- turn on CloudWatch Container Insights for a cluster. If this value is+-- specified, it overrides the @containerInsights@ value set with+-- PutAccountSetting or PutAccountSettingDefault.+--+-- Currently, if you delete an existing cluster that does not have+-- Container Insights turned on, and then create a new cluster with the+-- same name with Container Insights tuned on, Container Insights will not+-- actually be turned on. If you want to preserve the same name for your+-- existing cluster and turn on Container Insights, you must wait 7 days+-- before you can re-create it.+updateClusterSettings_settings :: Lens.Lens' UpdateClusterSettings [ClusterSetting]+updateClusterSettings_settings = Lens.lens (\UpdateClusterSettings' {settings} -> settings) (\s@UpdateClusterSettings' {} a -> s {settings = a} :: UpdateClusterSettings) Prelude.. Lens.coerced++instance Core.AWSRequest UpdateClusterSettings where+ type+ AWSResponse UpdateClusterSettings =+ UpdateClusterSettingsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateClusterSettingsResponse'+ Prelude.<$> (x Data..?> "cluster")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateClusterSettings where+ hashWithSalt _salt UpdateClusterSettings' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` settings++instance Prelude.NFData UpdateClusterSettings where+ rnf UpdateClusterSettings' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf settings++instance Data.ToHeaders UpdateClusterSettings where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.UpdateClusterSettings" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateClusterSettings where+ toJSON UpdateClusterSettings' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("cluster" Data..= cluster),+ Prelude.Just ("settings" Data..= settings)+ ]+ )++instance Data.ToPath UpdateClusterSettings where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateClusterSettings where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateClusterSettingsResponse' smart constructor.+data UpdateClusterSettingsResponse = UpdateClusterSettingsResponse'+ { -- | Details about the cluster+ cluster :: Prelude.Maybe Cluster,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateClusterSettingsResponse' 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:+--+-- 'cluster', 'updateClusterSettingsResponse_cluster' - Details about the cluster+--+-- 'httpStatus', 'updateClusterSettingsResponse_httpStatus' - The response's http status code.+newUpdateClusterSettingsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateClusterSettingsResponse+newUpdateClusterSettingsResponse pHttpStatus_ =+ UpdateClusterSettingsResponse'+ { cluster =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Details about the cluster+updateClusterSettingsResponse_cluster :: Lens.Lens' UpdateClusterSettingsResponse (Prelude.Maybe Cluster)+updateClusterSettingsResponse_cluster = Lens.lens (\UpdateClusterSettingsResponse' {cluster} -> cluster) (\s@UpdateClusterSettingsResponse' {} a -> s {cluster = a} :: UpdateClusterSettingsResponse)++-- | The response's http status code.+updateClusterSettingsResponse_httpStatus :: Lens.Lens' UpdateClusterSettingsResponse Prelude.Int+updateClusterSettingsResponse_httpStatus = Lens.lens (\UpdateClusterSettingsResponse' {httpStatus} -> httpStatus) (\s@UpdateClusterSettingsResponse' {} a -> s {httpStatus = a} :: UpdateClusterSettingsResponse)++instance Prelude.NFData UpdateClusterSettingsResponse where+ rnf UpdateClusterSettingsResponse' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/UpdateContainerAgent.hs view
@@ -0,0 +1,220 @@+{-# 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.ECS.UpdateContainerAgent+-- 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 the Amazon ECS container agent on a specified container+-- instance. Updating the Amazon ECS container agent doesn\'t interrupt+-- running tasks or services on the container instance. The process for+-- updating the agent differs depending on whether your container instance+-- was launched with the Amazon ECS-optimized AMI or another operating+-- system.+--+-- The @UpdateContainerAgent@ API isn\'t supported for container instances+-- using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the+-- container agent, you can update the @ecs-init@ package. This updates the+-- agent. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/agent-update-ecs-ami.html Updating the Amazon ECS container agent>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- Agent updates with the @UpdateContainerAgent@ API operation do not apply+-- to Windows container instances. We recommend that you launch new+-- container instances to update the agent version in your Windows+-- clusters.+--+-- The @UpdateContainerAgent@ API requires an Amazon ECS-optimized AMI or+-- Amazon Linux AMI with the @ecs-init@ service installed and running. For+-- help updating the Amazon ECS container agent on other operating systems,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent Manually updating the Amazon ECS container agent>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.UpdateContainerAgent+ ( -- * Creating a Request+ UpdateContainerAgent (..),+ newUpdateContainerAgent,++ -- * Request Lenses+ updateContainerAgent_cluster,+ updateContainerAgent_containerInstance,++ -- * Destructuring the Response+ UpdateContainerAgentResponse (..),+ newUpdateContainerAgentResponse,++ -- * Response Lenses+ updateContainerAgentResponse_containerInstance,+ updateContainerAgentResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateContainerAgent' smart constructor.+data UpdateContainerAgent = UpdateContainerAgent'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- your container instance is running on. If you do not specify a cluster,+ -- the default cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | The container instance ID or full ARN entries for the container instance+ -- where you would like to update the Amazon ECS container agent.+ containerInstance :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateContainerAgent' 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:+--+-- 'cluster', 'updateContainerAgent_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- your container instance is running on. If you do not specify a cluster,+-- the default cluster is assumed.+--+-- 'containerInstance', 'updateContainerAgent_containerInstance' - The container instance ID or full ARN entries for the container instance+-- where you would like to update the Amazon ECS container agent.+newUpdateContainerAgent ::+ -- | 'containerInstance'+ Prelude.Text ->+ UpdateContainerAgent+newUpdateContainerAgent pContainerInstance_ =+ UpdateContainerAgent'+ { cluster = Prelude.Nothing,+ containerInstance = pContainerInstance_+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- your container instance is running on. If you do not specify a cluster,+-- the default cluster is assumed.+updateContainerAgent_cluster :: Lens.Lens' UpdateContainerAgent (Prelude.Maybe Prelude.Text)+updateContainerAgent_cluster = Lens.lens (\UpdateContainerAgent' {cluster} -> cluster) (\s@UpdateContainerAgent' {} a -> s {cluster = a} :: UpdateContainerAgent)++-- | The container instance ID or full ARN entries for the container instance+-- where you would like to update the Amazon ECS container agent.+updateContainerAgent_containerInstance :: Lens.Lens' UpdateContainerAgent Prelude.Text+updateContainerAgent_containerInstance = Lens.lens (\UpdateContainerAgent' {containerInstance} -> containerInstance) (\s@UpdateContainerAgent' {} a -> s {containerInstance = a} :: UpdateContainerAgent)++instance Core.AWSRequest UpdateContainerAgent where+ type+ AWSResponse UpdateContainerAgent =+ UpdateContainerAgentResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateContainerAgentResponse'+ Prelude.<$> (x Data..?> "containerInstance")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateContainerAgent where+ hashWithSalt _salt UpdateContainerAgent' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` containerInstance++instance Prelude.NFData UpdateContainerAgent where+ rnf UpdateContainerAgent' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf containerInstance++instance Data.ToHeaders UpdateContainerAgent where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.UpdateContainerAgent" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateContainerAgent where+ toJSON UpdateContainerAgent' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ Prelude.Just+ ("containerInstance" Data..= containerInstance)+ ]+ )++instance Data.ToPath UpdateContainerAgent where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateContainerAgent where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateContainerAgentResponse' smart constructor.+data UpdateContainerAgentResponse = UpdateContainerAgentResponse'+ { -- | The container instance that the container agent was updated for.+ containerInstance :: Prelude.Maybe ContainerInstance,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateContainerAgentResponse' 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:+--+-- 'containerInstance', 'updateContainerAgentResponse_containerInstance' - The container instance that the container agent was updated for.+--+-- 'httpStatus', 'updateContainerAgentResponse_httpStatus' - The response's http status code.+newUpdateContainerAgentResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateContainerAgentResponse+newUpdateContainerAgentResponse pHttpStatus_ =+ UpdateContainerAgentResponse'+ { containerInstance =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The container instance that the container agent was updated for.+updateContainerAgentResponse_containerInstance :: Lens.Lens' UpdateContainerAgentResponse (Prelude.Maybe ContainerInstance)+updateContainerAgentResponse_containerInstance = Lens.lens (\UpdateContainerAgentResponse' {containerInstance} -> containerInstance) (\s@UpdateContainerAgentResponse' {} a -> s {containerInstance = a} :: UpdateContainerAgentResponse)++-- | The response's http status code.+updateContainerAgentResponse_httpStatus :: Lens.Lens' UpdateContainerAgentResponse Prelude.Int+updateContainerAgentResponse_httpStatus = Lens.lens (\UpdateContainerAgentResponse' {httpStatus} -> httpStatus) (\s@UpdateContainerAgentResponse' {} a -> s {httpStatus = a} :: UpdateContainerAgentResponse)++instance Prelude.NFData UpdateContainerAgentResponse where+ rnf UpdateContainerAgentResponse' {..} =+ Prelude.rnf containerInstance+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/UpdateContainerInstancesState.hs view
@@ -0,0 +1,298 @@+{-# 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.ECS.UpdateContainerInstancesState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies the status of an Amazon ECS container instance.+--+-- Once a container instance has reached an @ACTIVE@ state, you can change+-- the status of a container instance to @DRAINING@ to manually remove an+-- instance from a cluster, for example to perform system updates, update+-- the Docker daemon, or scale down the cluster size.+--+-- A container instance can\'t be changed to @DRAINING@ until it has+-- reached an @ACTIVE@ status. If the instance is in any other status, an+-- error will be received.+--+-- When you set a container instance to @DRAINING@, Amazon ECS prevents new+-- tasks from being scheduled for placement on the container instance and+-- replacement service tasks are started on other container instances in+-- the cluster if the resources are available. Service tasks on the+-- container instance that are in the @PENDING@ state are stopped+-- immediately.+--+-- Service tasks on the container instance that are in the @RUNNING@ state+-- are stopped and replaced according to the service\'s deployment+-- configuration parameters, @minimumHealthyPercent@ and @maximumPercent@.+-- You can change the deployment configuration of your service using+-- UpdateService.+--+-- - If @minimumHealthyPercent@ is below 100%, the scheduler can ignore+-- @desiredCount@ temporarily during task replacement. For example,+-- @desiredCount@ is four tasks, a minimum of 50% allows the scheduler+-- to stop two existing tasks before starting two new tasks. If the+-- minimum is 100%, the service scheduler can\'t remove existing tasks+-- until the replacement tasks are considered healthy. Tasks for+-- services that do not use a load balancer are considered healthy if+-- they\'re in the @RUNNING@ state. Tasks for services that use a load+-- balancer are considered healthy if they\'re in the @RUNNING@ state+-- and are reported as healthy by the load balancer.+--+-- - The @maximumPercent@ parameter represents an upper limit on the+-- number of running tasks during task replacement. You can use this to+-- define the replacement batch size. For example, if @desiredCount@ is+-- four tasks, a maximum of 200% starts four new tasks before stopping+-- the four tasks to be drained, provided that the cluster resources+-- required to do this are available. If the maximum is 100%, then+-- replacement tasks can\'t start until the draining tasks have+-- stopped.+--+-- Any @PENDING@ or @RUNNING@ tasks that do not belong to a service aren\'t+-- affected. You must wait for them to finish or stop them manually.+--+-- A container instance has completed draining when it has no more+-- @RUNNING@ tasks. You can verify this using ListTasks.+--+-- When a container instance has been drained, you can set a container+-- instance to @ACTIVE@ status and once it has reached that status the+-- Amazon ECS scheduler can begin scheduling tasks on the instance again.+module Amazonka.ECS.UpdateContainerInstancesState+ ( -- * Creating a Request+ UpdateContainerInstancesState (..),+ newUpdateContainerInstancesState,++ -- * Request Lenses+ updateContainerInstancesState_cluster,+ updateContainerInstancesState_containerInstances,+ updateContainerInstancesState_status,++ -- * Destructuring the Response+ UpdateContainerInstancesStateResponse (..),+ newUpdateContainerInstancesStateResponse,++ -- * Response Lenses+ updateContainerInstancesStateResponse_containerInstances,+ updateContainerInstancesStateResponse_failures,+ updateContainerInstancesStateResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateContainerInstancesState' smart constructor.+data UpdateContainerInstancesState = UpdateContainerInstancesState'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the container instance to update. If you do not specify a cluster,+ -- the default cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | A list of up to 10 container instance IDs or full ARN entries.+ containerInstances :: [Prelude.Text],+ -- | The container instance state to update the container instance with. The+ -- only valid values for this action are @ACTIVE@ and @DRAINING@. A+ -- container instance can only be updated to @DRAINING@ status once it has+ -- reached an @ACTIVE@ state. If a container instance is in @REGISTERING@,+ -- @DEREGISTERING@, or @REGISTRATION_FAILED@ state you can describe the+ -- container instance but can\'t update the container instance state.+ status :: ContainerInstanceStatus+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateContainerInstancesState' 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:+--+-- 'cluster', 'updateContainerInstancesState_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the container instance to update. If you do not specify a cluster,+-- the default cluster is assumed.+--+-- 'containerInstances', 'updateContainerInstancesState_containerInstances' - A list of up to 10 container instance IDs or full ARN entries.+--+-- 'status', 'updateContainerInstancesState_status' - The container instance state to update the container instance with. The+-- only valid values for this action are @ACTIVE@ and @DRAINING@. A+-- container instance can only be updated to @DRAINING@ status once it has+-- reached an @ACTIVE@ state. If a container instance is in @REGISTERING@,+-- @DEREGISTERING@, or @REGISTRATION_FAILED@ state you can describe the+-- container instance but can\'t update the container instance state.+newUpdateContainerInstancesState ::+ -- | 'status'+ ContainerInstanceStatus ->+ UpdateContainerInstancesState+newUpdateContainerInstancesState pStatus_ =+ UpdateContainerInstancesState'+ { cluster =+ Prelude.Nothing,+ containerInstances = Prelude.mempty,+ status = pStatus_+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the container instance to update. If you do not specify a cluster,+-- the default cluster is assumed.+updateContainerInstancesState_cluster :: Lens.Lens' UpdateContainerInstancesState (Prelude.Maybe Prelude.Text)+updateContainerInstancesState_cluster = Lens.lens (\UpdateContainerInstancesState' {cluster} -> cluster) (\s@UpdateContainerInstancesState' {} a -> s {cluster = a} :: UpdateContainerInstancesState)++-- | A list of up to 10 container instance IDs or full ARN entries.+updateContainerInstancesState_containerInstances :: Lens.Lens' UpdateContainerInstancesState [Prelude.Text]+updateContainerInstancesState_containerInstances = Lens.lens (\UpdateContainerInstancesState' {containerInstances} -> containerInstances) (\s@UpdateContainerInstancesState' {} a -> s {containerInstances = a} :: UpdateContainerInstancesState) Prelude.. Lens.coerced++-- | The container instance state to update the container instance with. The+-- only valid values for this action are @ACTIVE@ and @DRAINING@. A+-- container instance can only be updated to @DRAINING@ status once it has+-- reached an @ACTIVE@ state. If a container instance is in @REGISTERING@,+-- @DEREGISTERING@, or @REGISTRATION_FAILED@ state you can describe the+-- container instance but can\'t update the container instance state.+updateContainerInstancesState_status :: Lens.Lens' UpdateContainerInstancesState ContainerInstanceStatus+updateContainerInstancesState_status = Lens.lens (\UpdateContainerInstancesState' {status} -> status) (\s@UpdateContainerInstancesState' {} a -> s {status = a} :: UpdateContainerInstancesState)++instance+ Core.AWSRequest+ UpdateContainerInstancesState+ where+ type+ AWSResponse UpdateContainerInstancesState =+ UpdateContainerInstancesStateResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateContainerInstancesStateResponse'+ Prelude.<$> ( x+ Data..?> "containerInstances"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "failures" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ UpdateContainerInstancesState+ where+ hashWithSalt _salt UpdateContainerInstancesState' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` containerInstances+ `Prelude.hashWithSalt` status++instance Prelude.NFData UpdateContainerInstancesState where+ rnf UpdateContainerInstancesState' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf containerInstances+ `Prelude.seq` Prelude.rnf status++instance Data.ToHeaders UpdateContainerInstancesState where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.UpdateContainerInstancesState" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateContainerInstancesState where+ toJSON UpdateContainerInstancesState' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("cluster" Data..=) Prelude.<$> cluster,+ Prelude.Just+ ("containerInstances" Data..= containerInstances),+ Prelude.Just ("status" Data..= status)+ ]+ )++instance Data.ToPath UpdateContainerInstancesState where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateContainerInstancesState where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateContainerInstancesStateResponse' smart constructor.+data UpdateContainerInstancesStateResponse = UpdateContainerInstancesStateResponse'+ { -- | The list of container instances.+ containerInstances :: Prelude.Maybe [ContainerInstance],+ -- | Any failures associated with the call.+ failures :: Prelude.Maybe [Failure],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateContainerInstancesStateResponse' 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:+--+-- 'containerInstances', 'updateContainerInstancesStateResponse_containerInstances' - The list of container instances.+--+-- 'failures', 'updateContainerInstancesStateResponse_failures' - Any failures associated with the call.+--+-- 'httpStatus', 'updateContainerInstancesStateResponse_httpStatus' - The response's http status code.+newUpdateContainerInstancesStateResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateContainerInstancesStateResponse+newUpdateContainerInstancesStateResponse pHttpStatus_ =+ UpdateContainerInstancesStateResponse'+ { containerInstances =+ Prelude.Nothing,+ failures = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of container instances.+updateContainerInstancesStateResponse_containerInstances :: Lens.Lens' UpdateContainerInstancesStateResponse (Prelude.Maybe [ContainerInstance])+updateContainerInstancesStateResponse_containerInstances = Lens.lens (\UpdateContainerInstancesStateResponse' {containerInstances} -> containerInstances) (\s@UpdateContainerInstancesStateResponse' {} a -> s {containerInstances = a} :: UpdateContainerInstancesStateResponse) Prelude.. Lens.mapping Lens.coerced++-- | Any failures associated with the call.+updateContainerInstancesStateResponse_failures :: Lens.Lens' UpdateContainerInstancesStateResponse (Prelude.Maybe [Failure])+updateContainerInstancesStateResponse_failures = Lens.lens (\UpdateContainerInstancesStateResponse' {failures} -> failures) (\s@UpdateContainerInstancesStateResponse' {} a -> s {failures = a} :: UpdateContainerInstancesStateResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+updateContainerInstancesStateResponse_httpStatus :: Lens.Lens' UpdateContainerInstancesStateResponse Prelude.Int+updateContainerInstancesStateResponse_httpStatus = Lens.lens (\UpdateContainerInstancesStateResponse' {httpStatus} -> httpStatus) (\s@UpdateContainerInstancesStateResponse' {} a -> s {httpStatus = a} :: UpdateContainerInstancesStateResponse)++instance+ Prelude.NFData+ UpdateContainerInstancesStateResponse+ where+ rnf UpdateContainerInstancesStateResponse' {..} =+ Prelude.rnf containerInstances+ `Prelude.seq` Prelude.rnf failures+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/UpdateService.hs view
@@ -0,0 +1,938 @@+{-# 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.ECS.UpdateService+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies the parameters of a service.+--+-- For services using the rolling update (@ECS@) you can update the desired+-- count, deployment configuration, network configuration, load balancers,+-- service registries, enable ECS managed tags option, propagate tags+-- option, task placement constraints and strategies, and task definition.+-- When you update any of these parameters, Amazon ECS starts new tasks+-- with the new configuration.+--+-- For services using the blue\/green (@CODE_DEPLOY@) deployment+-- controller, only the desired count, deployment configuration, health+-- check grace period, task placement constraints and strategies, enable+-- ECS managed tags option, and propagate tags can be updated using this+-- API. If the network configuration, platform version, task definition, or+-- load balancer need to be updated, create a new CodeDeploy deployment.+-- For more information, see+-- <https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html CreateDeployment>+-- in the /CodeDeploy API Reference/.+--+-- For services using an external deployment controller, you can update+-- only the desired count, task placement constraints and strategies,+-- health check grace period, enable ECS managed tags option, and propagate+-- tags option, using this API. If the launch type, load balancer, network+-- configuration, platform version, or task definition need to be updated,+-- create a new task set For more information, see CreateTaskSet.+--+-- You can add to or subtract from the number of instantiations of a task+-- definition in a service by specifying the cluster that the service is+-- running in and a new @desiredCount@ parameter.+--+-- If you have updated the Docker image of your application, you can create+-- a new task definition with that image and deploy it to your service. The+-- service scheduler uses the minimum healthy percent and maximum percent+-- parameters (in the service\'s deployment configuration) to determine the+-- deployment strategy.+--+-- If your updated Docker image uses the same tag as what is in the+-- existing task definition for your service (for example,+-- @my_image:latest@), you don\'t need to create a new revision of your+-- task definition. You can update the service using the+-- @forceNewDeployment@ option. The new tasks launched by the deployment+-- pull the current image\/tag combination from your repository when they+-- start.+--+-- You can also update the deployment configuration of a service. When a+-- deployment is triggered by updating the task definition of a service,+-- the service scheduler uses the deployment configuration parameters,+-- @minimumHealthyPercent@ and @maximumPercent@, to determine the+-- deployment strategy.+--+-- - If @minimumHealthyPercent@ is below 100%, the scheduler can ignore+-- @desiredCount@ temporarily during a deployment. For example, if+-- @desiredCount@ is four tasks, a minimum of 50% allows the scheduler+-- to stop two existing tasks before starting two new tasks. Tasks for+-- services that don\'t use a load balancer are considered healthy if+-- they\'re in the @RUNNING@ state. Tasks for services that use a load+-- balancer are considered healthy if they\'re in the @RUNNING@ state+-- and are reported as healthy by the load balancer.+--+-- - The @maximumPercent@ parameter represents an upper limit on the+-- number of running tasks during a deployment. You can use it to+-- define the deployment batch size. For example, if @desiredCount@ is+-- four tasks, a maximum of 200% starts four new tasks before stopping+-- the four older tasks (provided that the cluster resources required+-- to do this are available).+--+-- When UpdateService stops a task during a deployment, the equivalent of+-- @docker stop@ is issued to the containers running in the task. This+-- results in a @SIGTERM@ and a 30-second timeout. After this, @SIGKILL@ is+-- sent and the containers are forcibly stopped. If the container handles+-- the @SIGTERM@ gracefully and exits within 30 seconds from receiving it,+-- no @SIGKILL@ is sent.+--+-- When the service scheduler launches new tasks, it determines task+-- placement in your cluster with the following logic.+--+-- - Determine which of the container instances in your cluster can+-- support your service\'s task definition. For example, they have the+-- required CPU, memory, ports, and container instance attributes.+--+-- - By default, the service scheduler attempts to balance tasks across+-- Availability Zones in this manner even though you can choose a+-- different placement strategy.+--+-- - Sort the valid container instances by the fewest number of+-- running tasks for this service in the same Availability Zone as+-- the instance. For example, if zone A has one running service+-- task and zones B and C each have zero, valid container instances+-- in either zone B or C are considered optimal for placement.+--+-- - Place the new service task on a valid container instance in an+-- optimal Availability Zone (based on the previous steps),+-- favoring container instances with the fewest number of running+-- tasks for this service.+--+-- When the service scheduler stops running tasks, it attempts to maintain+-- balance across the Availability Zones in your cluster using the+-- following logic:+--+-- - Sort the container instances by the largest number of running tasks+-- for this service in the same Availability Zone as the instance. For+-- example, if zone A has one running service task and zones B and C+-- each have two, container instances in either zone B or C are+-- considered optimal for termination.+--+-- - Stop the task on a container instance in an optimal Availability+-- Zone (based on the previous steps), favoring container instances+-- with the largest number of running tasks for this service.+--+-- You must have a service-linked role when you update any of the following+-- service properties. If you specified a custom IAM role when you created+-- the service, Amazon ECS automatically replaces the+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn roleARN>+-- associated with the service with the ARN of your service-linked role.+-- For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html Service-linked roles>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- - @loadBalancers,@+--+-- - @serviceRegistries@+module Amazonka.ECS.UpdateService+ ( -- * Creating a Request+ UpdateService (..),+ newUpdateService,++ -- * Request Lenses+ updateService_capacityProviderStrategy,+ updateService_cluster,+ updateService_deploymentConfiguration,+ updateService_desiredCount,+ updateService_enableECSManagedTags,+ updateService_enableExecuteCommand,+ updateService_forceNewDeployment,+ updateService_healthCheckGracePeriodSeconds,+ updateService_loadBalancers,+ updateService_networkConfiguration,+ updateService_placementConstraints,+ updateService_placementStrategy,+ updateService_platformVersion,+ updateService_propagateTags,+ updateService_serviceConnectConfiguration,+ updateService_serviceRegistries,+ updateService_taskDefinition,+ updateService_service,++ -- * Destructuring the Response+ UpdateServiceResponse (..),+ newUpdateServiceResponse,++ -- * Response Lenses+ updateServiceResponse_service,+ updateServiceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateService' smart constructor.+data UpdateService = UpdateService'+ { -- | The capacity provider strategy to update the service to use.+ --+ -- if the service uses the default capacity provider strategy for the+ -- cluster, the service can be updated to use one or more capacity+ -- providers as opposed to the default capacity provider strategy. However,+ -- when a service is using a capacity provider strategy that\'s not the+ -- default capacity provider strategy, the service can\'t be updated to use+ -- the cluster\'s default capacity provider strategy.+ --+ -- A capacity provider strategy consists of one or more capacity providers+ -- along with the @base@ and @weight@ to assign to them. A capacity+ -- provider must be associated with the cluster to be used in a capacity+ -- provider strategy. The PutClusterCapacityProviders API is used to+ -- associate a capacity provider with a cluster. Only capacity providers+ -- with an @ACTIVE@ or @UPDATING@ status can be used.+ --+ -- If specifying a capacity provider that uses an Auto Scaling group, the+ -- capacity provider must already be created. New capacity providers can be+ -- created with the CreateCapacityProvider API operation.+ --+ -- To use a Fargate capacity provider, specify either the @FARGATE@ or+ -- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+ -- available to all accounts and only need to be associated with a cluster+ -- to be used.+ --+ -- The PutClusterCapacityProviders API operation is used to update the list+ -- of available capacity providers for a cluster after the cluster is+ -- created.+ capacityProviderStrategy :: Prelude.Maybe [CapacityProviderStrategyItem],+ -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- your service runs on. If you do not specify a cluster, the default+ -- cluster is assumed.+ cluster :: Prelude.Maybe Prelude.Text,+ -- | Optional deployment parameters that control how many tasks run during+ -- the deployment and the ordering of stopping and starting tasks.+ deploymentConfiguration :: Prelude.Maybe DeploymentConfiguration,+ -- | The number of instantiations of the task to place and keep running in+ -- your service.+ desiredCount :: Prelude.Maybe Prelude.Int,+ -- | Determines whether to turn on Amazon ECS managed tags for the tasks in+ -- the service. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- Only tasks launched after the update will reflect the update. To update+ -- the tags on all tasks, set @forceNewDeployment@ to @true@, so that+ -- Amazon ECS starts new tasks with the updated tags.+ enableECSManagedTags :: Prelude.Maybe Prelude.Bool,+ -- | If @true@, this enables execute command functionality on all task+ -- containers.+ --+ -- If you do not want to override the value that was set when the service+ -- was created, you can set this to @null@ when performing this action.+ enableExecuteCommand :: Prelude.Maybe Prelude.Bool,+ -- | Determines whether to force a new deployment of the service. By default,+ -- deployments aren\'t forced. You can use this option to start a new+ -- deployment with no service definition changes. For example, you can+ -- update a service\'s tasks to use a newer Docker image with the same+ -- image\/tag combination (@my_image:latest@) or to roll Fargate tasks onto+ -- a newer platform version.+ forceNewDeployment :: Prelude.Maybe Prelude.Bool,+ -- | The period of time, in seconds, that the Amazon ECS service scheduler+ -- ignores unhealthy Elastic Load Balancing target health checks after a+ -- task has first started. This is only valid if your service is configured+ -- to use a load balancer. If your service\'s tasks take a while to start+ -- and respond to Elastic Load Balancing health checks, you can specify a+ -- health check grace period of up to 2,147,483,647 seconds. During that+ -- time, the Amazon ECS service scheduler ignores the Elastic Load+ -- Balancing health check status. This grace period can prevent the ECS+ -- service scheduler from marking tasks as unhealthy and stopping them+ -- before they have time to come up.+ healthCheckGracePeriodSeconds :: Prelude.Maybe Prelude.Int,+ -- | A list of Elastic Load Balancing load balancer objects. It contains the+ -- load balancer name, the container name, and the container port to access+ -- from the load balancer. The container name is as it appears in a+ -- container definition.+ --+ -- When you add, update, or remove a load balancer configuration, Amazon+ -- ECS starts new tasks with the updated Elastic Load Balancing+ -- configuration, and then stops the old tasks when the new tasks are+ -- running.+ --+ -- For services that use rolling updates, you can add, update, or remove+ -- Elastic Load Balancing target groups. You can update from a single+ -- target group to multiple target groups and from multiple target groups+ -- to a single target group.+ --+ -- For services that use blue\/green deployments, you can update Elastic+ -- Load Balancing target groups by using+ -- @ @<https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html CreateDeployment>@ @+ -- through CodeDeploy. Note that multiple target groups are not supported+ -- for blue\/green deployments. For more information see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html Register multiple target groups with a service>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- For services that use the external deployment controller, you can add,+ -- update, or remove load balancers by using+ -- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html CreateTaskSet>.+ -- Note that multiple target groups are not supported for external+ -- deployments. For more information see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html Register multiple target groups with a service>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ --+ -- You can remove existing @loadBalancers@ by passing an empty list.+ loadBalancers :: Prelude.Maybe [LoadBalancer],+ -- | An object representing the network configuration for the service.+ networkConfiguration :: Prelude.Maybe NetworkConfiguration,+ -- | An array of task placement constraint objects to update the service to+ -- use. If no value is specified, the existing placement constraints for+ -- the service will remain unchanged. If this value is specified, it will+ -- override any existing placement constraints defined for the service. To+ -- remove all existing placement constraints, specify an empty array.+ --+ -- You can specify a maximum of 10 constraints for each task. This limit+ -- includes constraints in the task definition and those specified at+ -- runtime.+ placementConstraints :: Prelude.Maybe [PlacementConstraint],+ -- | The task placement strategy objects to update the service to use. If no+ -- value is specified, the existing placement strategy for the service will+ -- remain unchanged. If this value is specified, it will override the+ -- existing placement strategy defined for the service. To remove an+ -- existing placement strategy, specify an empty object.+ --+ -- You can specify a maximum of five strategy rules for each service.+ placementStrategy :: Prelude.Maybe [PlacementStrategy],+ -- | The platform version that your tasks in the service run on. A platform+ -- version is only specified for tasks using the Fargate launch type. If a+ -- platform version is not specified, the @LATEST@ platform version is+ -- used. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ platformVersion :: Prelude.Maybe Prelude.Text,+ -- | Determines whether to propagate the tags from the task definition or the+ -- service to the task. If no value is specified, the tags aren\'t+ -- propagated.+ --+ -- Only tasks launched after the update will reflect the update. To update+ -- the tags on all tasks, set @forceNewDeployment@ to @true@, so that+ -- Amazon ECS starts new tasks with the updated tags.+ propagateTags :: Prelude.Maybe PropagateTags,+ -- | The configuration for this service to discover and connect to services,+ -- and be discovered by, and connected from, other services within a+ -- namespace.+ --+ -- Tasks that run in a namespace can use short names to connect to services+ -- in the namespace. Tasks can connect to services across all of the+ -- clusters in the namespace. Tasks connect through a managed proxy+ -- container that collects logs and metrics for increased visibility. Only+ -- the tasks that Amazon ECS services create are supported with Service+ -- Connect. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ serviceConnectConfiguration :: Prelude.Maybe ServiceConnectConfiguration,+ -- | The details for the service discovery registries to assign to this+ -- service. For more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service Discovery>.+ --+ -- When you add, update, or remove the service registries configuration,+ -- Amazon ECS starts new tasks with the updated service registries+ -- configuration, and then stops the old tasks when the new tasks are+ -- running.+ --+ -- You can remove existing @serviceRegistries@ by passing an empty list.+ serviceRegistries :: Prelude.Maybe [ServiceRegistry],+ -- | The @family@ and @revision@ (@family:revision@) or full ARN of the task+ -- definition to run in your service. If a @revision@ is not specified, the+ -- latest @ACTIVE@ revision is used. If you modify the task definition with+ -- @UpdateService@, Amazon ECS spawns a task with the new version of the+ -- task definition and then stops an old task after the new version is+ -- running.+ taskDefinition :: Prelude.Maybe Prelude.Text,+ -- | The name of the service to update.+ service :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateService' 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:+--+-- 'capacityProviderStrategy', 'updateService_capacityProviderStrategy' - The capacity provider strategy to update the service to use.+--+-- if the service uses the default capacity provider strategy for the+-- cluster, the service can be updated to use one or more capacity+-- providers as opposed to the default capacity provider strategy. However,+-- when a service is using a capacity provider strategy that\'s not the+-- default capacity provider strategy, the service can\'t be updated to use+-- the cluster\'s default capacity provider strategy.+--+-- A capacity provider strategy consists of one or more capacity providers+-- along with the @base@ and @weight@ to assign to them. A capacity+-- provider must be associated with the cluster to be used in a capacity+-- provider strategy. The PutClusterCapacityProviders API is used to+-- associate a capacity provider with a cluster. Only capacity providers+-- with an @ACTIVE@ or @UPDATING@ status can be used.+--+-- If specifying a capacity provider that uses an Auto Scaling group, the+-- capacity provider must already be created. New capacity providers can be+-- created with the CreateCapacityProvider API operation.+--+-- To use a Fargate capacity provider, specify either the @FARGATE@ or+-- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+-- available to all accounts and only need to be associated with a cluster+-- to be used.+--+-- The PutClusterCapacityProviders API operation is used to update the list+-- of available capacity providers for a cluster after the cluster is+-- created.+--+-- 'cluster', 'updateService_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- your service runs on. If you do not specify a cluster, the default+-- cluster is assumed.+--+-- 'deploymentConfiguration', 'updateService_deploymentConfiguration' - Optional deployment parameters that control how many tasks run during+-- the deployment and the ordering of stopping and starting tasks.+--+-- 'desiredCount', 'updateService_desiredCount' - The number of instantiations of the task to place and keep running in+-- your service.+--+-- 'enableECSManagedTags', 'updateService_enableECSManagedTags' - Determines whether to turn on Amazon ECS managed tags for the tasks in+-- the service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- Only tasks launched after the update will reflect the update. To update+-- the tags on all tasks, set @forceNewDeployment@ to @true@, so that+-- Amazon ECS starts new tasks with the updated tags.+--+-- 'enableExecuteCommand', 'updateService_enableExecuteCommand' - If @true@, this enables execute command functionality on all task+-- containers.+--+-- If you do not want to override the value that was set when the service+-- was created, you can set this to @null@ when performing this action.+--+-- 'forceNewDeployment', 'updateService_forceNewDeployment' - Determines whether to force a new deployment of the service. By default,+-- deployments aren\'t forced. You can use this option to start a new+-- deployment with no service definition changes. For example, you can+-- update a service\'s tasks to use a newer Docker image with the same+-- image\/tag combination (@my_image:latest@) or to roll Fargate tasks onto+-- a newer platform version.+--+-- 'healthCheckGracePeriodSeconds', 'updateService_healthCheckGracePeriodSeconds' - The period of time, in seconds, that the Amazon ECS service scheduler+-- ignores unhealthy Elastic Load Balancing target health checks after a+-- task has first started. This is only valid if your service is configured+-- to use a load balancer. If your service\'s tasks take a while to start+-- and respond to Elastic Load Balancing health checks, you can specify a+-- health check grace period of up to 2,147,483,647 seconds. During that+-- time, the Amazon ECS service scheduler ignores the Elastic Load+-- Balancing health check status. This grace period can prevent the ECS+-- service scheduler from marking tasks as unhealthy and stopping them+-- before they have time to come up.+--+-- 'loadBalancers', 'updateService_loadBalancers' - A list of Elastic Load Balancing load balancer objects. It contains the+-- load balancer name, the container name, and the container port to access+-- from the load balancer. The container name is as it appears in a+-- container definition.+--+-- When you add, update, or remove a load balancer configuration, Amazon+-- ECS starts new tasks with the updated Elastic Load Balancing+-- configuration, and then stops the old tasks when the new tasks are+-- running.+--+-- For services that use rolling updates, you can add, update, or remove+-- Elastic Load Balancing target groups. You can update from a single+-- target group to multiple target groups and from multiple target groups+-- to a single target group.+--+-- For services that use blue\/green deployments, you can update Elastic+-- Load Balancing target groups by using+-- @ @<https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html CreateDeployment>@ @+-- through CodeDeploy. Note that multiple target groups are not supported+-- for blue\/green deployments. For more information see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html Register multiple target groups with a service>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- For services that use the external deployment controller, you can add,+-- update, or remove load balancers by using+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html CreateTaskSet>.+-- Note that multiple target groups are not supported for external+-- deployments. For more information see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html Register multiple target groups with a service>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- You can remove existing @loadBalancers@ by passing an empty list.+--+-- 'networkConfiguration', 'updateService_networkConfiguration' - An object representing the network configuration for the service.+--+-- 'placementConstraints', 'updateService_placementConstraints' - An array of task placement constraint objects to update the service to+-- use. If no value is specified, the existing placement constraints for+-- the service will remain unchanged. If this value is specified, it will+-- override any existing placement constraints defined for the service. To+-- remove all existing placement constraints, specify an empty array.+--+-- You can specify a maximum of 10 constraints for each task. This limit+-- includes constraints in the task definition and those specified at+-- runtime.+--+-- 'placementStrategy', 'updateService_placementStrategy' - The task placement strategy objects to update the service to use. If no+-- value is specified, the existing placement strategy for the service will+-- remain unchanged. If this value is specified, it will override the+-- existing placement strategy defined for the service. To remove an+-- existing placement strategy, specify an empty object.+--+-- You can specify a maximum of five strategy rules for each service.+--+-- 'platformVersion', 'updateService_platformVersion' - The platform version that your tasks in the service run on. A platform+-- version is only specified for tasks using the Fargate launch type. If a+-- platform version is not specified, the @LATEST@ platform version is+-- used. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'propagateTags', 'updateService_propagateTags' - Determines whether to propagate the tags from the task definition or the+-- service to the task. If no value is specified, the tags aren\'t+-- propagated.+--+-- Only tasks launched after the update will reflect the update. To update+-- the tags on all tasks, set @forceNewDeployment@ to @true@, so that+-- Amazon ECS starts new tasks with the updated tags.+--+-- 'serviceConnectConfiguration', 'updateService_serviceConnectConfiguration' - The configuration for this service to discover and connect to services,+-- and be discovered by, and connected from, other services within a+-- namespace.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'serviceRegistries', 'updateService_serviceRegistries' - The details for the service discovery registries to assign to this+-- service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service Discovery>.+--+-- When you add, update, or remove the service registries configuration,+-- Amazon ECS starts new tasks with the updated service registries+-- configuration, and then stops the old tasks when the new tasks are+-- running.+--+-- You can remove existing @serviceRegistries@ by passing an empty list.+--+-- 'taskDefinition', 'updateService_taskDefinition' - The @family@ and @revision@ (@family:revision@) or full ARN of the task+-- definition to run in your service. If a @revision@ is not specified, the+-- latest @ACTIVE@ revision is used. If you modify the task definition with+-- @UpdateService@, Amazon ECS spawns a task with the new version of the+-- task definition and then stops an old task after the new version is+-- running.+--+-- 'service', 'updateService_service' - The name of the service to update.+newUpdateService ::+ -- | 'service'+ Prelude.Text ->+ UpdateService+newUpdateService pService_ =+ UpdateService'+ { capacityProviderStrategy =+ Prelude.Nothing,+ cluster = Prelude.Nothing,+ deploymentConfiguration = Prelude.Nothing,+ desiredCount = Prelude.Nothing,+ enableECSManagedTags = Prelude.Nothing,+ enableExecuteCommand = Prelude.Nothing,+ forceNewDeployment = Prelude.Nothing,+ healthCheckGracePeriodSeconds = Prelude.Nothing,+ loadBalancers = Prelude.Nothing,+ networkConfiguration = Prelude.Nothing,+ placementConstraints = Prelude.Nothing,+ placementStrategy = Prelude.Nothing,+ platformVersion = Prelude.Nothing,+ propagateTags = Prelude.Nothing,+ serviceConnectConfiguration = Prelude.Nothing,+ serviceRegistries = Prelude.Nothing,+ taskDefinition = Prelude.Nothing,+ service = pService_+ }++-- | The capacity provider strategy to update the service to use.+--+-- if the service uses the default capacity provider strategy for the+-- cluster, the service can be updated to use one or more capacity+-- providers as opposed to the default capacity provider strategy. However,+-- when a service is using a capacity provider strategy that\'s not the+-- default capacity provider strategy, the service can\'t be updated to use+-- the cluster\'s default capacity provider strategy.+--+-- A capacity provider strategy consists of one or more capacity providers+-- along with the @base@ and @weight@ to assign to them. A capacity+-- provider must be associated with the cluster to be used in a capacity+-- provider strategy. The PutClusterCapacityProviders API is used to+-- associate a capacity provider with a cluster. Only capacity providers+-- with an @ACTIVE@ or @UPDATING@ status can be used.+--+-- If specifying a capacity provider that uses an Auto Scaling group, the+-- capacity provider must already be created. New capacity providers can be+-- created with the CreateCapacityProvider API operation.+--+-- To use a Fargate capacity provider, specify either the @FARGATE@ or+-- @FARGATE_SPOT@ capacity providers. The Fargate capacity providers are+-- available to all accounts and only need to be associated with a cluster+-- to be used.+--+-- The PutClusterCapacityProviders API operation is used to update the list+-- of available capacity providers for a cluster after the cluster is+-- created.+updateService_capacityProviderStrategy :: Lens.Lens' UpdateService (Prelude.Maybe [CapacityProviderStrategyItem])+updateService_capacityProviderStrategy = Lens.lens (\UpdateService' {capacityProviderStrategy} -> capacityProviderStrategy) (\s@UpdateService' {} a -> s {capacityProviderStrategy = a} :: UpdateService) Prelude.. Lens.mapping Lens.coerced++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- your service runs on. If you do not specify a cluster, the default+-- cluster is assumed.+updateService_cluster :: Lens.Lens' UpdateService (Prelude.Maybe Prelude.Text)+updateService_cluster = Lens.lens (\UpdateService' {cluster} -> cluster) (\s@UpdateService' {} a -> s {cluster = a} :: UpdateService)++-- | Optional deployment parameters that control how many tasks run during+-- the deployment and the ordering of stopping and starting tasks.+updateService_deploymentConfiguration :: Lens.Lens' UpdateService (Prelude.Maybe DeploymentConfiguration)+updateService_deploymentConfiguration = Lens.lens (\UpdateService' {deploymentConfiguration} -> deploymentConfiguration) (\s@UpdateService' {} a -> s {deploymentConfiguration = a} :: UpdateService)++-- | The number of instantiations of the task to place and keep running in+-- your service.+updateService_desiredCount :: Lens.Lens' UpdateService (Prelude.Maybe Prelude.Int)+updateService_desiredCount = Lens.lens (\UpdateService' {desiredCount} -> desiredCount) (\s@UpdateService' {} a -> s {desiredCount = a} :: UpdateService)++-- | Determines whether to turn on Amazon ECS managed tags for the tasks in+-- the service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- Only tasks launched after the update will reflect the update. To update+-- the tags on all tasks, set @forceNewDeployment@ to @true@, so that+-- Amazon ECS starts new tasks with the updated tags.+updateService_enableECSManagedTags :: Lens.Lens' UpdateService (Prelude.Maybe Prelude.Bool)+updateService_enableECSManagedTags = Lens.lens (\UpdateService' {enableECSManagedTags} -> enableECSManagedTags) (\s@UpdateService' {} a -> s {enableECSManagedTags = a} :: UpdateService)++-- | If @true@, this enables execute command functionality on all task+-- containers.+--+-- If you do not want to override the value that was set when the service+-- was created, you can set this to @null@ when performing this action.+updateService_enableExecuteCommand :: Lens.Lens' UpdateService (Prelude.Maybe Prelude.Bool)+updateService_enableExecuteCommand = Lens.lens (\UpdateService' {enableExecuteCommand} -> enableExecuteCommand) (\s@UpdateService' {} a -> s {enableExecuteCommand = a} :: UpdateService)++-- | Determines whether to force a new deployment of the service. By default,+-- deployments aren\'t forced. You can use this option to start a new+-- deployment with no service definition changes. For example, you can+-- update a service\'s tasks to use a newer Docker image with the same+-- image\/tag combination (@my_image:latest@) or to roll Fargate tasks onto+-- a newer platform version.+updateService_forceNewDeployment :: Lens.Lens' UpdateService (Prelude.Maybe Prelude.Bool)+updateService_forceNewDeployment = Lens.lens (\UpdateService' {forceNewDeployment} -> forceNewDeployment) (\s@UpdateService' {} a -> s {forceNewDeployment = a} :: UpdateService)++-- | The period of time, in seconds, that the Amazon ECS service scheduler+-- ignores unhealthy Elastic Load Balancing target health checks after a+-- task has first started. This is only valid if your service is configured+-- to use a load balancer. If your service\'s tasks take a while to start+-- and respond to Elastic Load Balancing health checks, you can specify a+-- health check grace period of up to 2,147,483,647 seconds. During that+-- time, the Amazon ECS service scheduler ignores the Elastic Load+-- Balancing health check status. This grace period can prevent the ECS+-- service scheduler from marking tasks as unhealthy and stopping them+-- before they have time to come up.+updateService_healthCheckGracePeriodSeconds :: Lens.Lens' UpdateService (Prelude.Maybe Prelude.Int)+updateService_healthCheckGracePeriodSeconds = Lens.lens (\UpdateService' {healthCheckGracePeriodSeconds} -> healthCheckGracePeriodSeconds) (\s@UpdateService' {} a -> s {healthCheckGracePeriodSeconds = a} :: UpdateService)++-- | A list of Elastic Load Balancing load balancer objects. It contains the+-- load balancer name, the container name, and the container port to access+-- from the load balancer. The container name is as it appears in a+-- container definition.+--+-- When you add, update, or remove a load balancer configuration, Amazon+-- ECS starts new tasks with the updated Elastic Load Balancing+-- configuration, and then stops the old tasks when the new tasks are+-- running.+--+-- For services that use rolling updates, you can add, update, or remove+-- Elastic Load Balancing target groups. You can update from a single+-- target group to multiple target groups and from multiple target groups+-- to a single target group.+--+-- For services that use blue\/green deployments, you can update Elastic+-- Load Balancing target groups by using+-- @ @<https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html CreateDeployment>@ @+-- through CodeDeploy. Note that multiple target groups are not supported+-- for blue\/green deployments. For more information see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html Register multiple target groups with a service>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- For services that use the external deployment controller, you can add,+-- update, or remove load balancers by using+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html CreateTaskSet>.+-- Note that multiple target groups are not supported for external+-- deployments. For more information see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html Register multiple target groups with a service>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- You can remove existing @loadBalancers@ by passing an empty list.+updateService_loadBalancers :: Lens.Lens' UpdateService (Prelude.Maybe [LoadBalancer])+updateService_loadBalancers = Lens.lens (\UpdateService' {loadBalancers} -> loadBalancers) (\s@UpdateService' {} a -> s {loadBalancers = a} :: UpdateService) Prelude.. Lens.mapping Lens.coerced++-- | An object representing the network configuration for the service.+updateService_networkConfiguration :: Lens.Lens' UpdateService (Prelude.Maybe NetworkConfiguration)+updateService_networkConfiguration = Lens.lens (\UpdateService' {networkConfiguration} -> networkConfiguration) (\s@UpdateService' {} a -> s {networkConfiguration = a} :: UpdateService)++-- | An array of task placement constraint objects to update the service to+-- use. If no value is specified, the existing placement constraints for+-- the service will remain unchanged. If this value is specified, it will+-- override any existing placement constraints defined for the service. To+-- remove all existing placement constraints, specify an empty array.+--+-- You can specify a maximum of 10 constraints for each task. This limit+-- includes constraints in the task definition and those specified at+-- runtime.+updateService_placementConstraints :: Lens.Lens' UpdateService (Prelude.Maybe [PlacementConstraint])+updateService_placementConstraints = Lens.lens (\UpdateService' {placementConstraints} -> placementConstraints) (\s@UpdateService' {} a -> s {placementConstraints = a} :: UpdateService) Prelude.. Lens.mapping Lens.coerced++-- | The task placement strategy objects to update the service to use. If no+-- value is specified, the existing placement strategy for the service will+-- remain unchanged. If this value is specified, it will override the+-- existing placement strategy defined for the service. To remove an+-- existing placement strategy, specify an empty object.+--+-- You can specify a maximum of five strategy rules for each service.+updateService_placementStrategy :: Lens.Lens' UpdateService (Prelude.Maybe [PlacementStrategy])+updateService_placementStrategy = Lens.lens (\UpdateService' {placementStrategy} -> placementStrategy) (\s@UpdateService' {} a -> s {placementStrategy = a} :: UpdateService) Prelude.. Lens.mapping Lens.coerced++-- | The platform version that your tasks in the service run on. A platform+-- version is only specified for tasks using the Fargate launch type. If a+-- platform version is not specified, the @LATEST@ platform version is+-- used. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+updateService_platformVersion :: Lens.Lens' UpdateService (Prelude.Maybe Prelude.Text)+updateService_platformVersion = Lens.lens (\UpdateService' {platformVersion} -> platformVersion) (\s@UpdateService' {} a -> s {platformVersion = a} :: UpdateService)++-- | Determines whether to propagate the tags from the task definition or the+-- service to the task. If no value is specified, the tags aren\'t+-- propagated.+--+-- Only tasks launched after the update will reflect the update. To update+-- the tags on all tasks, set @forceNewDeployment@ to @true@, so that+-- Amazon ECS starts new tasks with the updated tags.+updateService_propagateTags :: Lens.Lens' UpdateService (Prelude.Maybe PropagateTags)+updateService_propagateTags = Lens.lens (\UpdateService' {propagateTags} -> propagateTags) (\s@UpdateService' {} a -> s {propagateTags = a} :: UpdateService)++-- | The configuration for this service to discover and connect to services,+-- and be discovered by, and connected from, other services within a+-- namespace.+--+-- Tasks that run in a namespace can use short names to connect to services+-- in the namespace. Tasks can connect to services across all of the+-- clusters in the namespace. Tasks connect through a managed proxy+-- container that collects logs and metrics for increased visibility. Only+-- the tasks that Amazon ECS services create are supported with Service+-- Connect. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html Service Connect>+-- in the /Amazon Elastic Container Service Developer Guide/.+updateService_serviceConnectConfiguration :: Lens.Lens' UpdateService (Prelude.Maybe ServiceConnectConfiguration)+updateService_serviceConnectConfiguration = Lens.lens (\UpdateService' {serviceConnectConfiguration} -> serviceConnectConfiguration) (\s@UpdateService' {} a -> s {serviceConnectConfiguration = a} :: UpdateService)++-- | The details for the service discovery registries to assign to this+-- service. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html Service Discovery>.+--+-- When you add, update, or remove the service registries configuration,+-- Amazon ECS starts new tasks with the updated service registries+-- configuration, and then stops the old tasks when the new tasks are+-- running.+--+-- You can remove existing @serviceRegistries@ by passing an empty list.+updateService_serviceRegistries :: Lens.Lens' UpdateService (Prelude.Maybe [ServiceRegistry])+updateService_serviceRegistries = Lens.lens (\UpdateService' {serviceRegistries} -> serviceRegistries) (\s@UpdateService' {} a -> s {serviceRegistries = a} :: UpdateService) Prelude.. Lens.mapping Lens.coerced++-- | The @family@ and @revision@ (@family:revision@) or full ARN of the task+-- definition to run in your service. If a @revision@ is not specified, the+-- latest @ACTIVE@ revision is used. If you modify the task definition with+-- @UpdateService@, Amazon ECS spawns a task with the new version of the+-- task definition and then stops an old task after the new version is+-- running.+updateService_taskDefinition :: Lens.Lens' UpdateService (Prelude.Maybe Prelude.Text)+updateService_taskDefinition = Lens.lens (\UpdateService' {taskDefinition} -> taskDefinition) (\s@UpdateService' {} a -> s {taskDefinition = a} :: UpdateService)++-- | The name of the service to update.+updateService_service :: Lens.Lens' UpdateService Prelude.Text+updateService_service = Lens.lens (\UpdateService' {service} -> service) (\s@UpdateService' {} a -> s {service = a} :: UpdateService)++instance Core.AWSRequest UpdateService where+ type+ AWSResponse UpdateService =+ UpdateServiceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateServiceResponse'+ Prelude.<$> (x Data..?> "service")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateService where+ hashWithSalt _salt UpdateService' {..} =+ _salt+ `Prelude.hashWithSalt` capacityProviderStrategy+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` deploymentConfiguration+ `Prelude.hashWithSalt` desiredCount+ `Prelude.hashWithSalt` enableECSManagedTags+ `Prelude.hashWithSalt` enableExecuteCommand+ `Prelude.hashWithSalt` forceNewDeployment+ `Prelude.hashWithSalt` healthCheckGracePeriodSeconds+ `Prelude.hashWithSalt` loadBalancers+ `Prelude.hashWithSalt` networkConfiguration+ `Prelude.hashWithSalt` placementConstraints+ `Prelude.hashWithSalt` placementStrategy+ `Prelude.hashWithSalt` platformVersion+ `Prelude.hashWithSalt` propagateTags+ `Prelude.hashWithSalt` serviceConnectConfiguration+ `Prelude.hashWithSalt` serviceRegistries+ `Prelude.hashWithSalt` taskDefinition+ `Prelude.hashWithSalt` service++instance Prelude.NFData UpdateService where+ rnf UpdateService' {..} =+ Prelude.rnf capacityProviderStrategy+ `Prelude.seq` Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf deploymentConfiguration+ `Prelude.seq` Prelude.rnf desiredCount+ `Prelude.seq` Prelude.rnf enableECSManagedTags+ `Prelude.seq` Prelude.rnf enableExecuteCommand+ `Prelude.seq` Prelude.rnf forceNewDeployment+ `Prelude.seq` Prelude.rnf healthCheckGracePeriodSeconds+ `Prelude.seq` Prelude.rnf loadBalancers+ `Prelude.seq` Prelude.rnf networkConfiguration+ `Prelude.seq` Prelude.rnf placementConstraints+ `Prelude.seq` Prelude.rnf placementStrategy+ `Prelude.seq` Prelude.rnf platformVersion+ `Prelude.seq` Prelude.rnf propagateTags+ `Prelude.seq` Prelude.rnf serviceConnectConfiguration+ `Prelude.seq` Prelude.rnf serviceRegistries+ `Prelude.seq` Prelude.rnf taskDefinition+ `Prelude.seq` Prelude.rnf service++instance Data.ToHeaders UpdateService where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.UpdateService" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateService where+ toJSON UpdateService' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("capacityProviderStrategy" Data..=)+ Prelude.<$> capacityProviderStrategy,+ ("cluster" Data..=) Prelude.<$> cluster,+ ("deploymentConfiguration" Data..=)+ Prelude.<$> deploymentConfiguration,+ ("desiredCount" Data..=) Prelude.<$> desiredCount,+ ("enableECSManagedTags" Data..=)+ Prelude.<$> enableECSManagedTags,+ ("enableExecuteCommand" Data..=)+ Prelude.<$> enableExecuteCommand,+ ("forceNewDeployment" Data..=)+ Prelude.<$> forceNewDeployment,+ ("healthCheckGracePeriodSeconds" Data..=)+ Prelude.<$> healthCheckGracePeriodSeconds,+ ("loadBalancers" Data..=) Prelude.<$> loadBalancers,+ ("networkConfiguration" Data..=)+ Prelude.<$> networkConfiguration,+ ("placementConstraints" Data..=)+ Prelude.<$> placementConstraints,+ ("placementStrategy" Data..=)+ Prelude.<$> placementStrategy,+ ("platformVersion" Data..=)+ Prelude.<$> platformVersion,+ ("propagateTags" Data..=) Prelude.<$> propagateTags,+ ("serviceConnectConfiguration" Data..=)+ Prelude.<$> serviceConnectConfiguration,+ ("serviceRegistries" Data..=)+ Prelude.<$> serviceRegistries,+ ("taskDefinition" Data..=)+ Prelude.<$> taskDefinition,+ Prelude.Just ("service" Data..= service)+ ]+ )++instance Data.ToPath UpdateService where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateService where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateServiceResponse' smart constructor.+data UpdateServiceResponse = UpdateServiceResponse'+ { -- | The full description of your service following the update call.+ service :: Prelude.Maybe ContainerService,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateServiceResponse' 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:+--+-- 'service', 'updateServiceResponse_service' - The full description of your service following the update call.+--+-- 'httpStatus', 'updateServiceResponse_httpStatus' - The response's http status code.+newUpdateServiceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateServiceResponse+newUpdateServiceResponse pHttpStatus_ =+ UpdateServiceResponse'+ { service = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The full description of your service following the update call.+updateServiceResponse_service :: Lens.Lens' UpdateServiceResponse (Prelude.Maybe ContainerService)+updateServiceResponse_service = Lens.lens (\UpdateServiceResponse' {service} -> service) (\s@UpdateServiceResponse' {} a -> s {service = a} :: UpdateServiceResponse)++-- | The response's http status code.+updateServiceResponse_httpStatus :: Lens.Lens' UpdateServiceResponse Prelude.Int+updateServiceResponse_httpStatus = Lens.lens (\UpdateServiceResponse' {httpStatus} -> httpStatus) (\s@UpdateServiceResponse' {} a -> s {httpStatus = a} :: UpdateServiceResponse)++instance Prelude.NFData UpdateServiceResponse where+ rnf UpdateServiceResponse' {..} =+ Prelude.rnf service+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/UpdateServicePrimaryTaskSet.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.ECS.UpdateServicePrimaryTaskSet+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies which task set in a service is the primary task set. Any+-- parameters that are updated on the primary task set in a service will+-- transition to the service. This is used when a service uses the+-- @EXTERNAL@ deployment controller type. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html Amazon ECS Deployment Types>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.UpdateServicePrimaryTaskSet+ ( -- * Creating a Request+ UpdateServicePrimaryTaskSet (..),+ newUpdateServicePrimaryTaskSet,++ -- * Request Lenses+ updateServicePrimaryTaskSet_cluster,+ updateServicePrimaryTaskSet_service,+ updateServicePrimaryTaskSet_primaryTaskSet,++ -- * Destructuring the Response+ UpdateServicePrimaryTaskSetResponse (..),+ newUpdateServicePrimaryTaskSetResponse,++ -- * Response Lenses+ updateServicePrimaryTaskSetResponse_taskSet,+ updateServicePrimaryTaskSetResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateServicePrimaryTaskSet' smart constructor.+data UpdateServicePrimaryTaskSet = UpdateServicePrimaryTaskSet'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the service that the task set exists in.+ cluster :: Prelude.Text,+ -- | The short name or full Amazon Resource Name (ARN) of the service that+ -- the task set exists in.+ service :: Prelude.Text,+ -- | The short name or full Amazon Resource Name (ARN) of the task set to set+ -- as the primary task set in the deployment.+ primaryTaskSet :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateServicePrimaryTaskSet' 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:+--+-- 'cluster', 'updateServicePrimaryTaskSet_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task set exists in.+--+-- 'service', 'updateServicePrimaryTaskSet_service' - The short name or full Amazon Resource Name (ARN) of the service that+-- the task set exists in.+--+-- 'primaryTaskSet', 'updateServicePrimaryTaskSet_primaryTaskSet' - The short name or full Amazon Resource Name (ARN) of the task set to set+-- as the primary task set in the deployment.+newUpdateServicePrimaryTaskSet ::+ -- | 'cluster'+ Prelude.Text ->+ -- | 'service'+ Prelude.Text ->+ -- | 'primaryTaskSet'+ Prelude.Text ->+ UpdateServicePrimaryTaskSet+newUpdateServicePrimaryTaskSet+ pCluster_+ pService_+ pPrimaryTaskSet_ =+ UpdateServicePrimaryTaskSet'+ { cluster = pCluster_,+ service = pService_,+ primaryTaskSet = pPrimaryTaskSet_+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task set exists in.+updateServicePrimaryTaskSet_cluster :: Lens.Lens' UpdateServicePrimaryTaskSet Prelude.Text+updateServicePrimaryTaskSet_cluster = Lens.lens (\UpdateServicePrimaryTaskSet' {cluster} -> cluster) (\s@UpdateServicePrimaryTaskSet' {} a -> s {cluster = a} :: UpdateServicePrimaryTaskSet)++-- | The short name or full Amazon Resource Name (ARN) of the service that+-- the task set exists in.+updateServicePrimaryTaskSet_service :: Lens.Lens' UpdateServicePrimaryTaskSet Prelude.Text+updateServicePrimaryTaskSet_service = Lens.lens (\UpdateServicePrimaryTaskSet' {service} -> service) (\s@UpdateServicePrimaryTaskSet' {} a -> s {service = a} :: UpdateServicePrimaryTaskSet)++-- | The short name or full Amazon Resource Name (ARN) of the task set to set+-- as the primary task set in the deployment.+updateServicePrimaryTaskSet_primaryTaskSet :: Lens.Lens' UpdateServicePrimaryTaskSet Prelude.Text+updateServicePrimaryTaskSet_primaryTaskSet = Lens.lens (\UpdateServicePrimaryTaskSet' {primaryTaskSet} -> primaryTaskSet) (\s@UpdateServicePrimaryTaskSet' {} a -> s {primaryTaskSet = a} :: UpdateServicePrimaryTaskSet)++instance Core.AWSRequest UpdateServicePrimaryTaskSet where+ type+ AWSResponse UpdateServicePrimaryTaskSet =+ UpdateServicePrimaryTaskSetResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateServicePrimaryTaskSetResponse'+ Prelude.<$> (x Data..?> "taskSet")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateServicePrimaryTaskSet where+ hashWithSalt _salt UpdateServicePrimaryTaskSet' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` service+ `Prelude.hashWithSalt` primaryTaskSet++instance Prelude.NFData UpdateServicePrimaryTaskSet where+ rnf UpdateServicePrimaryTaskSet' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf service+ `Prelude.seq` Prelude.rnf primaryTaskSet++instance Data.ToHeaders UpdateServicePrimaryTaskSet where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.UpdateServicePrimaryTaskSet" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateServicePrimaryTaskSet where+ toJSON UpdateServicePrimaryTaskSet' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("cluster" Data..= cluster),+ Prelude.Just ("service" Data..= service),+ Prelude.Just+ ("primaryTaskSet" Data..= primaryTaskSet)+ ]+ )++instance Data.ToPath UpdateServicePrimaryTaskSet where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateServicePrimaryTaskSet where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateServicePrimaryTaskSetResponse' smart constructor.+data UpdateServicePrimaryTaskSetResponse = UpdateServicePrimaryTaskSetResponse'+ { -- | The details about the task set.+ taskSet :: Prelude.Maybe TaskSet,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateServicePrimaryTaskSetResponse' 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:+--+-- 'taskSet', 'updateServicePrimaryTaskSetResponse_taskSet' - The details about the task set.+--+-- 'httpStatus', 'updateServicePrimaryTaskSetResponse_httpStatus' - The response's http status code.+newUpdateServicePrimaryTaskSetResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateServicePrimaryTaskSetResponse+newUpdateServicePrimaryTaskSetResponse pHttpStatus_ =+ UpdateServicePrimaryTaskSetResponse'+ { taskSet =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The details about the task set.+updateServicePrimaryTaskSetResponse_taskSet :: Lens.Lens' UpdateServicePrimaryTaskSetResponse (Prelude.Maybe TaskSet)+updateServicePrimaryTaskSetResponse_taskSet = Lens.lens (\UpdateServicePrimaryTaskSetResponse' {taskSet} -> taskSet) (\s@UpdateServicePrimaryTaskSetResponse' {} a -> s {taskSet = a} :: UpdateServicePrimaryTaskSetResponse)++-- | The response's http status code.+updateServicePrimaryTaskSetResponse_httpStatus :: Lens.Lens' UpdateServicePrimaryTaskSetResponse Prelude.Int+updateServicePrimaryTaskSetResponse_httpStatus = Lens.lens (\UpdateServicePrimaryTaskSetResponse' {httpStatus} -> httpStatus) (\s@UpdateServicePrimaryTaskSetResponse' {} a -> s {httpStatus = a} :: UpdateServicePrimaryTaskSetResponse)++instance+ Prelude.NFData+ UpdateServicePrimaryTaskSetResponse+ where+ rnf UpdateServicePrimaryTaskSetResponse' {..} =+ Prelude.rnf taskSet+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/UpdateTaskProtection.hs view
@@ -0,0 +1,316 @@+{-# 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.ECS.UpdateTaskProtection+-- 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 the protection status of a task. You can set @protectionEnabled@+-- to @true@ to protect your task from termination during scale-in events+-- from+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html Service Autoscaling>+-- or+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html deployments>.+--+-- Task-protection, by default, expires after 2 hours at which point Amazon+-- ECS unsets the @protectionEnabled@ property making the task eligible for+-- termination by a subsequent scale-in event.+--+-- You can specify a custom expiration period for task protection from 1+-- minute to up to 2,880 minutes (48 hours). To specify the custom+-- expiration period, set the @expiresInMinutes@ property. The+-- @expiresInMinutes@ property is always reset when you invoke this+-- operation for a task that already has @protectionEnabled@ set to @true@.+-- You can keep extending the protection expiration period of a task by+-- invoking this operation repeatedly.+--+-- To learn more about Amazon ECS task protection, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-scale-in-protection.html Task scale-in protection>+-- in the //Amazon Elastic Container Service Developer Guide// .+--+-- This operation is only supported for tasks belonging to an Amazon ECS+-- service. Invoking this operation for a standalone task will result in an+-- @TASK_NOT_VALID@ failure. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html API failure reasons>.+--+-- If you prefer to set task protection from within the container, we+-- recommend using the+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-scale-in-protection-endpoint.html Task scale-in protection endpoint>.+module Amazonka.ECS.UpdateTaskProtection+ ( -- * Creating a Request+ UpdateTaskProtection (..),+ newUpdateTaskProtection,++ -- * Request Lenses+ updateTaskProtection_expiresInMinutes,+ updateTaskProtection_cluster,+ updateTaskProtection_tasks,+ updateTaskProtection_protectionEnabled,++ -- * Destructuring the Response+ UpdateTaskProtectionResponse (..),+ newUpdateTaskProtectionResponse,++ -- * Response Lenses+ updateTaskProtectionResponse_failures,+ updateTaskProtectionResponse_protectedTasks,+ updateTaskProtectionResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateTaskProtection' smart constructor.+data UpdateTaskProtection = UpdateTaskProtection'+ { -- | If you set @protectionEnabled@ to @true@, you can specify the duration+ -- for task protection in minutes. You can specify a value from 1 minute to+ -- up to 2,880 minutes (48 hours). During this time, your task will not be+ -- terminated by scale-in events from Service Auto Scaling or deployments.+ -- After this time period lapses, @protectionEnabled@ will be reset to+ -- @false@.+ --+ -- If you don’t specify the time, then the task is automatically protected+ -- for 120 minutes (2 hours).+ expiresInMinutes :: Prelude.Maybe Prelude.Int,+ -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the service that the task sets exist in.+ cluster :: Prelude.Text,+ -- | A list of up to 10 task IDs or full ARN entries.+ tasks :: [Prelude.Text],+ -- | Specify @true@ to mark a task for protection and @false@ to unset+ -- protection, making it eligible for termination.+ protectionEnabled :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateTaskProtection' 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:+--+-- 'expiresInMinutes', 'updateTaskProtection_expiresInMinutes' - If you set @protectionEnabled@ to @true@, you can specify the duration+-- for task protection in minutes. You can specify a value from 1 minute to+-- up to 2,880 minutes (48 hours). During this time, your task will not be+-- terminated by scale-in events from Service Auto Scaling or deployments.+-- After this time period lapses, @protectionEnabled@ will be reset to+-- @false@.+--+-- If you don’t specify the time, then the task is automatically protected+-- for 120 minutes (2 hours).+--+-- 'cluster', 'updateTaskProtection_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task sets exist in.+--+-- 'tasks', 'updateTaskProtection_tasks' - A list of up to 10 task IDs or full ARN entries.+--+-- 'protectionEnabled', 'updateTaskProtection_protectionEnabled' - Specify @true@ to mark a task for protection and @false@ to unset+-- protection, making it eligible for termination.+newUpdateTaskProtection ::+ -- | 'cluster'+ Prelude.Text ->+ -- | 'protectionEnabled'+ Prelude.Bool ->+ UpdateTaskProtection+newUpdateTaskProtection pCluster_ pProtectionEnabled_ =+ UpdateTaskProtection'+ { expiresInMinutes =+ Prelude.Nothing,+ cluster = pCluster_,+ tasks = Prelude.mempty,+ protectionEnabled = pProtectionEnabled_+ }++-- | If you set @protectionEnabled@ to @true@, you can specify the duration+-- for task protection in minutes. You can specify a value from 1 minute to+-- up to 2,880 minutes (48 hours). During this time, your task will not be+-- terminated by scale-in events from Service Auto Scaling or deployments.+-- After this time period lapses, @protectionEnabled@ will be reset to+-- @false@.+--+-- If you don’t specify the time, then the task is automatically protected+-- for 120 minutes (2 hours).+updateTaskProtection_expiresInMinutes :: Lens.Lens' UpdateTaskProtection (Prelude.Maybe Prelude.Int)+updateTaskProtection_expiresInMinutes = Lens.lens (\UpdateTaskProtection' {expiresInMinutes} -> expiresInMinutes) (\s@UpdateTaskProtection' {} a -> s {expiresInMinutes = a} :: UpdateTaskProtection)++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task sets exist in.+updateTaskProtection_cluster :: Lens.Lens' UpdateTaskProtection Prelude.Text+updateTaskProtection_cluster = Lens.lens (\UpdateTaskProtection' {cluster} -> cluster) (\s@UpdateTaskProtection' {} a -> s {cluster = a} :: UpdateTaskProtection)++-- | A list of up to 10 task IDs or full ARN entries.+updateTaskProtection_tasks :: Lens.Lens' UpdateTaskProtection [Prelude.Text]+updateTaskProtection_tasks = Lens.lens (\UpdateTaskProtection' {tasks} -> tasks) (\s@UpdateTaskProtection' {} a -> s {tasks = a} :: UpdateTaskProtection) Prelude.. Lens.coerced++-- | Specify @true@ to mark a task for protection and @false@ to unset+-- protection, making it eligible for termination.+updateTaskProtection_protectionEnabled :: Lens.Lens' UpdateTaskProtection Prelude.Bool+updateTaskProtection_protectionEnabled = Lens.lens (\UpdateTaskProtection' {protectionEnabled} -> protectionEnabled) (\s@UpdateTaskProtection' {} a -> s {protectionEnabled = a} :: UpdateTaskProtection)++instance Core.AWSRequest UpdateTaskProtection where+ type+ AWSResponse UpdateTaskProtection =+ UpdateTaskProtectionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateTaskProtectionResponse'+ Prelude.<$> (x Data..?> "failures" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "protectedTasks" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateTaskProtection where+ hashWithSalt _salt UpdateTaskProtection' {..} =+ _salt+ `Prelude.hashWithSalt` expiresInMinutes+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` tasks+ `Prelude.hashWithSalt` protectionEnabled++instance Prelude.NFData UpdateTaskProtection where+ rnf UpdateTaskProtection' {..} =+ Prelude.rnf expiresInMinutes+ `Prelude.seq` Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf tasks+ `Prelude.seq` Prelude.rnf protectionEnabled++instance Data.ToHeaders UpdateTaskProtection where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.UpdateTaskProtection" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateTaskProtection where+ toJSON UpdateTaskProtection' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("expiresInMinutes" Data..=)+ Prelude.<$> expiresInMinutes,+ Prelude.Just ("cluster" Data..= cluster),+ Prelude.Just ("tasks" Data..= tasks),+ Prelude.Just+ ("protectionEnabled" Data..= protectionEnabled)+ ]+ )++instance Data.ToPath UpdateTaskProtection where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateTaskProtection where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateTaskProtectionResponse' smart constructor.+data UpdateTaskProtectionResponse = UpdateTaskProtectionResponse'+ { -- | Any failures associated with the call.+ failures :: Prelude.Maybe [Failure],+ -- | A list of tasks with the following information.+ --+ -- - @taskArn@: The task ARN.+ --+ -- - @protectionEnabled@: The protection status of the task. If scale-in+ -- protection is enabled for a task, the value is @true@. Otherwise, it+ -- is @false@.+ --+ -- - @expirationDate@: The epoch time when protection for the task will+ -- expire.+ protectedTasks :: Prelude.Maybe [ProtectedTask],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateTaskProtectionResponse' 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:+--+-- 'failures', 'updateTaskProtectionResponse_failures' - Any failures associated with the call.+--+-- 'protectedTasks', 'updateTaskProtectionResponse_protectedTasks' - A list of tasks with the following information.+--+-- - @taskArn@: The task ARN.+--+-- - @protectionEnabled@: The protection status of the task. If scale-in+-- protection is enabled for a task, the value is @true@. Otherwise, it+-- is @false@.+--+-- - @expirationDate@: The epoch time when protection for the task will+-- expire.+--+-- 'httpStatus', 'updateTaskProtectionResponse_httpStatus' - The response's http status code.+newUpdateTaskProtectionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateTaskProtectionResponse+newUpdateTaskProtectionResponse pHttpStatus_ =+ UpdateTaskProtectionResponse'+ { failures =+ Prelude.Nothing,+ protectedTasks = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Any failures associated with the call.+updateTaskProtectionResponse_failures :: Lens.Lens' UpdateTaskProtectionResponse (Prelude.Maybe [Failure])+updateTaskProtectionResponse_failures = Lens.lens (\UpdateTaskProtectionResponse' {failures} -> failures) (\s@UpdateTaskProtectionResponse' {} a -> s {failures = a} :: UpdateTaskProtectionResponse) Prelude.. Lens.mapping Lens.coerced++-- | A list of tasks with the following information.+--+-- - @taskArn@: The task ARN.+--+-- - @protectionEnabled@: The protection status of the task. If scale-in+-- protection is enabled for a task, the value is @true@. Otherwise, it+-- is @false@.+--+-- - @expirationDate@: The epoch time when protection for the task will+-- expire.+updateTaskProtectionResponse_protectedTasks :: Lens.Lens' UpdateTaskProtectionResponse (Prelude.Maybe [ProtectedTask])+updateTaskProtectionResponse_protectedTasks = Lens.lens (\UpdateTaskProtectionResponse' {protectedTasks} -> protectedTasks) (\s@UpdateTaskProtectionResponse' {} a -> s {protectedTasks = a} :: UpdateTaskProtectionResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+updateTaskProtectionResponse_httpStatus :: Lens.Lens' UpdateTaskProtectionResponse Prelude.Int+updateTaskProtectionResponse_httpStatus = Lens.lens (\UpdateTaskProtectionResponse' {httpStatus} -> httpStatus) (\s@UpdateTaskProtectionResponse' {} a -> s {httpStatus = a} :: UpdateTaskProtectionResponse)++instance Prelude.NFData UpdateTaskProtectionResponse where+ rnf UpdateTaskProtectionResponse' {..} =+ Prelude.rnf failures+ `Prelude.seq` Prelude.rnf protectedTasks+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/UpdateTaskSet.hs view
@@ -0,0 +1,236 @@+{-# 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.ECS.UpdateTaskSet+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies a task set. This is used when a service uses the @EXTERNAL@+-- deployment controller type. For more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html Amazon ECS Deployment Types>+-- in the /Amazon Elastic Container Service Developer Guide/.+module Amazonka.ECS.UpdateTaskSet+ ( -- * Creating a Request+ UpdateTaskSet (..),+ newUpdateTaskSet,++ -- * Request Lenses+ updateTaskSet_cluster,+ updateTaskSet_service,+ updateTaskSet_taskSet,+ updateTaskSet_scale,++ -- * Destructuring the Response+ UpdateTaskSetResponse (..),+ newUpdateTaskSetResponse,++ -- * Response Lenses+ updateTaskSetResponse_taskSet,+ updateTaskSetResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateTaskSet' smart constructor.+data UpdateTaskSet = UpdateTaskSet'+ { -- | The short name or full Amazon Resource Name (ARN) of the cluster that+ -- hosts the service that the task set is found in.+ cluster :: Prelude.Text,+ -- | The short name or full Amazon Resource Name (ARN) of the service that+ -- the task set is found in.+ service :: Prelude.Text,+ -- | The short name or full Amazon Resource Name (ARN) of the task set to+ -- update.+ taskSet :: Prelude.Text,+ -- | A floating-point percentage of the desired number of tasks to place and+ -- keep running in the task set.+ scale :: Scale+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateTaskSet' 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:+--+-- 'cluster', 'updateTaskSet_cluster' - The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task set is found in.+--+-- 'service', 'updateTaskSet_service' - The short name or full Amazon Resource Name (ARN) of the service that+-- the task set is found in.+--+-- 'taskSet', 'updateTaskSet_taskSet' - The short name or full Amazon Resource Name (ARN) of the task set to+-- update.+--+-- 'scale', 'updateTaskSet_scale' - A floating-point percentage of the desired number of tasks to place and+-- keep running in the task set.+newUpdateTaskSet ::+ -- | 'cluster'+ Prelude.Text ->+ -- | 'service'+ Prelude.Text ->+ -- | 'taskSet'+ Prelude.Text ->+ -- | 'scale'+ Scale ->+ UpdateTaskSet+newUpdateTaskSet+ pCluster_+ pService_+ pTaskSet_+ pScale_ =+ UpdateTaskSet'+ { cluster = pCluster_,+ service = pService_,+ taskSet = pTaskSet_,+ scale = pScale_+ }++-- | The short name or full Amazon Resource Name (ARN) of the cluster that+-- hosts the service that the task set is found in.+updateTaskSet_cluster :: Lens.Lens' UpdateTaskSet Prelude.Text+updateTaskSet_cluster = Lens.lens (\UpdateTaskSet' {cluster} -> cluster) (\s@UpdateTaskSet' {} a -> s {cluster = a} :: UpdateTaskSet)++-- | The short name or full Amazon Resource Name (ARN) of the service that+-- the task set is found in.+updateTaskSet_service :: Lens.Lens' UpdateTaskSet Prelude.Text+updateTaskSet_service = Lens.lens (\UpdateTaskSet' {service} -> service) (\s@UpdateTaskSet' {} a -> s {service = a} :: UpdateTaskSet)++-- | The short name or full Amazon Resource Name (ARN) of the task set to+-- update.+updateTaskSet_taskSet :: Lens.Lens' UpdateTaskSet Prelude.Text+updateTaskSet_taskSet = Lens.lens (\UpdateTaskSet' {taskSet} -> taskSet) (\s@UpdateTaskSet' {} a -> s {taskSet = a} :: UpdateTaskSet)++-- | A floating-point percentage of the desired number of tasks to place and+-- keep running in the task set.+updateTaskSet_scale :: Lens.Lens' UpdateTaskSet Scale+updateTaskSet_scale = Lens.lens (\UpdateTaskSet' {scale} -> scale) (\s@UpdateTaskSet' {} a -> s {scale = a} :: UpdateTaskSet)++instance Core.AWSRequest UpdateTaskSet where+ type+ AWSResponse UpdateTaskSet =+ UpdateTaskSetResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateTaskSetResponse'+ Prelude.<$> (x Data..?> "taskSet")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateTaskSet where+ hashWithSalt _salt UpdateTaskSet' {..} =+ _salt+ `Prelude.hashWithSalt` cluster+ `Prelude.hashWithSalt` service+ `Prelude.hashWithSalt` taskSet+ `Prelude.hashWithSalt` scale++instance Prelude.NFData UpdateTaskSet where+ rnf UpdateTaskSet' {..} =+ Prelude.rnf cluster+ `Prelude.seq` Prelude.rnf service+ `Prelude.seq` Prelude.rnf taskSet+ `Prelude.seq` Prelude.rnf scale++instance Data.ToHeaders UpdateTaskSet where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonEC2ContainerServiceV20141113.UpdateTaskSet" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateTaskSet where+ toJSON UpdateTaskSet' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("cluster" Data..= cluster),+ Prelude.Just ("service" Data..= service),+ Prelude.Just ("taskSet" Data..= taskSet),+ Prelude.Just ("scale" Data..= scale)+ ]+ )++instance Data.ToPath UpdateTaskSet where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateTaskSet where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateTaskSetResponse' smart constructor.+data UpdateTaskSetResponse = UpdateTaskSetResponse'+ { -- | Details about the task set.+ taskSet :: Prelude.Maybe TaskSet,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateTaskSetResponse' 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:+--+-- 'taskSet', 'updateTaskSetResponse_taskSet' - Details about the task set.+--+-- 'httpStatus', 'updateTaskSetResponse_httpStatus' - The response's http status code.+newUpdateTaskSetResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateTaskSetResponse+newUpdateTaskSetResponse pHttpStatus_ =+ UpdateTaskSetResponse'+ { taskSet = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Details about the task set.+updateTaskSetResponse_taskSet :: Lens.Lens' UpdateTaskSetResponse (Prelude.Maybe TaskSet)+updateTaskSetResponse_taskSet = Lens.lens (\UpdateTaskSetResponse' {taskSet} -> taskSet) (\s@UpdateTaskSetResponse' {} a -> s {taskSet = a} :: UpdateTaskSetResponse)++-- | The response's http status code.+updateTaskSetResponse_httpStatus :: Lens.Lens' UpdateTaskSetResponse Prelude.Int+updateTaskSetResponse_httpStatus = Lens.lens (\UpdateTaskSetResponse' {httpStatus} -> httpStatus) (\s@UpdateTaskSetResponse' {} a -> s {httpStatus = a} :: UpdateTaskSetResponse)++instance Prelude.NFData UpdateTaskSetResponse where+ rnf UpdateTaskSetResponse' {..} =+ Prelude.rnf taskSet+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ECS/Waiters.hs view
@@ -0,0 +1,131 @@+{-# 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.ECS.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.ECS.Waiters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.ECS.DescribeServices+import Amazonka.ECS.DescribeTasks+import Amazonka.ECS.Lens+import Amazonka.ECS.Types+import qualified Amazonka.Prelude as Prelude++-- | Polls 'Amazonka.ECS.DescribeServices' every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.+newServicesInactive :: Core.Wait DescribeServices+newServicesInactive =+ Core.Wait+ { Core.name = "ServicesInactive",+ Core.attempts = 40,+ Core.delay = 15,+ Core.acceptors =+ [ Core.matchAny+ "MISSING"+ Core.AcceptFailure+ ( Lens.folding+ ( Lens.concatOf+ ( describeServicesResponse_failures+ Prelude.. Lens._Just+ )+ )+ Prelude.. failure_reason+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ ),+ Core.matchAny+ "INACTIVE"+ Core.AcceptSuccess+ ( Lens.folding+ ( Lens.concatOf+ ( describeServicesResponse_services+ Prelude.. Lens._Just+ )+ )+ Prelude.. containerService_status+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ )+ ]+ }++-- | Polls 'Amazonka.ECS.DescribeTasks' every 6 seconds until a successful state is reached. An error is returned after 100 failed checks.+newTasksRunning :: Core.Wait DescribeTasks+newTasksRunning =+ Core.Wait+ { Core.name = "TasksRunning",+ Core.attempts = 100,+ Core.delay = 6,+ Core.acceptors =+ [ Core.matchAny+ "STOPPED"+ Core.AcceptFailure+ ( Lens.folding+ ( Lens.concatOf+ (describeTasksResponse_tasks Prelude.. Lens._Just)+ )+ Prelude.. task_lastStatus+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ ),+ Core.matchAny+ "MISSING"+ Core.AcceptFailure+ ( Lens.folding+ ( Lens.concatOf+ ( describeTasksResponse_failures+ Prelude.. Lens._Just+ )+ )+ Prelude.. failure_reason+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ ),+ Core.matchAll+ "RUNNING"+ Core.AcceptSuccess+ ( Lens.folding+ ( Lens.concatOf+ (describeTasksResponse_tasks Prelude.. Lens._Just)+ )+ Prelude.. task_lastStatus+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ )+ ]+ }++-- | Polls 'Amazonka.ECS.DescribeTasks' every 6 seconds until a successful state is reached. An error is returned after 100 failed checks.+newTasksStopped :: Core.Wait DescribeTasks+newTasksStopped =+ Core.Wait+ { Core.name = "TasksStopped",+ Core.attempts = 100,+ Core.delay = 6,+ Core.acceptors =+ [ Core.matchAll+ "STOPPED"+ Core.AcceptSuccess+ ( Lens.folding+ ( Lens.concatOf+ (describeTasksResponse_tasks Prelude.. Lens._Just)+ )+ Prelude.. task_lastStatus+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ )+ ]+ }
− gen/Network/AWS/ECS.hs
@@ -1,724 +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.ECS--- 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)------ Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster. You can host your cluster on a serverless infrastructure that is managed by Amazon ECS by launching your services or tasks using the Fargate launch type. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage by using the EC2 launch type. For more information about launch types, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS Launch Types> .--------- Amazon ECS lets you launch and stop container-based applications with simple API calls, allows you to get the state of your cluster from a centralized service, and gives you access to many familiar Amazon EC2 features.------ You can use Amazon ECS to schedule the placement of containers across your cluster based on your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates the need for you to operate your own cluster management and configuration management systems or worry about scaling your management infrastructure.----module Network.AWS.ECS- (- -- * Service Configuration- ecs-- -- * Errors- -- $errors-- -- ** AccessDeniedException- , _AccessDeniedException-- -- ** InvalidParameterException- , _InvalidParameterException-- -- ** ServerException- , _ServerException-- -- ** ClusterContainsTasksException- , _ClusterContainsTasksException-- -- ** PlatformUnknownException- , _PlatformUnknownException-- -- ** ClusterContainsServicesException- , _ClusterContainsServicesException-- -- ** ClusterContainsContainerInstancesException- , _ClusterContainsContainerInstancesException-- -- ** ServiceNotActiveException- , _ServiceNotActiveException-- -- ** ClusterNotFoundException- , _ClusterNotFoundException-- -- ** NoUpdateAvailableException- , _NoUpdateAvailableException-- -- ** UnsupportedFeatureException- , _UnsupportedFeatureException-- -- ** ServiceNotFoundException- , _ServiceNotFoundException-- -- ** PlatformTaskDefinitionIncompatibilityException- , _PlatformTaskDefinitionIncompatibilityException-- -- ** MissingVersionException- , _MissingVersionException-- -- ** UpdateInProgressException- , _UpdateInProgressException-- -- ** BlockedException- , _BlockedException-- -- ** TargetNotFoundException- , _TargetNotFoundException-- -- ** AttributeLimitExceededException- , _AttributeLimitExceededException-- -- ** ClientException- , _ClientException-- -- * Waiters- -- $waiters-- -- ** ServicesInactive- , servicesInactive-- -- ** TasksRunning- , tasksRunning-- -- ** TasksStopped- , tasksStopped-- -- * Operations- -- $operations-- -- ** ListServices (Paginated)- , module Network.AWS.ECS.ListServices-- -- ** DescribeClusters- , module Network.AWS.ECS.DescribeClusters-- -- ** DeleteService- , module Network.AWS.ECS.DeleteService-- -- ** UpdateService- , module Network.AWS.ECS.UpdateService-- -- ** DiscoverPollEndpoint- , module Network.AWS.ECS.DiscoverPollEndpoint-- -- ** SubmitContainerStateChange- , module Network.AWS.ECS.SubmitContainerStateChange-- -- ** StopTask- , module Network.AWS.ECS.StopTask-- -- ** DescribeTaskDefinition- , module Network.AWS.ECS.DescribeTaskDefinition-- -- ** SubmitTaskStateChange- , module Network.AWS.ECS.SubmitTaskStateChange-- -- ** DescribeContainerInstances- , module Network.AWS.ECS.DescribeContainerInstances-- -- ** UpdateContainerInstancesState- , module Network.AWS.ECS.UpdateContainerInstancesState-- -- ** DeleteCluster- , module Network.AWS.ECS.DeleteCluster-- -- ** CreateCluster- , module Network.AWS.ECS.CreateCluster-- -- ** ListTaskDefinitions (Paginated)- , module Network.AWS.ECS.ListTaskDefinitions-- -- ** RunTask- , module Network.AWS.ECS.RunTask-- -- ** ListTasks (Paginated)- , module Network.AWS.ECS.ListTasks-- -- ** RegisterContainerInstance- , module Network.AWS.ECS.RegisterContainerInstance-- -- ** UpdateContainerAgent- , module Network.AWS.ECS.UpdateContainerAgent-- -- ** ListContainerInstances (Paginated)- , module Network.AWS.ECS.ListContainerInstances-- -- ** ListTaskDefinitionFamilies (Paginated)- , module Network.AWS.ECS.ListTaskDefinitionFamilies-- -- ** StartTask- , module Network.AWS.ECS.StartTask-- -- ** ListAttributes- , module Network.AWS.ECS.ListAttributes-- -- ** DeregisterTaskDefinition- , module Network.AWS.ECS.DeregisterTaskDefinition-- -- ** DescribeTasks- , module Network.AWS.ECS.DescribeTasks-- -- ** ListClusters (Paginated)- , module Network.AWS.ECS.ListClusters-- -- ** DescribeServices- , module Network.AWS.ECS.DescribeServices-- -- ** DeregisterContainerInstance- , module Network.AWS.ECS.DeregisterContainerInstance-- -- ** DeleteAttributes- , module Network.AWS.ECS.DeleteAttributes-- -- ** PutAttributes- , module Network.AWS.ECS.PutAttributes-- -- ** RegisterTaskDefinition- , module Network.AWS.ECS.RegisterTaskDefinition-- -- ** CreateService- , module Network.AWS.ECS.CreateService-- -- * Types-- -- ** AgentUpdateStatus- , AgentUpdateStatus (..)-- -- ** AssignPublicIP- , AssignPublicIP (..)-- -- ** ClusterField- , ClusterField (..)-- -- ** Compatibility- , Compatibility (..)-- -- ** Connectivity- , Connectivity (..)-- -- ** ContainerInstanceStatus- , ContainerInstanceStatus (..)-- -- ** DesiredStatus- , DesiredStatus (..)-- -- ** DeviceCgroupPermission- , DeviceCgroupPermission (..)-- -- ** HealthStatus- , HealthStatus (..)-- -- ** LaunchType- , LaunchType (..)-- -- ** LogDriver- , LogDriver (..)-- -- ** NetworkMode- , NetworkMode (..)-- -- ** PlacementConstraintType- , PlacementConstraintType (..)-- -- ** PlacementStrategyType- , PlacementStrategyType (..)-- -- ** SortOrder- , SortOrder (..)-- -- ** TargetType- , TargetType (..)-- -- ** TaskDefinitionFamilyStatus- , TaskDefinitionFamilyStatus (..)-- -- ** TaskDefinitionPlacementConstraintType- , TaskDefinitionPlacementConstraintType (..)-- -- ** TaskDefinitionStatus- , TaskDefinitionStatus (..)-- -- ** TransportProtocol- , TransportProtocol (..)-- -- ** UlimitName- , UlimitName (..)-- -- ** AWSVPCConfiguration- , AWSVPCConfiguration- , awsVPCConfiguration- , avcSecurityGroups- , avcAssignPublicIP- , avcSubnets-- -- ** Attachment- , Attachment- , attachment- , aStatus- , aDetails- , aId- , aType-- -- ** AttachmentStateChange- , AttachmentStateChange- , attachmentStateChange- , ascAttachmentARN- , ascStatus-- -- ** Attribute- , Attribute- , attribute- , aTargetId- , aValue- , aTargetType- , aName-- -- ** Cluster- , Cluster- , cluster- , cStatus- , cClusterARN- , cRunningTasksCount- , cRegisteredContainerInstancesCount- , cPendingTasksCount- , cClusterName- , cStatistics- , cActiveServicesCount-- -- ** Container- , Container- , container- , cNetworkBindings- , cContainerARN- , cNetworkInterfaces- , cTaskARN- , cLastStatus- , cReason- , cName- , cExitCode- , cHealthStatus-- -- ** ContainerDefinition- , ContainerDefinition- , containerDefinition- , cdImage- , cdCommand- , cdHostname- , cdDockerSecurityOptions- , cdHealthCheck- , cdDisableNetworking- , cdVolumesFrom- , cdEnvironment- , cdEntryPoint- , cdWorkingDirectory- , cdUlimits- , cdPrivileged- , cdPortMappings- , cdDockerLabels- , cdExtraHosts- , cdMemory- , cdUser- , cdDnsSearchDomains- , cdLogConfiguration- , cdLinuxParameters- , cdName- , cdDnsServers- , cdMountPoints- , cdLinks- , cdReadonlyRootFilesystem- , cdEssential- , cdCpu- , cdMemoryReservation-- -- ** ContainerInstance- , ContainerInstance- , containerInstance- , ciStatus- , ciAttachments- , ciRunningTasksCount- , ciRemainingResources- , ciEc2InstanceId- , ciContainerInstanceARN- , ciAgentConnected- , ciVersionInfo- , ciAgentUpdateStatus- , ciAttributes- , ciVersion- , ciPendingTasksCount- , ciRegisteredAt- , ciRegisteredResources-- -- ** ContainerOverride- , ContainerOverride- , containerOverride- , coCommand- , coEnvironment- , coMemory- , coName- , coCpu- , coMemoryReservation-- -- ** ContainerService- , ContainerService- , containerService- , csRunningCount- , csStatus- , csClusterARN- , csCreatedAt- , csPlatformVersion- , csDesiredCount- , csLoadBalancers- , csPendingCount- , csPlacementConstraints- , csEvents- , csPlacementStrategy- , csDeployments- , csServiceName- , csLaunchType- , csServiceARN- , csTaskDefinition- , csHealthCheckGracePeriodSeconds- , csNetworkConfiguration- , csServiceRegistries- , csRoleARN- , csDeploymentConfiguration-- -- ** ContainerStateChange- , ContainerStateChange- , containerStateChange- , cscNetworkBindings- , cscStatus- , cscContainerName- , cscReason- , cscExitCode-- -- ** Deployment- , Deployment- , deployment- , dRunningCount- , dStatus- , dCreatedAt- , dPlatformVersion- , dDesiredCount- , dPendingCount- , dId- , dLaunchType- , dUpdatedAt- , dTaskDefinition- , dNetworkConfiguration-- -- ** DeploymentConfiguration- , DeploymentConfiguration- , deploymentConfiguration- , dcMinimumHealthyPercent- , dcMaximumPercent-- -- ** Device- , Device- , device- , dContainerPath- , dPermissions- , dHostPath-- -- ** Failure- , Failure- , failure- , fArn- , fReason-- -- ** HealthCheck- , HealthCheck- , healthCheck- , hcStartPeriod- , hcRetries- , hcInterval- , hcTimeout- , hcCommand-- -- ** HostEntry- , HostEntry- , hostEntry- , heHostname- , heIpAddress-- -- ** HostVolumeProperties- , HostVolumeProperties- , hostVolumeProperties- , hvpSourcePath-- -- ** KernelCapabilities- , KernelCapabilities- , kernelCapabilities- , kcDrop- , kcAdd-- -- ** KeyValuePair- , KeyValuePair- , keyValuePair- , kvpValue- , kvpName-- -- ** LinuxParameters- , LinuxParameters- , linuxParameters- , lpSharedMemorySize- , lpInitProcessEnabled- , lpTmpfs- , lpDevices- , lpCapabilities-- -- ** LoadBalancer- , LoadBalancer- , loadBalancer- , lbLoadBalancerName- , lbContainerName- , lbTargetGroupARN- , lbContainerPort-- -- ** LogConfiguration- , LogConfiguration- , logConfiguration- , lcOptions- , lcLogDriver-- -- ** MountPoint- , MountPoint- , mountPoint- , mpContainerPath- , mpSourceVolume- , mpReadOnly-- -- ** NetworkBinding- , NetworkBinding- , networkBinding- , nbBindIP- , nbProtocol- , nbHostPort- , nbContainerPort-- -- ** NetworkConfiguration- , NetworkConfiguration- , networkConfiguration- , ncAwsvpcConfiguration-- -- ** NetworkInterface- , NetworkInterface- , networkInterface- , niIpv6Address- , niPrivateIPv4Address- , niAttachmentId-- -- ** PlacementConstraint- , PlacementConstraint- , placementConstraint- , pcExpression- , pcType-- -- ** PlacementStrategy- , PlacementStrategy- , placementStrategy- , psField- , psType-- -- ** PortMapping- , PortMapping- , portMapping- , pmProtocol- , pmHostPort- , pmContainerPort-- -- ** Resource- , Resource- , resource- , rStringSetValue- , rIntegerValue- , rDoubleValue- , rLongValue- , rName- , rType-- -- ** ServiceEvent- , ServiceEvent- , serviceEvent- , seCreatedAt- , seId- , seMessage-- -- ** ServiceRegistry- , ServiceRegistry- , serviceRegistry- , srRegistryARN- , srPort-- -- ** Task- , Task- , task- , tStoppedAt- , tDesiredStatus- , tOverrides- , tClusterARN- , tGroup- , tAttachments- , tCreatedAt- , tPlatformVersion- , tTaskARN- , tContainerInstanceARN- , tExecutionStoppedAt- , tLastStatus- , tMemory- , tPullStoppedAt- , tContainers- , tStartedAt- , tVersion- , tStartedBy- , tStoppedReason- , tConnectivity- , tStoppingAt- , tLaunchType- , tTaskDefinitionARN- , tHealthStatus- , tConnectivityAt- , tCpu- , tPullStartedAt-- -- ** TaskDefinition- , TaskDefinition- , taskDefinition- , tdStatus- , tdExecutionRoleARN- , tdRequiresCompatibilities- , tdFamily- , tdContainerDefinitions- , tdMemory- , tdTaskRoleARN- , tdPlacementConstraints- , tdNetworkMode- , tdTaskDefinitionARN- , tdCompatibilities- , tdRevision- , tdVolumes- , tdCpu- , tdRequiresAttributes-- -- ** TaskDefinitionPlacementConstraint- , TaskDefinitionPlacementConstraint- , taskDefinitionPlacementConstraint- , tdpcExpression- , tdpcType-- -- ** TaskOverride- , TaskOverride- , taskOverride- , toContainerOverrides- , toExecutionRoleARN- , toTaskRoleARN-- -- ** Tmpfs- , Tmpfs- , tmpfs- , tMountOptions- , tContainerPath- , tSize-- -- ** Ulimit- , Ulimit- , ulimit- , uName- , uSoftLimit- , uHardLimit-- -- ** VersionInfo- , VersionInfo- , versionInfo- , viAgentHash- , viAgentVersion- , viDockerVersion-- -- ** Volume- , Volume- , volume- , vName- , vHost-- -- ** VolumeFrom- , VolumeFrom- , volumeFrom- , vfSourceContainer- , vfReadOnly- ) where--import Network.AWS.ECS.CreateCluster-import Network.AWS.ECS.CreateService-import Network.AWS.ECS.DeleteAttributes-import Network.AWS.ECS.DeleteCluster-import Network.AWS.ECS.DeleteService-import Network.AWS.ECS.DeregisterContainerInstance-import Network.AWS.ECS.DeregisterTaskDefinition-import Network.AWS.ECS.DescribeClusters-import Network.AWS.ECS.DescribeContainerInstances-import Network.AWS.ECS.DescribeServices-import Network.AWS.ECS.DescribeTaskDefinition-import Network.AWS.ECS.DescribeTasks-import Network.AWS.ECS.DiscoverPollEndpoint-import Network.AWS.ECS.ListAttributes-import Network.AWS.ECS.ListClusters-import Network.AWS.ECS.ListContainerInstances-import Network.AWS.ECS.ListServices-import Network.AWS.ECS.ListTaskDefinitionFamilies-import Network.AWS.ECS.ListTaskDefinitions-import Network.AWS.ECS.ListTasks-import Network.AWS.ECS.PutAttributes-import Network.AWS.ECS.RegisterContainerInstance-import Network.AWS.ECS.RegisterTaskDefinition-import Network.AWS.ECS.RunTask-import Network.AWS.ECS.StartTask-import Network.AWS.ECS.StopTask-import Network.AWS.ECS.SubmitContainerStateChange-import Network.AWS.ECS.SubmitTaskStateChange-import Network.AWS.ECS.Types-import Network.AWS.ECS.UpdateContainerAgent-import Network.AWS.ECS.UpdateContainerInstancesState-import Network.AWS.ECS.UpdateService-import Network.AWS.ECS.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 'ECS'.--}--{- $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/ECS/CreateCluster.hs
@@ -1,131 +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.ECS.CreateCluster--- 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 a new Amazon ECS cluster. By default, your account receives a @default@ cluster when you launch your first container instance. However, you can create your own cluster with a unique name with the @CreateCluster@ action.-------module Network.AWS.ECS.CreateCluster- (- -- * Creating a Request- createCluster- , CreateCluster- -- * Request Lenses- , ccClusterName-- -- * Destructuring the Response- , createClusterResponse- , CreateClusterResponse- -- * Response Lenses- , ccrsCluster- , ccrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createCluster' smart constructor.-newtype CreateCluster = CreateCluster'- { _ccClusterName :: Maybe Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateCluster' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ccClusterName' - The name of your cluster. If you do not specify a name for your cluster, you create a cluster named @default@ . Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.-createCluster- :: CreateCluster-createCluster = CreateCluster' {_ccClusterName = Nothing}----- | The name of your cluster. If you do not specify a name for your cluster, you create a cluster named @default@ . Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.-ccClusterName :: Lens' CreateCluster (Maybe Text)-ccClusterName = lens _ccClusterName (\ s a -> s{_ccClusterName = a})--instance AWSRequest CreateCluster where- type Rs CreateCluster = CreateClusterResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- CreateClusterResponse' <$>- (x .?> "cluster") <*> (pure (fromEnum s)))--instance Hashable CreateCluster where--instance NFData CreateCluster where--instance ToHeaders CreateCluster where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.CreateCluster"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateCluster where- toJSON CreateCluster'{..}- = object- (catMaybes [("clusterName" .=) <$> _ccClusterName])--instance ToPath CreateCluster where- toPath = const "/"--instance ToQuery CreateCluster where- toQuery = const mempty---- | /See:/ 'createClusterResponse' smart constructor.-data CreateClusterResponse = CreateClusterResponse'- { _ccrsCluster :: !(Maybe Cluster)- , _ccrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateClusterResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ccrsCluster' - The full description of your new cluster.------ * 'ccrsResponseStatus' - -- | The response status code.-createClusterResponse- :: Int -- ^ 'ccrsResponseStatus'- -> CreateClusterResponse-createClusterResponse pResponseStatus_ =- CreateClusterResponse'- {_ccrsCluster = Nothing, _ccrsResponseStatus = pResponseStatus_}----- | The full description of your new cluster.-ccrsCluster :: Lens' CreateClusterResponse (Maybe Cluster)-ccrsCluster = lens _ccrsCluster (\ s a -> s{_ccrsCluster = a})---- | -- | The response status code.-ccrsResponseStatus :: Lens' CreateClusterResponse Int-ccrsResponseStatus = lens _ccrsResponseStatus (\ s a -> s{_ccrsResponseStatus = a})--instance NFData CreateClusterResponse where
− gen/Network/AWS/ECS/CreateService.hs
@@ -1,304 +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.ECS.CreateService--- 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)------ Runs and maintains a desired number of tasks from a specified task definition. If the number of tasks running in a service drops below @desiredCount@ , Amazon ECS spawns another copy of the task in the specified cluster. To update an existing service, see 'UpdateService' .--------- In addition to maintaining the desired count of tasks in your service, you can optionally run your service behind a load balancer. The load balancer distributes traffic across the tasks that are associated with the service. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html Service Load Balancing> in the /Amazon Elastic Container Service Developer Guide/ .------ You can optionally specify a deployment configuration for your service. During a deployment, the service scheduler uses the @minimumHealthyPercent@ and @maximumPercent@ parameters to determine the deployment strategy. The deployment is triggered by changing the task definition or the desired count of a service with an 'UpdateService' operation.------ The @minimumHealthyPercent@ represents a lower limit on the number of your service's tasks that must remain in the @RUNNING@ state during a deployment, as a percentage of the @desiredCount@ (rounded up to the nearest integer). This parameter enables you to deploy without using additional cluster capacity. For example, if your service has a @desiredCount@ of four tasks and a @minimumHealthyPercent@ of 50%, the scheduler can stop two existing tasks to free up cluster capacity before starting two new tasks. Tasks for services that /do not/ use a load balancer are considered healthy if they are in the @RUNNING@ state. Tasks for services that /do/ use a load balancer are considered healthy if they are in the @RUNNING@ state and the container instance they are hosted on is reported as healthy by the load balancer. The default value for @minimumHealthyPercent@ is 50% in the console and 100% for the AWS CLI, the AWS SDKs, and the APIs.------ The @maximumPercent@ parameter represents an upper limit on the number of your service's tasks that are allowed in the @RUNNING@ or @PENDING@ state during a deployment, as a percentage of the @desiredCount@ (rounded down to the nearest integer). This parameter enables you to define the deployment batch size. For example, if your service has a @desiredCount@ of four tasks and a @maximumPercent@ value of 200%, the scheduler can start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default value for @maximumPercent@ is 200%.------ When the service scheduler launches new tasks, it determines task placement in your cluster using the following logic:------ * Determine which of the container instances in your cluster can support your service's task definition (for example, they have the required CPU, memory, ports, and container instance attributes).------ * By default, the service scheduler attempts to balance tasks across Availability Zones in this manner (although you can choose a different placement strategy) with the @placementStrategy@ parameter):------ * Sort the valid container instances by the fewest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have zero, valid container instances in either zone B or C are considered optimal for placement.------ * Place the new service task on a valid container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the fewest number of running tasks for this service.----------------module Network.AWS.ECS.CreateService- (- -- * Creating a Request- createService- , CreateService- -- * Request Lenses- , cCluster- , cClientToken- , cPlatformVersion- , cLoadBalancers- , cRole- , cPlacementConstraints- , cPlacementStrategy- , cLaunchType- , cHealthCheckGracePeriodSeconds- , cNetworkConfiguration- , cServiceRegistries- , cDeploymentConfiguration- , cServiceName- , cTaskDefinition- , cDesiredCount-- -- * Destructuring the Response- , createServiceResponse- , CreateServiceResponse- -- * Response Lenses- , csrsService- , csrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createService' smart constructor.-data CreateService = CreateService'- { _cCluster :: !(Maybe Text)- , _cClientToken :: !(Maybe Text)- , _cPlatformVersion :: !(Maybe Text)- , _cLoadBalancers :: !(Maybe [LoadBalancer])- , _cRole :: !(Maybe Text)- , _cPlacementConstraints :: !(Maybe [PlacementConstraint])- , _cPlacementStrategy :: !(Maybe [PlacementStrategy])- , _cLaunchType :: !(Maybe LaunchType)- , _cHealthCheckGracePeriodSeconds :: !(Maybe Int)- , _cNetworkConfiguration :: !(Maybe NetworkConfiguration)- , _cServiceRegistries :: !(Maybe [ServiceRegistry])- , _cDeploymentConfiguration :: !(Maybe DeploymentConfiguration)- , _cServiceName :: !Text- , _cTaskDefinition :: !Text- , _cDesiredCount :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateService' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cCluster' - The short name or full Amazon Resource Name (ARN) of the cluster on which to run your service. If you do not specify a cluster, the default cluster is assumed.------ * 'cClientToken' - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed.------ * 'cPlatformVersion' - The platform version on which to run your service. If one is not specified, the latest version is used by default.------ * 'cLoadBalancers' - A load balancer object representing the load balancer to use with your service. Currently, you are limited to one load balancer or target group per service. After you create a service, the load balancer name or target group ARN, container name, and container port specified in the service definition are immutable. For Classic Load Balancers, this object must contain the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancer. When a task from this service is placed on a container instance, the container instance is registered with the load balancer specified here. For Application Load Balancers and Network Load Balancers, this object must contain the load balancer target group ARN, the container name (as it appears in a container definition), and the container port to access from the load balancer. When a task from this service is placed on a container instance, the container instance and port combination is registered as a target in the target group specified here.------ * 'cRole' - The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is only permitted if you are using a load balancer with your service and your task definition does not use the @awsvpc@ network mode. If you specify the @role@ parameter, you must also specify a load balancer object with the @loadBalancers@ parameter. /Important:/ If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here. The service-linked role is required if your task definition uses the @awsvpc@ network mode, in which case you should not specify a role here. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html Using Service-Linked Roles for Amazon ECS> in the /Amazon Elastic Container Service Developer Guide/ . If your specified role has a path other than @/@ , then you must either specify the full role ARN (this is recommended) or prefix the role name with the path. For example, if a role with the name @bar@ has a path of @/foo/@ then you would specify @/foo/bar@ as the role name. For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names Friendly Names and Paths> in the /IAM User Guide/ .------ * 'cPlacementConstraints' - An array of placement constraint objects to use for tasks in your service. You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at run time).------ * 'cPlacementStrategy' - The placement strategy objects to use for tasks in your service. You can specify a maximum of five strategy rules per service.------ * 'cLaunchType' - The launch type on which to run your service.------ * 'cHealthCheckGracePeriodSeconds' - The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 1,800 seconds during which the ECS service scheduler ignores health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.------ * 'cNetworkConfiguration' - The network configuration for the service. This parameter is required for task definitions that use the @awsvpc@ network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'cServiceRegistries' - The details of the service discovery registries you want to assign to this service. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguideservice-discovery.html Service Discovery> .------ * 'cDeploymentConfiguration' - Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.------ * 'cServiceName' - The name of your service. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. Service names must be unique within a cluster, but you can have similarly named services in multiple clusters within a region or across multiple regions.------ * 'cTaskDefinition' - The @family@ and @revision@ (@family:revision@ ) or full ARN of the task definition to run in your service. If a @revision@ is not specified, the latest @ACTIVE@ revision is used.------ * 'cDesiredCount' - The number of instantiations of the specified task definition to place and keep running on your cluster.-createService- :: Text -- ^ 'cServiceName'- -> Text -- ^ 'cTaskDefinition'- -> Int -- ^ 'cDesiredCount'- -> CreateService-createService pServiceName_ pTaskDefinition_ pDesiredCount_ =- CreateService'- { _cCluster = Nothing- , _cClientToken = Nothing- , _cPlatformVersion = Nothing- , _cLoadBalancers = Nothing- , _cRole = Nothing- , _cPlacementConstraints = Nothing- , _cPlacementStrategy = Nothing- , _cLaunchType = Nothing- , _cHealthCheckGracePeriodSeconds = Nothing- , _cNetworkConfiguration = Nothing- , _cServiceRegistries = Nothing- , _cDeploymentConfiguration = Nothing- , _cServiceName = pServiceName_- , _cTaskDefinition = pTaskDefinition_- , _cDesiredCount = pDesiredCount_- }----- | The short name or full Amazon Resource Name (ARN) of the cluster on which to run your service. If you do not specify a cluster, the default cluster is assumed.-cCluster :: Lens' CreateService (Maybe Text)-cCluster = lens _cCluster (\ s a -> s{_cCluster = a})---- | Unique, case-sensitive identifier you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed.-cClientToken :: Lens' CreateService (Maybe Text)-cClientToken = lens _cClientToken (\ s a -> s{_cClientToken = a})---- | The platform version on which to run your service. If one is not specified, the latest version is used by default.-cPlatformVersion :: Lens' CreateService (Maybe Text)-cPlatformVersion = lens _cPlatformVersion (\ s a -> s{_cPlatformVersion = a})---- | A load balancer object representing the load balancer to use with your service. Currently, you are limited to one load balancer or target group per service. After you create a service, the load balancer name or target group ARN, container name, and container port specified in the service definition are immutable. For Classic Load Balancers, this object must contain the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancer. When a task from this service is placed on a container instance, the container instance is registered with the load balancer specified here. For Application Load Balancers and Network Load Balancers, this object must contain the load balancer target group ARN, the container name (as it appears in a container definition), and the container port to access from the load balancer. When a task from this service is placed on a container instance, the container instance and port combination is registered as a target in the target group specified here.-cLoadBalancers :: Lens' CreateService [LoadBalancer]-cLoadBalancers = lens _cLoadBalancers (\ s a -> s{_cLoadBalancers = a}) . _Default . _Coerce---- | The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is only permitted if you are using a load balancer with your service and your task definition does not use the @awsvpc@ network mode. If you specify the @role@ parameter, you must also specify a load balancer object with the @loadBalancers@ parameter. /Important:/ If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here. The service-linked role is required if your task definition uses the @awsvpc@ network mode, in which case you should not specify a role here. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html Using Service-Linked Roles for Amazon ECS> in the /Amazon Elastic Container Service Developer Guide/ . If your specified role has a path other than @/@ , then you must either specify the full role ARN (this is recommended) or prefix the role name with the path. For example, if a role with the name @bar@ has a path of @/foo/@ then you would specify @/foo/bar@ as the role name. For more information, see <http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names Friendly Names and Paths> in the /IAM User Guide/ .-cRole :: Lens' CreateService (Maybe Text)-cRole = lens _cRole (\ s a -> s{_cRole = a})---- | An array of placement constraint objects to use for tasks in your service. You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at run time).-cPlacementConstraints :: Lens' CreateService [PlacementConstraint]-cPlacementConstraints = lens _cPlacementConstraints (\ s a -> s{_cPlacementConstraints = a}) . _Default . _Coerce---- | The placement strategy objects to use for tasks in your service. You can specify a maximum of five strategy rules per service.-cPlacementStrategy :: Lens' CreateService [PlacementStrategy]-cPlacementStrategy = lens _cPlacementStrategy (\ s a -> s{_cPlacementStrategy = a}) . _Default . _Coerce---- | The launch type on which to run your service.-cLaunchType :: Lens' CreateService (Maybe LaunchType)-cLaunchType = lens _cLaunchType (\ s a -> s{_cLaunchType = a})---- | The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 1,800 seconds during which the ECS service scheduler ignores health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.-cHealthCheckGracePeriodSeconds :: Lens' CreateService (Maybe Int)-cHealthCheckGracePeriodSeconds = lens _cHealthCheckGracePeriodSeconds (\ s a -> s{_cHealthCheckGracePeriodSeconds = a})---- | The network configuration for the service. This parameter is required for task definitions that use the @awsvpc@ network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking> in the /Amazon Elastic Container Service Developer Guide/ .-cNetworkConfiguration :: Lens' CreateService (Maybe NetworkConfiguration)-cNetworkConfiguration = lens _cNetworkConfiguration (\ s a -> s{_cNetworkConfiguration = a})---- | The details of the service discovery registries you want to assign to this service. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguideservice-discovery.html Service Discovery> .-cServiceRegistries :: Lens' CreateService [ServiceRegistry]-cServiceRegistries = lens _cServiceRegistries (\ s a -> s{_cServiceRegistries = a}) . _Default . _Coerce---- | Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.-cDeploymentConfiguration :: Lens' CreateService (Maybe DeploymentConfiguration)-cDeploymentConfiguration = lens _cDeploymentConfiguration (\ s a -> s{_cDeploymentConfiguration = a})---- | The name of your service. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. Service names must be unique within a cluster, but you can have similarly named services in multiple clusters within a region or across multiple regions.-cServiceName :: Lens' CreateService Text-cServiceName = lens _cServiceName (\ s a -> s{_cServiceName = a})---- | The @family@ and @revision@ (@family:revision@ ) or full ARN of the task definition to run in your service. If a @revision@ is not specified, the latest @ACTIVE@ revision is used.-cTaskDefinition :: Lens' CreateService Text-cTaskDefinition = lens _cTaskDefinition (\ s a -> s{_cTaskDefinition = a})---- | The number of instantiations of the specified task definition to place and keep running on your cluster.-cDesiredCount :: Lens' CreateService Int-cDesiredCount = lens _cDesiredCount (\ s a -> s{_cDesiredCount = a})--instance AWSRequest CreateService where- type Rs CreateService = CreateServiceResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- CreateServiceResponse' <$>- (x .?> "service") <*> (pure (fromEnum s)))--instance Hashable CreateService where--instance NFData CreateService where--instance ToHeaders CreateService where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.CreateService"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateService where- toJSON CreateService'{..}- = object- (catMaybes- [("cluster" .=) <$> _cCluster,- ("clientToken" .=) <$> _cClientToken,- ("platformVersion" .=) <$> _cPlatformVersion,- ("loadBalancers" .=) <$> _cLoadBalancers,- ("role" .=) <$> _cRole,- ("placementConstraints" .=) <$>- _cPlacementConstraints,- ("placementStrategy" .=) <$> _cPlacementStrategy,- ("launchType" .=) <$> _cLaunchType,- ("healthCheckGracePeriodSeconds" .=) <$>- _cHealthCheckGracePeriodSeconds,- ("networkConfiguration" .=) <$>- _cNetworkConfiguration,- ("serviceRegistries" .=) <$> _cServiceRegistries,- ("deploymentConfiguration" .=) <$>- _cDeploymentConfiguration,- Just ("serviceName" .= _cServiceName),- Just ("taskDefinition" .= _cTaskDefinition),- Just ("desiredCount" .= _cDesiredCount)])--instance ToPath CreateService where- toPath = const "/"--instance ToQuery CreateService where- toQuery = const mempty---- | /See:/ 'createServiceResponse' smart constructor.-data CreateServiceResponse = CreateServiceResponse'- { _csrsService :: !(Maybe ContainerService)- , _csrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateServiceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csrsService' - The full description of your service following the create call.------ * 'csrsResponseStatus' - -- | The response status code.-createServiceResponse- :: Int -- ^ 'csrsResponseStatus'- -> CreateServiceResponse-createServiceResponse pResponseStatus_ =- CreateServiceResponse'- {_csrsService = Nothing, _csrsResponseStatus = pResponseStatus_}----- | The full description of your service following the create call.-csrsService :: Lens' CreateServiceResponse (Maybe ContainerService)-csrsService = lens _csrsService (\ s a -> s{_csrsService = a})---- | -- | The response status code.-csrsResponseStatus :: Lens' CreateServiceResponse Int-csrsResponseStatus = lens _csrsResponseStatus (\ s a -> s{_csrsResponseStatus = a})--instance NFData CreateServiceResponse where
− gen/Network/AWS/ECS/DeleteAttributes.hs
@@ -1,143 +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.ECS.DeleteAttributes--- 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 one or more custom attributes from an Amazon ECS resource.-------module Network.AWS.ECS.DeleteAttributes- (- -- * Creating a Request- deleteAttributes- , DeleteAttributes- -- * Request Lenses- , daCluster- , daAttributes-- -- * Destructuring the Response- , deleteAttributesResponse- , DeleteAttributesResponse- -- * Response Lenses- , darsAttributes- , darsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteAttributes' smart constructor.-data DeleteAttributes = DeleteAttributes'- { _daCluster :: !(Maybe Text)- , _daAttributes :: ![Attribute]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteAttributes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'daCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.------ * 'daAttributes' - The attributes to delete from your resource. You can specify up to 10 attributes per request. For custom attributes, specify the attribute name and target ID, but do not specify the value. If you specify the target ID using the short form, you must also specify the target type.-deleteAttributes- :: DeleteAttributes-deleteAttributes =- DeleteAttributes' {_daCluster = Nothing, _daAttributes = mempty}----- | The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.-daCluster :: Lens' DeleteAttributes (Maybe Text)-daCluster = lens _daCluster (\ s a -> s{_daCluster = a})---- | The attributes to delete from your resource. You can specify up to 10 attributes per request. For custom attributes, specify the attribute name and target ID, but do not specify the value. If you specify the target ID using the short form, you must also specify the target type.-daAttributes :: Lens' DeleteAttributes [Attribute]-daAttributes = lens _daAttributes (\ s a -> s{_daAttributes = a}) . _Coerce--instance AWSRequest DeleteAttributes where- type Rs DeleteAttributes = DeleteAttributesResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- DeleteAttributesResponse' <$>- (x .?> "attributes" .!@ mempty) <*>- (pure (fromEnum s)))--instance Hashable DeleteAttributes where--instance NFData DeleteAttributes where--instance ToHeaders DeleteAttributes where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.DeleteAttributes"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteAttributes where- toJSON DeleteAttributes'{..}- = object- (catMaybes- [("cluster" .=) <$> _daCluster,- Just ("attributes" .= _daAttributes)])--instance ToPath DeleteAttributes where- toPath = const "/"--instance ToQuery DeleteAttributes where- toQuery = const mempty---- | /See:/ 'deleteAttributesResponse' smart constructor.-data DeleteAttributesResponse = DeleteAttributesResponse'- { _darsAttributes :: !(Maybe [Attribute])- , _darsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteAttributesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'darsAttributes' - A list of attribute objects that were successfully deleted from your resource.------ * 'darsResponseStatus' - -- | The response status code.-deleteAttributesResponse- :: Int -- ^ 'darsResponseStatus'- -> DeleteAttributesResponse-deleteAttributesResponse pResponseStatus_ =- DeleteAttributesResponse'- {_darsAttributes = Nothing, _darsResponseStatus = pResponseStatus_}----- | A list of attribute objects that were successfully deleted from your resource.-darsAttributes :: Lens' DeleteAttributesResponse [Attribute]-darsAttributes = lens _darsAttributes (\ s a -> s{_darsAttributes = a}) . _Default . _Coerce---- | -- | The response status code.-darsResponseStatus :: Lens' DeleteAttributesResponse Int-darsResponseStatus = lens _darsResponseStatus (\ s a -> s{_darsResponseStatus = a})--instance NFData DeleteAttributesResponse where
− gen/Network/AWS/ECS/DeleteCluster.hs
@@ -1,131 +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.ECS.DeleteCluster--- 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 specified cluster. You must deregister all container instances from this cluster before you may delete it. You can list the container instances in a cluster with 'ListContainerInstances' and deregister them with 'DeregisterContainerInstance' .-------module Network.AWS.ECS.DeleteCluster- (- -- * Creating a Request- deleteCluster- , DeleteCluster- -- * Request Lenses- , dcCluster-- -- * Destructuring the Response- , deleteClusterResponse- , DeleteClusterResponse- -- * Response Lenses- , drsCluster- , drsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteCluster' smart constructor.-newtype DeleteCluster = DeleteCluster'- { _dcCluster :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteCluster' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcCluster' - The short name or full Amazon Resource Name (ARN) of the cluster to delete.-deleteCluster- :: Text -- ^ 'dcCluster'- -> DeleteCluster-deleteCluster pCluster_ = DeleteCluster' {_dcCluster = pCluster_}----- | The short name or full Amazon Resource Name (ARN) of the cluster to delete.-dcCluster :: Lens' DeleteCluster Text-dcCluster = lens _dcCluster (\ s a -> s{_dcCluster = a})--instance AWSRequest DeleteCluster where- type Rs DeleteCluster = DeleteClusterResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- DeleteClusterResponse' <$>- (x .?> "cluster") <*> (pure (fromEnum s)))--instance Hashable DeleteCluster where--instance NFData DeleteCluster where--instance ToHeaders DeleteCluster where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.DeleteCluster"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteCluster where- toJSON DeleteCluster'{..}- = object (catMaybes [Just ("cluster" .= _dcCluster)])--instance ToPath DeleteCluster where- toPath = const "/"--instance ToQuery DeleteCluster where- toQuery = const mempty---- | /See:/ 'deleteClusterResponse' smart constructor.-data DeleteClusterResponse = DeleteClusterResponse'- { _drsCluster :: !(Maybe Cluster)- , _drsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteClusterResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drsCluster' - The full description of the deleted cluster.------ * 'drsResponseStatus' - -- | The response status code.-deleteClusterResponse- :: Int -- ^ 'drsResponseStatus'- -> DeleteClusterResponse-deleteClusterResponse pResponseStatus_ =- DeleteClusterResponse'- {_drsCluster = Nothing, _drsResponseStatus = pResponseStatus_}----- | The full description of the deleted cluster.-drsCluster :: Lens' DeleteClusterResponse (Maybe Cluster)-drsCluster = lens _drsCluster (\ s a -> s{_drsCluster = a})---- | -- | The response status code.-drsResponseStatus :: Lens' DeleteClusterResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})--instance NFData DeleteClusterResponse where
− gen/Network/AWS/ECS/DeleteService.hs
@@ -1,143 +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.ECS.DeleteService--- 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 specified service within a cluster. You can delete a service if you have no running tasks in it and the desired task count is zero. If the service is actively maintaining tasks, you cannot delete it, and you must update the service to a desired task count of zero. For more information, see 'UpdateService' .-------module Network.AWS.ECS.DeleteService- (- -- * Creating a Request- deleteService- , DeleteService- -- * Request Lenses- , dsCluster- , dsService-- -- * Destructuring the Response- , deleteServiceResponse- , DeleteServiceResponse- -- * Response Lenses- , dsrsService- , dsrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteService' smart constructor.-data DeleteService = DeleteService'- { _dsCluster :: !(Maybe Text)- , _dsService :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteService' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.------ * 'dsService' - The name of the service to delete.-deleteService- :: Text -- ^ 'dsService'- -> DeleteService-deleteService pService_ =- DeleteService' {_dsCluster = Nothing, _dsService = pService_}----- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.-dsCluster :: Lens' DeleteService (Maybe Text)-dsCluster = lens _dsCluster (\ s a -> s{_dsCluster = a})---- | The name of the service to delete.-dsService :: Lens' DeleteService Text-dsService = lens _dsService (\ s a -> s{_dsService = a})--instance AWSRequest DeleteService where- type Rs DeleteService = DeleteServiceResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- DeleteServiceResponse' <$>- (x .?> "service") <*> (pure (fromEnum s)))--instance Hashable DeleteService where--instance NFData DeleteService where--instance ToHeaders DeleteService where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.DeleteService"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteService where- toJSON DeleteService'{..}- = object- (catMaybes- [("cluster" .=) <$> _dsCluster,- Just ("service" .= _dsService)])--instance ToPath DeleteService where- toPath = const "/"--instance ToQuery DeleteService where- toQuery = const mempty---- | /See:/ 'deleteServiceResponse' smart constructor.-data DeleteServiceResponse = DeleteServiceResponse'- { _dsrsService :: !(Maybe ContainerService)- , _dsrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteServiceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsrsService' - The full description of the deleted service.------ * 'dsrsResponseStatus' - -- | The response status code.-deleteServiceResponse- :: Int -- ^ 'dsrsResponseStatus'- -> DeleteServiceResponse-deleteServiceResponse pResponseStatus_ =- DeleteServiceResponse'- {_dsrsService = Nothing, _dsrsResponseStatus = pResponseStatus_}----- | The full description of the deleted service.-dsrsService :: Lens' DeleteServiceResponse (Maybe ContainerService)-dsrsService = lens _dsrsService (\ s a -> s{_dsrsService = a})---- | -- | The response status code.-dsrsResponseStatus :: Lens' DeleteServiceResponse Int-dsrsResponseStatus = lens _dsrsResponseStatus (\ s a -> s{_dsrsResponseStatus = a})--instance NFData DeleteServiceResponse where
− gen/Network/AWS/ECS/DeregisterContainerInstance.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.ECS.DeregisterContainerInstance--- 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)------ Deregisters an Amazon ECS container instance from the specified cluster. This instance is no longer available to run tasks.--------- If you intend to use the container instance for some other purpose after deregistration, you should stop all of the tasks running on the container instance before deregistration. That prevents any orphaned tasks from consuming resources.------ Deregistering a container instance removes the instance from a cluster, but it does not terminate the EC2 instance; if you are finished using the instance, be sure to terminate it in the Amazon EC2 console to stop billing.----module Network.AWS.ECS.DeregisterContainerInstance- (- -- * Creating a Request- deregisterContainerInstance- , DeregisterContainerInstance- -- * Request Lenses- , derCluster- , derForce- , derContainerInstance-- -- * Destructuring the Response- , deregisterContainerInstanceResponse- , DeregisterContainerInstanceResponse- -- * Response Lenses- , dcirsContainerInstance- , dcirsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deregisterContainerInstance' smart constructor.-data DeregisterContainerInstance = DeregisterContainerInstance'- { _derCluster :: !(Maybe Text)- , _derForce :: !(Maybe Bool)- , _derContainerInstance :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeregisterContainerInstance' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'derCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to deregister. If you do not specify a cluster, the default cluster is assumed.------ * 'derForce' - Forces the deregistration of the container instance. If you have tasks running on the container instance when you deregister it with the @force@ option, these tasks remain running until you terminate the instance or the tasks stop through some other means, but they are orphaned (no longer monitored or accounted for by Amazon ECS). If an orphaned task on your container instance is part of an Amazon ECS service, then the service scheduler starts another copy of that task, on a different container instance if possible. Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer target group are deregistered. They begin connection draining according to the settings on the load balancer or target group.------ * 'derContainerInstance' - The container instance ID or full ARN of the container instance to deregister. The ARN contains the @arn:aws:ecs@ namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the @container-instance@ namespace, and then the container instance ID. For example, @arn:aws:ecs:/region/ :/aws_account_id/ :container-instance//container_instance_ID/ @ .-deregisterContainerInstance- :: Text -- ^ 'derContainerInstance'- -> DeregisterContainerInstance-deregisterContainerInstance pContainerInstance_ =- DeregisterContainerInstance'- { _derCluster = Nothing- , _derForce = Nothing- , _derContainerInstance = pContainerInstance_- }----- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to deregister. If you do not specify a cluster, the default cluster is assumed.-derCluster :: Lens' DeregisterContainerInstance (Maybe Text)-derCluster = lens _derCluster (\ s a -> s{_derCluster = a})---- | Forces the deregistration of the container instance. If you have tasks running on the container instance when you deregister it with the @force@ option, these tasks remain running until you terminate the instance or the tasks stop through some other means, but they are orphaned (no longer monitored or accounted for by Amazon ECS). If an orphaned task on your container instance is part of an Amazon ECS service, then the service scheduler starts another copy of that task, on a different container instance if possible. Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer target group are deregistered. They begin connection draining according to the settings on the load balancer or target group.-derForce :: Lens' DeregisterContainerInstance (Maybe Bool)-derForce = lens _derForce (\ s a -> s{_derForce = a})---- | The container instance ID or full ARN of the container instance to deregister. The ARN contains the @arn:aws:ecs@ namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the @container-instance@ namespace, and then the container instance ID. For example, @arn:aws:ecs:/region/ :/aws_account_id/ :container-instance//container_instance_ID/ @ .-derContainerInstance :: Lens' DeregisterContainerInstance Text-derContainerInstance = lens _derContainerInstance (\ s a -> s{_derContainerInstance = a})--instance AWSRequest DeregisterContainerInstance where- type Rs DeregisterContainerInstance =- DeregisterContainerInstanceResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- DeregisterContainerInstanceResponse' <$>- (x .?> "containerInstance") <*> (pure (fromEnum s)))--instance Hashable DeregisterContainerInstance where--instance NFData DeregisterContainerInstance where--instance ToHeaders DeregisterContainerInstance where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.DeregisterContainerInstance"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeregisterContainerInstance where- toJSON DeregisterContainerInstance'{..}- = object- (catMaybes- [("cluster" .=) <$> _derCluster,- ("force" .=) <$> _derForce,- Just ("containerInstance" .= _derContainerInstance)])--instance ToPath DeregisterContainerInstance where- toPath = const "/"--instance ToQuery DeregisterContainerInstance where- toQuery = const mempty---- | /See:/ 'deregisterContainerInstanceResponse' smart constructor.-data DeregisterContainerInstanceResponse = DeregisterContainerInstanceResponse'- { _dcirsContainerInstance :: !(Maybe ContainerInstance)- , _dcirsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeregisterContainerInstanceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcirsContainerInstance' - The container instance that was deregistered.------ * 'dcirsResponseStatus' - -- | The response status code.-deregisterContainerInstanceResponse- :: Int -- ^ 'dcirsResponseStatus'- -> DeregisterContainerInstanceResponse-deregisterContainerInstanceResponse pResponseStatus_ =- DeregisterContainerInstanceResponse'- {_dcirsContainerInstance = Nothing, _dcirsResponseStatus = pResponseStatus_}----- | The container instance that was deregistered.-dcirsContainerInstance :: Lens' DeregisterContainerInstanceResponse (Maybe ContainerInstance)-dcirsContainerInstance = lens _dcirsContainerInstance (\ s a -> s{_dcirsContainerInstance = a})---- | -- | The response status code.-dcirsResponseStatus :: Lens' DeregisterContainerInstanceResponse Int-dcirsResponseStatus = lens _dcirsResponseStatus (\ s a -> s{_dcirsResponseStatus = a})--instance NFData DeregisterContainerInstanceResponse- where
− gen/Network/AWS/ECS/DeregisterTaskDefinition.hs
@@ -1,138 +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.ECS.DeregisterTaskDefinition--- 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)------ Deregisters the specified task definition by family and revision. Upon deregistration, the task definition is marked as @INACTIVE@ . Existing tasks and services that reference an @INACTIVE@ task definition continue to run without disruption. Existing services that reference an @INACTIVE@ task definition can still scale up or down by modifying the service's desired count.--------- You cannot use an @INACTIVE@ task definition to run new tasks or create new services, and you cannot update an existing service to reference an @INACTIVE@ task definition (although there may be up to a 10-minute window following deregistration where these restrictions have not yet taken effect).----module Network.AWS.ECS.DeregisterTaskDefinition- (- -- * Creating a Request- deregisterTaskDefinition- , DeregisterTaskDefinition- -- * Request Lenses- , derTaskDefinition-- -- * Destructuring the Response- , deregisterTaskDefinitionResponse- , DeregisterTaskDefinitionResponse- -- * Response Lenses- , dtdrsTaskDefinition- , dtdrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deregisterTaskDefinition' smart constructor.-newtype DeregisterTaskDefinition = DeregisterTaskDefinition'- { _derTaskDefinition :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeregisterTaskDefinition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'derTaskDefinition' - The @family@ and @revision@ (@family:revision@ ) or full Amazon Resource Name (ARN) of the task definition to deregister. You must specify a @revision@ .-deregisterTaskDefinition- :: Text -- ^ 'derTaskDefinition'- -> DeregisterTaskDefinition-deregisterTaskDefinition pTaskDefinition_ =- DeregisterTaskDefinition' {_derTaskDefinition = pTaskDefinition_}----- | The @family@ and @revision@ (@family:revision@ ) or full Amazon Resource Name (ARN) of the task definition to deregister. You must specify a @revision@ .-derTaskDefinition :: Lens' DeregisterTaskDefinition Text-derTaskDefinition = lens _derTaskDefinition (\ s a -> s{_derTaskDefinition = a})--instance AWSRequest DeregisterTaskDefinition where- type Rs DeregisterTaskDefinition =- DeregisterTaskDefinitionResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- DeregisterTaskDefinitionResponse' <$>- (x .?> "taskDefinition") <*> (pure (fromEnum s)))--instance Hashable DeregisterTaskDefinition where--instance NFData DeregisterTaskDefinition where--instance ToHeaders DeregisterTaskDefinition where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.DeregisterTaskDefinition"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeregisterTaskDefinition where- toJSON DeregisterTaskDefinition'{..}- = object- (catMaybes- [Just ("taskDefinition" .= _derTaskDefinition)])--instance ToPath DeregisterTaskDefinition where- toPath = const "/"--instance ToQuery DeregisterTaskDefinition where- toQuery = const mempty---- | /See:/ 'deregisterTaskDefinitionResponse' smart constructor.-data DeregisterTaskDefinitionResponse = DeregisterTaskDefinitionResponse'- { _dtdrsTaskDefinition :: !(Maybe TaskDefinition)- , _dtdrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeregisterTaskDefinitionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dtdrsTaskDefinition' - The full description of the deregistered task.------ * 'dtdrsResponseStatus' - -- | The response status code.-deregisterTaskDefinitionResponse- :: Int -- ^ 'dtdrsResponseStatus'- -> DeregisterTaskDefinitionResponse-deregisterTaskDefinitionResponse pResponseStatus_ =- DeregisterTaskDefinitionResponse'- {_dtdrsTaskDefinition = Nothing, _dtdrsResponseStatus = pResponseStatus_}----- | The full description of the deregistered task.-dtdrsTaskDefinition :: Lens' DeregisterTaskDefinitionResponse (Maybe TaskDefinition)-dtdrsTaskDefinition = lens _dtdrsTaskDefinition (\ s a -> s{_dtdrsTaskDefinition = a})---- | -- | The response status code.-dtdrsResponseStatus :: Lens' DeregisterTaskDefinitionResponse Int-dtdrsResponseStatus = lens _dtdrsResponseStatus (\ s a -> s{_dtdrsResponseStatus = a})--instance NFData DeregisterTaskDefinitionResponse- where
− gen/Network/AWS/ECS/DescribeClusters.hs
@@ -1,155 +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.ECS.DescribeClusters--- 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 one or more of your clusters.-------module Network.AWS.ECS.DescribeClusters- (- -- * Creating a Request- describeClusters- , DescribeClusters- -- * Request Lenses- , dcInclude- , dcClusters-- -- * Destructuring the Response- , describeClustersResponse- , DescribeClustersResponse- -- * Response Lenses- , dcrsFailures- , dcrsClusters- , dcrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeClusters' smart constructor.-data DescribeClusters = DescribeClusters'- { _dcInclude :: !(Maybe [ClusterField])- , _dcClusters :: !(Maybe [Text])- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeClusters' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcInclude' - Additional information about your clusters to be separated by launch type, including: * runningEC2TasksCount * runningFargateTasksCount * pendingEC2TasksCount * pendingFargateTasksCount * activeEC2ServiceCount * activeFargateServiceCount * drainingEC2ServiceCount * drainingFargateServiceCount------ * 'dcClusters' - A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.-describeClusters- :: DescribeClusters-describeClusters =- DescribeClusters' {_dcInclude = Nothing, _dcClusters = Nothing}----- | Additional information about your clusters to be separated by launch type, including: * runningEC2TasksCount * runningFargateTasksCount * pendingEC2TasksCount * pendingFargateTasksCount * activeEC2ServiceCount * activeFargateServiceCount * drainingEC2ServiceCount * drainingFargateServiceCount-dcInclude :: Lens' DescribeClusters [ClusterField]-dcInclude = lens _dcInclude (\ s a -> s{_dcInclude = a}) . _Default . _Coerce---- | A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.-dcClusters :: Lens' DescribeClusters [Text]-dcClusters = lens _dcClusters (\ s a -> s{_dcClusters = a}) . _Default . _Coerce--instance AWSRequest DescribeClusters where- type Rs DescribeClusters = DescribeClustersResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- DescribeClustersResponse' <$>- (x .?> "failures" .!@ mempty) <*>- (x .?> "clusters" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable DescribeClusters where--instance NFData DescribeClusters where--instance ToHeaders DescribeClusters where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.DescribeClusters"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeClusters where- toJSON DescribeClusters'{..}- = object- (catMaybes- [("include" .=) <$> _dcInclude,- ("clusters" .=) <$> _dcClusters])--instance ToPath DescribeClusters where- toPath = const "/"--instance ToQuery DescribeClusters where- toQuery = const mempty---- | /See:/ 'describeClustersResponse' smart constructor.-data DescribeClustersResponse = DescribeClustersResponse'- { _dcrsFailures :: !(Maybe [Failure])- , _dcrsClusters :: !(Maybe [Cluster])- , _dcrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeClustersResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcrsFailures' - Any failures associated with the call.------ * 'dcrsClusters' - The list of clusters.------ * 'dcrsResponseStatus' - -- | The response status code.-describeClustersResponse- :: Int -- ^ 'dcrsResponseStatus'- -> DescribeClustersResponse-describeClustersResponse pResponseStatus_ =- DescribeClustersResponse'- { _dcrsFailures = Nothing- , _dcrsClusters = Nothing- , _dcrsResponseStatus = pResponseStatus_- }----- | Any failures associated with the call.-dcrsFailures :: Lens' DescribeClustersResponse [Failure]-dcrsFailures = lens _dcrsFailures (\ s a -> s{_dcrsFailures = a}) . _Default . _Coerce---- | The list of clusters.-dcrsClusters :: Lens' DescribeClustersResponse [Cluster]-dcrsClusters = lens _dcrsClusters (\ s a -> s{_dcrsClusters = a}) . _Default . _Coerce---- | -- | The response status code.-dcrsResponseStatus :: Lens' DescribeClustersResponse Int-dcrsResponseStatus = lens _dcrsResponseStatus (\ s a -> s{_dcrsResponseStatus = a})--instance NFData DescribeClustersResponse where
− gen/Network/AWS/ECS/DescribeContainerInstances.hs
@@ -1,159 +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.ECS.DescribeContainerInstances--- 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 Amazon Elastic Container Service container instances. Returns metadata about registered and remaining resources on each container instance requested.-------module Network.AWS.ECS.DescribeContainerInstances- (- -- * Creating a Request- describeContainerInstances- , DescribeContainerInstances- -- * Request Lenses- , dciCluster- , dciContainerInstances-- -- * Destructuring the Response- , describeContainerInstancesResponse- , DescribeContainerInstancesResponse- -- * Response Lenses- , dcisrsFailures- , dcisrsContainerInstances- , dcisrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeContainerInstances' smart constructor.-data DescribeContainerInstances = DescribeContainerInstances'- { _dciCluster :: !(Maybe Text)- , _dciContainerInstances :: ![Text]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeContainerInstances' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dciCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to describe. If you do not specify a cluster, the default cluster is assumed.------ * 'dciContainerInstances' - A list of container instance IDs or full ARN entries.-describeContainerInstances- :: DescribeContainerInstances-describeContainerInstances =- DescribeContainerInstances'- {_dciCluster = Nothing, _dciContainerInstances = mempty}----- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to describe. If you do not specify a cluster, the default cluster is assumed.-dciCluster :: Lens' DescribeContainerInstances (Maybe Text)-dciCluster = lens _dciCluster (\ s a -> s{_dciCluster = a})---- | A list of container instance IDs or full ARN entries.-dciContainerInstances :: Lens' DescribeContainerInstances [Text]-dciContainerInstances = lens _dciContainerInstances (\ s a -> s{_dciContainerInstances = a}) . _Coerce--instance AWSRequest DescribeContainerInstances where- type Rs DescribeContainerInstances =- DescribeContainerInstancesResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- DescribeContainerInstancesResponse' <$>- (x .?> "failures" .!@ mempty) <*>- (x .?> "containerInstances" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable DescribeContainerInstances where--instance NFData DescribeContainerInstances where--instance ToHeaders DescribeContainerInstances where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.DescribeContainerInstances"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeContainerInstances where- toJSON DescribeContainerInstances'{..}- = object- (catMaybes- [("cluster" .=) <$> _dciCluster,- Just- ("containerInstances" .= _dciContainerInstances)])--instance ToPath DescribeContainerInstances where- toPath = const "/"--instance ToQuery DescribeContainerInstances where- toQuery = const mempty---- | /See:/ 'describeContainerInstancesResponse' smart constructor.-data DescribeContainerInstancesResponse = DescribeContainerInstancesResponse'- { _dcisrsFailures :: !(Maybe [Failure])- , _dcisrsContainerInstances :: !(Maybe [ContainerInstance])- , _dcisrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeContainerInstancesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcisrsFailures' - Any failures associated with the call.------ * 'dcisrsContainerInstances' - The list of container instances.------ * 'dcisrsResponseStatus' - -- | The response status code.-describeContainerInstancesResponse- :: Int -- ^ 'dcisrsResponseStatus'- -> DescribeContainerInstancesResponse-describeContainerInstancesResponse pResponseStatus_ =- DescribeContainerInstancesResponse'- { _dcisrsFailures = Nothing- , _dcisrsContainerInstances = Nothing- , _dcisrsResponseStatus = pResponseStatus_- }----- | Any failures associated with the call.-dcisrsFailures :: Lens' DescribeContainerInstancesResponse [Failure]-dcisrsFailures = lens _dcisrsFailures (\ s a -> s{_dcisrsFailures = a}) . _Default . _Coerce---- | The list of container instances.-dcisrsContainerInstances :: Lens' DescribeContainerInstancesResponse [ContainerInstance]-dcisrsContainerInstances = lens _dcisrsContainerInstances (\ s a -> s{_dcisrsContainerInstances = a}) . _Default . _Coerce---- | -- | The response status code.-dcisrsResponseStatus :: Lens' DescribeContainerInstancesResponse Int-dcisrsResponseStatus = lens _dcisrsResponseStatus (\ s a -> s{_dcisrsResponseStatus = a})--instance NFData DescribeContainerInstancesResponse- where
− gen/Network/AWS/ECS/DescribeServices.hs
@@ -1,154 +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.ECS.DescribeServices--- 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 the specified services running in your cluster.-------module Network.AWS.ECS.DescribeServices- (- -- * Creating a Request- describeServices- , DescribeServices- -- * Request Lenses- , dCluster- , dServices-- -- * Destructuring the Response- , describeServicesResponse- , DescribeServicesResponse- -- * Response Lenses- , dssrsFailures- , dssrsServices- , dssrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeServices' smart constructor.-data DescribeServices = DescribeServices'- { _dCluster :: !(Maybe Text)- , _dServices :: ![Text]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeServices' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dCluster' - The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed.------ * 'dServices' - A list of services to describe. You may specify up to 10 services to describe in a single operation.-describeServices- :: DescribeServices-describeServices = DescribeServices' {_dCluster = Nothing, _dServices = mempty}----- | The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed.-dCluster :: Lens' DescribeServices (Maybe Text)-dCluster = lens _dCluster (\ s a -> s{_dCluster = a})---- | A list of services to describe. You may specify up to 10 services to describe in a single operation.-dServices :: Lens' DescribeServices [Text]-dServices = lens _dServices (\ s a -> s{_dServices = a}) . _Coerce--instance AWSRequest DescribeServices where- type Rs DescribeServices = DescribeServicesResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- DescribeServicesResponse' <$>- (x .?> "failures" .!@ mempty) <*>- (x .?> "services" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable DescribeServices where--instance NFData DescribeServices where--instance ToHeaders DescribeServices where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.DescribeServices"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeServices where- toJSON DescribeServices'{..}- = object- (catMaybes- [("cluster" .=) <$> _dCluster,- Just ("services" .= _dServices)])--instance ToPath DescribeServices where- toPath = const "/"--instance ToQuery DescribeServices where- toQuery = const mempty---- | /See:/ 'describeServicesResponse' smart constructor.-data DescribeServicesResponse = DescribeServicesResponse'- { _dssrsFailures :: !(Maybe [Failure])- , _dssrsServices :: !(Maybe [ContainerService])- , _dssrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeServicesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dssrsFailures' - Any failures associated with the call.------ * 'dssrsServices' - The list of services described.------ * 'dssrsResponseStatus' - -- | The response status code.-describeServicesResponse- :: Int -- ^ 'dssrsResponseStatus'- -> DescribeServicesResponse-describeServicesResponse pResponseStatus_ =- DescribeServicesResponse'- { _dssrsFailures = Nothing- , _dssrsServices = Nothing- , _dssrsResponseStatus = pResponseStatus_- }----- | Any failures associated with the call.-dssrsFailures :: Lens' DescribeServicesResponse [Failure]-dssrsFailures = lens _dssrsFailures (\ s a -> s{_dssrsFailures = a}) . _Default . _Coerce---- | The list of services described.-dssrsServices :: Lens' DescribeServicesResponse [ContainerService]-dssrsServices = lens _dssrsServices (\ s a -> s{_dssrsServices = a}) . _Default . _Coerce---- | -- | The response status code.-dssrsResponseStatus :: Lens' DescribeServicesResponse Int-dssrsResponseStatus = lens _dssrsResponseStatus (\ s a -> s{_dssrsResponseStatus = a})--instance NFData DescribeServicesResponse where
− gen/Network/AWS/ECS/DescribeTaskDefinition.hs
@@ -1,135 +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.ECS.DescribeTaskDefinition--- 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 a task definition. You can specify a @family@ and @revision@ to find information about a specific task definition, or you can simply specify the family to find the latest @ACTIVE@ revision in that family.-------module Network.AWS.ECS.DescribeTaskDefinition- (- -- * Creating a Request- describeTaskDefinition- , DescribeTaskDefinition- -- * Request Lenses- , dtdTaskDefinition-- -- * Destructuring the Response- , describeTaskDefinitionResponse- , DescribeTaskDefinitionResponse- -- * Response Lenses- , desrsTaskDefinition- , desrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeTaskDefinition' smart constructor.-newtype DescribeTaskDefinition = DescribeTaskDefinition'- { _dtdTaskDefinition :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeTaskDefinition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dtdTaskDefinition' - The @family@ for the latest @ACTIVE@ revision, @family@ and @revision@ (@family:revision@ ) for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to describe.-describeTaskDefinition- :: Text -- ^ 'dtdTaskDefinition'- -> DescribeTaskDefinition-describeTaskDefinition pTaskDefinition_ =- DescribeTaskDefinition' {_dtdTaskDefinition = pTaskDefinition_}----- | The @family@ for the latest @ACTIVE@ revision, @family@ and @revision@ (@family:revision@ ) for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to describe.-dtdTaskDefinition :: Lens' DescribeTaskDefinition Text-dtdTaskDefinition = lens _dtdTaskDefinition (\ s a -> s{_dtdTaskDefinition = a})--instance AWSRequest DescribeTaskDefinition where- type Rs DescribeTaskDefinition =- DescribeTaskDefinitionResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- DescribeTaskDefinitionResponse' <$>- (x .?> "taskDefinition") <*> (pure (fromEnum s)))--instance Hashable DescribeTaskDefinition where--instance NFData DescribeTaskDefinition where--instance ToHeaders DescribeTaskDefinition where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.DescribeTaskDefinition"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeTaskDefinition where- toJSON DescribeTaskDefinition'{..}- = object- (catMaybes- [Just ("taskDefinition" .= _dtdTaskDefinition)])--instance ToPath DescribeTaskDefinition where- toPath = const "/"--instance ToQuery DescribeTaskDefinition where- toQuery = const mempty---- | /See:/ 'describeTaskDefinitionResponse' smart constructor.-data DescribeTaskDefinitionResponse = DescribeTaskDefinitionResponse'- { _desrsTaskDefinition :: !(Maybe TaskDefinition)- , _desrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeTaskDefinitionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'desrsTaskDefinition' - The full task definition description.------ * 'desrsResponseStatus' - -- | The response status code.-describeTaskDefinitionResponse- :: Int -- ^ 'desrsResponseStatus'- -> DescribeTaskDefinitionResponse-describeTaskDefinitionResponse pResponseStatus_ =- DescribeTaskDefinitionResponse'- {_desrsTaskDefinition = Nothing, _desrsResponseStatus = pResponseStatus_}----- | The full task definition description.-desrsTaskDefinition :: Lens' DescribeTaskDefinitionResponse (Maybe TaskDefinition)-desrsTaskDefinition = lens _desrsTaskDefinition (\ s a -> s{_desrsTaskDefinition = a})---- | -- | The response status code.-desrsResponseStatus :: Lens' DescribeTaskDefinitionResponse Int-desrsResponseStatus = lens _desrsResponseStatus (\ s a -> s{_desrsResponseStatus = a})--instance NFData DescribeTaskDefinitionResponse where
− gen/Network/AWS/ECS/DescribeTasks.hs
@@ -1,154 +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.ECS.DescribeTasks--- 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 a specified task or tasks.-------module Network.AWS.ECS.DescribeTasks- (- -- * Creating a Request- describeTasks- , DescribeTasks- -- * Request Lenses- , dtCluster- , dtTasks-- -- * Destructuring the Response- , describeTasksResponse- , DescribeTasksResponse- -- * Response Lenses- , dtrsFailures- , dtrsTasks- , dtrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeTasks' smart constructor.-data DescribeTasks = DescribeTasks'- { _dtCluster :: !(Maybe Text)- , _dtTasks :: ![Text]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeTasks' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dtCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.------ * 'dtTasks' - A list of up to 100 task IDs or full ARN entries.-describeTasks- :: DescribeTasks-describeTasks = DescribeTasks' {_dtCluster = Nothing, _dtTasks = mempty}----- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.-dtCluster :: Lens' DescribeTasks (Maybe Text)-dtCluster = lens _dtCluster (\ s a -> s{_dtCluster = a})---- | A list of up to 100 task IDs or full ARN entries.-dtTasks :: Lens' DescribeTasks [Text]-dtTasks = lens _dtTasks (\ s a -> s{_dtTasks = a}) . _Coerce--instance AWSRequest DescribeTasks where- type Rs DescribeTasks = DescribeTasksResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- DescribeTasksResponse' <$>- (x .?> "failures" .!@ mempty) <*>- (x .?> "tasks" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable DescribeTasks where--instance NFData DescribeTasks where--instance ToHeaders DescribeTasks where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.DescribeTasks"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeTasks where- toJSON DescribeTasks'{..}- = object- (catMaybes- [("cluster" .=) <$> _dtCluster,- Just ("tasks" .= _dtTasks)])--instance ToPath DescribeTasks where- toPath = const "/"--instance ToQuery DescribeTasks where- toQuery = const mempty---- | /See:/ 'describeTasksResponse' smart constructor.-data DescribeTasksResponse = DescribeTasksResponse'- { _dtrsFailures :: !(Maybe [Failure])- , _dtrsTasks :: !(Maybe [Task])- , _dtrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeTasksResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dtrsFailures' - Any failures associated with the call.------ * 'dtrsTasks' - The list of tasks.------ * 'dtrsResponseStatus' - -- | The response status code.-describeTasksResponse- :: Int -- ^ 'dtrsResponseStatus'- -> DescribeTasksResponse-describeTasksResponse pResponseStatus_ =- DescribeTasksResponse'- { _dtrsFailures = Nothing- , _dtrsTasks = Nothing- , _dtrsResponseStatus = pResponseStatus_- }----- | Any failures associated with the call.-dtrsFailures :: Lens' DescribeTasksResponse [Failure]-dtrsFailures = lens _dtrsFailures (\ s a -> s{_dtrsFailures = a}) . _Default . _Coerce---- | The list of tasks.-dtrsTasks :: Lens' DescribeTasksResponse [Task]-dtrsTasks = lens _dtrsTasks (\ s a -> s{_dtrsTasks = a}) . _Default . _Coerce---- | -- | The response status code.-dtrsResponseStatus :: Lens' DescribeTasksResponse Int-dtrsResponseStatus = lens _dtrsResponseStatus (\ s a -> s{_dtrsResponseStatus = a})--instance NFData DescribeTasksResponse where
− gen/Network/AWS/ECS/DiscoverPollEndpoint.hs
@@ -1,155 +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.ECS.DiscoverPollEndpoint--- 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 an endpoint for the Amazon ECS agent to poll for updates.-------module Network.AWS.ECS.DiscoverPollEndpoint- (- -- * Creating a Request- discoverPollEndpoint- , DiscoverPollEndpoint- -- * Request Lenses- , dpeCluster- , dpeContainerInstance-- -- * Destructuring the Response- , discoverPollEndpointResponse- , DiscoverPollEndpointResponse- -- * Response Lenses- , dpersTelemetryEndpoint- , dpersEndpoint- , dpersResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'discoverPollEndpoint' smart constructor.-data DiscoverPollEndpoint = DiscoverPollEndpoint'- { _dpeCluster :: !(Maybe Text)- , _dpeContainerInstance :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DiscoverPollEndpoint' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dpeCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to.------ * 'dpeContainerInstance' - The container instance ID or full ARN of the container instance. The ARN contains the @arn:aws:ecs@ namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the @container-instance@ namespace, and then the container instance ID. For example, @arn:aws:ecs:/region/ :/aws_account_id/ :container-instance//container_instance_ID/ @ .-discoverPollEndpoint- :: DiscoverPollEndpoint-discoverPollEndpoint =- DiscoverPollEndpoint' {_dpeCluster = Nothing, _dpeContainerInstance = Nothing}----- | The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to.-dpeCluster :: Lens' DiscoverPollEndpoint (Maybe Text)-dpeCluster = lens _dpeCluster (\ s a -> s{_dpeCluster = a})---- | The container instance ID or full ARN of the container instance. The ARN contains the @arn:aws:ecs@ namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the @container-instance@ namespace, and then the container instance ID. For example, @arn:aws:ecs:/region/ :/aws_account_id/ :container-instance//container_instance_ID/ @ .-dpeContainerInstance :: Lens' DiscoverPollEndpoint (Maybe Text)-dpeContainerInstance = lens _dpeContainerInstance (\ s a -> s{_dpeContainerInstance = a})--instance AWSRequest DiscoverPollEndpoint where- type Rs DiscoverPollEndpoint =- DiscoverPollEndpointResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- DiscoverPollEndpointResponse' <$>- (x .?> "telemetryEndpoint") <*> (x .?> "endpoint")- <*> (pure (fromEnum s)))--instance Hashable DiscoverPollEndpoint where--instance NFData DiscoverPollEndpoint where--instance ToHeaders DiscoverPollEndpoint where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.DiscoverPollEndpoint"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DiscoverPollEndpoint where- toJSON DiscoverPollEndpoint'{..}- = object- (catMaybes- [("cluster" .=) <$> _dpeCluster,- ("containerInstance" .=) <$> _dpeContainerInstance])--instance ToPath DiscoverPollEndpoint where- toPath = const "/"--instance ToQuery DiscoverPollEndpoint where- toQuery = const mempty---- | /See:/ 'discoverPollEndpointResponse' smart constructor.-data DiscoverPollEndpointResponse = DiscoverPollEndpointResponse'- { _dpersTelemetryEndpoint :: !(Maybe Text)- , _dpersEndpoint :: !(Maybe Text)- , _dpersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DiscoverPollEndpointResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dpersTelemetryEndpoint' - The telemetry endpoint for the Amazon ECS agent.------ * 'dpersEndpoint' - The endpoint for the Amazon ECS agent to poll.------ * 'dpersResponseStatus' - -- | The response status code.-discoverPollEndpointResponse- :: Int -- ^ 'dpersResponseStatus'- -> DiscoverPollEndpointResponse-discoverPollEndpointResponse pResponseStatus_ =- DiscoverPollEndpointResponse'- { _dpersTelemetryEndpoint = Nothing- , _dpersEndpoint = Nothing- , _dpersResponseStatus = pResponseStatus_- }----- | The telemetry endpoint for the Amazon ECS agent.-dpersTelemetryEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)-dpersTelemetryEndpoint = lens _dpersTelemetryEndpoint (\ s a -> s{_dpersTelemetryEndpoint = a})---- | The endpoint for the Amazon ECS agent to poll.-dpersEndpoint :: Lens' DiscoverPollEndpointResponse (Maybe Text)-dpersEndpoint = lens _dpersEndpoint (\ s a -> s{_dpersEndpoint = a})---- | -- | The response status code.-dpersResponseStatus :: Lens' DiscoverPollEndpointResponse Int-dpersResponseStatus = lens _dpersResponseStatus (\ s a -> s{_dpersResponseStatus = a})--instance NFData DiscoverPollEndpointResponse where
− gen/Network/AWS/ECS/ListAttributes.hs
@@ -1,199 +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.ECS.ListAttributes--- 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 the attributes for Amazon ECS resources within a specified target type and cluster. When you specify a target type and cluster, @ListAttributes@ returns a list of attribute objects, one for each attribute on each resource. You can filter the list of results to a single attribute name to only return results that have that name. You can also filter the results by attribute name and value, for example, to see which container instances in a cluster are running a Linux AMI (@ecs.os-type=linux@ ).-------module Network.AWS.ECS.ListAttributes- (- -- * Creating a Request- listAttributes- , ListAttributes- -- * Request Lenses- , laAttributeValue- , laCluster- , laNextToken- , laAttributeName- , laMaxResults- , laTargetType-- -- * Destructuring the Response- , listAttributesResponse- , ListAttributesResponse- -- * Response Lenses- , larsNextToken- , larsAttributes- , larsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listAttributes' smart constructor.-data ListAttributes = ListAttributes'- { _laAttributeValue :: !(Maybe Text)- , _laCluster :: !(Maybe Text)- , _laNextToken :: !(Maybe Text)- , _laAttributeName :: !(Maybe Text)- , _laMaxResults :: !(Maybe Int)- , _laTargetType :: !TargetType- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListAttributes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'laAttributeValue' - The value of the attribute with which to filter results. You must also specify an attribute name to use this parameter.------ * 'laCluster' - The short name or full Amazon Resource Name (ARN) of the cluster to list attributes. If you do not specify a cluster, the default cluster is assumed.------ * 'laNextToken' - The @nextToken@ value returned from a previous paginated @ListAttributes@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.------ * 'laAttributeName' - The name of the attribute with which to filter the results.------ * 'laMaxResults' - The maximum number of cluster results returned by @ListAttributes@ in paginated output. When this parameter is used, @ListAttributes@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListAttributes@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListAttributes@ returns up to 100 results and a @nextToken@ value if applicable.------ * 'laTargetType' - The type of the target with which to list attributes.-listAttributes- :: TargetType -- ^ 'laTargetType'- -> ListAttributes-listAttributes pTargetType_ =- ListAttributes'- { _laAttributeValue = Nothing- , _laCluster = Nothing- , _laNextToken = Nothing- , _laAttributeName = Nothing- , _laMaxResults = Nothing- , _laTargetType = pTargetType_- }----- | The value of the attribute with which to filter results. You must also specify an attribute name to use this parameter.-laAttributeValue :: Lens' ListAttributes (Maybe Text)-laAttributeValue = lens _laAttributeValue (\ s a -> s{_laAttributeValue = a})---- | The short name or full Amazon Resource Name (ARN) of the cluster to list attributes. If you do not specify a cluster, the default cluster is assumed.-laCluster :: Lens' ListAttributes (Maybe Text)-laCluster = lens _laCluster (\ s a -> s{_laCluster = a})---- | The @nextToken@ value returned from a previous paginated @ListAttributes@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.-laNextToken :: Lens' ListAttributes (Maybe Text)-laNextToken = lens _laNextToken (\ s a -> s{_laNextToken = a})---- | The name of the attribute with which to filter the results.-laAttributeName :: Lens' ListAttributes (Maybe Text)-laAttributeName = lens _laAttributeName (\ s a -> s{_laAttributeName = a})---- | The maximum number of cluster results returned by @ListAttributes@ in paginated output. When this parameter is used, @ListAttributes@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListAttributes@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListAttributes@ returns up to 100 results and a @nextToken@ value if applicable.-laMaxResults :: Lens' ListAttributes (Maybe Int)-laMaxResults = lens _laMaxResults (\ s a -> s{_laMaxResults = a})---- | The type of the target with which to list attributes.-laTargetType :: Lens' ListAttributes TargetType-laTargetType = lens _laTargetType (\ s a -> s{_laTargetType = a})--instance AWSRequest ListAttributes where- type Rs ListAttributes = ListAttributesResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- ListAttributesResponse' <$>- (x .?> "nextToken") <*>- (x .?> "attributes" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable ListAttributes where--instance NFData ListAttributes where--instance ToHeaders ListAttributes where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.ListAttributes"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListAttributes where- toJSON ListAttributes'{..}- = object- (catMaybes- [("attributeValue" .=) <$> _laAttributeValue,- ("cluster" .=) <$> _laCluster,- ("nextToken" .=) <$> _laNextToken,- ("attributeName" .=) <$> _laAttributeName,- ("maxResults" .=) <$> _laMaxResults,- Just ("targetType" .= _laTargetType)])--instance ToPath ListAttributes where- toPath = const "/"--instance ToQuery ListAttributes where- toQuery = const mempty---- | /See:/ 'listAttributesResponse' smart constructor.-data ListAttributesResponse = ListAttributesResponse'- { _larsNextToken :: !(Maybe Text)- , _larsAttributes :: !(Maybe [Attribute])- , _larsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListAttributesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'larsNextToken' - The @nextToken@ value to include in a future @ListAttributes@ request. When the results of a @ListAttributes@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.------ * 'larsAttributes' - A list of attribute objects that meet the criteria of the request.------ * 'larsResponseStatus' - -- | The response status code.-listAttributesResponse- :: Int -- ^ 'larsResponseStatus'- -> ListAttributesResponse-listAttributesResponse pResponseStatus_ =- ListAttributesResponse'- { _larsNextToken = Nothing- , _larsAttributes = Nothing- , _larsResponseStatus = pResponseStatus_- }----- | The @nextToken@ value to include in a future @ListAttributes@ request. When the results of a @ListAttributes@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.-larsNextToken :: Lens' ListAttributesResponse (Maybe Text)-larsNextToken = lens _larsNextToken (\ s a -> s{_larsNextToken = a})---- | A list of attribute objects that meet the criteria of the request.-larsAttributes :: Lens' ListAttributesResponse [Attribute]-larsAttributes = lens _larsAttributes (\ s a -> s{_larsAttributes = a}) . _Default . _Coerce---- | -- | The response status code.-larsResponseStatus :: Lens' ListAttributesResponse Int-larsResponseStatus = lens _larsResponseStatus (\ s a -> s{_larsResponseStatus = a})--instance NFData ListAttributesResponse where
− gen/Network/AWS/ECS/ListClusters.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.ECS.ListClusters--- 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 a list of existing clusters.------------ This operation returns paginated results.-module Network.AWS.ECS.ListClusters- (- -- * Creating a Request- listClusters- , ListClusters- -- * Request Lenses- , lcNextToken- , lcMaxResults-- -- * Destructuring the Response- , listClustersResponse- , ListClustersResponse- -- * Response Lenses- , lcrsClusterARNs- , lcrsNextToken- , lcrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listClusters' smart constructor.-data ListClusters = ListClusters'- { _lcNextToken :: !(Maybe Text)- , _lcMaxResults :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListClusters' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lcNextToken' - The @nextToken@ value returned from a previous paginated @ListClusters@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.------ * 'lcMaxResults' - The maximum number of cluster results returned by @ListClusters@ in paginated output. When this parameter is used, @ListClusters@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListClusters@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListClusters@ returns up to 100 results and a @nextToken@ value if applicable.-listClusters- :: ListClusters-listClusters = ListClusters' {_lcNextToken = Nothing, _lcMaxResults = Nothing}----- | The @nextToken@ value returned from a previous paginated @ListClusters@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.-lcNextToken :: Lens' ListClusters (Maybe Text)-lcNextToken = lens _lcNextToken (\ s a -> s{_lcNextToken = a})---- | The maximum number of cluster results returned by @ListClusters@ in paginated output. When this parameter is used, @ListClusters@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListClusters@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListClusters@ returns up to 100 results and a @nextToken@ value if applicable.-lcMaxResults :: Lens' ListClusters (Maybe Int)-lcMaxResults = lens _lcMaxResults (\ s a -> s{_lcMaxResults = a})--instance AWSPager ListClusters where- page rq rs- | stop (rs ^. lcrsNextToken) = Nothing- | stop (rs ^. lcrsClusterARNs) = Nothing- | otherwise =- Just $ rq & lcNextToken .~ rs ^. lcrsNextToken--instance AWSRequest ListClusters where- type Rs ListClusters = ListClustersResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- ListClustersResponse' <$>- (x .?> "clusterArns" .!@ mempty) <*>- (x .?> "nextToken")- <*> (pure (fromEnum s)))--instance Hashable ListClusters where--instance NFData ListClusters where--instance ToHeaders ListClusters where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.ListClusters" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListClusters where- toJSON ListClusters'{..}- = object- (catMaybes- [("nextToken" .=) <$> _lcNextToken,- ("maxResults" .=) <$> _lcMaxResults])--instance ToPath ListClusters where- toPath = const "/"--instance ToQuery ListClusters where- toQuery = const mempty---- | /See:/ 'listClustersResponse' smart constructor.-data ListClustersResponse = ListClustersResponse'- { _lcrsClusterARNs :: !(Maybe [Text])- , _lcrsNextToken :: !(Maybe Text)- , _lcrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListClustersResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lcrsClusterARNs' - The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.------ * 'lcrsNextToken' - The @nextToken@ value to include in a future @ListClusters@ request. When the results of a @ListClusters@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.------ * 'lcrsResponseStatus' - -- | The response status code.-listClustersResponse- :: Int -- ^ 'lcrsResponseStatus'- -> ListClustersResponse-listClustersResponse pResponseStatus_ =- ListClustersResponse'- { _lcrsClusterARNs = Nothing- , _lcrsNextToken = Nothing- , _lcrsResponseStatus = pResponseStatus_- }----- | The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.-lcrsClusterARNs :: Lens' ListClustersResponse [Text]-lcrsClusterARNs = lens _lcrsClusterARNs (\ s a -> s{_lcrsClusterARNs = a}) . _Default . _Coerce---- | The @nextToken@ value to include in a future @ListClusters@ request. When the results of a @ListClusters@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.-lcrsNextToken :: Lens' ListClustersResponse (Maybe Text)-lcrsNextToken = lens _lcrsNextToken (\ s a -> s{_lcrsNextToken = a})---- | -- | The response status code.-lcrsResponseStatus :: Lens' ListClustersResponse Int-lcrsResponseStatus = lens _lcrsResponseStatus (\ s a -> s{_lcrsResponseStatus = a})--instance NFData ListClustersResponse where
− gen/Network/AWS/ECS/ListContainerInstances.hs
@@ -1,199 +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.ECS.ListContainerInstances--- 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 a list of container instances in a specified cluster. You can filter the results of a @ListContainerInstances@ operation with cluster query language statements inside the @filter@ parameter. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language> in the /Amazon Elastic Container Service Developer Guide/ .------------ This operation returns paginated results.-module Network.AWS.ECS.ListContainerInstances- (- -- * Creating a Request- listContainerInstances- , ListContainerInstances- -- * Request Lenses- , lciStatus- , lciCluster- , lciNextToken- , lciFilter- , lciMaxResults-- -- * Destructuring the Response- , listContainerInstancesResponse- , ListContainerInstancesResponse- -- * Response Lenses- , lcirsContainerInstanceARNs- , lcirsNextToken- , lcirsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listContainerInstances' smart constructor.-data ListContainerInstances = ListContainerInstances'- { _lciStatus :: !(Maybe ContainerInstanceStatus)- , _lciCluster :: !(Maybe Text)- , _lciNextToken :: !(Maybe Text)- , _lciFilter :: !(Maybe Text)- , _lciMaxResults :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListContainerInstances' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lciStatus' - Filters the container instances by status. For example, if you specify the @DRAINING@ status, the results include only container instances that have been set to @DRAINING@ using 'UpdateContainerInstancesState' . If you do not specify this parameter, the default is to include container instances set to @ACTIVE@ and @DRAINING@ .------ * 'lciCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list. If you do not specify a cluster, the default cluster is assumed.------ * 'lciNextToken' - The @nextToken@ value returned from a previous paginated @ListContainerInstances@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.------ * 'lciFilter' - You can filter the results of a @ListContainerInstances@ operation with cluster query language statements. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'lciMaxResults' - The maximum number of container instance results returned by @ListContainerInstances@ in paginated output. When this parameter is used, @ListContainerInstances@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListContainerInstances@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListContainerInstances@ returns up to 100 results and a @nextToken@ value if applicable.-listContainerInstances- :: ListContainerInstances-listContainerInstances =- ListContainerInstances'- { _lciStatus = Nothing- , _lciCluster = Nothing- , _lciNextToken = Nothing- , _lciFilter = Nothing- , _lciMaxResults = Nothing- }----- | Filters the container instances by status. For example, if you specify the @DRAINING@ status, the results include only container instances that have been set to @DRAINING@ using 'UpdateContainerInstancesState' . If you do not specify this parameter, the default is to include container instances set to @ACTIVE@ and @DRAINING@ .-lciStatus :: Lens' ListContainerInstances (Maybe ContainerInstanceStatus)-lciStatus = lens _lciStatus (\ s a -> s{_lciStatus = a})---- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list. If you do not specify a cluster, the default cluster is assumed.-lciCluster :: Lens' ListContainerInstances (Maybe Text)-lciCluster = lens _lciCluster (\ s a -> s{_lciCluster = a})---- | The @nextToken@ value returned from a previous paginated @ListContainerInstances@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.-lciNextToken :: Lens' ListContainerInstances (Maybe Text)-lciNextToken = lens _lciNextToken (\ s a -> s{_lciNextToken = a})---- | You can filter the results of a @ListContainerInstances@ operation with cluster query language statements. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language> in the /Amazon Elastic Container Service Developer Guide/ .-lciFilter :: Lens' ListContainerInstances (Maybe Text)-lciFilter = lens _lciFilter (\ s a -> s{_lciFilter = a})---- | The maximum number of container instance results returned by @ListContainerInstances@ in paginated output. When this parameter is used, @ListContainerInstances@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListContainerInstances@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListContainerInstances@ returns up to 100 results and a @nextToken@ value if applicable.-lciMaxResults :: Lens' ListContainerInstances (Maybe Int)-lciMaxResults = lens _lciMaxResults (\ s a -> s{_lciMaxResults = a})--instance AWSPager ListContainerInstances where- page rq rs- | stop (rs ^. lcirsNextToken) = Nothing- | stop (rs ^. lcirsContainerInstanceARNs) = Nothing- | otherwise =- Just $ rq & lciNextToken .~ rs ^. lcirsNextToken--instance AWSRequest ListContainerInstances where- type Rs ListContainerInstances =- ListContainerInstancesResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- ListContainerInstancesResponse' <$>- (x .?> "containerInstanceArns" .!@ mempty) <*>- (x .?> "nextToken")- <*> (pure (fromEnum s)))--instance Hashable ListContainerInstances where--instance NFData ListContainerInstances where--instance ToHeaders ListContainerInstances where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.ListContainerInstances"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListContainerInstances where- toJSON ListContainerInstances'{..}- = object- (catMaybes- [("status" .=) <$> _lciStatus,- ("cluster" .=) <$> _lciCluster,- ("nextToken" .=) <$> _lciNextToken,- ("filter" .=) <$> _lciFilter,- ("maxResults" .=) <$> _lciMaxResults])--instance ToPath ListContainerInstances where- toPath = const "/"--instance ToQuery ListContainerInstances where- toQuery = const mempty---- | /See:/ 'listContainerInstancesResponse' smart constructor.-data ListContainerInstancesResponse = ListContainerInstancesResponse'- { _lcirsContainerInstanceARNs :: !(Maybe [Text])- , _lcirsNextToken :: !(Maybe Text)- , _lcirsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListContainerInstancesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lcirsContainerInstanceARNs' - The list of container instances with full ARN entries for each container instance associated with the specified cluster.------ * 'lcirsNextToken' - The @nextToken@ value to include in a future @ListContainerInstances@ request. When the results of a @ListContainerInstances@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.------ * 'lcirsResponseStatus' - -- | The response status code.-listContainerInstancesResponse- :: Int -- ^ 'lcirsResponseStatus'- -> ListContainerInstancesResponse-listContainerInstancesResponse pResponseStatus_ =- ListContainerInstancesResponse'- { _lcirsContainerInstanceARNs = Nothing- , _lcirsNextToken = Nothing- , _lcirsResponseStatus = pResponseStatus_- }----- | The list of container instances with full ARN entries for each container instance associated with the specified cluster.-lcirsContainerInstanceARNs :: Lens' ListContainerInstancesResponse [Text]-lcirsContainerInstanceARNs = lens _lcirsContainerInstanceARNs (\ s a -> s{_lcirsContainerInstanceARNs = a}) . _Default . _Coerce---- | The @nextToken@ value to include in a future @ListContainerInstances@ request. When the results of a @ListContainerInstances@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.-lcirsNextToken :: Lens' ListContainerInstancesResponse (Maybe Text)-lcirsNextToken = lens _lcirsNextToken (\ s a -> s{_lcirsNextToken = a})---- | -- | The response status code.-lcirsResponseStatus :: Lens' ListContainerInstancesResponse Int-lcirsResponseStatus = lens _lcirsResponseStatus (\ s a -> s{_lcirsResponseStatus = a})--instance NFData ListContainerInstancesResponse where
− gen/Network/AWS/ECS/ListServices.hs
@@ -1,188 +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.ECS.ListServices--- 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 the services that are running in a specified cluster.------------ This operation returns paginated results.-module Network.AWS.ECS.ListServices- (- -- * Creating a Request- listServices- , ListServices- -- * Request Lenses- , lsCluster- , lsNextToken- , lsLaunchType- , lsMaxResults-- -- * Destructuring the Response- , listServicesResponse- , ListServicesResponse- -- * Response Lenses- , lsrsServiceARNs- , lsrsNextToken- , lsrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listServices' smart constructor.-data ListServices = ListServices'- { _lsCluster :: !(Maybe Text)- , _lsNextToken :: !(Maybe Text)- , _lsLaunchType :: !(Maybe LaunchType)- , _lsMaxResults :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListServices' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lsCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. If you do not specify a cluster, the default cluster is assumed.------ * 'lsNextToken' - The @nextToken@ value returned from a previous paginated @ListServices@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.------ * 'lsLaunchType' - The launch type for services you want to list.------ * 'lsMaxResults' - The maximum number of service results returned by @ListServices@ in paginated output. When this parameter is used, @ListServices@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListServices@ request with the returned @nextToken@ value. This value can be between 1 and 10. If this parameter is not used, then @ListServices@ returns up to 10 results and a @nextToken@ value if applicable.-listServices- :: ListServices-listServices =- ListServices'- { _lsCluster = Nothing- , _lsNextToken = Nothing- , _lsLaunchType = Nothing- , _lsMaxResults = Nothing- }----- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. If you do not specify a cluster, the default cluster is assumed.-lsCluster :: Lens' ListServices (Maybe Text)-lsCluster = lens _lsCluster (\ s a -> s{_lsCluster = a})---- | The @nextToken@ value returned from a previous paginated @ListServices@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.-lsNextToken :: Lens' ListServices (Maybe Text)-lsNextToken = lens _lsNextToken (\ s a -> s{_lsNextToken = a})---- | The launch type for services you want to list.-lsLaunchType :: Lens' ListServices (Maybe LaunchType)-lsLaunchType = lens _lsLaunchType (\ s a -> s{_lsLaunchType = a})---- | The maximum number of service results returned by @ListServices@ in paginated output. When this parameter is used, @ListServices@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListServices@ request with the returned @nextToken@ value. This value can be between 1 and 10. If this parameter is not used, then @ListServices@ returns up to 10 results and a @nextToken@ value if applicable.-lsMaxResults :: Lens' ListServices (Maybe Int)-lsMaxResults = lens _lsMaxResults (\ s a -> s{_lsMaxResults = a})--instance AWSPager ListServices where- page rq rs- | stop (rs ^. lsrsNextToken) = Nothing- | stop (rs ^. lsrsServiceARNs) = Nothing- | otherwise =- Just $ rq & lsNextToken .~ rs ^. lsrsNextToken--instance AWSRequest ListServices where- type Rs ListServices = ListServicesResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- ListServicesResponse' <$>- (x .?> "serviceArns" .!@ mempty) <*>- (x .?> "nextToken")- <*> (pure (fromEnum s)))--instance Hashable ListServices where--instance NFData ListServices where--instance ToHeaders ListServices where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.ListServices" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListServices where- toJSON ListServices'{..}- = object- (catMaybes- [("cluster" .=) <$> _lsCluster,- ("nextToken" .=) <$> _lsNextToken,- ("launchType" .=) <$> _lsLaunchType,- ("maxResults" .=) <$> _lsMaxResults])--instance ToPath ListServices where- toPath = const "/"--instance ToQuery ListServices where- toQuery = const mempty---- | /See:/ 'listServicesResponse' smart constructor.-data ListServicesResponse = ListServicesResponse'- { _lsrsServiceARNs :: !(Maybe [Text])- , _lsrsNextToken :: !(Maybe Text)- , _lsrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListServicesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lsrsServiceARNs' - The list of full ARN entries for each service associated with the specified cluster.------ * 'lsrsNextToken' - The @nextToken@ value to include in a future @ListServices@ request. When the results of a @ListServices@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.------ * 'lsrsResponseStatus' - -- | The response status code.-listServicesResponse- :: Int -- ^ 'lsrsResponseStatus'- -> ListServicesResponse-listServicesResponse pResponseStatus_ =- ListServicesResponse'- { _lsrsServiceARNs = Nothing- , _lsrsNextToken = Nothing- , _lsrsResponseStatus = pResponseStatus_- }----- | The list of full ARN entries for each service associated with the specified cluster.-lsrsServiceARNs :: Lens' ListServicesResponse [Text]-lsrsServiceARNs = lens _lsrsServiceARNs (\ s a -> s{_lsrsServiceARNs = a}) . _Default . _Coerce---- | The @nextToken@ value to include in a future @ListServices@ request. When the results of a @ListServices@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.-lsrsNextToken :: Lens' ListServicesResponse (Maybe Text)-lsrsNextToken = lens _lsrsNextToken (\ s a -> s{_lsrsNextToken = a})---- | -- | The response status code.-lsrsResponseStatus :: Lens' ListServicesResponse Int-lsrsResponseStatus = lens _lsrsResponseStatus (\ s a -> s{_lsrsResponseStatus = a})--instance NFData ListServicesResponse where
− gen/Network/AWS/ECS/ListTaskDefinitionFamilies.hs
@@ -1,191 +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.ECS.ListTaskDefinitionFamilies--- 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 a list of task definition families that are registered to your account (which may include task definition families that no longer have any @ACTIVE@ task definition revisions).--------- You can filter out task definition families that do not contain any @ACTIVE@ task definition revisions by setting the @status@ parameter to @ACTIVE@ . You can also filter the results with the @familyPrefix@ parameter.--------- This operation returns paginated results.-module Network.AWS.ECS.ListTaskDefinitionFamilies- (- -- * Creating a Request- listTaskDefinitionFamilies- , ListTaskDefinitionFamilies- -- * Request Lenses- , ltdfStatus- , ltdfFamilyPrefix- , ltdfNextToken- , ltdfMaxResults-- -- * Destructuring the Response- , listTaskDefinitionFamiliesResponse- , ListTaskDefinitionFamiliesResponse- -- * Response Lenses- , ltdfrsFamilies- , ltdfrsNextToken- , ltdfrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listTaskDefinitionFamilies' smart constructor.-data ListTaskDefinitionFamilies = ListTaskDefinitionFamilies'- { _ltdfStatus :: !(Maybe TaskDefinitionFamilyStatus)- , _ltdfFamilyPrefix :: !(Maybe Text)- , _ltdfNextToken :: !(Maybe Text)- , _ltdfMaxResults :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTaskDefinitionFamilies' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltdfStatus' - The task definition family status with which to filter the @ListTaskDefinitionFamilies@ results. By default, both @ACTIVE@ and @INACTIVE@ task definition families are listed. If this parameter is set to @ACTIVE@ , only task definition families that have an @ACTIVE@ task definition revision are returned. If this parameter is set to @INACTIVE@ , only task definition families that do not have any @ACTIVE@ task definition revisions are returned. If you paginate the resulting output, be sure to keep the @status@ value constant in each subsequent request.------ * 'ltdfFamilyPrefix' - The @familyPrefix@ is a string that is used to filter the results of @ListTaskDefinitionFamilies@ . If you specify a @familyPrefix@ , only task definition family names that begin with the @familyPrefix@ string are returned.------ * 'ltdfNextToken' - The @nextToken@ value returned from a previous paginated @ListTaskDefinitionFamilies@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.------ * 'ltdfMaxResults' - The maximum number of task definition family results returned by @ListTaskDefinitionFamilies@ in paginated output. When this parameter is used, @ListTaskDefinitions@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListTaskDefinitionFamilies@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListTaskDefinitionFamilies@ returns up to 100 results and a @nextToken@ value if applicable.-listTaskDefinitionFamilies- :: ListTaskDefinitionFamilies-listTaskDefinitionFamilies =- ListTaskDefinitionFamilies'- { _ltdfStatus = Nothing- , _ltdfFamilyPrefix = Nothing- , _ltdfNextToken = Nothing- , _ltdfMaxResults = Nothing- }----- | The task definition family status with which to filter the @ListTaskDefinitionFamilies@ results. By default, both @ACTIVE@ and @INACTIVE@ task definition families are listed. If this parameter is set to @ACTIVE@ , only task definition families that have an @ACTIVE@ task definition revision are returned. If this parameter is set to @INACTIVE@ , only task definition families that do not have any @ACTIVE@ task definition revisions are returned. If you paginate the resulting output, be sure to keep the @status@ value constant in each subsequent request.-ltdfStatus :: Lens' ListTaskDefinitionFamilies (Maybe TaskDefinitionFamilyStatus)-ltdfStatus = lens _ltdfStatus (\ s a -> s{_ltdfStatus = a})---- | The @familyPrefix@ is a string that is used to filter the results of @ListTaskDefinitionFamilies@ . If you specify a @familyPrefix@ , only task definition family names that begin with the @familyPrefix@ string are returned.-ltdfFamilyPrefix :: Lens' ListTaskDefinitionFamilies (Maybe Text)-ltdfFamilyPrefix = lens _ltdfFamilyPrefix (\ s a -> s{_ltdfFamilyPrefix = a})---- | The @nextToken@ value returned from a previous paginated @ListTaskDefinitionFamilies@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.-ltdfNextToken :: Lens' ListTaskDefinitionFamilies (Maybe Text)-ltdfNextToken = lens _ltdfNextToken (\ s a -> s{_ltdfNextToken = a})---- | The maximum number of task definition family results returned by @ListTaskDefinitionFamilies@ in paginated output. When this parameter is used, @ListTaskDefinitions@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListTaskDefinitionFamilies@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListTaskDefinitionFamilies@ returns up to 100 results and a @nextToken@ value if applicable.-ltdfMaxResults :: Lens' ListTaskDefinitionFamilies (Maybe Int)-ltdfMaxResults = lens _ltdfMaxResults (\ s a -> s{_ltdfMaxResults = a})--instance AWSPager ListTaskDefinitionFamilies where- page rq rs- | stop (rs ^. ltdfrsNextToken) = Nothing- | stop (rs ^. ltdfrsFamilies) = Nothing- | otherwise =- Just $ rq & ltdfNextToken .~ rs ^. ltdfrsNextToken--instance AWSRequest ListTaskDefinitionFamilies where- type Rs ListTaskDefinitionFamilies =- ListTaskDefinitionFamiliesResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- ListTaskDefinitionFamiliesResponse' <$>- (x .?> "families" .!@ mempty) <*> (x .?> "nextToken")- <*> (pure (fromEnum s)))--instance Hashable ListTaskDefinitionFamilies where--instance NFData ListTaskDefinitionFamilies where--instance ToHeaders ListTaskDefinitionFamilies where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.ListTaskDefinitionFamilies"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListTaskDefinitionFamilies where- toJSON ListTaskDefinitionFamilies'{..}- = object- (catMaybes- [("status" .=) <$> _ltdfStatus,- ("familyPrefix" .=) <$> _ltdfFamilyPrefix,- ("nextToken" .=) <$> _ltdfNextToken,- ("maxResults" .=) <$> _ltdfMaxResults])--instance ToPath ListTaskDefinitionFamilies where- toPath = const "/"--instance ToQuery ListTaskDefinitionFamilies where- toQuery = const mempty---- | /See:/ 'listTaskDefinitionFamiliesResponse' smart constructor.-data ListTaskDefinitionFamiliesResponse = ListTaskDefinitionFamiliesResponse'- { _ltdfrsFamilies :: !(Maybe [Text])- , _ltdfrsNextToken :: !(Maybe Text)- , _ltdfrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTaskDefinitionFamiliesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltdfrsFamilies' - The list of task definition family names that match the @ListTaskDefinitionFamilies@ request.------ * 'ltdfrsNextToken' - The @nextToken@ value to include in a future @ListTaskDefinitionFamilies@ request. When the results of a @ListTaskDefinitionFamilies@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.------ * 'ltdfrsResponseStatus' - -- | The response status code.-listTaskDefinitionFamiliesResponse- :: Int -- ^ 'ltdfrsResponseStatus'- -> ListTaskDefinitionFamiliesResponse-listTaskDefinitionFamiliesResponse pResponseStatus_ =- ListTaskDefinitionFamiliesResponse'- { _ltdfrsFamilies = Nothing- , _ltdfrsNextToken = Nothing- , _ltdfrsResponseStatus = pResponseStatus_- }----- | The list of task definition family names that match the @ListTaskDefinitionFamilies@ request.-ltdfrsFamilies :: Lens' ListTaskDefinitionFamiliesResponse [Text]-ltdfrsFamilies = lens _ltdfrsFamilies (\ s a -> s{_ltdfrsFamilies = a}) . _Default . _Coerce---- | The @nextToken@ value to include in a future @ListTaskDefinitionFamilies@ request. When the results of a @ListTaskDefinitionFamilies@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.-ltdfrsNextToken :: Lens' ListTaskDefinitionFamiliesResponse (Maybe Text)-ltdfrsNextToken = lens _ltdfrsNextToken (\ s a -> s{_ltdfrsNextToken = a})---- | -- | The response status code.-ltdfrsResponseStatus :: Lens' ListTaskDefinitionFamiliesResponse Int-ltdfrsResponseStatus = lens _ltdfrsResponseStatus (\ s a -> s{_ltdfrsResponseStatus = a})--instance NFData ListTaskDefinitionFamiliesResponse- where
− gen/Network/AWS/ECS/ListTaskDefinitions.hs
@@ -1,199 +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.ECS.ListTaskDefinitions--- 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 a list of task definitions that are registered to your account. You can filter the results by family name with the @familyPrefix@ parameter or by status with the @status@ parameter.------------ This operation returns paginated results.-module Network.AWS.ECS.ListTaskDefinitions- (- -- * Creating a Request- listTaskDefinitions- , ListTaskDefinitions- -- * Request Lenses- , ltdStatus- , ltdFamilyPrefix- , ltdNextToken- , ltdSort- , ltdMaxResults-- -- * Destructuring the Response- , listTaskDefinitionsResponse- , ListTaskDefinitionsResponse- -- * Response Lenses- , ltdrsTaskDefinitionARNs- , ltdrsNextToken- , ltdrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listTaskDefinitions' smart constructor.-data ListTaskDefinitions = ListTaskDefinitions'- { _ltdStatus :: !(Maybe TaskDefinitionStatus)- , _ltdFamilyPrefix :: !(Maybe Text)- , _ltdNextToken :: !(Maybe Text)- , _ltdSort :: !(Maybe SortOrder)- , _ltdMaxResults :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTaskDefinitions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltdStatus' - The task definition status with which to filter the @ListTaskDefinitions@ results. By default, only @ACTIVE@ task definitions are listed. By setting this parameter to @INACTIVE@ , you can view task definitions that are @INACTIVE@ as long as an active task or service still references them. If you paginate the resulting output, be sure to keep the @status@ value constant in each subsequent request.------ * 'ltdFamilyPrefix' - The full family name with which to filter the @ListTaskDefinitions@ results. Specifying a @familyPrefix@ limits the listed task definitions to task definition revisions that belong to that family.------ * 'ltdNextToken' - The @nextToken@ value returned from a previous paginated @ListTaskDefinitions@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.------ * 'ltdSort' - The order in which to sort the results. Valid values are @ASC@ and @DESC@ . By default (@ASC@ ), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter to @DESC@ reverses the sort order on family name and revision so that the newest task definitions in a family are listed first.------ * 'ltdMaxResults' - The maximum number of task definition results returned by @ListTaskDefinitions@ in paginated output. When this parameter is used, @ListTaskDefinitions@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListTaskDefinitions@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListTaskDefinitions@ returns up to 100 results and a @nextToken@ value if applicable.-listTaskDefinitions- :: ListTaskDefinitions-listTaskDefinitions =- ListTaskDefinitions'- { _ltdStatus = Nothing- , _ltdFamilyPrefix = Nothing- , _ltdNextToken = Nothing- , _ltdSort = Nothing- , _ltdMaxResults = Nothing- }----- | The task definition status with which to filter the @ListTaskDefinitions@ results. By default, only @ACTIVE@ task definitions are listed. By setting this parameter to @INACTIVE@ , you can view task definitions that are @INACTIVE@ as long as an active task or service still references them. If you paginate the resulting output, be sure to keep the @status@ value constant in each subsequent request.-ltdStatus :: Lens' ListTaskDefinitions (Maybe TaskDefinitionStatus)-ltdStatus = lens _ltdStatus (\ s a -> s{_ltdStatus = a})---- | The full family name with which to filter the @ListTaskDefinitions@ results. Specifying a @familyPrefix@ limits the listed task definitions to task definition revisions that belong to that family.-ltdFamilyPrefix :: Lens' ListTaskDefinitions (Maybe Text)-ltdFamilyPrefix = lens _ltdFamilyPrefix (\ s a -> s{_ltdFamilyPrefix = a})---- | The @nextToken@ value returned from a previous paginated @ListTaskDefinitions@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.-ltdNextToken :: Lens' ListTaskDefinitions (Maybe Text)-ltdNextToken = lens _ltdNextToken (\ s a -> s{_ltdNextToken = a})---- | The order in which to sort the results. Valid values are @ASC@ and @DESC@ . By default (@ASC@ ), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter to @DESC@ reverses the sort order on family name and revision so that the newest task definitions in a family are listed first.-ltdSort :: Lens' ListTaskDefinitions (Maybe SortOrder)-ltdSort = lens _ltdSort (\ s a -> s{_ltdSort = a})---- | The maximum number of task definition results returned by @ListTaskDefinitions@ in paginated output. When this parameter is used, @ListTaskDefinitions@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListTaskDefinitions@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListTaskDefinitions@ returns up to 100 results and a @nextToken@ value if applicable.-ltdMaxResults :: Lens' ListTaskDefinitions (Maybe Int)-ltdMaxResults = lens _ltdMaxResults (\ s a -> s{_ltdMaxResults = a})--instance AWSPager ListTaskDefinitions where- page rq rs- | stop (rs ^. ltdrsNextToken) = Nothing- | stop (rs ^. ltdrsTaskDefinitionARNs) = Nothing- | otherwise =- Just $ rq & ltdNextToken .~ rs ^. ltdrsNextToken--instance AWSRequest ListTaskDefinitions where- type Rs ListTaskDefinitions =- ListTaskDefinitionsResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- ListTaskDefinitionsResponse' <$>- (x .?> "taskDefinitionArns" .!@ mempty) <*>- (x .?> "nextToken")- <*> (pure (fromEnum s)))--instance Hashable ListTaskDefinitions where--instance NFData ListTaskDefinitions where--instance ToHeaders ListTaskDefinitions where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.ListTaskDefinitions"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListTaskDefinitions where- toJSON ListTaskDefinitions'{..}- = object- (catMaybes- [("status" .=) <$> _ltdStatus,- ("familyPrefix" .=) <$> _ltdFamilyPrefix,- ("nextToken" .=) <$> _ltdNextToken,- ("sort" .=) <$> _ltdSort,- ("maxResults" .=) <$> _ltdMaxResults])--instance ToPath ListTaskDefinitions where- toPath = const "/"--instance ToQuery ListTaskDefinitions where- toQuery = const mempty---- | /See:/ 'listTaskDefinitionsResponse' smart constructor.-data ListTaskDefinitionsResponse = ListTaskDefinitionsResponse'- { _ltdrsTaskDefinitionARNs :: !(Maybe [Text])- , _ltdrsNextToken :: !(Maybe Text)- , _ltdrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTaskDefinitionsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltdrsTaskDefinitionARNs' - The list of task definition Amazon Resource Name (ARN) entries for the @ListTaskDefinitions@ request.------ * 'ltdrsNextToken' - The @nextToken@ value to include in a future @ListTaskDefinitions@ request. When the results of a @ListTaskDefinitions@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.------ * 'ltdrsResponseStatus' - -- | The response status code.-listTaskDefinitionsResponse- :: Int -- ^ 'ltdrsResponseStatus'- -> ListTaskDefinitionsResponse-listTaskDefinitionsResponse pResponseStatus_ =- ListTaskDefinitionsResponse'- { _ltdrsTaskDefinitionARNs = Nothing- , _ltdrsNextToken = Nothing- , _ltdrsResponseStatus = pResponseStatus_- }----- | The list of task definition Amazon Resource Name (ARN) entries for the @ListTaskDefinitions@ request.-ltdrsTaskDefinitionARNs :: Lens' ListTaskDefinitionsResponse [Text]-ltdrsTaskDefinitionARNs = lens _ltdrsTaskDefinitionARNs (\ s a -> s{_ltdrsTaskDefinitionARNs = a}) . _Default . _Coerce---- | The @nextToken@ value to include in a future @ListTaskDefinitions@ request. When the results of a @ListTaskDefinitions@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.-ltdrsNextToken :: Lens' ListTaskDefinitionsResponse (Maybe Text)-ltdrsNextToken = lens _ltdrsNextToken (\ s a -> s{_ltdrsNextToken = a})---- | -- | The response status code.-ltdrsResponseStatus :: Lens' ListTaskDefinitionsResponse Int-ltdrsResponseStatus = lens _ltdrsResponseStatus (\ s a -> s{_ltdrsResponseStatus = a})--instance NFData ListTaskDefinitionsResponse where
− gen/Network/AWS/ECS/ListTasks.hs
@@ -1,239 +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.ECS.ListTasks--- 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 a list of tasks for a specified cluster. You can filter the results by family name, by a particular container instance, or by the desired status of the task with the @family@ , @containerInstance@ , and @desiredStatus@ parameters.--------- Recently stopped tasks might appear in the returned results. Currently, stopped tasks appear in the returned results for at least one hour.--------- This operation returns paginated results.-module Network.AWS.ECS.ListTasks- (- -- * Creating a Request- listTasks- , ListTasks- -- * Request Lenses- , ltDesiredStatus- , ltCluster- , ltFamily- , ltNextToken- , ltStartedBy- , ltServiceName- , ltLaunchType- , ltContainerInstance- , ltMaxResults-- -- * Destructuring the Response- , listTasksResponse- , ListTasksResponse- -- * Response Lenses- , ltrsNextToken- , ltrsTaskARNs- , ltrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listTasks' smart constructor.-data ListTasks = ListTasks'- { _ltDesiredStatus :: !(Maybe DesiredStatus)- , _ltCluster :: !(Maybe Text)- , _ltFamily :: !(Maybe Text)- , _ltNextToken :: !(Maybe Text)- , _ltStartedBy :: !(Maybe Text)- , _ltServiceName :: !(Maybe Text)- , _ltLaunchType :: !(Maybe LaunchType)- , _ltContainerInstance :: !(Maybe Text)- , _ltMaxResults :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTasks' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltDesiredStatus' - The task desired status with which to filter the @ListTasks@ results. Specifying a @desiredStatus@ of @STOPPED@ limits the results to tasks that Amazon ECS has set the desired status to @STOPPED@ , which can be useful for debugging tasks that are not starting properly or have died or finished. The default status filter is @RUNNING@ , which shows tasks that Amazon ECS has set the desired status to @RUNNING@ .------ * 'ltCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the tasks to list. If you do not specify a cluster, the default cluster is assumed.------ * 'ltFamily' - The name of the family with which to filter the @ListTasks@ results. Specifying a @family@ limits the results to tasks that belong to that family.------ * 'ltNextToken' - The @nextToken@ value returned from a previous paginated @ListTasks@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.------ * 'ltStartedBy' - The @startedBy@ value with which to filter the task results. Specifying a @startedBy@ value limits the results to tasks that were started with that value.------ * 'ltServiceName' - The name of the service with which to filter the @ListTasks@ results. Specifying a @serviceName@ limits the results to tasks that belong to that service.------ * 'ltLaunchType' - The launch type for services you want to list.------ * 'ltContainerInstance' - The container instance ID or full ARN of the container instance with which to filter the @ListTasks@ results. Specifying a @containerInstance@ limits the results to tasks that belong to that container instance.------ * 'ltMaxResults' - The maximum number of task results returned by @ListTasks@ in paginated output. When this parameter is used, @ListTasks@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListTasks@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListTasks@ returns up to 100 results and a @nextToken@ value if applicable.-listTasks- :: ListTasks-listTasks =- ListTasks'- { _ltDesiredStatus = Nothing- , _ltCluster = Nothing- , _ltFamily = Nothing- , _ltNextToken = Nothing- , _ltStartedBy = Nothing- , _ltServiceName = Nothing- , _ltLaunchType = Nothing- , _ltContainerInstance = Nothing- , _ltMaxResults = Nothing- }----- | The task desired status with which to filter the @ListTasks@ results. Specifying a @desiredStatus@ of @STOPPED@ limits the results to tasks that Amazon ECS has set the desired status to @STOPPED@ , which can be useful for debugging tasks that are not starting properly or have died or finished. The default status filter is @RUNNING@ , which shows tasks that Amazon ECS has set the desired status to @RUNNING@ .-ltDesiredStatus :: Lens' ListTasks (Maybe DesiredStatus)-ltDesiredStatus = lens _ltDesiredStatus (\ s a -> s{_ltDesiredStatus = a})---- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the tasks to list. If you do not specify a cluster, the default cluster is assumed.-ltCluster :: Lens' ListTasks (Maybe Text)-ltCluster = lens _ltCluster (\ s a -> s{_ltCluster = a})---- | The name of the family with which to filter the @ListTasks@ results. Specifying a @family@ limits the results to tasks that belong to that family.-ltFamily :: Lens' ListTasks (Maybe Text)-ltFamily = lens _ltFamily (\ s a -> s{_ltFamily = a})---- | The @nextToken@ value returned from a previous paginated @ListTasks@ request where @maxResults@ was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the @nextToken@ value.-ltNextToken :: Lens' ListTasks (Maybe Text)-ltNextToken = lens _ltNextToken (\ s a -> s{_ltNextToken = a})---- | The @startedBy@ value with which to filter the task results. Specifying a @startedBy@ value limits the results to tasks that were started with that value.-ltStartedBy :: Lens' ListTasks (Maybe Text)-ltStartedBy = lens _ltStartedBy (\ s a -> s{_ltStartedBy = a})---- | The name of the service with which to filter the @ListTasks@ results. Specifying a @serviceName@ limits the results to tasks that belong to that service.-ltServiceName :: Lens' ListTasks (Maybe Text)-ltServiceName = lens _ltServiceName (\ s a -> s{_ltServiceName = a})---- | The launch type for services you want to list.-ltLaunchType :: Lens' ListTasks (Maybe LaunchType)-ltLaunchType = lens _ltLaunchType (\ s a -> s{_ltLaunchType = a})---- | The container instance ID or full ARN of the container instance with which to filter the @ListTasks@ results. Specifying a @containerInstance@ limits the results to tasks that belong to that container instance.-ltContainerInstance :: Lens' ListTasks (Maybe Text)-ltContainerInstance = lens _ltContainerInstance (\ s a -> s{_ltContainerInstance = a})---- | The maximum number of task results returned by @ListTasks@ in paginated output. When this parameter is used, @ListTasks@ only returns @maxResults@ results in a single page along with a @nextToken@ response element. The remaining results of the initial request can be seen by sending another @ListTasks@ request with the returned @nextToken@ value. This value can be between 1 and 100. If this parameter is not used, then @ListTasks@ returns up to 100 results and a @nextToken@ value if applicable.-ltMaxResults :: Lens' ListTasks (Maybe Int)-ltMaxResults = lens _ltMaxResults (\ s a -> s{_ltMaxResults = a})--instance AWSPager ListTasks where- page rq rs- | stop (rs ^. ltrsNextToken) = Nothing- | stop (rs ^. ltrsTaskARNs) = Nothing- | otherwise =- Just $ rq & ltNextToken .~ rs ^. ltrsNextToken--instance AWSRequest ListTasks where- type Rs ListTasks = ListTasksResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- ListTasksResponse' <$>- (x .?> "nextToken") <*> (x .?> "taskArns" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable ListTasks where--instance NFData ListTasks where--instance ToHeaders ListTasks where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.ListTasks" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListTasks where- toJSON ListTasks'{..}- = object- (catMaybes- [("desiredStatus" .=) <$> _ltDesiredStatus,- ("cluster" .=) <$> _ltCluster,- ("family" .=) <$> _ltFamily,- ("nextToken" .=) <$> _ltNextToken,- ("startedBy" .=) <$> _ltStartedBy,- ("serviceName" .=) <$> _ltServiceName,- ("launchType" .=) <$> _ltLaunchType,- ("containerInstance" .=) <$> _ltContainerInstance,- ("maxResults" .=) <$> _ltMaxResults])--instance ToPath ListTasks where- toPath = const "/"--instance ToQuery ListTasks where- toQuery = const mempty---- | /See:/ 'listTasksResponse' smart constructor.-data ListTasksResponse = ListTasksResponse'- { _ltrsNextToken :: !(Maybe Text)- , _ltrsTaskARNs :: !(Maybe [Text])- , _ltrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTasksResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltrsNextToken' - The @nextToken@ value to include in a future @ListTasks@ request. When the results of a @ListTasks@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.------ * 'ltrsTaskARNs' - The list of task ARN entries for the @ListTasks@ request.------ * 'ltrsResponseStatus' - -- | The response status code.-listTasksResponse- :: Int -- ^ 'ltrsResponseStatus'- -> ListTasksResponse-listTasksResponse pResponseStatus_ =- ListTasksResponse'- { _ltrsNextToken = Nothing- , _ltrsTaskARNs = Nothing- , _ltrsResponseStatus = pResponseStatus_- }----- | The @nextToken@ value to include in a future @ListTasks@ request. When the results of a @ListTasks@ request exceed @maxResults@ , this value can be used to retrieve the next page of results. This value is @null@ when there are no more results to return.-ltrsNextToken :: Lens' ListTasksResponse (Maybe Text)-ltrsNextToken = lens _ltrsNextToken (\ s a -> s{_ltrsNextToken = a})---- | The list of task ARN entries for the @ListTasks@ request.-ltrsTaskARNs :: Lens' ListTasksResponse [Text]-ltrsTaskARNs = lens _ltrsTaskARNs (\ s a -> s{_ltrsTaskARNs = a}) . _Default . _Coerce---- | -- | The response status code.-ltrsResponseStatus :: Lens' ListTasksResponse Int-ltrsResponseStatus = lens _ltrsResponseStatus (\ s a -> s{_ltrsResponseStatus = a})--instance NFData ListTasksResponse where
− gen/Network/AWS/ECS/PutAttributes.hs
@@ -1,142 +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.ECS.PutAttributes--- 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)------ Create or update an attribute on an Amazon ECS resource. If the attribute does not exist, it is created. If the attribute exists, its value is replaced with the specified value. To delete an attribute, use 'DeleteAttributes' . For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes Attributes> in the /Amazon Elastic Container Service Developer Guide/ .-------module Network.AWS.ECS.PutAttributes- (- -- * Creating a Request- putAttributes- , PutAttributes- -- * Request Lenses- , paCluster- , paAttributes-- -- * Destructuring the Response- , putAttributesResponse- , PutAttributesResponse- -- * Response Lenses- , parsAttributes- , parsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'putAttributes' smart constructor.-data PutAttributes = PutAttributes'- { _paCluster :: !(Maybe Text)- , _paAttributes :: ![Attribute]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutAttributes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'paCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.------ * 'paAttributes' - The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call.-putAttributes- :: PutAttributes-putAttributes = PutAttributes' {_paCluster = Nothing, _paAttributes = mempty}----- | The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.-paCluster :: Lens' PutAttributes (Maybe Text)-paCluster = lens _paCluster (\ s a -> s{_paCluster = a})---- | The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call.-paAttributes :: Lens' PutAttributes [Attribute]-paAttributes = lens _paAttributes (\ s a -> s{_paAttributes = a}) . _Coerce--instance AWSRequest PutAttributes where- type Rs PutAttributes = PutAttributesResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- PutAttributesResponse' <$>- (x .?> "attributes" .!@ mempty) <*>- (pure (fromEnum s)))--instance Hashable PutAttributes where--instance NFData PutAttributes where--instance ToHeaders PutAttributes where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.PutAttributes"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON PutAttributes where- toJSON PutAttributes'{..}- = object- (catMaybes- [("cluster" .=) <$> _paCluster,- Just ("attributes" .= _paAttributes)])--instance ToPath PutAttributes where- toPath = const "/"--instance ToQuery PutAttributes where- toQuery = const mempty---- | /See:/ 'putAttributesResponse' smart constructor.-data PutAttributesResponse = PutAttributesResponse'- { _parsAttributes :: !(Maybe [Attribute])- , _parsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutAttributesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'parsAttributes' - The attributes applied to your resource.------ * 'parsResponseStatus' - -- | The response status code.-putAttributesResponse- :: Int -- ^ 'parsResponseStatus'- -> PutAttributesResponse-putAttributesResponse pResponseStatus_ =- PutAttributesResponse'- {_parsAttributes = Nothing, _parsResponseStatus = pResponseStatus_}----- | The attributes applied to your resource.-parsAttributes :: Lens' PutAttributesResponse [Attribute]-parsAttributes = lens _parsAttributes (\ s a -> s{_parsAttributes = a}) . _Default . _Coerce---- | -- | The response status code.-parsResponseStatus :: Lens' PutAttributesResponse Int-parsResponseStatus = lens _parsResponseStatus (\ s a -> s{_parsResponseStatus = a})--instance NFData PutAttributesResponse where
− gen/Network/AWS/ECS/RegisterContainerInstance.hs
@@ -1,200 +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.ECS.RegisterContainerInstance--- 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)------ Registers an EC2 instance into the specified cluster. This instance becomes available to place containers on.-------module Network.AWS.ECS.RegisterContainerInstance- (- -- * Creating a Request- registerContainerInstance- , RegisterContainerInstance- -- * Request Lenses- , rciInstanceIdentityDocumentSignature- , rciCluster- , rciInstanceIdentityDocument- , rciContainerInstanceARN- , rciVersionInfo- , rciAttributes- , rciTotalResources-- -- * Destructuring the Response- , registerContainerInstanceResponse- , RegisterContainerInstanceResponse- -- * Response Lenses- , rcirsContainerInstance- , rcirsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'registerContainerInstance' smart constructor.-data RegisterContainerInstance = RegisterContainerInstance'- { _rciInstanceIdentityDocumentSignature :: !(Maybe Text)- , _rciCluster :: !(Maybe Text)- , _rciInstanceIdentityDocument :: !(Maybe Text)- , _rciContainerInstanceARN :: !(Maybe Text)- , _rciVersionInfo :: !(Maybe VersionInfo)- , _rciAttributes :: !(Maybe [Attribute])- , _rciTotalResources :: !(Maybe [Resource])- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RegisterContainerInstance' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rciInstanceIdentityDocumentSignature' - The instance identity document signature for the EC2 instance to register. This signature can be found by running the following command from the instance: @curl http://169.254.169.254/latest/dynamic/instance-identity/signature/@------ * 'rciCluster' - The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. If you do not specify a cluster, the default cluster is assumed.------ * 'rciInstanceIdentityDocument' - The instance identity document for the EC2 instance to register. This document can be found by running the following command from the instance: @curl http://169.254.169.254/latest/dynamic/instance-identity/document/@------ * 'rciContainerInstanceARN' - The ARN of the container instance (if it was previously registered).------ * 'rciVersionInfo' - The version information for the Amazon ECS container agent and Docker daemon running on the container instance.------ * 'rciAttributes' - The container instance attributes that this container instance supports.------ * 'rciTotalResources' - The resources available on the instance.-registerContainerInstance- :: RegisterContainerInstance-registerContainerInstance =- RegisterContainerInstance'- { _rciInstanceIdentityDocumentSignature = Nothing- , _rciCluster = Nothing- , _rciInstanceIdentityDocument = Nothing- , _rciContainerInstanceARN = Nothing- , _rciVersionInfo = Nothing- , _rciAttributes = Nothing- , _rciTotalResources = Nothing- }----- | The instance identity document signature for the EC2 instance to register. This signature can be found by running the following command from the instance: @curl http://169.254.169.254/latest/dynamic/instance-identity/signature/@-rciInstanceIdentityDocumentSignature :: Lens' RegisterContainerInstance (Maybe Text)-rciInstanceIdentityDocumentSignature = lens _rciInstanceIdentityDocumentSignature (\ s a -> s{_rciInstanceIdentityDocumentSignature = a})---- | The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. If you do not specify a cluster, the default cluster is assumed.-rciCluster :: Lens' RegisterContainerInstance (Maybe Text)-rciCluster = lens _rciCluster (\ s a -> s{_rciCluster = a})---- | The instance identity document for the EC2 instance to register. This document can be found by running the following command from the instance: @curl http://169.254.169.254/latest/dynamic/instance-identity/document/@-rciInstanceIdentityDocument :: Lens' RegisterContainerInstance (Maybe Text)-rciInstanceIdentityDocument = lens _rciInstanceIdentityDocument (\ s a -> s{_rciInstanceIdentityDocument = a})---- | The ARN of the container instance (if it was previously registered).-rciContainerInstanceARN :: Lens' RegisterContainerInstance (Maybe Text)-rciContainerInstanceARN = lens _rciContainerInstanceARN (\ s a -> s{_rciContainerInstanceARN = a})---- | The version information for the Amazon ECS container agent and Docker daemon running on the container instance.-rciVersionInfo :: Lens' RegisterContainerInstance (Maybe VersionInfo)-rciVersionInfo = lens _rciVersionInfo (\ s a -> s{_rciVersionInfo = a})---- | The container instance attributes that this container instance supports.-rciAttributes :: Lens' RegisterContainerInstance [Attribute]-rciAttributes = lens _rciAttributes (\ s a -> s{_rciAttributes = a}) . _Default . _Coerce---- | The resources available on the instance.-rciTotalResources :: Lens' RegisterContainerInstance [Resource]-rciTotalResources = lens _rciTotalResources (\ s a -> s{_rciTotalResources = a}) . _Default . _Coerce--instance AWSRequest RegisterContainerInstance where- type Rs RegisterContainerInstance =- RegisterContainerInstanceResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- RegisterContainerInstanceResponse' <$>- (x .?> "containerInstance") <*> (pure (fromEnum s)))--instance Hashable RegisterContainerInstance where--instance NFData RegisterContainerInstance where--instance ToHeaders RegisterContainerInstance where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.RegisterContainerInstance"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON RegisterContainerInstance where- toJSON RegisterContainerInstance'{..}- = object- (catMaybes- [("instanceIdentityDocumentSignature" .=) <$>- _rciInstanceIdentityDocumentSignature,- ("cluster" .=) <$> _rciCluster,- ("instanceIdentityDocument" .=) <$>- _rciInstanceIdentityDocument,- ("containerInstanceArn" .=) <$>- _rciContainerInstanceARN,- ("versionInfo" .=) <$> _rciVersionInfo,- ("attributes" .=) <$> _rciAttributes,- ("totalResources" .=) <$> _rciTotalResources])--instance ToPath RegisterContainerInstance where- toPath = const "/"--instance ToQuery RegisterContainerInstance where- toQuery = const mempty---- | /See:/ 'registerContainerInstanceResponse' smart constructor.-data RegisterContainerInstanceResponse = RegisterContainerInstanceResponse'- { _rcirsContainerInstance :: !(Maybe ContainerInstance)- , _rcirsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RegisterContainerInstanceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rcirsContainerInstance' - The container instance that was registered.------ * 'rcirsResponseStatus' - -- | The response status code.-registerContainerInstanceResponse- :: Int -- ^ 'rcirsResponseStatus'- -> RegisterContainerInstanceResponse-registerContainerInstanceResponse pResponseStatus_ =- RegisterContainerInstanceResponse'- {_rcirsContainerInstance = Nothing, _rcirsResponseStatus = pResponseStatus_}----- | The container instance that was registered.-rcirsContainerInstance :: Lens' RegisterContainerInstanceResponse (Maybe ContainerInstance)-rcirsContainerInstance = lens _rcirsContainerInstance (\ s a -> s{_rcirsContainerInstance = a})---- | -- | The response status code.-rcirsResponseStatus :: Lens' RegisterContainerInstanceResponse Int-rcirsResponseStatus = lens _rcirsResponseStatus (\ s a -> s{_rcirsResponseStatus = a})--instance NFData RegisterContainerInstanceResponse- where
− gen/Network/AWS/ECS/RegisterTaskDefinition.hs
@@ -1,235 +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.ECS.RegisterTaskDefinition--- 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)------ Registers a new task definition from the supplied @family@ and @containerDefinitions@ . Optionally, you can add data volumes to your containers with the @volumes@ parameter. For more information about task definition parameters and defaults, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions> in the /Amazon Elastic Container Service Developer Guide/ .--------- You can specify an IAM role for your task with the @taskRoleArn@ parameter. When you specify an IAM role for a task, its containers can then use the latest versions of the AWS CLI or SDKs to make API requests to the AWS services that are specified in the IAM policy associated with the role. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM Roles for Tasks> in the /Amazon Elastic Container Service Developer Guide/ .------ You can specify a Docker networking mode for the containers in your task definition with the @networkMode@ parameter. The available network modes correspond to those described in <https://docs.docker.com/engine/reference/run/#/network-settings Network settings> in the Docker run reference. If you specify the @awsvpc@ network mode, the task is allocated an Elastic Network Interface, and you must specify a 'NetworkConfiguration' when you create a service or run a task with the task definition. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking> in the /Amazon Elastic Container Service Developer Guide/ .----module Network.AWS.ECS.RegisterTaskDefinition- (- -- * Creating a Request- registerTaskDefinition- , RegisterTaskDefinition- -- * Request Lenses- , rtdExecutionRoleARN- , rtdRequiresCompatibilities- , rtdMemory- , rtdTaskRoleARN- , rtdPlacementConstraints- , rtdNetworkMode- , rtdVolumes- , rtdCpu- , rtdFamily- , rtdContainerDefinitions-- -- * Destructuring the Response- , registerTaskDefinitionResponse- , RegisterTaskDefinitionResponse- -- * Response Lenses- , rtdrsTaskDefinition- , rtdrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'registerTaskDefinition' smart constructor.-data RegisterTaskDefinition = RegisterTaskDefinition'- { _rtdExecutionRoleARN :: !(Maybe Text)- , _rtdRequiresCompatibilities :: !(Maybe [Compatibility])- , _rtdMemory :: !(Maybe Text)- , _rtdTaskRoleARN :: !(Maybe Text)- , _rtdPlacementConstraints :: !(Maybe [TaskDefinitionPlacementConstraint])- , _rtdNetworkMode :: !(Maybe NetworkMode)- , _rtdVolumes :: !(Maybe [Volume])- , _rtdCpu :: !(Maybe Text)- , _rtdFamily :: !Text- , _rtdContainerDefinitions :: ![ContainerDefinition]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RegisterTaskDefinition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rtdExecutionRoleARN' - The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.------ * 'rtdRequiresCompatibilities' - The launch type required by the task. If no value is specified, it defaults to @EC2@ .------ * 'rtdMemory' - The amount of memory (in MiB) used by the task. It can be expressed as an integer using MiB, for example @1024@ , or as a string using GB, for example @1GB@ or @1 GB@ , in a task definition but will be converted to an integer indicating the MiB when the task definition is registered. If using the EC2 launch type, this field is optional. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the @cpu@ parameter: * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256 (.25 vCPU) * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@ values: 512 (.5 vCPU) * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU) * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 2048 (2 vCPU) * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 4096 (4 vCPU)------ * 'rtdTaskRoleARN' - The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM Roles for Tasks> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'rtdPlacementConstraints' - An array of placement constraint objects to use for the task. You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at run time).------ * 'rtdNetworkMode' - The Docker networking mode to use for the containers in the task. The valid values are @none@ , @bridge@ , @awsvpc@ , and @host@ . The default Docker network mode is @bridge@ . If using the Fargate launch type, the @awsvpc@ network mode is required. If using the EC2 launch type, any network mode can be used. If the network mode is set to @none@ , you can't specify port mappings in your container definitions, and the task's containers do not have external connectivity. The @host@ and @awsvpc@ network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the @bridge@ mode. With the @host@ and @awsvpc@ network modes, exposed container ports are mapped directly to the corresponding host port (for the @host@ network mode) or the attached elastic network interface port (for the @awsvpc@ network mode), so you cannot take advantage of dynamic host port mappings. If the network mode is @awsvpc@ , the task is allocated an Elastic Network Interface, and you must specify a 'NetworkConfiguration' when you create a service or run a task with the task definition. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking> in the /Amazon Elastic Container Service Developer Guide/ . If the network mode is @host@ , you can't run multiple instantiations of the same task on a single container instance when port mappings are used. Docker for Windows uses different network modes than Docker for Linux. When you register a task definition with Windows containers, you must not specify a network mode. For more information, see <https://docs.docker.com/engine/reference/run/#network-settings Network settings> in the /Docker run reference/ .------ * 'rtdVolumes' - A list of volume definitions in JSON format that containers in your task may use.------ * 'rtdCpu' - The number of CPU units used by the task. It can be expressed as an integer using CPU units, for example @1024@ , or as a string using vCPUs, for example @1 vCPU@ or @1 vcpu@ , in a task definition but will be converted to an integer indicating the CPU units when the task definition is registered. If using the EC2 launch type, this field is optional. Supported values are between @128@ CPU units (@0.125@ vCPUs) and @10240@ CPU units (@10@ vCPUs). If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the @memory@ parameter: * 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) * 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) * 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) * 2048 (2 vCPU) - Available @memory@ values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) * 4096 (4 vCPU) - Available @memory@ values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)------ * 'rtdFamily' - You must specify a @family@ for a task definition, which allows you to track multiple versions of the same task definition. The @family@ is used as a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.------ * 'rtdContainerDefinitions' - A list of container definitions in JSON format that describe the different containers that make up your task.-registerTaskDefinition- :: Text -- ^ 'rtdFamily'- -> RegisterTaskDefinition-registerTaskDefinition pFamily_ =- RegisterTaskDefinition'- { _rtdExecutionRoleARN = Nothing- , _rtdRequiresCompatibilities = Nothing- , _rtdMemory = Nothing- , _rtdTaskRoleARN = Nothing- , _rtdPlacementConstraints = Nothing- , _rtdNetworkMode = Nothing- , _rtdVolumes = Nothing- , _rtdCpu = Nothing- , _rtdFamily = pFamily_- , _rtdContainerDefinitions = mempty- }----- | The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.-rtdExecutionRoleARN :: Lens' RegisterTaskDefinition (Maybe Text)-rtdExecutionRoleARN = lens _rtdExecutionRoleARN (\ s a -> s{_rtdExecutionRoleARN = a})---- | The launch type required by the task. If no value is specified, it defaults to @EC2@ .-rtdRequiresCompatibilities :: Lens' RegisterTaskDefinition [Compatibility]-rtdRequiresCompatibilities = lens _rtdRequiresCompatibilities (\ s a -> s{_rtdRequiresCompatibilities = a}) . _Default . _Coerce---- | The amount of memory (in MiB) used by the task. It can be expressed as an integer using MiB, for example @1024@ , or as a string using GB, for example @1GB@ or @1 GB@ , in a task definition but will be converted to an integer indicating the MiB when the task definition is registered. If using the EC2 launch type, this field is optional. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the @cpu@ parameter: * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256 (.25 vCPU) * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@ values: 512 (.5 vCPU) * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU) * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 2048 (2 vCPU) * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 4096 (4 vCPU)-rtdMemory :: Lens' RegisterTaskDefinition (Maybe Text)-rtdMemory = lens _rtdMemory (\ s a -> s{_rtdMemory = a})---- | The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html IAM Roles for Tasks> in the /Amazon Elastic Container Service Developer Guide/ .-rtdTaskRoleARN :: Lens' RegisterTaskDefinition (Maybe Text)-rtdTaskRoleARN = lens _rtdTaskRoleARN (\ s a -> s{_rtdTaskRoleARN = a})---- | An array of placement constraint objects to use for the task. You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at run time).-rtdPlacementConstraints :: Lens' RegisterTaskDefinition [TaskDefinitionPlacementConstraint]-rtdPlacementConstraints = lens _rtdPlacementConstraints (\ s a -> s{_rtdPlacementConstraints = a}) . _Default . _Coerce---- | The Docker networking mode to use for the containers in the task. The valid values are @none@ , @bridge@ , @awsvpc@ , and @host@ . The default Docker network mode is @bridge@ . If using the Fargate launch type, the @awsvpc@ network mode is required. If using the EC2 launch type, any network mode can be used. If the network mode is set to @none@ , you can't specify port mappings in your container definitions, and the task's containers do not have external connectivity. The @host@ and @awsvpc@ network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the @bridge@ mode. With the @host@ and @awsvpc@ network modes, exposed container ports are mapped directly to the corresponding host port (for the @host@ network mode) or the attached elastic network interface port (for the @awsvpc@ network mode), so you cannot take advantage of dynamic host port mappings. If the network mode is @awsvpc@ , the task is allocated an Elastic Network Interface, and you must specify a 'NetworkConfiguration' when you create a service or run a task with the task definition. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking> in the /Amazon Elastic Container Service Developer Guide/ . If the network mode is @host@ , you can't run multiple instantiations of the same task on a single container instance when port mappings are used. Docker for Windows uses different network modes than Docker for Linux. When you register a task definition with Windows containers, you must not specify a network mode. For more information, see <https://docs.docker.com/engine/reference/run/#network-settings Network settings> in the /Docker run reference/ .-rtdNetworkMode :: Lens' RegisterTaskDefinition (Maybe NetworkMode)-rtdNetworkMode = lens _rtdNetworkMode (\ s a -> s{_rtdNetworkMode = a})---- | A list of volume definitions in JSON format that containers in your task may use.-rtdVolumes :: Lens' RegisterTaskDefinition [Volume]-rtdVolumes = lens _rtdVolumes (\ s a -> s{_rtdVolumes = a}) . _Default . _Coerce---- | The number of CPU units used by the task. It can be expressed as an integer using CPU units, for example @1024@ , or as a string using vCPUs, for example @1 vCPU@ or @1 vcpu@ , in a task definition but will be converted to an integer indicating the CPU units when the task definition is registered. If using the EC2 launch type, this field is optional. Supported values are between @128@ CPU units (@0.125@ vCPUs) and @10240@ CPU units (@10@ vCPUs). If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the @memory@ parameter: * 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) * 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) * 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) * 2048 (2 vCPU) - Available @memory@ values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) * 4096 (4 vCPU) - Available @memory@ values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)-rtdCpu :: Lens' RegisterTaskDefinition (Maybe Text)-rtdCpu = lens _rtdCpu (\ s a -> s{_rtdCpu = a})---- | You must specify a @family@ for a task definition, which allows you to track multiple versions of the same task definition. The @family@ is used as a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.-rtdFamily :: Lens' RegisterTaskDefinition Text-rtdFamily = lens _rtdFamily (\ s a -> s{_rtdFamily = a})---- | A list of container definitions in JSON format that describe the different containers that make up your task.-rtdContainerDefinitions :: Lens' RegisterTaskDefinition [ContainerDefinition]-rtdContainerDefinitions = lens _rtdContainerDefinitions (\ s a -> s{_rtdContainerDefinitions = a}) . _Coerce--instance AWSRequest RegisterTaskDefinition where- type Rs RegisterTaskDefinition =- RegisterTaskDefinitionResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- RegisterTaskDefinitionResponse' <$>- (x .?> "taskDefinition") <*> (pure (fromEnum s)))--instance Hashable RegisterTaskDefinition where--instance NFData RegisterTaskDefinition where--instance ToHeaders RegisterTaskDefinition where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.RegisterTaskDefinition"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON RegisterTaskDefinition where- toJSON RegisterTaskDefinition'{..}- = object- (catMaybes- [("executionRoleArn" .=) <$> _rtdExecutionRoleARN,- ("requiresCompatibilities" .=) <$>- _rtdRequiresCompatibilities,- ("memory" .=) <$> _rtdMemory,- ("taskRoleArn" .=) <$> _rtdTaskRoleARN,- ("placementConstraints" .=) <$>- _rtdPlacementConstraints,- ("networkMode" .=) <$> _rtdNetworkMode,- ("volumes" .=) <$> _rtdVolumes,- ("cpu" .=) <$> _rtdCpu,- Just ("family" .= _rtdFamily),- Just- ("containerDefinitions" .=- _rtdContainerDefinitions)])--instance ToPath RegisterTaskDefinition where- toPath = const "/"--instance ToQuery RegisterTaskDefinition where- toQuery = const mempty---- | /See:/ 'registerTaskDefinitionResponse' smart constructor.-data RegisterTaskDefinitionResponse = RegisterTaskDefinitionResponse'- { _rtdrsTaskDefinition :: !(Maybe TaskDefinition)- , _rtdrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RegisterTaskDefinitionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rtdrsTaskDefinition' - The full description of the registered task definition.------ * 'rtdrsResponseStatus' - -- | The response status code.-registerTaskDefinitionResponse- :: Int -- ^ 'rtdrsResponseStatus'- -> RegisterTaskDefinitionResponse-registerTaskDefinitionResponse pResponseStatus_ =- RegisterTaskDefinitionResponse'- {_rtdrsTaskDefinition = Nothing, _rtdrsResponseStatus = pResponseStatus_}----- | The full description of the registered task definition.-rtdrsTaskDefinition :: Lens' RegisterTaskDefinitionResponse (Maybe TaskDefinition)-rtdrsTaskDefinition = lens _rtdrsTaskDefinition (\ s a -> s{_rtdrsTaskDefinition = a})---- | -- | The response status code.-rtdrsResponseStatus :: Lens' RegisterTaskDefinitionResponse Int-rtdrsResponseStatus = lens _rtdrsResponseStatus (\ s a -> s{_rtdrsResponseStatus = a})--instance NFData RegisterTaskDefinitionResponse where
− gen/Network/AWS/ECS/RunTask.hs
@@ -1,265 +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.ECS.RunTask--- 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)------ Starts a new task using the specified task definition.--------- You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places tasks using placement constraints and placement strategies. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html Scheduling Tasks> in the /Amazon Elastic Container Service Developer Guide/ .------ Alternatively, you can use 'StartTask' to use your own scheduler or place tasks manually on specific container instances.------ The Amazon ECS API follows an eventual consistency model, due to the distributed nature of the system supporting the API. This means that the result of an API command you run that affects your Amazon ECS resources might not be immediately visible to all subsequent commands you run. You should keep this in mind when you carry out an API command that immediately follows a previous API command.------ To manage eventual consistency, you can do the following:------ * Confirm the state of the resource before you run a command to modify it. Run the DescribeTasks command using an exponential backoff algorithm to ensure that you allow enough time for the previous command to propagate through the system. To do this, run the DescribeTasks command repeatedly, starting with a couple of seconds of wait time, and increasing gradually up to five minutes of wait time.------ * Add wait time between subsequent commands, even if the DescribeTasks command returns an accurate response. Apply an exponential backoff algorithm starting with a couple of seconds of wait time, and increase gradually up to about five minutes of wait time.----------module Network.AWS.ECS.RunTask- (- -- * Creating a Request- runTask- , RunTask- -- * Request Lenses- , rtOverrides- , rtGroup- , rtCluster- , rtPlatformVersion- , rtCount- , rtPlacementConstraints- , rtPlacementStrategy- , rtStartedBy- , rtLaunchType- , rtNetworkConfiguration- , rtTaskDefinition-- -- * Destructuring the Response- , runTaskResponse- , RunTaskResponse- -- * Response Lenses- , rtrsFailures- , rtrsTasks- , rtrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'runTask' smart constructor.-data RunTask = RunTask'- { _rtOverrides :: !(Maybe TaskOverride)- , _rtGroup :: !(Maybe Text)- , _rtCluster :: !(Maybe Text)- , _rtPlatformVersion :: !(Maybe Text)- , _rtCount :: !(Maybe Int)- , _rtPlacementConstraints :: !(Maybe [PlacementConstraint])- , _rtPlacementStrategy :: !(Maybe [PlacementStrategy])- , _rtStartedBy :: !(Maybe Text)- , _rtLaunchType :: !(Maybe LaunchType)- , _rtNetworkConfiguration :: !(Maybe NetworkConfiguration)- , _rtTaskDefinition :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RunTask' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rtOverrides' - A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it should receive. You can override the default command for a container (that is specified in the task definition or Docker image) with a @command@ override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an @environment@ override.------ * 'rtGroup' - The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name).------ * 'rtCluster' - The short name or full Amazon Resource Name (ARN) of the cluster on which to run your task. If you do not specify a cluster, the default cluster is assumed.------ * 'rtPlatformVersion' - The platform version on which to run your task. If one is not specified, the latest version is used by default.------ * 'rtCount' - The number of instantiations of the specified task to place on your cluster. You can specify up to 10 tasks per call.------ * 'rtPlacementConstraints' - An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at run time).------ * 'rtPlacementStrategy' - The placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task.------ * 'rtStartedBy' - An optional tag specified when a task is started. For example if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the @startedBy@ parameter. You can then identify which tasks belong to that job by filtering the results of a 'ListTasks' call with the @startedBy@ value. Up to 36 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. If a task is started by an Amazon ECS service, then the @startedBy@ parameter contains the deployment ID of the service that starts it.------ * 'rtLaunchType' - The launch type on which to run your task.------ * 'rtNetworkConfiguration' - The network configuration for the task. This parameter is required for task definitions that use the @awsvpc@ network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'rtTaskDefinition' - The @family@ and @revision@ (@family:revision@ ) or full ARN of the task definition to run. If a @revision@ is not specified, the latest @ACTIVE@ revision is used.-runTask- :: Text -- ^ 'rtTaskDefinition'- -> RunTask-runTask pTaskDefinition_ =- RunTask'- { _rtOverrides = Nothing- , _rtGroup = Nothing- , _rtCluster = Nothing- , _rtPlatformVersion = Nothing- , _rtCount = Nothing- , _rtPlacementConstraints = Nothing- , _rtPlacementStrategy = Nothing- , _rtStartedBy = Nothing- , _rtLaunchType = Nothing- , _rtNetworkConfiguration = Nothing- , _rtTaskDefinition = pTaskDefinition_- }----- | A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it should receive. You can override the default command for a container (that is specified in the task definition or Docker image) with a @command@ override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an @environment@ override.-rtOverrides :: Lens' RunTask (Maybe TaskOverride)-rtOverrides = lens _rtOverrides (\ s a -> s{_rtOverrides = a})---- | The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name).-rtGroup :: Lens' RunTask (Maybe Text)-rtGroup = lens _rtGroup (\ s a -> s{_rtGroup = a})---- | The short name or full Amazon Resource Name (ARN) of the cluster on which to run your task. If you do not specify a cluster, the default cluster is assumed.-rtCluster :: Lens' RunTask (Maybe Text)-rtCluster = lens _rtCluster (\ s a -> s{_rtCluster = a})---- | The platform version on which to run your task. If one is not specified, the latest version is used by default.-rtPlatformVersion :: Lens' RunTask (Maybe Text)-rtPlatformVersion = lens _rtPlatformVersion (\ s a -> s{_rtPlatformVersion = a})---- | The number of instantiations of the specified task to place on your cluster. You can specify up to 10 tasks per call.-rtCount :: Lens' RunTask (Maybe Int)-rtCount = lens _rtCount (\ s a -> s{_rtCount = a})---- | An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at run time).-rtPlacementConstraints :: Lens' RunTask [PlacementConstraint]-rtPlacementConstraints = lens _rtPlacementConstraints (\ s a -> s{_rtPlacementConstraints = a}) . _Default . _Coerce---- | The placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task.-rtPlacementStrategy :: Lens' RunTask [PlacementStrategy]-rtPlacementStrategy = lens _rtPlacementStrategy (\ s a -> s{_rtPlacementStrategy = a}) . _Default . _Coerce---- | An optional tag specified when a task is started. For example if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the @startedBy@ parameter. You can then identify which tasks belong to that job by filtering the results of a 'ListTasks' call with the @startedBy@ value. Up to 36 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. If a task is started by an Amazon ECS service, then the @startedBy@ parameter contains the deployment ID of the service that starts it.-rtStartedBy :: Lens' RunTask (Maybe Text)-rtStartedBy = lens _rtStartedBy (\ s a -> s{_rtStartedBy = a})---- | The launch type on which to run your task.-rtLaunchType :: Lens' RunTask (Maybe LaunchType)-rtLaunchType = lens _rtLaunchType (\ s a -> s{_rtLaunchType = a})---- | The network configuration for the task. This parameter is required for task definitions that use the @awsvpc@ network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking> in the /Amazon Elastic Container Service Developer Guide/ .-rtNetworkConfiguration :: Lens' RunTask (Maybe NetworkConfiguration)-rtNetworkConfiguration = lens _rtNetworkConfiguration (\ s a -> s{_rtNetworkConfiguration = a})---- | The @family@ and @revision@ (@family:revision@ ) or full ARN of the task definition to run. If a @revision@ is not specified, the latest @ACTIVE@ revision is used.-rtTaskDefinition :: Lens' RunTask Text-rtTaskDefinition = lens _rtTaskDefinition (\ s a -> s{_rtTaskDefinition = a})--instance AWSRequest RunTask where- type Rs RunTask = RunTaskResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- RunTaskResponse' <$>- (x .?> "failures" .!@ mempty) <*>- (x .?> "tasks" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable RunTask where--instance NFData RunTask where--instance ToHeaders RunTask where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.RunTask" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON RunTask where- toJSON RunTask'{..}- = object- (catMaybes- [("overrides" .=) <$> _rtOverrides,- ("group" .=) <$> _rtGroup,- ("cluster" .=) <$> _rtCluster,- ("platformVersion" .=) <$> _rtPlatformVersion,- ("count" .=) <$> _rtCount,- ("placementConstraints" .=) <$>- _rtPlacementConstraints,- ("placementStrategy" .=) <$> _rtPlacementStrategy,- ("startedBy" .=) <$> _rtStartedBy,- ("launchType" .=) <$> _rtLaunchType,- ("networkConfiguration" .=) <$>- _rtNetworkConfiguration,- Just ("taskDefinition" .= _rtTaskDefinition)])--instance ToPath RunTask where- toPath = const "/"--instance ToQuery RunTask where- toQuery = const mempty---- | /See:/ 'runTaskResponse' smart constructor.-data RunTaskResponse = RunTaskResponse'- { _rtrsFailures :: !(Maybe [Failure])- , _rtrsTasks :: !(Maybe [Task])- , _rtrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RunTaskResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rtrsFailures' - Any failures associated with the call.------ * 'rtrsTasks' - A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.------ * 'rtrsResponseStatus' - -- | The response status code.-runTaskResponse- :: Int -- ^ 'rtrsResponseStatus'- -> RunTaskResponse-runTaskResponse pResponseStatus_ =- RunTaskResponse'- { _rtrsFailures = Nothing- , _rtrsTasks = Nothing- , _rtrsResponseStatus = pResponseStatus_- }----- | Any failures associated with the call.-rtrsFailures :: Lens' RunTaskResponse [Failure]-rtrsFailures = lens _rtrsFailures (\ s a -> s{_rtrsFailures = a}) . _Default . _Coerce---- | A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.-rtrsTasks :: Lens' RunTaskResponse [Task]-rtrsTasks = lens _rtrsTasks (\ s a -> s{_rtrsTasks = a}) . _Default . _Coerce---- | -- | The response status code.-rtrsResponseStatus :: Lens' RunTaskResponse Int-rtrsResponseStatus = lens _rtrsResponseStatus (\ s a -> s{_rtrsResponseStatus = a})--instance NFData RunTaskResponse where
− gen/Network/AWS/ECS/StartTask.hs
@@ -1,212 +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.ECS.StartTask--- 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)------ Starts a new task from the specified task definition on the specified container instance or instances.--------- Alternatively, you can use 'RunTask' to place tasks for you. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html Scheduling Tasks> in the /Amazon Elastic Container Service Developer Guide/ .----module Network.AWS.ECS.StartTask- (- -- * Creating a Request- startTask- , StartTask- -- * Request Lenses- , sOverrides- , sGroup- , sCluster- , sStartedBy- , sNetworkConfiguration- , sTaskDefinition- , sContainerInstances-- -- * Destructuring the Response- , startTaskResponse- , StartTaskResponse- -- * Response Lenses- , strsFailures- , strsTasks- , strsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'startTask' smart constructor.-data StartTask = StartTask'- { _sOverrides :: !(Maybe TaskOverride)- , _sGroup :: !(Maybe Text)- , _sCluster :: !(Maybe Text)- , _sStartedBy :: !(Maybe Text)- , _sNetworkConfiguration :: !(Maybe NetworkConfiguration)- , _sTaskDefinition :: !Text- , _sContainerInstances :: ![Text]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StartTask' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sOverrides' - A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it should receive. You can override the default command for a container (that is specified in the task definition or Docker image) with a @command@ override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an @environment@ override.------ * 'sGroup' - The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name).------ * 'sCluster' - The short name or full Amazon Resource Name (ARN) of the cluster on which to start your task. If you do not specify a cluster, the default cluster is assumed.------ * 'sStartedBy' - An optional tag specified when a task is started. For example if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the @startedBy@ parameter. You can then identify which tasks belong to that job by filtering the results of a 'ListTasks' call with the @startedBy@ value. Up to 36 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. If a task is started by an Amazon ECS service, then the @startedBy@ parameter contains the deployment ID of the service that starts it.------ * 'sNetworkConfiguration' - The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the @awsvpc@ networking mode.------ * 'sTaskDefinition' - The @family@ and @revision@ (@family:revision@ ) or full ARN of the task definition to start. If a @revision@ is not specified, the latest @ACTIVE@ revision is used.------ * 'sContainerInstances' - The container instance IDs or full ARN entries for the container instances on which you would like to place your task. You can specify up to 10 container instances.-startTask- :: Text -- ^ 'sTaskDefinition'- -> StartTask-startTask pTaskDefinition_ =- StartTask'- { _sOverrides = Nothing- , _sGroup = Nothing- , _sCluster = Nothing- , _sStartedBy = Nothing- , _sNetworkConfiguration = Nothing- , _sTaskDefinition = pTaskDefinition_- , _sContainerInstances = mempty- }----- | A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it should receive. You can override the default command for a container (that is specified in the task definition or Docker image) with a @command@ override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an @environment@ override.-sOverrides :: Lens' StartTask (Maybe TaskOverride)-sOverrides = lens _sOverrides (\ s a -> s{_sOverrides = a})---- | The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name).-sGroup :: Lens' StartTask (Maybe Text)-sGroup = lens _sGroup (\ s a -> s{_sGroup = a})---- | The short name or full Amazon Resource Name (ARN) of the cluster on which to start your task. If you do not specify a cluster, the default cluster is assumed.-sCluster :: Lens' StartTask (Maybe Text)-sCluster = lens _sCluster (\ s a -> s{_sCluster = a})---- | An optional tag specified when a task is started. For example if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the @startedBy@ parameter. You can then identify which tasks belong to that job by filtering the results of a 'ListTasks' call with the @startedBy@ value. Up to 36 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. If a task is started by an Amazon ECS service, then the @startedBy@ parameter contains the deployment ID of the service that starts it.-sStartedBy :: Lens' StartTask (Maybe Text)-sStartedBy = lens _sStartedBy (\ s a -> s{_sStartedBy = a})---- | The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the @awsvpc@ networking mode.-sNetworkConfiguration :: Lens' StartTask (Maybe NetworkConfiguration)-sNetworkConfiguration = lens _sNetworkConfiguration (\ s a -> s{_sNetworkConfiguration = a})---- | The @family@ and @revision@ (@family:revision@ ) or full ARN of the task definition to start. If a @revision@ is not specified, the latest @ACTIVE@ revision is used.-sTaskDefinition :: Lens' StartTask Text-sTaskDefinition = lens _sTaskDefinition (\ s a -> s{_sTaskDefinition = a})---- | The container instance IDs or full ARN entries for the container instances on which you would like to place your task. You can specify up to 10 container instances.-sContainerInstances :: Lens' StartTask [Text]-sContainerInstances = lens _sContainerInstances (\ s a -> s{_sContainerInstances = a}) . _Coerce--instance AWSRequest StartTask where- type Rs StartTask = StartTaskResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- StartTaskResponse' <$>- (x .?> "failures" .!@ mempty) <*>- (x .?> "tasks" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable StartTask where--instance NFData StartTask where--instance ToHeaders StartTask where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.StartTask" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON StartTask where- toJSON StartTask'{..}- = object- (catMaybes- [("overrides" .=) <$> _sOverrides,- ("group" .=) <$> _sGroup,- ("cluster" .=) <$> _sCluster,- ("startedBy" .=) <$> _sStartedBy,- ("networkConfiguration" .=) <$>- _sNetworkConfiguration,- Just ("taskDefinition" .= _sTaskDefinition),- Just ("containerInstances" .= _sContainerInstances)])--instance ToPath StartTask where- toPath = const "/"--instance ToQuery StartTask where- toQuery = const mempty---- | /See:/ 'startTaskResponse' smart constructor.-data StartTaskResponse = StartTaskResponse'- { _strsFailures :: !(Maybe [Failure])- , _strsTasks :: !(Maybe [Task])- , _strsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StartTaskResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'strsFailures' - Any failures associated with the call.------ * 'strsTasks' - A full description of the tasks that were started. Each task that was successfully placed on your container instances is described.------ * 'strsResponseStatus' - -- | The response status code.-startTaskResponse- :: Int -- ^ 'strsResponseStatus'- -> StartTaskResponse-startTaskResponse pResponseStatus_ =- StartTaskResponse'- { _strsFailures = Nothing- , _strsTasks = Nothing- , _strsResponseStatus = pResponseStatus_- }----- | Any failures associated with the call.-strsFailures :: Lens' StartTaskResponse [Failure]-strsFailures = lens _strsFailures (\ s a -> s{_strsFailures = a}) . _Default . _Coerce---- | A full description of the tasks that were started. Each task that was successfully placed on your container instances is described.-strsTasks :: Lens' StartTaskResponse [Task]-strsTasks = lens _strsTasks (\ s a -> s{_strsTasks = a}) . _Default . _Coerce---- | -- | The response status code.-strsResponseStatus :: Lens' StartTaskResponse Int-strsResponseStatus = lens _strsResponseStatus (\ s a -> s{_strsResponseStatus = a})--instance NFData StartTaskResponse where
− gen/Network/AWS/ECS/StopTask.hs
@@ -1,153 +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.ECS.StopTask--- 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)------ Stops a running task.--------- When 'StopTask' is called on a task, the equivalent of @docker stop@ is issued to the containers running in the task. This results in a @SIGTERM@ and a default 30-second timeout, after which @SIGKILL@ is sent and the containers are forcibly stopped. If the container handles the @SIGTERM@ gracefully and exits within 30 seconds from receiving it, no @SIGKILL@ is sent.----module Network.AWS.ECS.StopTask- (- -- * Creating a Request- stopTask- , StopTask- -- * Request Lenses- , stCluster- , stReason- , stTask-- -- * Destructuring the Response- , stopTaskResponse- , StopTaskResponse- -- * Response Lenses- , srsTask- , srsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'stopTask' smart constructor.-data StopTask = StopTask'- { _stCluster :: !(Maybe Text)- , _stReason :: !(Maybe Text)- , _stTask :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StopTask' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'stCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. If you do not specify a cluster, the default cluster is assumed.------ * 'stReason' - An optional message specified when a task is stopped. For example, if you are using a custom scheduler, you can use this parameter to specify the reason for stopping the task here, and the message appears in subsequent 'DescribeTasks' API operations on this task. Up to 255 characters are allowed in this message.------ * 'stTask' - The task ID or full ARN entry of the task to stop.-stopTask- :: Text -- ^ 'stTask'- -> StopTask-stopTask pTask_ =- StopTask' {_stCluster = Nothing, _stReason = Nothing, _stTask = pTask_}----- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. If you do not specify a cluster, the default cluster is assumed.-stCluster :: Lens' StopTask (Maybe Text)-stCluster = lens _stCluster (\ s a -> s{_stCluster = a})---- | An optional message specified when a task is stopped. For example, if you are using a custom scheduler, you can use this parameter to specify the reason for stopping the task here, and the message appears in subsequent 'DescribeTasks' API operations on this task. Up to 255 characters are allowed in this message.-stReason :: Lens' StopTask (Maybe Text)-stReason = lens _stReason (\ s a -> s{_stReason = a})---- | The task ID or full ARN entry of the task to stop.-stTask :: Lens' StopTask Text-stTask = lens _stTask (\ s a -> s{_stTask = a})--instance AWSRequest StopTask where- type Rs StopTask = StopTaskResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- StopTaskResponse' <$>- (x .?> "task") <*> (pure (fromEnum s)))--instance Hashable StopTask where--instance NFData StopTask where--instance ToHeaders StopTask where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.StopTask" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON StopTask where- toJSON StopTask'{..}- = object- (catMaybes- [("cluster" .=) <$> _stCluster,- ("reason" .=) <$> _stReason,- Just ("task" .= _stTask)])--instance ToPath StopTask where- toPath = const "/"--instance ToQuery StopTask where- toQuery = const mempty---- | /See:/ 'stopTaskResponse' smart constructor.-data StopTaskResponse = StopTaskResponse'- { _srsTask :: !(Maybe Task)- , _srsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StopTaskResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'srsTask' - The task that was stopped.------ * 'srsResponseStatus' - -- | The response status code.-stopTaskResponse- :: Int -- ^ 'srsResponseStatus'- -> StopTaskResponse-stopTaskResponse pResponseStatus_ =- StopTaskResponse' {_srsTask = Nothing, _srsResponseStatus = pResponseStatus_}----- | The task that was stopped.-srsTask :: Lens' StopTaskResponse (Maybe Task)-srsTask = lens _srsTask (\ s a -> s{_srsTask = a})---- | -- | The response status code.-srsResponseStatus :: Lens' StopTaskResponse Int-srsResponseStatus = lens _srsResponseStatus (\ s a -> s{_srsResponseStatus = a})--instance NFData StopTaskResponse where
− gen/Network/AWS/ECS/SubmitContainerStateChange.hs
@@ -1,197 +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.ECS.SubmitContainerStateChange--- 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)------ Sent to acknowledge that a container changed states.-------module Network.AWS.ECS.SubmitContainerStateChange- (- -- * Creating a Request- submitContainerStateChange- , SubmitContainerStateChange- -- * Request Lenses- , scscNetworkBindings- , scscStatus- , scscCluster- , scscContainerName- , scscReason- , scscExitCode- , scscTask-- -- * Destructuring the Response- , submitContainerStateChangeResponse- , SubmitContainerStateChangeResponse- -- * Response Lenses- , scscrsAcknowledgment- , scscrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'submitContainerStateChange' smart constructor.-data SubmitContainerStateChange = SubmitContainerStateChange'- { _scscNetworkBindings :: !(Maybe [NetworkBinding])- , _scscStatus :: !(Maybe Text)- , _scscCluster :: !(Maybe Text)- , _scscContainerName :: !(Maybe Text)- , _scscReason :: !(Maybe Text)- , _scscExitCode :: !(Maybe Int)- , _scscTask :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SubmitContainerStateChange' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'scscNetworkBindings' - The network bindings of the container.------ * 'scscStatus' - The status of the state change request.------ * 'scscCluster' - The short name or full ARN of the cluster that hosts the container.------ * 'scscContainerName' - The name of the container.------ * 'scscReason' - The reason for the state change request.------ * 'scscExitCode' - The exit code returned for the state change request.------ * 'scscTask' - The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.-submitContainerStateChange- :: SubmitContainerStateChange-submitContainerStateChange =- SubmitContainerStateChange'- { _scscNetworkBindings = Nothing- , _scscStatus = Nothing- , _scscCluster = Nothing- , _scscContainerName = Nothing- , _scscReason = Nothing- , _scscExitCode = Nothing- , _scscTask = Nothing- }----- | The network bindings of the container.-scscNetworkBindings :: Lens' SubmitContainerStateChange [NetworkBinding]-scscNetworkBindings = lens _scscNetworkBindings (\ s a -> s{_scscNetworkBindings = a}) . _Default . _Coerce---- | The status of the state change request.-scscStatus :: Lens' SubmitContainerStateChange (Maybe Text)-scscStatus = lens _scscStatus (\ s a -> s{_scscStatus = a})---- | The short name or full ARN of the cluster that hosts the container.-scscCluster :: Lens' SubmitContainerStateChange (Maybe Text)-scscCluster = lens _scscCluster (\ s a -> s{_scscCluster = a})---- | The name of the container.-scscContainerName :: Lens' SubmitContainerStateChange (Maybe Text)-scscContainerName = lens _scscContainerName (\ s a -> s{_scscContainerName = a})---- | The reason for the state change request.-scscReason :: Lens' SubmitContainerStateChange (Maybe Text)-scscReason = lens _scscReason (\ s a -> s{_scscReason = a})---- | The exit code returned for the state change request.-scscExitCode :: Lens' SubmitContainerStateChange (Maybe Int)-scscExitCode = lens _scscExitCode (\ s a -> s{_scscExitCode = a})---- | The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.-scscTask :: Lens' SubmitContainerStateChange (Maybe Text)-scscTask = lens _scscTask (\ s a -> s{_scscTask = a})--instance AWSRequest SubmitContainerStateChange where- type Rs SubmitContainerStateChange =- SubmitContainerStateChangeResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- SubmitContainerStateChangeResponse' <$>- (x .?> "acknowledgment") <*> (pure (fromEnum s)))--instance Hashable SubmitContainerStateChange where--instance NFData SubmitContainerStateChange where--instance ToHeaders SubmitContainerStateChange where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.SubmitContainerStateChange"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON SubmitContainerStateChange where- toJSON SubmitContainerStateChange'{..}- = object- (catMaybes- [("networkBindings" .=) <$> _scscNetworkBindings,- ("status" .=) <$> _scscStatus,- ("cluster" .=) <$> _scscCluster,- ("containerName" .=) <$> _scscContainerName,- ("reason" .=) <$> _scscReason,- ("exitCode" .=) <$> _scscExitCode,- ("task" .=) <$> _scscTask])--instance ToPath SubmitContainerStateChange where- toPath = const "/"--instance ToQuery SubmitContainerStateChange where- toQuery = const mempty---- | /See:/ 'submitContainerStateChangeResponse' smart constructor.-data SubmitContainerStateChangeResponse = SubmitContainerStateChangeResponse'- { _scscrsAcknowledgment :: !(Maybe Text)- , _scscrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SubmitContainerStateChangeResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'scscrsAcknowledgment' - Acknowledgement of the state change.------ * 'scscrsResponseStatus' - -- | The response status code.-submitContainerStateChangeResponse- :: Int -- ^ 'scscrsResponseStatus'- -> SubmitContainerStateChangeResponse-submitContainerStateChangeResponse pResponseStatus_ =- SubmitContainerStateChangeResponse'- {_scscrsAcknowledgment = Nothing, _scscrsResponseStatus = pResponseStatus_}----- | Acknowledgement of the state change.-scscrsAcknowledgment :: Lens' SubmitContainerStateChangeResponse (Maybe Text)-scscrsAcknowledgment = lens _scscrsAcknowledgment (\ s a -> s{_scscrsAcknowledgment = a})---- | -- | The response status code.-scscrsResponseStatus :: Lens' SubmitContainerStateChangeResponse Int-scscrsResponseStatus = lens _scscrsResponseStatus (\ s a -> s{_scscrsResponseStatus = a})--instance NFData SubmitContainerStateChangeResponse- where
− gen/Network/AWS/ECS/SubmitTaskStateChange.hs
@@ -1,217 +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.ECS.SubmitTaskStateChange--- 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)------ Sent to acknowledge that a task changed states.-------module Network.AWS.ECS.SubmitTaskStateChange- (- -- * Creating a Request- submitTaskStateChange- , SubmitTaskStateChange- -- * Request Lenses- , stscStatus- , stscCluster- , stscAttachments- , stscExecutionStoppedAt- , stscPullStoppedAt- , stscContainers- , stscReason- , stscTask- , stscPullStartedAt-- -- * Destructuring the Response- , submitTaskStateChangeResponse- , SubmitTaskStateChangeResponse- -- * Response Lenses- , stscrsAcknowledgment- , stscrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'submitTaskStateChange' smart constructor.-data SubmitTaskStateChange = SubmitTaskStateChange'- { _stscStatus :: !(Maybe Text)- , _stscCluster :: !(Maybe Text)- , _stscAttachments :: !(Maybe [AttachmentStateChange])- , _stscExecutionStoppedAt :: !(Maybe POSIX)- , _stscPullStoppedAt :: !(Maybe POSIX)- , _stscContainers :: !(Maybe [ContainerStateChange])- , _stscReason :: !(Maybe Text)- , _stscTask :: !(Maybe Text)- , _stscPullStartedAt :: !(Maybe POSIX)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SubmitTaskStateChange' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'stscStatus' - The status of the state change request.------ * 'stscCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.------ * 'stscAttachments' - Any attachments associated with the state change request.------ * 'stscExecutionStoppedAt' - The Unix time stamp for when the task execution stopped.------ * 'stscPullStoppedAt' - The Unix time stamp for when the container image pull completed.------ * 'stscContainers' - Any containers associated with the state change request.------ * 'stscReason' - The reason for the state change request.------ * 'stscTask' - The task ID or full ARN of the task in the state change request.------ * 'stscPullStartedAt' - The Unix time stamp for when the container image pull began.-submitTaskStateChange- :: SubmitTaskStateChange-submitTaskStateChange =- SubmitTaskStateChange'- { _stscStatus = Nothing- , _stscCluster = Nothing- , _stscAttachments = Nothing- , _stscExecutionStoppedAt = Nothing- , _stscPullStoppedAt = Nothing- , _stscContainers = Nothing- , _stscReason = Nothing- , _stscTask = Nothing- , _stscPullStartedAt = Nothing- }----- | The status of the state change request.-stscStatus :: Lens' SubmitTaskStateChange (Maybe Text)-stscStatus = lens _stscStatus (\ s a -> s{_stscStatus = a})---- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.-stscCluster :: Lens' SubmitTaskStateChange (Maybe Text)-stscCluster = lens _stscCluster (\ s a -> s{_stscCluster = a})---- | Any attachments associated with the state change request.-stscAttachments :: Lens' SubmitTaskStateChange [AttachmentStateChange]-stscAttachments = lens _stscAttachments (\ s a -> s{_stscAttachments = a}) . _Default . _Coerce---- | The Unix time stamp for when the task execution stopped.-stscExecutionStoppedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)-stscExecutionStoppedAt = lens _stscExecutionStoppedAt (\ s a -> s{_stscExecutionStoppedAt = a}) . mapping _Time---- | The Unix time stamp for when the container image pull completed.-stscPullStoppedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)-stscPullStoppedAt = lens _stscPullStoppedAt (\ s a -> s{_stscPullStoppedAt = a}) . mapping _Time---- | Any containers associated with the state change request.-stscContainers :: Lens' SubmitTaskStateChange [ContainerStateChange]-stscContainers = lens _stscContainers (\ s a -> s{_stscContainers = a}) . _Default . _Coerce---- | The reason for the state change request.-stscReason :: Lens' SubmitTaskStateChange (Maybe Text)-stscReason = lens _stscReason (\ s a -> s{_stscReason = a})---- | The task ID or full ARN of the task in the state change request.-stscTask :: Lens' SubmitTaskStateChange (Maybe Text)-stscTask = lens _stscTask (\ s a -> s{_stscTask = a})---- | The Unix time stamp for when the container image pull began.-stscPullStartedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime)-stscPullStartedAt = lens _stscPullStartedAt (\ s a -> s{_stscPullStartedAt = a}) . mapping _Time--instance AWSRequest SubmitTaskStateChange where- type Rs SubmitTaskStateChange =- SubmitTaskStateChangeResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- SubmitTaskStateChangeResponse' <$>- (x .?> "acknowledgment") <*> (pure (fromEnum s)))--instance Hashable SubmitTaskStateChange where--instance NFData SubmitTaskStateChange where--instance ToHeaders SubmitTaskStateChange where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.SubmitTaskStateChange"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON SubmitTaskStateChange where- toJSON SubmitTaskStateChange'{..}- = object- (catMaybes- [("status" .=) <$> _stscStatus,- ("cluster" .=) <$> _stscCluster,- ("attachments" .=) <$> _stscAttachments,- ("executionStoppedAt" .=) <$>- _stscExecutionStoppedAt,- ("pullStoppedAt" .=) <$> _stscPullStoppedAt,- ("containers" .=) <$> _stscContainers,- ("reason" .=) <$> _stscReason,- ("task" .=) <$> _stscTask,- ("pullStartedAt" .=) <$> _stscPullStartedAt])--instance ToPath SubmitTaskStateChange where- toPath = const "/"--instance ToQuery SubmitTaskStateChange where- toQuery = const mempty---- | /See:/ 'submitTaskStateChangeResponse' smart constructor.-data SubmitTaskStateChangeResponse = SubmitTaskStateChangeResponse'- { _stscrsAcknowledgment :: !(Maybe Text)- , _stscrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SubmitTaskStateChangeResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'stscrsAcknowledgment' - Acknowledgement of the state change.------ * 'stscrsResponseStatus' - -- | The response status code.-submitTaskStateChangeResponse- :: Int -- ^ 'stscrsResponseStatus'- -> SubmitTaskStateChangeResponse-submitTaskStateChangeResponse pResponseStatus_ =- SubmitTaskStateChangeResponse'- {_stscrsAcknowledgment = Nothing, _stscrsResponseStatus = pResponseStatus_}----- | Acknowledgement of the state change.-stscrsAcknowledgment :: Lens' SubmitTaskStateChangeResponse (Maybe Text)-stscrsAcknowledgment = lens _stscrsAcknowledgment (\ s a -> s{_stscrsAcknowledgment = a})---- | -- | The response status code.-stscrsResponseStatus :: Lens' SubmitTaskStateChangeResponse Int-stscrsResponseStatus = lens _stscrsResponseStatus (\ s a -> s{_stscrsResponseStatus = a})--instance NFData SubmitTaskStateChangeResponse where
− gen/Network/AWS/ECS/Types.hs
@@ -1,688 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.ECS.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.ECS.Types- (- -- * Service Configuration- ecs-- -- * Errors- , _AccessDeniedException- , _InvalidParameterException- , _ServerException- , _ClusterContainsTasksException- , _PlatformUnknownException- , _ClusterContainsServicesException- , _ClusterContainsContainerInstancesException- , _ServiceNotActiveException- , _ClusterNotFoundException- , _NoUpdateAvailableException- , _UnsupportedFeatureException- , _ServiceNotFoundException- , _PlatformTaskDefinitionIncompatibilityException- , _MissingVersionException- , _UpdateInProgressException- , _BlockedException- , _TargetNotFoundException- , _AttributeLimitExceededException- , _ClientException-- -- * AgentUpdateStatus- , AgentUpdateStatus (..)-- -- * AssignPublicIP- , AssignPublicIP (..)-- -- * ClusterField- , ClusterField (..)-- -- * Compatibility- , Compatibility (..)-- -- * Connectivity- , Connectivity (..)-- -- * ContainerInstanceStatus- , ContainerInstanceStatus (..)-- -- * DesiredStatus- , DesiredStatus (..)-- -- * DeviceCgroupPermission- , DeviceCgroupPermission (..)-- -- * HealthStatus- , HealthStatus (..)-- -- * LaunchType- , LaunchType (..)-- -- * LogDriver- , LogDriver (..)-- -- * NetworkMode- , NetworkMode (..)-- -- * PlacementConstraintType- , PlacementConstraintType (..)-- -- * PlacementStrategyType- , PlacementStrategyType (..)-- -- * SortOrder- , SortOrder (..)-- -- * TargetType- , TargetType (..)-- -- * TaskDefinitionFamilyStatus- , TaskDefinitionFamilyStatus (..)-- -- * TaskDefinitionPlacementConstraintType- , TaskDefinitionPlacementConstraintType (..)-- -- * TaskDefinitionStatus- , TaskDefinitionStatus (..)-- -- * TransportProtocol- , TransportProtocol (..)-- -- * UlimitName- , UlimitName (..)-- -- * AWSVPCConfiguration- , AWSVPCConfiguration- , awsVPCConfiguration- , avcSecurityGroups- , avcAssignPublicIP- , avcSubnets-- -- * Attachment- , Attachment- , attachment- , aStatus- , aDetails- , aId- , aType-- -- * AttachmentStateChange- , AttachmentStateChange- , attachmentStateChange- , ascAttachmentARN- , ascStatus-- -- * Attribute- , Attribute- , attribute- , aTargetId- , aValue- , aTargetType- , aName-- -- * Cluster- , Cluster- , cluster- , cStatus- , cClusterARN- , cRunningTasksCount- , cRegisteredContainerInstancesCount- , cPendingTasksCount- , cClusterName- , cStatistics- , cActiveServicesCount-- -- * Container- , Container- , container- , cNetworkBindings- , cContainerARN- , cNetworkInterfaces- , cTaskARN- , cLastStatus- , cReason- , cName- , cExitCode- , cHealthStatus-- -- * ContainerDefinition- , ContainerDefinition- , containerDefinition- , cdImage- , cdCommand- , cdHostname- , cdDockerSecurityOptions- , cdHealthCheck- , cdDisableNetworking- , cdVolumesFrom- , cdEnvironment- , cdEntryPoint- , cdWorkingDirectory- , cdUlimits- , cdPrivileged- , cdPortMappings- , cdDockerLabels- , cdExtraHosts- , cdMemory- , cdUser- , cdDnsSearchDomains- , cdLogConfiguration- , cdLinuxParameters- , cdName- , cdDnsServers- , cdMountPoints- , cdLinks- , cdReadonlyRootFilesystem- , cdEssential- , cdCpu- , cdMemoryReservation-- -- * ContainerInstance- , ContainerInstance- , containerInstance- , ciStatus- , ciAttachments- , ciRunningTasksCount- , ciRemainingResources- , ciEc2InstanceId- , ciContainerInstanceARN- , ciAgentConnected- , ciVersionInfo- , ciAgentUpdateStatus- , ciAttributes- , ciVersion- , ciPendingTasksCount- , ciRegisteredAt- , ciRegisteredResources-- -- * ContainerOverride- , ContainerOverride- , containerOverride- , coCommand- , coEnvironment- , coMemory- , coName- , coCpu- , coMemoryReservation-- -- * ContainerService- , ContainerService- , containerService- , csRunningCount- , csStatus- , csClusterARN- , csCreatedAt- , csPlatformVersion- , csDesiredCount- , csLoadBalancers- , csPendingCount- , csPlacementConstraints- , csEvents- , csPlacementStrategy- , csDeployments- , csServiceName- , csLaunchType- , csServiceARN- , csTaskDefinition- , csHealthCheckGracePeriodSeconds- , csNetworkConfiguration- , csServiceRegistries- , csRoleARN- , csDeploymentConfiguration-- -- * ContainerStateChange- , ContainerStateChange- , containerStateChange- , cscNetworkBindings- , cscStatus- , cscContainerName- , cscReason- , cscExitCode-- -- * Deployment- , Deployment- , deployment- , dRunningCount- , dStatus- , dCreatedAt- , dPlatformVersion- , dDesiredCount- , dPendingCount- , dId- , dLaunchType- , dUpdatedAt- , dTaskDefinition- , dNetworkConfiguration-- -- * DeploymentConfiguration- , DeploymentConfiguration- , deploymentConfiguration- , dcMinimumHealthyPercent- , dcMaximumPercent-- -- * Device- , Device- , device- , dContainerPath- , dPermissions- , dHostPath-- -- * Failure- , Failure- , failure- , fArn- , fReason-- -- * HealthCheck- , HealthCheck- , healthCheck- , hcStartPeriod- , hcRetries- , hcInterval- , hcTimeout- , hcCommand-- -- * HostEntry- , HostEntry- , hostEntry- , heHostname- , heIpAddress-- -- * HostVolumeProperties- , HostVolumeProperties- , hostVolumeProperties- , hvpSourcePath-- -- * KernelCapabilities- , KernelCapabilities- , kernelCapabilities- , kcDrop- , kcAdd-- -- * KeyValuePair- , KeyValuePair- , keyValuePair- , kvpValue- , kvpName-- -- * LinuxParameters- , LinuxParameters- , linuxParameters- , lpSharedMemorySize- , lpInitProcessEnabled- , lpTmpfs- , lpDevices- , lpCapabilities-- -- * LoadBalancer- , LoadBalancer- , loadBalancer- , lbLoadBalancerName- , lbContainerName- , lbTargetGroupARN- , lbContainerPort-- -- * LogConfiguration- , LogConfiguration- , logConfiguration- , lcOptions- , lcLogDriver-- -- * MountPoint- , MountPoint- , mountPoint- , mpContainerPath- , mpSourceVolume- , mpReadOnly-- -- * NetworkBinding- , NetworkBinding- , networkBinding- , nbBindIP- , nbProtocol- , nbHostPort- , nbContainerPort-- -- * NetworkConfiguration- , NetworkConfiguration- , networkConfiguration- , ncAwsvpcConfiguration-- -- * NetworkInterface- , NetworkInterface- , networkInterface- , niIpv6Address- , niPrivateIPv4Address- , niAttachmentId-- -- * PlacementConstraint- , PlacementConstraint- , placementConstraint- , pcExpression- , pcType-- -- * PlacementStrategy- , PlacementStrategy- , placementStrategy- , psField- , psType-- -- * PortMapping- , PortMapping- , portMapping- , pmProtocol- , pmHostPort- , pmContainerPort-- -- * Resource- , Resource- , resource- , rStringSetValue- , rIntegerValue- , rDoubleValue- , rLongValue- , rName- , rType-- -- * ServiceEvent- , ServiceEvent- , serviceEvent- , seCreatedAt- , seId- , seMessage-- -- * ServiceRegistry- , ServiceRegistry- , serviceRegistry- , srRegistryARN- , srPort-- -- * Task- , Task- , task- , tStoppedAt- , tDesiredStatus- , tOverrides- , tClusterARN- , tGroup- , tAttachments- , tCreatedAt- , tPlatformVersion- , tTaskARN- , tContainerInstanceARN- , tExecutionStoppedAt- , tLastStatus- , tMemory- , tPullStoppedAt- , tContainers- , tStartedAt- , tVersion- , tStartedBy- , tStoppedReason- , tConnectivity- , tStoppingAt- , tLaunchType- , tTaskDefinitionARN- , tHealthStatus- , tConnectivityAt- , tCpu- , tPullStartedAt-- -- * TaskDefinition- , TaskDefinition- , taskDefinition- , tdStatus- , tdExecutionRoleARN- , tdRequiresCompatibilities- , tdFamily- , tdContainerDefinitions- , tdMemory- , tdTaskRoleARN- , tdPlacementConstraints- , tdNetworkMode- , tdTaskDefinitionARN- , tdCompatibilities- , tdRevision- , tdVolumes- , tdCpu- , tdRequiresAttributes-- -- * TaskDefinitionPlacementConstraint- , TaskDefinitionPlacementConstraint- , taskDefinitionPlacementConstraint- , tdpcExpression- , tdpcType-- -- * TaskOverride- , TaskOverride- , taskOverride- , toContainerOverrides- , toExecutionRoleARN- , toTaskRoleARN-- -- * Tmpfs- , Tmpfs- , tmpfs- , tMountOptions- , tContainerPath- , tSize-- -- * Ulimit- , Ulimit- , ulimit- , uName- , uSoftLimit- , uHardLimit-- -- * VersionInfo- , VersionInfo- , versionInfo- , viAgentHash- , viAgentVersion- , viDockerVersion-- -- * Volume- , Volume- , volume- , vName- , vHost-- -- * VolumeFrom- , VolumeFrom- , volumeFrom- , vfSourceContainer- , vfReadOnly- ) where--import Network.AWS.ECS.Types.Product-import Network.AWS.ECS.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2014-11-13@ of the Amazon EC2 Container Service SDK configuration.-ecs :: Service-ecs =- Service- { _svcAbbrev = "ECS"- , _svcSigner = v4- , _svcPrefix = "ecs"- , _svcVersion = "2014-11-13"- , _svcEndpoint = defaultEndpoint ecs- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseJSONError "ECS"- , _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----- | You do not have authorization to perform the requested action.-------_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError-_AccessDeniedException = _MatchServiceError ecs "AccessDeniedException"----- | The specified parameter is invalid. Review the available parameters for the API request.-------_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidParameterException = _MatchServiceError ecs "InvalidParameterException"----- | These errors are usually caused by a server issue.-------_ServerException :: AsError a => Getting (First ServiceError) a ServiceError-_ServerException = _MatchServiceError ecs "ServerException"----- | You cannot delete a cluster that has active tasks.-------_ClusterContainsTasksException :: AsError a => Getting (First ServiceError) a ServiceError-_ClusterContainsTasksException =- _MatchServiceError ecs "ClusterContainsTasksException"----- | The specified platform version does not exist.-------_PlatformUnknownException :: AsError a => Getting (First ServiceError) a ServiceError-_PlatformUnknownException = _MatchServiceError ecs "PlatformUnknownException"----- | You cannot delete a cluster that contains services. You must first update the service to reduce its desired task count to 0 and then delete the service. For more information, see 'UpdateService' and 'DeleteService' .-------_ClusterContainsServicesException :: AsError a => Getting (First ServiceError) a ServiceError-_ClusterContainsServicesException =- _MatchServiceError ecs "ClusterContainsServicesException"----- | You cannot delete a cluster that has registered container instances. You must first deregister the container instances before you can delete the cluster. For more information, see 'DeregisterContainerInstance' .-------_ClusterContainsContainerInstancesException :: AsError a => Getting (First ServiceError) a ServiceError-_ClusterContainsContainerInstancesException =- _MatchServiceError ecs "ClusterContainsContainerInstancesException"----- | The specified service is not active. You can't update a service that is inactive. If you have previously deleted a service, you can re-create it with 'CreateService' .-------_ServiceNotActiveException :: AsError a => Getting (First ServiceError) a ServiceError-_ServiceNotActiveException = _MatchServiceError ecs "ServiceNotActiveException"----- | The specified cluster could not be found. You can view your available clusters with 'ListClusters' . Amazon ECS clusters are region-specific.-------_ClusterNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_ClusterNotFoundException = _MatchServiceError ecs "ClusterNotFoundException"----- | There is no update available for this Amazon ECS container agent. This could be because the agent is already running the latest version, or it is so old that there is no update path to the current version.-------_NoUpdateAvailableException :: AsError a => Getting (First ServiceError) a ServiceError-_NoUpdateAvailableException =- _MatchServiceError ecs "NoUpdateAvailableException"----- | The specified task is not supported in this region.-------_UnsupportedFeatureException :: AsError a => Getting (First ServiceError) a ServiceError-_UnsupportedFeatureException =- _MatchServiceError ecs "UnsupportedFeatureException"----- | The specified service could not be found. You can view your available services with 'ListServices' . Amazon ECS services are cluster-specific and region-specific.-------_ServiceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_ServiceNotFoundException = _MatchServiceError ecs "ServiceNotFoundException"----- | The specified platform version does not satisfy the task definition’s required capabilities.-------_PlatformTaskDefinitionIncompatibilityException :: AsError a => Getting (First ServiceError) a ServiceError-_PlatformTaskDefinitionIncompatibilityException =- _MatchServiceError ecs "PlatformTaskDefinitionIncompatibilityException"----- | Amazon ECS is unable to determine the current version of the Amazon ECS container agent on the container instance and does not have enough information to proceed with an update. This could be because the agent running on the container instance is an older or custom version that does not use our version information.-------_MissingVersionException :: AsError a => Getting (First ServiceError) a ServiceError-_MissingVersionException = _MatchServiceError ecs "MissingVersionException"----- | There is already a current Amazon ECS container agent update in progress on the specified container instance. If the container agent becomes disconnected while it is in a transitional stage, such as @PENDING@ or @STAGING@ , the update process can get stuck in that state. However, when the agent reconnects, it resumes where it stopped previously.-------_UpdateInProgressException :: AsError a => Getting (First ServiceError) a ServiceError-_UpdateInProgressException = _MatchServiceError ecs "UpdateInProgressException"----- | Your AWS account has been blocked. <http://aws.amazon.com/contact-us/ Contact AWS Support> for more information.-------_BlockedException :: AsError a => Getting (First ServiceError) a ServiceError-_BlockedException = _MatchServiceError ecs "BlockedException"----- | The specified target could not be found. You can view your available container instances with 'ListContainerInstances' . Amazon ECS container instances are cluster-specific and region-specific.-------_TargetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_TargetNotFoundException = _MatchServiceError ecs "TargetNotFoundException"----- | You can apply up to 10 custom attributes per resource. You can view the attributes of a resource with 'ListAttributes' . You can remove existing attributes on a resource with 'DeleteAttributes' .-------_AttributeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_AttributeLimitExceededException =- _MatchServiceError ecs "AttributeLimitExceededException"----- | These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an identifier that is not valid.-------_ClientException :: AsError a => Getting (First ServiceError) a ServiceError-_ClientException = _MatchServiceError ecs "ClientException"-
− gen/Network/AWS/ECS/Types/Product.hs
@@ -1,3527 +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.ECS.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.ECS.Types.Product where--import Network.AWS.ECS.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude---- | An object representing the networking details for a task or service.------------ /See:/ 'awsVPCConfiguration' smart constructor.-data AWSVPCConfiguration = AWSVPCConfiguration'- { _avcSecurityGroups :: !(Maybe [Text])- , _avcAssignPublicIP :: !(Maybe AssignPublicIP)- , _avcSubnets :: ![Text]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AWSVPCConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'avcSecurityGroups' - The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups able to be specified per AwsVpcConfiguration.------ * 'avcAssignPublicIP' - Whether the task's elastic network interface receives a public IP address.------ * 'avcSubnets' - The subnets associated with the task or service. There is a limit of 10 subnets able to be specified per AwsVpcConfiguration.-awsVPCConfiguration- :: AWSVPCConfiguration-awsVPCConfiguration =- AWSVPCConfiguration'- { _avcSecurityGroups = Nothing- , _avcAssignPublicIP = Nothing- , _avcSubnets = mempty- }----- | The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups able to be specified per AwsVpcConfiguration.-avcSecurityGroups :: Lens' AWSVPCConfiguration [Text]-avcSecurityGroups = lens _avcSecurityGroups (\ s a -> s{_avcSecurityGroups = a}) . _Default . _Coerce---- | Whether the task's elastic network interface receives a public IP address.-avcAssignPublicIP :: Lens' AWSVPCConfiguration (Maybe AssignPublicIP)-avcAssignPublicIP = lens _avcAssignPublicIP (\ s a -> s{_avcAssignPublicIP = a})---- | The subnets associated with the task or service. There is a limit of 10 subnets able to be specified per AwsVpcConfiguration.-avcSubnets :: Lens' AWSVPCConfiguration [Text]-avcSubnets = lens _avcSubnets (\ s a -> s{_avcSubnets = a}) . _Coerce--instance FromJSON AWSVPCConfiguration where- parseJSON- = withObject "AWSVPCConfiguration"- (\ x ->- AWSVPCConfiguration' <$>- (x .:? "securityGroups" .!= mempty) <*>- (x .:? "assignPublicIp")- <*> (x .:? "subnets" .!= mempty))--instance Hashable AWSVPCConfiguration where--instance NFData AWSVPCConfiguration where--instance ToJSON AWSVPCConfiguration where- toJSON AWSVPCConfiguration'{..}- = object- (catMaybes- [("securityGroups" .=) <$> _avcSecurityGroups,- ("assignPublicIp" .=) <$> _avcAssignPublicIP,- Just ("subnets" .= _avcSubnets)])---- | An object representing a container instance or task attachment.------------ /See:/ 'attachment' smart constructor.-data Attachment = Attachment'- { _aStatus :: !(Maybe Text)- , _aDetails :: !(Maybe [KeyValuePair])- , _aId :: !(Maybe Text)- , _aType :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Attachment' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aStatus' - The status of the attachment. Valid values are @PRECREATED@ , @CREATED@ , @ATTACHING@ , @ATTACHED@ , @DETACHING@ , @DETACHED@ , and @DELETED@ .------ * 'aDetails' - Details of the attachment. For Elastic Network Interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.------ * 'aId' - The unique identifier for the attachment.------ * 'aType' - The type of the attachment, such as @ElasticNetworkInterface@ .-attachment- :: Attachment-attachment =- Attachment'- {_aStatus = Nothing, _aDetails = Nothing, _aId = Nothing, _aType = Nothing}----- | The status of the attachment. Valid values are @PRECREATED@ , @CREATED@ , @ATTACHING@ , @ATTACHED@ , @DETACHING@ , @DETACHED@ , and @DELETED@ .-aStatus :: Lens' Attachment (Maybe Text)-aStatus = lens _aStatus (\ s a -> s{_aStatus = a})---- | Details of the attachment. For Elastic Network Interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.-aDetails :: Lens' Attachment [KeyValuePair]-aDetails = lens _aDetails (\ s a -> s{_aDetails = a}) . _Default . _Coerce---- | The unique identifier for the attachment.-aId :: Lens' Attachment (Maybe Text)-aId = lens _aId (\ s a -> s{_aId = a})---- | The type of the attachment, such as @ElasticNetworkInterface@ .-aType :: Lens' Attachment (Maybe Text)-aType = lens _aType (\ s a -> s{_aType = a})--instance FromJSON Attachment where- parseJSON- = withObject "Attachment"- (\ x ->- Attachment' <$>- (x .:? "status") <*> (x .:? "details" .!= mempty) <*>- (x .:? "id")- <*> (x .:? "type"))--instance Hashable Attachment where--instance NFData Attachment where---- | An object representing a change in state for a task attachment.------------ /See:/ 'attachmentStateChange' smart constructor.-data AttachmentStateChange = AttachmentStateChange'- { _ascAttachmentARN :: !Text- , _ascStatus :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AttachmentStateChange' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ascAttachmentARN' - The Amazon Resource Name (ARN) of the attachment.------ * 'ascStatus' - The status of the attachment.-attachmentStateChange- :: Text -- ^ 'ascAttachmentARN'- -> Text -- ^ 'ascStatus'- -> AttachmentStateChange-attachmentStateChange pAttachmentARN_ pStatus_ =- AttachmentStateChange'- {_ascAttachmentARN = pAttachmentARN_, _ascStatus = pStatus_}----- | The Amazon Resource Name (ARN) of the attachment.-ascAttachmentARN :: Lens' AttachmentStateChange Text-ascAttachmentARN = lens _ascAttachmentARN (\ s a -> s{_ascAttachmentARN = a})---- | The status of the attachment.-ascStatus :: Lens' AttachmentStateChange Text-ascStatus = lens _ascStatus (\ s a -> s{_ascStatus = a})--instance Hashable AttachmentStateChange where--instance NFData AttachmentStateChange where--instance ToJSON AttachmentStateChange where- toJSON AttachmentStateChange'{..}- = object- (catMaybes- [Just ("attachmentArn" .= _ascAttachmentARN),- Just ("status" .= _ascStatus)])---- | An attribute is a name-value pair associated with an Amazon ECS object. Attributes enable you to extend the Amazon ECS data model by adding custom metadata to your resources. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes Attributes> in the /Amazon Elastic Container Service Developer Guide/ .------------ /See:/ 'attribute' smart constructor.-data Attribute = Attribute'- { _aTargetId :: !(Maybe Text)- , _aValue :: !(Maybe Text)- , _aTargetType :: !(Maybe TargetType)- , _aName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Attribute' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aTargetId' - The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).------ * 'aValue' - The value of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, colons, and spaces are allowed.------ * 'aTargetType' - The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full ARN.------ * 'aName' - The name of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, and periods are allowed.-attribute- :: Text -- ^ 'aName'- -> Attribute-attribute pName_ =- Attribute'- { _aTargetId = Nothing- , _aValue = Nothing- , _aTargetType = Nothing- , _aName = pName_- }----- | The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).-aTargetId :: Lens' Attribute (Maybe Text)-aTargetId = lens _aTargetId (\ s a -> s{_aTargetId = a})---- | The value of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, colons, and spaces are allowed.-aValue :: Lens' Attribute (Maybe Text)-aValue = lens _aValue (\ s a -> s{_aValue = a})---- | The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full ARN.-aTargetType :: Lens' Attribute (Maybe TargetType)-aTargetType = lens _aTargetType (\ s a -> s{_aTargetType = a})---- | The name of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, and periods are allowed.-aName :: Lens' Attribute Text-aName = lens _aName (\ s a -> s{_aName = a})--instance FromJSON Attribute where- parseJSON- = withObject "Attribute"- (\ x ->- Attribute' <$>- (x .:? "targetId") <*> (x .:? "value") <*>- (x .:? "targetType")- <*> (x .: "name"))--instance Hashable Attribute where--instance NFData Attribute where--instance ToJSON Attribute where- toJSON Attribute'{..}- = object- (catMaybes- [("targetId" .=) <$> _aTargetId,- ("value" .=) <$> _aValue,- ("targetType" .=) <$> _aTargetType,- Just ("name" .= _aName)])---- | A regional grouping of one or more container instances on which you can run task requests. Each account receives a default cluster the first time you use the Amazon ECS service, but you may also create other clusters. Clusters may contain more than one instance type simultaneously.------------ /See:/ 'cluster' smart constructor.-data Cluster = Cluster'- { _cStatus :: !(Maybe Text)- , _cClusterARN :: !(Maybe Text)- , _cRunningTasksCount :: !(Maybe Int)- , _cRegisteredContainerInstancesCount :: !(Maybe Int)- , _cPendingTasksCount :: !(Maybe Int)- , _cClusterName :: !(Maybe Text)- , _cStatistics :: !(Maybe [KeyValuePair])- , _cActiveServicesCount :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Cluster' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cStatus' - The status of the cluster. The valid values are @ACTIVE@ or @INACTIVE@ . @ACTIVE@ indicates that you can register container instances with the cluster and the associated instances can accept tasks.------ * 'cClusterARN' - The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the @arn:aws:ecs@ namespace, followed by the region of the cluster, the AWS account ID of the cluster owner, the @cluster@ namespace, and then the cluster name. For example, @arn:aws:ecs:/region/ :/012345678910/ :cluster//test/ @ ..------ * 'cRunningTasksCount' - The number of tasks in the cluster that are in the @RUNNING@ state.------ * 'cRegisteredContainerInstancesCount' - The number of container instances registered into the cluster.------ * 'cPendingTasksCount' - The number of tasks in the cluster that are in the @PENDING@ state.------ * 'cClusterName' - A user-generated string that you use to identify your cluster.------ * 'cStatistics' - Additional information about your clusters that are separated by launch type, including: * runningEC2TasksCount * RunningFargateTasksCount * pendingEC2TasksCount * pendingFargateTasksCount * activeEC2ServiceCount * activeFargateServiceCount * drainingEC2ServiceCount * drainingFargateServiceCount------ * 'cActiveServicesCount' - The number of services that are running on the cluster in an @ACTIVE@ state. You can view these services with 'ListServices' .-cluster- :: Cluster-cluster =- Cluster'- { _cStatus = Nothing- , _cClusterARN = Nothing- , _cRunningTasksCount = Nothing- , _cRegisteredContainerInstancesCount = Nothing- , _cPendingTasksCount = Nothing- , _cClusterName = Nothing- , _cStatistics = Nothing- , _cActiveServicesCount = Nothing- }----- | The status of the cluster. The valid values are @ACTIVE@ or @INACTIVE@ . @ACTIVE@ indicates that you can register container instances with the cluster and the associated instances can accept tasks.-cStatus :: Lens' Cluster (Maybe Text)-cStatus = lens _cStatus (\ s a -> s{_cStatus = a})---- | The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the @arn:aws:ecs@ namespace, followed by the region of the cluster, the AWS account ID of the cluster owner, the @cluster@ namespace, and then the cluster name. For example, @arn:aws:ecs:/region/ :/012345678910/ :cluster//test/ @ ..-cClusterARN :: Lens' Cluster (Maybe Text)-cClusterARN = lens _cClusterARN (\ s a -> s{_cClusterARN = a})---- | The number of tasks in the cluster that are in the @RUNNING@ state.-cRunningTasksCount :: Lens' Cluster (Maybe Int)-cRunningTasksCount = lens _cRunningTasksCount (\ s a -> s{_cRunningTasksCount = a})---- | The number of container instances registered into the cluster.-cRegisteredContainerInstancesCount :: Lens' Cluster (Maybe Int)-cRegisteredContainerInstancesCount = lens _cRegisteredContainerInstancesCount (\ s a -> s{_cRegisteredContainerInstancesCount = a})---- | The number of tasks in the cluster that are in the @PENDING@ state.-cPendingTasksCount :: Lens' Cluster (Maybe Int)-cPendingTasksCount = lens _cPendingTasksCount (\ s a -> s{_cPendingTasksCount = a})---- | A user-generated string that you use to identify your cluster.-cClusterName :: Lens' Cluster (Maybe Text)-cClusterName = lens _cClusterName (\ s a -> s{_cClusterName = a})---- | Additional information about your clusters that are separated by launch type, including: * runningEC2TasksCount * RunningFargateTasksCount * pendingEC2TasksCount * pendingFargateTasksCount * activeEC2ServiceCount * activeFargateServiceCount * drainingEC2ServiceCount * drainingFargateServiceCount-cStatistics :: Lens' Cluster [KeyValuePair]-cStatistics = lens _cStatistics (\ s a -> s{_cStatistics = a}) . _Default . _Coerce---- | The number of services that are running on the cluster in an @ACTIVE@ state. You can view these services with 'ListServices' .-cActiveServicesCount :: Lens' Cluster (Maybe Int)-cActiveServicesCount = lens _cActiveServicesCount (\ s a -> s{_cActiveServicesCount = a})--instance FromJSON Cluster where- parseJSON- = withObject "Cluster"- (\ x ->- Cluster' <$>- (x .:? "status") <*> (x .:? "clusterArn") <*>- (x .:? "runningTasksCount")- <*> (x .:? "registeredContainerInstancesCount")- <*> (x .:? "pendingTasksCount")- <*> (x .:? "clusterName")- <*> (x .:? "statistics" .!= mempty)- <*> (x .:? "activeServicesCount"))--instance Hashable Cluster where--instance NFData Cluster where---- | A Docker container that is part of a task.------------ /See:/ 'container' smart constructor.-data Container = Container'- { _cNetworkBindings :: !(Maybe [NetworkBinding])- , _cContainerARN :: !(Maybe Text)- , _cNetworkInterfaces :: !(Maybe [NetworkInterface])- , _cTaskARN :: !(Maybe Text)- , _cLastStatus :: !(Maybe Text)- , _cReason :: !(Maybe Text)- , _cName :: !(Maybe Text)- , _cExitCode :: !(Maybe Int)- , _cHealthStatus :: !(Maybe HealthStatus)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Container' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cNetworkBindings' - The network bindings associated with the container.------ * 'cContainerARN' - The Amazon Resource Name (ARN) of the container.------ * 'cNetworkInterfaces' - The network interfaces associated with the container.------ * 'cTaskARN' - The ARN of the task.------ * 'cLastStatus' - The last known status of the container.------ * 'cReason' - A short (255 max characters) human-readable string to provide additional details about a running or stopped container.------ * 'cName' - The name of the container.------ * 'cExitCode' - The exit code returned from the container.------ * 'cHealthStatus' - The health status of the container. If health checks are not configured for this container in its task definition, then it reports health status as @UNKNOWN@ .-container- :: Container-container =- Container'- { _cNetworkBindings = Nothing- , _cContainerARN = Nothing- , _cNetworkInterfaces = Nothing- , _cTaskARN = Nothing- , _cLastStatus = Nothing- , _cReason = Nothing- , _cName = Nothing- , _cExitCode = Nothing- , _cHealthStatus = Nothing- }----- | The network bindings associated with the container.-cNetworkBindings :: Lens' Container [NetworkBinding]-cNetworkBindings = lens _cNetworkBindings (\ s a -> s{_cNetworkBindings = a}) . _Default . _Coerce---- | The Amazon Resource Name (ARN) of the container.-cContainerARN :: Lens' Container (Maybe Text)-cContainerARN = lens _cContainerARN (\ s a -> s{_cContainerARN = a})---- | The network interfaces associated with the container.-cNetworkInterfaces :: Lens' Container [NetworkInterface]-cNetworkInterfaces = lens _cNetworkInterfaces (\ s a -> s{_cNetworkInterfaces = a}) . _Default . _Coerce---- | The ARN of the task.-cTaskARN :: Lens' Container (Maybe Text)-cTaskARN = lens _cTaskARN (\ s a -> s{_cTaskARN = a})---- | The last known status of the container.-cLastStatus :: Lens' Container (Maybe Text)-cLastStatus = lens _cLastStatus (\ s a -> s{_cLastStatus = a})---- | A short (255 max characters) human-readable string to provide additional details about a running or stopped container.-cReason :: Lens' Container (Maybe Text)-cReason = lens _cReason (\ s a -> s{_cReason = a})---- | The name of the container.-cName :: Lens' Container (Maybe Text)-cName = lens _cName (\ s a -> s{_cName = a})---- | The exit code returned from the container.-cExitCode :: Lens' Container (Maybe Int)-cExitCode = lens _cExitCode (\ s a -> s{_cExitCode = a})---- | The health status of the container. If health checks are not configured for this container in its task definition, then it reports health status as @UNKNOWN@ .-cHealthStatus :: Lens' Container (Maybe HealthStatus)-cHealthStatus = lens _cHealthStatus (\ s a -> s{_cHealthStatus = a})--instance FromJSON Container where- parseJSON- = withObject "Container"- (\ x ->- Container' <$>- (x .:? "networkBindings" .!= mempty) <*>- (x .:? "containerArn")- <*> (x .:? "networkInterfaces" .!= mempty)- <*> (x .:? "taskArn")- <*> (x .:? "lastStatus")- <*> (x .:? "reason")- <*> (x .:? "name")- <*> (x .:? "exitCode")- <*> (x .:? "healthStatus"))--instance Hashable Container where--instance NFData Container where---- | Container definitions are used in task definitions to describe the different containers that are launched as part of a task.------------ /See:/ 'containerDefinition' smart constructor.-data ContainerDefinition = ContainerDefinition'- { _cdImage :: !(Maybe Text)- , _cdCommand :: !(Maybe [Text])- , _cdHostname :: !(Maybe Text)- , _cdDockerSecurityOptions :: !(Maybe [Text])- , _cdHealthCheck :: !(Maybe HealthCheck)- , _cdDisableNetworking :: !(Maybe Bool)- , _cdVolumesFrom :: !(Maybe [VolumeFrom])- , _cdEnvironment :: !(Maybe [KeyValuePair])- , _cdEntryPoint :: !(Maybe [Text])- , _cdWorkingDirectory :: !(Maybe Text)- , _cdUlimits :: !(Maybe [Ulimit])- , _cdPrivileged :: !(Maybe Bool)- , _cdPortMappings :: !(Maybe [PortMapping])- , _cdDockerLabels :: !(Maybe (Map Text Text))- , _cdExtraHosts :: !(Maybe [HostEntry])- , _cdMemory :: !(Maybe Int)- , _cdUser :: !(Maybe Text)- , _cdDnsSearchDomains :: !(Maybe [Text])- , _cdLogConfiguration :: !(Maybe LogConfiguration)- , _cdLinuxParameters :: !(Maybe LinuxParameters)- , _cdName :: !(Maybe Text)- , _cdDnsServers :: !(Maybe [Text])- , _cdMountPoints :: !(Maybe [MountPoint])- , _cdLinks :: !(Maybe [Text])- , _cdReadonlyRootFilesystem :: !(Maybe Bool)- , _cdEssential :: !(Maybe Bool)- , _cdCpu :: !(Maybe Int)- , _cdMemoryReservation :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ContainerDefinition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cdImage' - The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either @/repository-url/ //image/ :/tag/ @ or @/repository-url/ //image/ @/digest/ @ . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to @Image@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @IMAGE@ parameter of <https://docs.docker.com/engine/reference/run/ docker run> . * When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image are not propagated to already running tasks. * Images in Amazon ECR repositories can be specified by either using the full @registry/repository:tag@ or @registry/repository@digest@ . For example, @012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>:latest@ or @012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE@ . * Images in official repositories on Docker Hub use a single name (for example, @ubuntu@ or @mongo@ ). * Images in other repositories on Docker Hub are qualified with an organization name (for example, @amazon/amazon-ecs-agent@ ). * Images in other online repositories are qualified further by a domain name (for example, @quay.io/assemblyline/ubuntu@ ).------ * 'cdCommand' - The command that is passed to the container. This parameter maps to @Cmd@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @COMMAND@ parameter to <https://docs.docker.com/engine/reference/run/ docker run> . For more information, see <https://docs.docker.com/engine/reference/builder/#cmd https://docs.docker.com/engine/reference/builder/#cmd> .------ * 'cdHostname' - The hostname to use for your container. This parameter maps to @Hostname@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--hostname@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cdDockerSecurityOptions' - A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This field is not valid for containers in tasks using the Fargate launch type. This parameter maps to @SecurityOpt@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--security-opt@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cdHealthCheck' - The health check command and associated configuration parameters for the container. This parameter maps to @HealthCheck@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @HEALTHCHECK@ parameter of <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cdDisableNetworking' - When this parameter is true, networking is disabled within the container. This parameter maps to @NetworkDisabled@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> .------ * 'cdVolumesFrom' - Data volumes to mount from another container. This parameter maps to @VolumesFrom@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--volumes-from@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cdEnvironment' - The environment variables to pass to a container. This parameter maps to @Env@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--env@ option to <https://docs.docker.com/engine/reference/run/ docker run> . /Important:/ We do not recommend using plaintext environment variables for sensitive information, such as credential data.------ * 'cdEntryPoint' - /Important:/ Early versions of the Amazon ECS container agent do not properly handle @entryPoint@ parameters. If you have problems using @entryPoint@ , update your container agent or enter your commands and arguments as @command@ array items instead. The entry point that is passed to the container. This parameter maps to @Entrypoint@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--entrypoint@ option to <https://docs.docker.com/engine/reference/run/ docker run> . For more information, see <https://docs.docker.com/engine/reference/builder/#entrypoint https://docs.docker.com/engine/reference/builder/#entrypoint> .------ * 'cdWorkingDirectory' - The working directory in which to run commands inside the container. This parameter maps to @WorkingDir@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--workdir@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cdUlimits' - A list of @ulimits@ to set in the container. This parameter maps to @Ulimits@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--ulimit@ option to <https://docs.docker.com/engine/reference/run/ docker run> . Valid naming values are displayed in the 'Ulimit' data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@------ * 'cdPrivileged' - When this parameter is true, the container is given elevated privileges on the host container instance (similar to the @root@ user). This parameter maps to @Privileged@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--privileged@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cdPortMappings' - The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic. For task definitions that use the @awsvpc@ network mode, you should only specify the @containerPort@ . The @hostPort@ can be left blank or it must be the same value as the @containerPort@ . Port mappings on Windows use the @NetNAT@ gateway address rather than @localhost@ . There is no loopback for port mappings on Windows, so you cannot access a container's mapped port from the host itself. This parameter maps to @PortBindings@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--publish@ option to <https://docs.docker.com/engine/reference/run/ docker run> . If the network mode of a task definition is set to @none@ , then you can't specify port mappings. If the network mode of a task definition is set to @host@ , then host ports must either be undefined or they must match the container port in the port mapping.------ * 'cdDockerLabels' - A key/value map of labels to add to the container. This parameter maps to @Labels@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--label@ option to <https://docs.docker.com/engine/reference/run/ docker run> . This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@------ * 'cdExtraHosts' - A list of hostnames and IP address mappings to append to the @/etc/hosts@ file on the container. If using the Fargate launch type, this may be used to list non-Fargate hosts you want the container to talk to. This parameter maps to @ExtraHosts@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--add-host@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cdMemory' - The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to @Memory@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--memory@ option to <https://docs.docker.com/engine/reference/run/ docker run> . If your containers are part of a task using the Fargate launch type, this field is optional and the only requirement is that the total amount of memory reserved for all containers within a task be lower than the task @memory@ value. For containers that are part of a task using the EC2 launch type, you must specify a non-zero integer for one or both of @memory@ or @memoryReservation@ in container definitions. If you specify both, @memory@ must be greater than @memoryReservation@ . If you specify @memoryReservation@ , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of @memory@ is used. The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers.------ * 'cdUser' - The user name to use inside the container. This parameter maps to @User@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--user@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cdDnsSearchDomains' - A list of DNS search domains that are presented to the container. This parameter maps to @DnsSearch@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--dns-search@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cdLogConfiguration' - The log configuration specification for the container. If using the Fargate launch type, the only supported value is @awslogs@ . This parameter maps to @LogConfig@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--log-driver@ option to <https://docs.docker.com/engine/reference/run/ docker run> . By default, containers use the same logging driver that the Docker daemon uses; however the container may use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers> in the Docker documentation. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@------ * 'cdLinuxParameters' - Linux-specific modifications that are applied to the container, such as Linux 'KernelCapabilities' .------ * 'cdName' - The name of a container. If you are linking multiple containers together in a task definition, the @name@ of one container can be entered in the @links@ of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This parameter maps to @name@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--name@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cdDnsServers' - A list of DNS servers that are presented to the container. This parameter maps to @Dns@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--dns@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'cdMountPoints' - The mount points for data volumes in your container. This parameter maps to @Volumes@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--volume@ option to <https://docs.docker.com/engine/reference/run/ docker run> . Windows containers can mount whole directories on the same drive as @> env:ProgramData@ . Windows containers cannot mount directories on a different drive, and mount point cannot be across drives.------ * 'cdLinks' - The @link@ parameter allows containers to communicate with each other without the need for port mappings. Only supported if the network mode of a task definition is set to @bridge@ . The @name:internalName@ construct is analogous to @name:alias@ in Docker links. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. For more information about linking Docker containers, go to <https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/ https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/> . This parameter maps to @Links@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--link@ option to <https://docs.docker.com/engine/reference/commandline/run/ @docker run@ > . /Important:/ Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.------ * 'cdReadonlyRootFilesystem' - When this parameter is true, the container is given read-only access to its root file system. This parameter maps to @ReadonlyRootfs@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--read-only@ option to @docker run@ .------ * 'cdEssential' - If the @essential@ parameter of a container is marked as @true@ , and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the @essential@ parameter of a container is marked as @false@ , then its failure does not affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that is composed of multiple containers, you should group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html Application Architecture> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'cdCpu' - The number of @cpu@ units reserved for the container. This parameter maps to @CpuShares@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--cpu-shares@ option to <https://docs.docker.com/engine/reference/run/ docker run> . This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level @cpu@ value. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units. Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units. On Linux container instances, the Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. For more information, see <https://docs.docker.com/engine/reference/run/#cpu-share-constraint CPU share constraint> in the Docker documentation. The minimum valid CPU share value that the Linux kernel allows is 2; however, the CPU parameter is not required, and you can use CPU values below 2 in your container definitions. For CPU values below 2 (including null), the behavior varies based on your Amazon ECS container agent version: * __Agent versions less than or equal to 1.1.0:__ Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to 2 CPU shares. * __Agent versions greater than or equal to 1.2.0:__ Null, zero, and CPU values of 1 are passed to Docker as 2. On Windows container instances, the CPU limit is enforced as an absolute limit, or a quota. Windows containers only have access to the specified amount of CPU that is described in the task definition.------ * 'cdMemoryReservation' - The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit; however, your container can consume more memory when it needs to, up to either the hard limit specified with the @memory@ parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to @MemoryReservation@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--memory-reservation@ option to <https://docs.docker.com/engine/reference/run/ docker run> . You must specify a non-zero integer for one or both of @memory@ or @memoryReservation@ in container definitions. If you specify both, @memory@ must be greater than @memoryReservation@ . If you specify @memoryReservation@ , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of @memory@ is used. For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a @memoryReservation@ of 128 MiB, and a @memory@ hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed. The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers.-containerDefinition- :: ContainerDefinition-containerDefinition =- ContainerDefinition'- { _cdImage = Nothing- , _cdCommand = Nothing- , _cdHostname = Nothing- , _cdDockerSecurityOptions = Nothing- , _cdHealthCheck = Nothing- , _cdDisableNetworking = Nothing- , _cdVolumesFrom = Nothing- , _cdEnvironment = Nothing- , _cdEntryPoint = Nothing- , _cdWorkingDirectory = Nothing- , _cdUlimits = Nothing- , _cdPrivileged = Nothing- , _cdPortMappings = Nothing- , _cdDockerLabels = Nothing- , _cdExtraHosts = Nothing- , _cdMemory = Nothing- , _cdUser = Nothing- , _cdDnsSearchDomains = Nothing- , _cdLogConfiguration = Nothing- , _cdLinuxParameters = Nothing- , _cdName = Nothing- , _cdDnsServers = Nothing- , _cdMountPoints = Nothing- , _cdLinks = Nothing- , _cdReadonlyRootFilesystem = Nothing- , _cdEssential = Nothing- , _cdCpu = Nothing- , _cdMemoryReservation = Nothing- }----- | The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either @/repository-url/ //image/ :/tag/ @ or @/repository-url/ //image/ @/digest/ @ . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to @Image@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @IMAGE@ parameter of <https://docs.docker.com/engine/reference/run/ docker run> . * When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image are not propagated to already running tasks. * Images in Amazon ECR repositories can be specified by either using the full @registry/repository:tag@ or @registry/repository@digest@ . For example, @012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>:latest@ or @012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE@ . * Images in official repositories on Docker Hub use a single name (for example, @ubuntu@ or @mongo@ ). * Images in other repositories on Docker Hub are qualified with an organization name (for example, @amazon/amazon-ecs-agent@ ). * Images in other online repositories are qualified further by a domain name (for example, @quay.io/assemblyline/ubuntu@ ).-cdImage :: Lens' ContainerDefinition (Maybe Text)-cdImage = lens _cdImage (\ s a -> s{_cdImage = a})---- | The command that is passed to the container. This parameter maps to @Cmd@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @COMMAND@ parameter to <https://docs.docker.com/engine/reference/run/ docker run> . For more information, see <https://docs.docker.com/engine/reference/builder/#cmd https://docs.docker.com/engine/reference/builder/#cmd> .-cdCommand :: Lens' ContainerDefinition [Text]-cdCommand = lens _cdCommand (\ s a -> s{_cdCommand = a}) . _Default . _Coerce---- | The hostname to use for your container. This parameter maps to @Hostname@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--hostname@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cdHostname :: Lens' ContainerDefinition (Maybe Text)-cdHostname = lens _cdHostname (\ s a -> s{_cdHostname = a})---- | A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This field is not valid for containers in tasks using the Fargate launch type. This parameter maps to @SecurityOpt@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--security-opt@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cdDockerSecurityOptions :: Lens' ContainerDefinition [Text]-cdDockerSecurityOptions = lens _cdDockerSecurityOptions (\ s a -> s{_cdDockerSecurityOptions = a}) . _Default . _Coerce---- | The health check command and associated configuration parameters for the container. This parameter maps to @HealthCheck@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @HEALTHCHECK@ parameter of <https://docs.docker.com/engine/reference/run/ docker run> .-cdHealthCheck :: Lens' ContainerDefinition (Maybe HealthCheck)-cdHealthCheck = lens _cdHealthCheck (\ s a -> s{_cdHealthCheck = a})---- | When this parameter is true, networking is disabled within the container. This parameter maps to @NetworkDisabled@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> .-cdDisableNetworking :: Lens' ContainerDefinition (Maybe Bool)-cdDisableNetworking = lens _cdDisableNetworking (\ s a -> s{_cdDisableNetworking = a})---- | Data volumes to mount from another container. This parameter maps to @VolumesFrom@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--volumes-from@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cdVolumesFrom :: Lens' ContainerDefinition [VolumeFrom]-cdVolumesFrom = lens _cdVolumesFrom (\ s a -> s{_cdVolumesFrom = a}) . _Default . _Coerce---- | The environment variables to pass to a container. This parameter maps to @Env@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--env@ option to <https://docs.docker.com/engine/reference/run/ docker run> . /Important:/ We do not recommend using plaintext environment variables for sensitive information, such as credential data.-cdEnvironment :: Lens' ContainerDefinition [KeyValuePair]-cdEnvironment = lens _cdEnvironment (\ s a -> s{_cdEnvironment = a}) . _Default . _Coerce---- | /Important:/ Early versions of the Amazon ECS container agent do not properly handle @entryPoint@ parameters. If you have problems using @entryPoint@ , update your container agent or enter your commands and arguments as @command@ array items instead. The entry point that is passed to the container. This parameter maps to @Entrypoint@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--entrypoint@ option to <https://docs.docker.com/engine/reference/run/ docker run> . For more information, see <https://docs.docker.com/engine/reference/builder/#entrypoint https://docs.docker.com/engine/reference/builder/#entrypoint> .-cdEntryPoint :: Lens' ContainerDefinition [Text]-cdEntryPoint = lens _cdEntryPoint (\ s a -> s{_cdEntryPoint = a}) . _Default . _Coerce---- | The working directory in which to run commands inside the container. This parameter maps to @WorkingDir@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--workdir@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cdWorkingDirectory :: Lens' ContainerDefinition (Maybe Text)-cdWorkingDirectory = lens _cdWorkingDirectory (\ s a -> s{_cdWorkingDirectory = a})---- | A list of @ulimits@ to set in the container. This parameter maps to @Ulimits@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--ulimit@ option to <https://docs.docker.com/engine/reference/run/ docker run> . Valid naming values are displayed in the 'Ulimit' data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@-cdUlimits :: Lens' ContainerDefinition [Ulimit]-cdUlimits = lens _cdUlimits (\ s a -> s{_cdUlimits = a}) . _Default . _Coerce---- | When this parameter is true, the container is given elevated privileges on the host container instance (similar to the @root@ user). This parameter maps to @Privileged@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--privileged@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cdPrivileged :: Lens' ContainerDefinition (Maybe Bool)-cdPrivileged = lens _cdPrivileged (\ s a -> s{_cdPrivileged = a})---- | The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic. For task definitions that use the @awsvpc@ network mode, you should only specify the @containerPort@ . The @hostPort@ can be left blank or it must be the same value as the @containerPort@ . Port mappings on Windows use the @NetNAT@ gateway address rather than @localhost@ . There is no loopback for port mappings on Windows, so you cannot access a container's mapped port from the host itself. This parameter maps to @PortBindings@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--publish@ option to <https://docs.docker.com/engine/reference/run/ docker run> . If the network mode of a task definition is set to @none@ , then you can't specify port mappings. If the network mode of a task definition is set to @host@ , then host ports must either be undefined or they must match the container port in the port mapping.-cdPortMappings :: Lens' ContainerDefinition [PortMapping]-cdPortMappings = lens _cdPortMappings (\ s a -> s{_cdPortMappings = a}) . _Default . _Coerce---- | A key/value map of labels to add to the container. This parameter maps to @Labels@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--label@ option to <https://docs.docker.com/engine/reference/run/ docker run> . This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@-cdDockerLabels :: Lens' ContainerDefinition (HashMap Text Text)-cdDockerLabels = lens _cdDockerLabels (\ s a -> s{_cdDockerLabels = a}) . _Default . _Map---- | A list of hostnames and IP address mappings to append to the @/etc/hosts@ file on the container. If using the Fargate launch type, this may be used to list non-Fargate hosts you want the container to talk to. This parameter maps to @ExtraHosts@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--add-host@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cdExtraHosts :: Lens' ContainerDefinition [HostEntry]-cdExtraHosts = lens _cdExtraHosts (\ s a -> s{_cdExtraHosts = a}) . _Default . _Coerce---- | The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to @Memory@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--memory@ option to <https://docs.docker.com/engine/reference/run/ docker run> . If your containers are part of a task using the Fargate launch type, this field is optional and the only requirement is that the total amount of memory reserved for all containers within a task be lower than the task @memory@ value. For containers that are part of a task using the EC2 launch type, you must specify a non-zero integer for one or both of @memory@ or @memoryReservation@ in container definitions. If you specify both, @memory@ must be greater than @memoryReservation@ . If you specify @memoryReservation@ , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of @memory@ is used. The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers.-cdMemory :: Lens' ContainerDefinition (Maybe Int)-cdMemory = lens _cdMemory (\ s a -> s{_cdMemory = a})---- | The user name to use inside the container. This parameter maps to @User@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--user@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cdUser :: Lens' ContainerDefinition (Maybe Text)-cdUser = lens _cdUser (\ s a -> s{_cdUser = a})---- | A list of DNS search domains that are presented to the container. This parameter maps to @DnsSearch@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--dns-search@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cdDnsSearchDomains :: Lens' ContainerDefinition [Text]-cdDnsSearchDomains = lens _cdDnsSearchDomains (\ s a -> s{_cdDnsSearchDomains = a}) . _Default . _Coerce---- | The log configuration specification for the container. If using the Fargate launch type, the only supported value is @awslogs@ . This parameter maps to @LogConfig@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--log-driver@ option to <https://docs.docker.com/engine/reference/run/ docker run> . By default, containers use the same logging driver that the Docker daemon uses; however the container may use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see <https://docs.docker.com/engine/admin/logging/overview/ Configure logging drivers> in the Docker documentation. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@-cdLogConfiguration :: Lens' ContainerDefinition (Maybe LogConfiguration)-cdLogConfiguration = lens _cdLogConfiguration (\ s a -> s{_cdLogConfiguration = a})---- | Linux-specific modifications that are applied to the container, such as Linux 'KernelCapabilities' .-cdLinuxParameters :: Lens' ContainerDefinition (Maybe LinuxParameters)-cdLinuxParameters = lens _cdLinuxParameters (\ s a -> s{_cdLinuxParameters = a})---- | The name of a container. If you are linking multiple containers together in a task definition, the @name@ of one container can be entered in the @links@ of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This parameter maps to @name@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--name@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cdName :: Lens' ContainerDefinition (Maybe Text)-cdName = lens _cdName (\ s a -> s{_cdName = a})---- | A list of DNS servers that are presented to the container. This parameter maps to @Dns@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--dns@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-cdDnsServers :: Lens' ContainerDefinition [Text]-cdDnsServers = lens _cdDnsServers (\ s a -> s{_cdDnsServers = a}) . _Default . _Coerce---- | The mount points for data volumes in your container. This parameter maps to @Volumes@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--volume@ option to <https://docs.docker.com/engine/reference/run/ docker run> . Windows containers can mount whole directories on the same drive as @> env:ProgramData@ . Windows containers cannot mount directories on a different drive, and mount point cannot be across drives.-cdMountPoints :: Lens' ContainerDefinition [MountPoint]-cdMountPoints = lens _cdMountPoints (\ s a -> s{_cdMountPoints = a}) . _Default . _Coerce---- | The @link@ parameter allows containers to communicate with each other without the need for port mappings. Only supported if the network mode of a task definition is set to @bridge@ . The @name:internalName@ construct is analogous to @name:alias@ in Docker links. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. For more information about linking Docker containers, go to <https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/ https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/> . This parameter maps to @Links@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--link@ option to <https://docs.docker.com/engine/reference/commandline/run/ @docker run@ > . /Important:/ Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.-cdLinks :: Lens' ContainerDefinition [Text]-cdLinks = lens _cdLinks (\ s a -> s{_cdLinks = a}) . _Default . _Coerce---- | When this parameter is true, the container is given read-only access to its root file system. This parameter maps to @ReadonlyRootfs@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--read-only@ option to @docker run@ .-cdReadonlyRootFilesystem :: Lens' ContainerDefinition (Maybe Bool)-cdReadonlyRootFilesystem = lens _cdReadonlyRootFilesystem (\ s a -> s{_cdReadonlyRootFilesystem = a})---- | If the @essential@ parameter of a container is marked as @true@ , and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the @essential@ parameter of a container is marked as @false@ , then its failure does not affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that is composed of multiple containers, you should group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html Application Architecture> in the /Amazon Elastic Container Service Developer Guide/ .-cdEssential :: Lens' ContainerDefinition (Maybe Bool)-cdEssential = lens _cdEssential (\ s a -> s{_cdEssential = a})---- | The number of @cpu@ units reserved for the container. This parameter maps to @CpuShares@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--cpu-shares@ option to <https://docs.docker.com/engine/reference/run/ docker run> . This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level @cpu@ value. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units. Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units. On Linux container instances, the Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. For more information, see <https://docs.docker.com/engine/reference/run/#cpu-share-constraint CPU share constraint> in the Docker documentation. The minimum valid CPU share value that the Linux kernel allows is 2; however, the CPU parameter is not required, and you can use CPU values below 2 in your container definitions. For CPU values below 2 (including null), the behavior varies based on your Amazon ECS container agent version: * __Agent versions less than or equal to 1.1.0:__ Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to 2 CPU shares. * __Agent versions greater than or equal to 1.2.0:__ Null, zero, and CPU values of 1 are passed to Docker as 2. On Windows container instances, the CPU limit is enforced as an absolute limit, or a quota. Windows containers only have access to the specified amount of CPU that is described in the task definition.-cdCpu :: Lens' ContainerDefinition (Maybe Int)-cdCpu = lens _cdCpu (\ s a -> s{_cdCpu = a})---- | The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit; however, your container can consume more memory when it needs to, up to either the hard limit specified with the @memory@ parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to @MemoryReservation@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--memory-reservation@ option to <https://docs.docker.com/engine/reference/run/ docker run> . You must specify a non-zero integer for one or both of @memory@ or @memoryReservation@ in container definitions. If you specify both, @memory@ must be greater than @memoryReservation@ . If you specify @memoryReservation@ , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of @memory@ is used. For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a @memoryReservation@ of 128 MiB, and a @memory@ hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed. The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers.-cdMemoryReservation :: Lens' ContainerDefinition (Maybe Int)-cdMemoryReservation = lens _cdMemoryReservation (\ s a -> s{_cdMemoryReservation = a})--instance FromJSON ContainerDefinition where- parseJSON- = withObject "ContainerDefinition"- (\ x ->- ContainerDefinition' <$>- (x .:? "image") <*> (x .:? "command" .!= mempty) <*>- (x .:? "hostname")- <*> (x .:? "dockerSecurityOptions" .!= mempty)- <*> (x .:? "healthCheck")- <*> (x .:? "disableNetworking")- <*> (x .:? "volumesFrom" .!= mempty)- <*> (x .:? "environment" .!= mempty)- <*> (x .:? "entryPoint" .!= mempty)- <*> (x .:? "workingDirectory")- <*> (x .:? "ulimits" .!= mempty)- <*> (x .:? "privileged")- <*> (x .:? "portMappings" .!= mempty)- <*> (x .:? "dockerLabels" .!= mempty)- <*> (x .:? "extraHosts" .!= mempty)- <*> (x .:? "memory")- <*> (x .:? "user")- <*> (x .:? "dnsSearchDomains" .!= mempty)- <*> (x .:? "logConfiguration")- <*> (x .:? "linuxParameters")- <*> (x .:? "name")- <*> (x .:? "dnsServers" .!= mempty)- <*> (x .:? "mountPoints" .!= mempty)- <*> (x .:? "links" .!= mempty)- <*> (x .:? "readonlyRootFilesystem")- <*> (x .:? "essential")- <*> (x .:? "cpu")- <*> (x .:? "memoryReservation"))--instance Hashable ContainerDefinition where--instance NFData ContainerDefinition where--instance ToJSON ContainerDefinition where- toJSON ContainerDefinition'{..}- = object- (catMaybes- [("image" .=) <$> _cdImage,- ("command" .=) <$> _cdCommand,- ("hostname" .=) <$> _cdHostname,- ("dockerSecurityOptions" .=) <$>- _cdDockerSecurityOptions,- ("healthCheck" .=) <$> _cdHealthCheck,- ("disableNetworking" .=) <$> _cdDisableNetworking,- ("volumesFrom" .=) <$> _cdVolumesFrom,- ("environment" .=) <$> _cdEnvironment,- ("entryPoint" .=) <$> _cdEntryPoint,- ("workingDirectory" .=) <$> _cdWorkingDirectory,- ("ulimits" .=) <$> _cdUlimits,- ("privileged" .=) <$> _cdPrivileged,- ("portMappings" .=) <$> _cdPortMappings,- ("dockerLabels" .=) <$> _cdDockerLabels,- ("extraHosts" .=) <$> _cdExtraHosts,- ("memory" .=) <$> _cdMemory, ("user" .=) <$> _cdUser,- ("dnsSearchDomains" .=) <$> _cdDnsSearchDomains,- ("logConfiguration" .=) <$> _cdLogConfiguration,- ("linuxParameters" .=) <$> _cdLinuxParameters,- ("name" .=) <$> _cdName,- ("dnsServers" .=) <$> _cdDnsServers,- ("mountPoints" .=) <$> _cdMountPoints,- ("links" .=) <$> _cdLinks,- ("readonlyRootFilesystem" .=) <$>- _cdReadonlyRootFilesystem,- ("essential" .=) <$> _cdEssential,- ("cpu" .=) <$> _cdCpu,- ("memoryReservation" .=) <$> _cdMemoryReservation])---- | An EC2 instance that is running the Amazon ECS agent and has been registered with a cluster.------------ /See:/ 'containerInstance' smart constructor.-data ContainerInstance = ContainerInstance'- { _ciStatus :: !(Maybe Text)- , _ciAttachments :: !(Maybe [Attachment])- , _ciRunningTasksCount :: !(Maybe Int)- , _ciRemainingResources :: !(Maybe [Resource])- , _ciEc2InstanceId :: !(Maybe Text)- , _ciContainerInstanceARN :: !(Maybe Text)- , _ciAgentConnected :: !(Maybe Bool)- , _ciVersionInfo :: !(Maybe VersionInfo)- , _ciAgentUpdateStatus :: !(Maybe AgentUpdateStatus)- , _ciAttributes :: !(Maybe [Attribute])- , _ciVersion :: !(Maybe Integer)- , _ciPendingTasksCount :: !(Maybe Int)- , _ciRegisteredAt :: !(Maybe POSIX)- , _ciRegisteredResources :: !(Maybe [Resource])- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ContainerInstance' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ciStatus' - The status of the container instance. The valid values are @ACTIVE@ , @INACTIVE@ , or @DRAINING@ . @ACTIVE@ indicates that the container instance can accept tasks. @DRAINING@ indicates that new tasks are not placed on the container instance and any service tasks running on the container instance are removed if possible. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-draining.html Container Instance Draining> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'ciAttachments' - The Elastic Network Interfaces associated with the container instance.------ * 'ciRunningTasksCount' - The number of tasks on the container instance that are in the @RUNNING@ status.------ * 'ciRemainingResources' - For CPU and memory resource types, this parameter describes the remaining CPU and memory on the that has not already been allocated to tasks (and is therefore available for new tasks). For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent (at instance registration time) and any task containers that have reserved port mappings on the host (with the @host@ or @bridge@ network mode). Any port that is not specified here is available for new tasks.------ * 'ciEc2InstanceId' - The EC2 instance ID of the container instance.------ * 'ciContainerInstanceARN' - The Amazon Resource Name (ARN) of the container instance. The ARN contains the @arn:aws:ecs@ namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the @container-instance@ namespace, and then the container instance ID. For example, @arn:aws:ecs:/region/ :/aws_account_id/ :container-instance//container_instance_ID/ @ .------ * 'ciAgentConnected' - This parameter returns @true@ if the agent is connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped return @false@ . Instances without a connected agent can't accept placement requests.------ * 'ciVersionInfo' - The version information for the Amazon ECS container agent and Docker daemon running on the container instance.------ * 'ciAgentUpdateStatus' - The status of the most recent agent update. If an update has never been requested, this value is @NULL@ .------ * 'ciAttributes' - The attributes set for the container instance, either by the Amazon ECS container agent at instance registration or manually with the 'PutAttributes' operation.------ * 'ciVersion' - The version counter for the container instance. Every time a container instance experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS container instance state with CloudWatch Events, you can compare the version of a container instance reported by the Amazon ECS APIs with the version reported in CloudWatch Events for the container instance (inside the @detail@ object) to verify that the version in your event stream is current.------ * 'ciPendingTasksCount' - The number of tasks on the container instance that are in the @PENDING@ status.------ * 'ciRegisteredAt' - The Unix time stamp for when the container instance was registered.------ * 'ciRegisteredResources' - For CPU and memory resource types, this parameter describes the amount of each resource that was available on the container instance when the container agent registered it with Amazon ECS; this value represents the total amount of CPU and memory that can be allocated on this container instance to tasks. For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent when it registered the container instance with Amazon ECS.-containerInstance- :: ContainerInstance-containerInstance =- ContainerInstance'- { _ciStatus = Nothing- , _ciAttachments = Nothing- , _ciRunningTasksCount = Nothing- , _ciRemainingResources = Nothing- , _ciEc2InstanceId = Nothing- , _ciContainerInstanceARN = Nothing- , _ciAgentConnected = Nothing- , _ciVersionInfo = Nothing- , _ciAgentUpdateStatus = Nothing- , _ciAttributes = Nothing- , _ciVersion = Nothing- , _ciPendingTasksCount = Nothing- , _ciRegisteredAt = Nothing- , _ciRegisteredResources = Nothing- }----- | The status of the container instance. The valid values are @ACTIVE@ , @INACTIVE@ , or @DRAINING@ . @ACTIVE@ indicates that the container instance can accept tasks. @DRAINING@ indicates that new tasks are not placed on the container instance and any service tasks running on the container instance are removed if possible. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-draining.html Container Instance Draining> in the /Amazon Elastic Container Service Developer Guide/ .-ciStatus :: Lens' ContainerInstance (Maybe Text)-ciStatus = lens _ciStatus (\ s a -> s{_ciStatus = a})---- | The Elastic Network Interfaces associated with the container instance.-ciAttachments :: Lens' ContainerInstance [Attachment]-ciAttachments = lens _ciAttachments (\ s a -> s{_ciAttachments = a}) . _Default . _Coerce---- | The number of tasks on the container instance that are in the @RUNNING@ status.-ciRunningTasksCount :: Lens' ContainerInstance (Maybe Int)-ciRunningTasksCount = lens _ciRunningTasksCount (\ s a -> s{_ciRunningTasksCount = a})---- | For CPU and memory resource types, this parameter describes the remaining CPU and memory on the that has not already been allocated to tasks (and is therefore available for new tasks). For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent (at instance registration time) and any task containers that have reserved port mappings on the host (with the @host@ or @bridge@ network mode). Any port that is not specified here is available for new tasks.-ciRemainingResources :: Lens' ContainerInstance [Resource]-ciRemainingResources = lens _ciRemainingResources (\ s a -> s{_ciRemainingResources = a}) . _Default . _Coerce---- | The EC2 instance ID of the container instance.-ciEc2InstanceId :: Lens' ContainerInstance (Maybe Text)-ciEc2InstanceId = lens _ciEc2InstanceId (\ s a -> s{_ciEc2InstanceId = a})---- | The Amazon Resource Name (ARN) of the container instance. The ARN contains the @arn:aws:ecs@ namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the @container-instance@ namespace, and then the container instance ID. For example, @arn:aws:ecs:/region/ :/aws_account_id/ :container-instance//container_instance_ID/ @ .-ciContainerInstanceARN :: Lens' ContainerInstance (Maybe Text)-ciContainerInstanceARN = lens _ciContainerInstanceARN (\ s a -> s{_ciContainerInstanceARN = a})---- | This parameter returns @true@ if the agent is connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped return @false@ . Instances without a connected agent can't accept placement requests.-ciAgentConnected :: Lens' ContainerInstance (Maybe Bool)-ciAgentConnected = lens _ciAgentConnected (\ s a -> s{_ciAgentConnected = a})---- | The version information for the Amazon ECS container agent and Docker daemon running on the container instance.-ciVersionInfo :: Lens' ContainerInstance (Maybe VersionInfo)-ciVersionInfo = lens _ciVersionInfo (\ s a -> s{_ciVersionInfo = a})---- | The status of the most recent agent update. If an update has never been requested, this value is @NULL@ .-ciAgentUpdateStatus :: Lens' ContainerInstance (Maybe AgentUpdateStatus)-ciAgentUpdateStatus = lens _ciAgentUpdateStatus (\ s a -> s{_ciAgentUpdateStatus = a})---- | The attributes set for the container instance, either by the Amazon ECS container agent at instance registration or manually with the 'PutAttributes' operation.-ciAttributes :: Lens' ContainerInstance [Attribute]-ciAttributes = lens _ciAttributes (\ s a -> s{_ciAttributes = a}) . _Default . _Coerce---- | The version counter for the container instance. Every time a container instance experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS container instance state with CloudWatch Events, you can compare the version of a container instance reported by the Amazon ECS APIs with the version reported in CloudWatch Events for the container instance (inside the @detail@ object) to verify that the version in your event stream is current.-ciVersion :: Lens' ContainerInstance (Maybe Integer)-ciVersion = lens _ciVersion (\ s a -> s{_ciVersion = a})---- | The number of tasks on the container instance that are in the @PENDING@ status.-ciPendingTasksCount :: Lens' ContainerInstance (Maybe Int)-ciPendingTasksCount = lens _ciPendingTasksCount (\ s a -> s{_ciPendingTasksCount = a})---- | The Unix time stamp for when the container instance was registered.-ciRegisteredAt :: Lens' ContainerInstance (Maybe UTCTime)-ciRegisteredAt = lens _ciRegisteredAt (\ s a -> s{_ciRegisteredAt = a}) . mapping _Time---- | For CPU and memory resource types, this parameter describes the amount of each resource that was available on the container instance when the container agent registered it with Amazon ECS; this value represents the total amount of CPU and memory that can be allocated on this container instance to tasks. For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent when it registered the container instance with Amazon ECS.-ciRegisteredResources :: Lens' ContainerInstance [Resource]-ciRegisteredResources = lens _ciRegisteredResources (\ s a -> s{_ciRegisteredResources = a}) . _Default . _Coerce--instance FromJSON ContainerInstance where- parseJSON- = withObject "ContainerInstance"- (\ x ->- ContainerInstance' <$>- (x .:? "status") <*> (x .:? "attachments" .!= mempty)- <*> (x .:? "runningTasksCount")- <*> (x .:? "remainingResources" .!= mempty)- <*> (x .:? "ec2InstanceId")- <*> (x .:? "containerInstanceArn")- <*> (x .:? "agentConnected")- <*> (x .:? "versionInfo")- <*> (x .:? "agentUpdateStatus")- <*> (x .:? "attributes" .!= mempty)- <*> (x .:? "version")- <*> (x .:? "pendingTasksCount")- <*> (x .:? "registeredAt")- <*> (x .:? "registeredResources" .!= mempty))--instance Hashable ContainerInstance where--instance NFData ContainerInstance where---- | The overrides that should be sent to a container.------------ /See:/ 'containerOverride' smart constructor.-data ContainerOverride = ContainerOverride'- { _coCommand :: !(Maybe [Text])- , _coEnvironment :: !(Maybe [KeyValuePair])- , _coMemory :: !(Maybe Int)- , _coName :: !(Maybe Text)- , _coCpu :: !(Maybe Int)- , _coMemoryReservation :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ContainerOverride' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'coCommand' - The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.------ * 'coEnvironment' - The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.------ * 'coMemory' - The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.------ * 'coName' - The name of the container that receives the override. This parameter is required if any override is specified.------ * 'coCpu' - The number of @cpu@ units reserved for the container, instead of the default value from the task definition. You must also specify a container name.------ * 'coMemoryReservation' - The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.-containerOverride- :: ContainerOverride-containerOverride =- ContainerOverride'- { _coCommand = Nothing- , _coEnvironment = Nothing- , _coMemory = Nothing- , _coName = Nothing- , _coCpu = Nothing- , _coMemoryReservation = Nothing- }----- | The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.-coCommand :: Lens' ContainerOverride [Text]-coCommand = lens _coCommand (\ s a -> s{_coCommand = a}) . _Default . _Coerce---- | The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.-coEnvironment :: Lens' ContainerOverride [KeyValuePair]-coEnvironment = lens _coEnvironment (\ s a -> s{_coEnvironment = a}) . _Default . _Coerce---- | The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.-coMemory :: Lens' ContainerOverride (Maybe Int)-coMemory = lens _coMemory (\ s a -> s{_coMemory = a})---- | The name of the container that receives the override. This parameter is required if any override is specified.-coName :: Lens' ContainerOverride (Maybe Text)-coName = lens _coName (\ s a -> s{_coName = a})---- | The number of @cpu@ units reserved for the container, instead of the default value from the task definition. You must also specify a container name.-coCpu :: Lens' ContainerOverride (Maybe Int)-coCpu = lens _coCpu (\ s a -> s{_coCpu = a})---- | The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.-coMemoryReservation :: Lens' ContainerOverride (Maybe Int)-coMemoryReservation = lens _coMemoryReservation (\ s a -> s{_coMemoryReservation = a})--instance FromJSON ContainerOverride where- parseJSON- = withObject "ContainerOverride"- (\ x ->- ContainerOverride' <$>- (x .:? "command" .!= mempty) <*>- (x .:? "environment" .!= mempty)- <*> (x .:? "memory")- <*> (x .:? "name")- <*> (x .:? "cpu")- <*> (x .:? "memoryReservation"))--instance Hashable ContainerOverride where--instance NFData ContainerOverride where--instance ToJSON ContainerOverride where- toJSON ContainerOverride'{..}- = object- (catMaybes- [("command" .=) <$> _coCommand,- ("environment" .=) <$> _coEnvironment,- ("memory" .=) <$> _coMemory, ("name" .=) <$> _coName,- ("cpu" .=) <$> _coCpu,- ("memoryReservation" .=) <$> _coMemoryReservation])---- | Details on a service within a cluster------------ /See:/ 'containerService' smart constructor.-data ContainerService = ContainerService'- { _csRunningCount :: !(Maybe Int)- , _csStatus :: !(Maybe Text)- , _csClusterARN :: !(Maybe Text)- , _csCreatedAt :: !(Maybe POSIX)- , _csPlatformVersion :: !(Maybe Text)- , _csDesiredCount :: !(Maybe Int)- , _csLoadBalancers :: !(Maybe [LoadBalancer])- , _csPendingCount :: !(Maybe Int)- , _csPlacementConstraints :: !(Maybe [PlacementConstraint])- , _csEvents :: !(Maybe [ServiceEvent])- , _csPlacementStrategy :: !(Maybe [PlacementStrategy])- , _csDeployments :: !(Maybe [Deployment])- , _csServiceName :: !(Maybe Text)- , _csLaunchType :: !(Maybe LaunchType)- , _csServiceARN :: !(Maybe Text)- , _csTaskDefinition :: !(Maybe Text)- , _csHealthCheckGracePeriodSeconds :: !(Maybe Int)- , _csNetworkConfiguration :: !(Maybe NetworkConfiguration)- , _csServiceRegistries :: !(Maybe [ServiceRegistry])- , _csRoleARN :: !(Maybe Text)- , _csDeploymentConfiguration :: !(Maybe DeploymentConfiguration)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ContainerService' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csRunningCount' - The number of tasks in the cluster that are in the @RUNNING@ state.------ * 'csStatus' - The status of the service. The valid values are @ACTIVE@ , @DRAINING@ , or @INACTIVE@ .------ * 'csClusterARN' - The Amazon Resource Name (ARN) of the cluster that hosts the service.------ * 'csCreatedAt' - The Unix time stamp for when the service was created.------ * 'csPlatformVersion' - The platform version on which your task is running. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html AWS Fargate Platform Versions> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'csDesiredCount' - The desired number of instantiations of the task definition to keep running on the service. This value is specified when the service is created with 'CreateService' , and it can be modified with 'UpdateService' .------ * 'csLoadBalancers' - A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancer.------ * 'csPendingCount' - The number of tasks in the cluster that are in the @PENDING@ state.------ * 'csPlacementConstraints' - The placement constraints for the tasks in the service.------ * 'csEvents' - The event stream for your service. A maximum of 100 of the latest events are displayed.------ * 'csPlacementStrategy' - The placement strategy that determines how tasks for the service are placed.------ * 'csDeployments' - The current state of deployments for the service.------ * 'csServiceName' - The name of your service. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. Service names must be unique within a cluster, but you can have similarly named services in multiple clusters within a region or across multiple regions.------ * 'csLaunchType' - The launch type on which your service is running.------ * 'csServiceARN' - The ARN that identifies the service. The ARN contains the @arn:aws:ecs@ namespace, followed by the region of the service, the AWS account ID of the service owner, the @service@ namespace, and then the service name. For example, @arn:aws:ecs:/region/ :/012345678910/ :service//my-service/ @ .------ * 'csTaskDefinition' - The task definition to use for tasks in the service. This value is specified when the service is created with 'CreateService' , and it can be modified with 'UpdateService' .------ * 'csHealthCheckGracePeriodSeconds' - The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started.------ * 'csNetworkConfiguration' - The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the @awsvpc@ networking mode.------ * 'csServiceRegistries' ------- * 'csRoleARN' - The ARN of the IAM role associated with the service that allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.------ * 'csDeploymentConfiguration' - Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.-containerService- :: ContainerService-containerService =- ContainerService'- { _csRunningCount = Nothing- , _csStatus = Nothing- , _csClusterARN = Nothing- , _csCreatedAt = Nothing- , _csPlatformVersion = Nothing- , _csDesiredCount = Nothing- , _csLoadBalancers = Nothing- , _csPendingCount = Nothing- , _csPlacementConstraints = Nothing- , _csEvents = Nothing- , _csPlacementStrategy = Nothing- , _csDeployments = Nothing- , _csServiceName = Nothing- , _csLaunchType = Nothing- , _csServiceARN = Nothing- , _csTaskDefinition = Nothing- , _csHealthCheckGracePeriodSeconds = Nothing- , _csNetworkConfiguration = Nothing- , _csServiceRegistries = Nothing- , _csRoleARN = Nothing- , _csDeploymentConfiguration = Nothing- }----- | The number of tasks in the cluster that are in the @RUNNING@ state.-csRunningCount :: Lens' ContainerService (Maybe Int)-csRunningCount = lens _csRunningCount (\ s a -> s{_csRunningCount = a})---- | The status of the service. The valid values are @ACTIVE@ , @DRAINING@ , or @INACTIVE@ .-csStatus :: Lens' ContainerService (Maybe Text)-csStatus = lens _csStatus (\ s a -> s{_csStatus = a})---- | The Amazon Resource Name (ARN) of the cluster that hosts the service.-csClusterARN :: Lens' ContainerService (Maybe Text)-csClusterARN = lens _csClusterARN (\ s a -> s{_csClusterARN = a})---- | The Unix time stamp for when the service was created.-csCreatedAt :: Lens' ContainerService (Maybe UTCTime)-csCreatedAt = lens _csCreatedAt (\ s a -> s{_csCreatedAt = a}) . mapping _Time---- | The platform version on which your task is running. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html AWS Fargate Platform Versions> in the /Amazon Elastic Container Service Developer Guide/ .-csPlatformVersion :: Lens' ContainerService (Maybe Text)-csPlatformVersion = lens _csPlatformVersion (\ s a -> s{_csPlatformVersion = a})---- | The desired number of instantiations of the task definition to keep running on the service. This value is specified when the service is created with 'CreateService' , and it can be modified with 'UpdateService' .-csDesiredCount :: Lens' ContainerService (Maybe Int)-csDesiredCount = lens _csDesiredCount (\ s a -> s{_csDesiredCount = a})---- | A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancer.-csLoadBalancers :: Lens' ContainerService [LoadBalancer]-csLoadBalancers = lens _csLoadBalancers (\ s a -> s{_csLoadBalancers = a}) . _Default . _Coerce---- | The number of tasks in the cluster that are in the @PENDING@ state.-csPendingCount :: Lens' ContainerService (Maybe Int)-csPendingCount = lens _csPendingCount (\ s a -> s{_csPendingCount = a})---- | The placement constraints for the tasks in the service.-csPlacementConstraints :: Lens' ContainerService [PlacementConstraint]-csPlacementConstraints = lens _csPlacementConstraints (\ s a -> s{_csPlacementConstraints = a}) . _Default . _Coerce---- | The event stream for your service. A maximum of 100 of the latest events are displayed.-csEvents :: Lens' ContainerService [ServiceEvent]-csEvents = lens _csEvents (\ s a -> s{_csEvents = a}) . _Default . _Coerce---- | The placement strategy that determines how tasks for the service are placed.-csPlacementStrategy :: Lens' ContainerService [PlacementStrategy]-csPlacementStrategy = lens _csPlacementStrategy (\ s a -> s{_csPlacementStrategy = a}) . _Default . _Coerce---- | The current state of deployments for the service.-csDeployments :: Lens' ContainerService [Deployment]-csDeployments = lens _csDeployments (\ s a -> s{_csDeployments = a}) . _Default . _Coerce---- | The name of your service. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. Service names must be unique within a cluster, but you can have similarly named services in multiple clusters within a region or across multiple regions.-csServiceName :: Lens' ContainerService (Maybe Text)-csServiceName = lens _csServiceName (\ s a -> s{_csServiceName = a})---- | The launch type on which your service is running.-csLaunchType :: Lens' ContainerService (Maybe LaunchType)-csLaunchType = lens _csLaunchType (\ s a -> s{_csLaunchType = a})---- | The ARN that identifies the service. The ARN contains the @arn:aws:ecs@ namespace, followed by the region of the service, the AWS account ID of the service owner, the @service@ namespace, and then the service name. For example, @arn:aws:ecs:/region/ :/012345678910/ :service//my-service/ @ .-csServiceARN :: Lens' ContainerService (Maybe Text)-csServiceARN = lens _csServiceARN (\ s a -> s{_csServiceARN = a})---- | The task definition to use for tasks in the service. This value is specified when the service is created with 'CreateService' , and it can be modified with 'UpdateService' .-csTaskDefinition :: Lens' ContainerService (Maybe Text)-csTaskDefinition = lens _csTaskDefinition (\ s a -> s{_csTaskDefinition = a})---- | The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started.-csHealthCheckGracePeriodSeconds :: Lens' ContainerService (Maybe Int)-csHealthCheckGracePeriodSeconds = lens _csHealthCheckGracePeriodSeconds (\ s a -> s{_csHealthCheckGracePeriodSeconds = a})---- | The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the @awsvpc@ networking mode.-csNetworkConfiguration :: Lens' ContainerService (Maybe NetworkConfiguration)-csNetworkConfiguration = lens _csNetworkConfiguration (\ s a -> s{_csNetworkConfiguration = a})---- |-csServiceRegistries :: Lens' ContainerService [ServiceRegistry]-csServiceRegistries = lens _csServiceRegistries (\ s a -> s{_csServiceRegistries = a}) . _Default . _Coerce---- | The ARN of the IAM role associated with the service that allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.-csRoleARN :: Lens' ContainerService (Maybe Text)-csRoleARN = lens _csRoleARN (\ s a -> s{_csRoleARN = a})---- | Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.-csDeploymentConfiguration :: Lens' ContainerService (Maybe DeploymentConfiguration)-csDeploymentConfiguration = lens _csDeploymentConfiguration (\ s a -> s{_csDeploymentConfiguration = a})--instance FromJSON ContainerService where- parseJSON- = withObject "ContainerService"- (\ x ->- ContainerService' <$>- (x .:? "runningCount") <*> (x .:? "status") <*>- (x .:? "clusterArn")- <*> (x .:? "createdAt")- <*> (x .:? "platformVersion")- <*> (x .:? "desiredCount")- <*> (x .:? "loadBalancers" .!= mempty)- <*> (x .:? "pendingCount")- <*> (x .:? "placementConstraints" .!= mempty)- <*> (x .:? "events" .!= mempty)- <*> (x .:? "placementStrategy" .!= mempty)- <*> (x .:? "deployments" .!= mempty)- <*> (x .:? "serviceName")- <*> (x .:? "launchType")- <*> (x .:? "serviceArn")- <*> (x .:? "taskDefinition")- <*> (x .:? "healthCheckGracePeriodSeconds")- <*> (x .:? "networkConfiguration")- <*> (x .:? "serviceRegistries" .!= mempty)- <*> (x .:? "roleArn")- <*> (x .:? "deploymentConfiguration"))--instance Hashable ContainerService where--instance NFData ContainerService where---- | An object representing a change in state for a container.------------ /See:/ 'containerStateChange' smart constructor.-data ContainerStateChange = ContainerStateChange'- { _cscNetworkBindings :: !(Maybe [NetworkBinding])- , _cscStatus :: !(Maybe Text)- , _cscContainerName :: !(Maybe Text)- , _cscReason :: !(Maybe Text)- , _cscExitCode :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ContainerStateChange' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cscNetworkBindings' - Any network bindings associated with the container.------ * 'cscStatus' - The status of the container.------ * 'cscContainerName' - The name of the container.------ * 'cscReason' - The reason for the state change.------ * 'cscExitCode' - The exit code for the container, if the state change is a result of the container exiting.-containerStateChange- :: ContainerStateChange-containerStateChange =- ContainerStateChange'- { _cscNetworkBindings = Nothing- , _cscStatus = Nothing- , _cscContainerName = Nothing- , _cscReason = Nothing- , _cscExitCode = Nothing- }----- | Any network bindings associated with the container.-cscNetworkBindings :: Lens' ContainerStateChange [NetworkBinding]-cscNetworkBindings = lens _cscNetworkBindings (\ s a -> s{_cscNetworkBindings = a}) . _Default . _Coerce---- | The status of the container.-cscStatus :: Lens' ContainerStateChange (Maybe Text)-cscStatus = lens _cscStatus (\ s a -> s{_cscStatus = a})---- | The name of the container.-cscContainerName :: Lens' ContainerStateChange (Maybe Text)-cscContainerName = lens _cscContainerName (\ s a -> s{_cscContainerName = a})---- | The reason for the state change.-cscReason :: Lens' ContainerStateChange (Maybe Text)-cscReason = lens _cscReason (\ s a -> s{_cscReason = a})---- | The exit code for the container, if the state change is a result of the container exiting.-cscExitCode :: Lens' ContainerStateChange (Maybe Int)-cscExitCode = lens _cscExitCode (\ s a -> s{_cscExitCode = a})--instance Hashable ContainerStateChange where--instance NFData ContainerStateChange where--instance ToJSON ContainerStateChange where- toJSON ContainerStateChange'{..}- = object- (catMaybes- [("networkBindings" .=) <$> _cscNetworkBindings,- ("status" .=) <$> _cscStatus,- ("containerName" .=) <$> _cscContainerName,- ("reason" .=) <$> _cscReason,- ("exitCode" .=) <$> _cscExitCode])---- | The details of an Amazon ECS service deployment.------------ /See:/ 'deployment' smart constructor.-data Deployment = Deployment'- { _dRunningCount :: !(Maybe Int)- , _dStatus :: !(Maybe Text)- , _dCreatedAt :: !(Maybe POSIX)- , _dPlatformVersion :: !(Maybe Text)- , _dDesiredCount :: !(Maybe Int)- , _dPendingCount :: !(Maybe Int)- , _dId :: !(Maybe Text)- , _dLaunchType :: !(Maybe LaunchType)- , _dUpdatedAt :: !(Maybe POSIX)- , _dTaskDefinition :: !(Maybe Text)- , _dNetworkConfiguration :: !(Maybe NetworkConfiguration)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Deployment' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dRunningCount' - The number of tasks in the deployment that are in the @RUNNING@ status.------ * 'dStatus' - The status of the deployment. Valid values are @PRIMARY@ (for the most recent deployment), @ACTIVE@ (for previous deployments that still have tasks running, but are being replaced with the @PRIMARY@ deployment), and @INACTIVE@ (for deployments that have been completely replaced).------ * 'dCreatedAt' - The Unix time stamp for when the service was created.------ * 'dPlatformVersion' - The platform version on which your service is running.------ * 'dDesiredCount' - The most recent desired count of tasks that was specified for the service to deploy or maintain.------ * 'dPendingCount' - The number of tasks in the deployment that are in the @PENDING@ status.------ * 'dId' - The ID of the deployment.------ * 'dLaunchType' - The launch type on which your service is running.------ * 'dUpdatedAt' - The Unix time stamp for when the service was last updated.------ * 'dTaskDefinition' - The most recent task definition that was specified for the service to use.------ * 'dNetworkConfiguration' - The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the @awsvpc@ networking mode.-deployment- :: Deployment-deployment =- Deployment'- { _dRunningCount = Nothing- , _dStatus = Nothing- , _dCreatedAt = Nothing- , _dPlatformVersion = Nothing- , _dDesiredCount = Nothing- , _dPendingCount = Nothing- , _dId = Nothing- , _dLaunchType = Nothing- , _dUpdatedAt = Nothing- , _dTaskDefinition = Nothing- , _dNetworkConfiguration = Nothing- }----- | The number of tasks in the deployment that are in the @RUNNING@ status.-dRunningCount :: Lens' Deployment (Maybe Int)-dRunningCount = lens _dRunningCount (\ s a -> s{_dRunningCount = a})---- | The status of the deployment. Valid values are @PRIMARY@ (for the most recent deployment), @ACTIVE@ (for previous deployments that still have tasks running, but are being replaced with the @PRIMARY@ deployment), and @INACTIVE@ (for deployments that have been completely replaced).-dStatus :: Lens' Deployment (Maybe Text)-dStatus = lens _dStatus (\ s a -> s{_dStatus = a})---- | The Unix time stamp for when the service was created.-dCreatedAt :: Lens' Deployment (Maybe UTCTime)-dCreatedAt = lens _dCreatedAt (\ s a -> s{_dCreatedAt = a}) . mapping _Time---- | The platform version on which your service is running.-dPlatformVersion :: Lens' Deployment (Maybe Text)-dPlatformVersion = lens _dPlatformVersion (\ s a -> s{_dPlatformVersion = a})---- | The most recent desired count of tasks that was specified for the service to deploy or maintain.-dDesiredCount :: Lens' Deployment (Maybe Int)-dDesiredCount = lens _dDesiredCount (\ s a -> s{_dDesiredCount = a})---- | The number of tasks in the deployment that are in the @PENDING@ status.-dPendingCount :: Lens' Deployment (Maybe Int)-dPendingCount = lens _dPendingCount (\ s a -> s{_dPendingCount = a})---- | The ID of the deployment.-dId :: Lens' Deployment (Maybe Text)-dId = lens _dId (\ s a -> s{_dId = a})---- | The launch type on which your service is running.-dLaunchType :: Lens' Deployment (Maybe LaunchType)-dLaunchType = lens _dLaunchType (\ s a -> s{_dLaunchType = a})---- | The Unix time stamp for when the service was last updated.-dUpdatedAt :: Lens' Deployment (Maybe UTCTime)-dUpdatedAt = lens _dUpdatedAt (\ s a -> s{_dUpdatedAt = a}) . mapping _Time---- | The most recent task definition that was specified for the service to use.-dTaskDefinition :: Lens' Deployment (Maybe Text)-dTaskDefinition = lens _dTaskDefinition (\ s a -> s{_dTaskDefinition = a})---- | The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the @awsvpc@ networking mode.-dNetworkConfiguration :: Lens' Deployment (Maybe NetworkConfiguration)-dNetworkConfiguration = lens _dNetworkConfiguration (\ s a -> s{_dNetworkConfiguration = a})--instance FromJSON Deployment where- parseJSON- = withObject "Deployment"- (\ x ->- Deployment' <$>- (x .:? "runningCount") <*> (x .:? "status") <*>- (x .:? "createdAt")- <*> (x .:? "platformVersion")- <*> (x .:? "desiredCount")- <*> (x .:? "pendingCount")- <*> (x .:? "id")- <*> (x .:? "launchType")- <*> (x .:? "updatedAt")- <*> (x .:? "taskDefinition")- <*> (x .:? "networkConfiguration"))--instance Hashable Deployment where--instance NFData Deployment where---- | Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.------------ /See:/ 'deploymentConfiguration' smart constructor.-data DeploymentConfiguration = DeploymentConfiguration'- { _dcMinimumHealthyPercent :: !(Maybe Int)- , _dcMaximumPercent :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeploymentConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcMinimumHealthyPercent' - The lower limit (as a percentage of the service's @desiredCount@ ) of the number of running tasks that must remain in the @RUNNING@ state in a service during a deployment. The minimum number of healthy tasks during a deployment is the @desiredCount@ multiplied by @minimumHealthyPercent@ /100, rounded up to the nearest integer value.------ * 'dcMaximumPercent' - The upper limit (as a percentage of the service's @desiredCount@ ) of the number of tasks that are allowed in the @RUNNING@ or @PENDING@ state in a service during a deployment. The maximum number of tasks during a deployment is the @desiredCount@ multiplied by @maximumPercent@ /100, rounded down to the nearest integer value.-deploymentConfiguration- :: DeploymentConfiguration-deploymentConfiguration =- DeploymentConfiguration'- {_dcMinimumHealthyPercent = Nothing, _dcMaximumPercent = Nothing}----- | The lower limit (as a percentage of the service's @desiredCount@ ) of the number of running tasks that must remain in the @RUNNING@ state in a service during a deployment. The minimum number of healthy tasks during a deployment is the @desiredCount@ multiplied by @minimumHealthyPercent@ /100, rounded up to the nearest integer value.-dcMinimumHealthyPercent :: Lens' DeploymentConfiguration (Maybe Int)-dcMinimumHealthyPercent = lens _dcMinimumHealthyPercent (\ s a -> s{_dcMinimumHealthyPercent = a})---- | The upper limit (as a percentage of the service's @desiredCount@ ) of the number of tasks that are allowed in the @RUNNING@ or @PENDING@ state in a service during a deployment. The maximum number of tasks during a deployment is the @desiredCount@ multiplied by @maximumPercent@ /100, rounded down to the nearest integer value.-dcMaximumPercent :: Lens' DeploymentConfiguration (Maybe Int)-dcMaximumPercent = lens _dcMaximumPercent (\ s a -> s{_dcMaximumPercent = a})--instance FromJSON DeploymentConfiguration where- parseJSON- = withObject "DeploymentConfiguration"- (\ x ->- DeploymentConfiguration' <$>- (x .:? "minimumHealthyPercent") <*>- (x .:? "maximumPercent"))--instance Hashable DeploymentConfiguration where--instance NFData DeploymentConfiguration where--instance ToJSON DeploymentConfiguration where- toJSON DeploymentConfiguration'{..}- = object- (catMaybes- [("minimumHealthyPercent" .=) <$>- _dcMinimumHealthyPercent,- ("maximumPercent" .=) <$> _dcMaximumPercent])---- | An object representing a container instance host device.------------ /See:/ 'device' smart constructor.-data Device = Device'- { _dContainerPath :: !(Maybe Text)- , _dPermissions :: !(Maybe [DeviceCgroupPermission])- , _dHostPath :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Device' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dContainerPath' - The path inside the container at which to expose the host device.------ * 'dPermissions' - The explicit permissions to provide to the container for the device. By default, the container has permissions for @read@ , @write@ , and @mknod@ for the device.------ * 'dHostPath' - The path for the device on the host container instance.-device- :: Text -- ^ 'dHostPath'- -> Device-device pHostPath_ =- Device'- { _dContainerPath = Nothing- , _dPermissions = Nothing- , _dHostPath = pHostPath_- }----- | The path inside the container at which to expose the host device.-dContainerPath :: Lens' Device (Maybe Text)-dContainerPath = lens _dContainerPath (\ s a -> s{_dContainerPath = a})---- | The explicit permissions to provide to the container for the device. By default, the container has permissions for @read@ , @write@ , and @mknod@ for the device.-dPermissions :: Lens' Device [DeviceCgroupPermission]-dPermissions = lens _dPermissions (\ s a -> s{_dPermissions = a}) . _Default . _Coerce---- | The path for the device on the host container instance.-dHostPath :: Lens' Device Text-dHostPath = lens _dHostPath (\ s a -> s{_dHostPath = a})--instance FromJSON Device where- parseJSON- = withObject "Device"- (\ x ->- Device' <$>- (x .:? "containerPath") <*>- (x .:? "permissions" .!= mempty)- <*> (x .: "hostPath"))--instance Hashable Device where--instance NFData Device where--instance ToJSON Device where- toJSON Device'{..}- = object- (catMaybes- [("containerPath" .=) <$> _dContainerPath,- ("permissions" .=) <$> _dPermissions,- Just ("hostPath" .= _dHostPath)])---- | A failed resource.------------ /See:/ 'failure' smart constructor.-data Failure = Failure'- { _fArn :: !(Maybe Text)- , _fReason :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Failure' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'fArn' - The Amazon Resource Name (ARN) of the failed resource.------ * 'fReason' - The reason for the failure.-failure- :: Failure-failure = Failure' {_fArn = Nothing, _fReason = Nothing}----- | The Amazon Resource Name (ARN) of the failed resource.-fArn :: Lens' Failure (Maybe Text)-fArn = lens _fArn (\ s a -> s{_fArn = a})---- | The reason for the failure.-fReason :: Lens' Failure (Maybe Text)-fReason = lens _fReason (\ s a -> s{_fReason = a})--instance FromJSON Failure where- parseJSON- = withObject "Failure"- (\ x ->- Failure' <$> (x .:? "arn") <*> (x .:? "reason"))--instance Hashable Failure where--instance NFData Failure where---- | An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile).------------ /See:/ 'healthCheck' smart constructor.-data HealthCheck = HealthCheck'- { _hcStartPeriod :: !(Maybe Int)- , _hcRetries :: !(Maybe Int)- , _hcInterval :: !(Maybe Int)- , _hcTimeout :: !(Maybe Int)- , _hcCommand :: ![Text]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'HealthCheck' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'hcStartPeriod' - The optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You may specify between 0 and 300 seconds. The @startPeriod@ is disabled by default.------ * 'hcRetries' - The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is 3 retries.------ * 'hcInterval' - The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.------ * 'hcTimeout' - The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5 seconds.------ * 'hcCommand' - A string array representing the command that the container runs to determine if it is healthy. The string array must start with @CMD@ to execute the command arguments directly, or @CMD-SHELL@ to run the command with the container's default shell. For example: @[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]@ An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see @HealthCheck@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> .-healthCheck- :: HealthCheck-healthCheck =- HealthCheck'- { _hcStartPeriod = Nothing- , _hcRetries = Nothing- , _hcInterval = Nothing- , _hcTimeout = Nothing- , _hcCommand = mempty- }----- | The optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You may specify between 0 and 300 seconds. The @startPeriod@ is disabled by default.-hcStartPeriod :: Lens' HealthCheck (Maybe Int)-hcStartPeriod = lens _hcStartPeriod (\ s a -> s{_hcStartPeriod = a})---- | The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is 3 retries.-hcRetries :: Lens' HealthCheck (Maybe Int)-hcRetries = lens _hcRetries (\ s a -> s{_hcRetries = a})---- | The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.-hcInterval :: Lens' HealthCheck (Maybe Int)-hcInterval = lens _hcInterval (\ s a -> s{_hcInterval = a})---- | The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5 seconds.-hcTimeout :: Lens' HealthCheck (Maybe Int)-hcTimeout = lens _hcTimeout (\ s a -> s{_hcTimeout = a})---- | A string array representing the command that the container runs to determine if it is healthy. The string array must start with @CMD@ to execute the command arguments directly, or @CMD-SHELL@ to run the command with the container's default shell. For example: @[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]@ An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see @HealthCheck@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> .-hcCommand :: Lens' HealthCheck [Text]-hcCommand = lens _hcCommand (\ s a -> s{_hcCommand = a}) . _Coerce--instance FromJSON HealthCheck where- parseJSON- = withObject "HealthCheck"- (\ x ->- HealthCheck' <$>- (x .:? "startPeriod") <*> (x .:? "retries") <*>- (x .:? "interval")- <*> (x .:? "timeout")- <*> (x .:? "command" .!= mempty))--instance Hashable HealthCheck where--instance NFData HealthCheck where--instance ToJSON HealthCheck where- toJSON HealthCheck'{..}- = object- (catMaybes- [("startPeriod" .=) <$> _hcStartPeriod,- ("retries" .=) <$> _hcRetries,- ("interval" .=) <$> _hcInterval,- ("timeout" .=) <$> _hcTimeout,- Just ("command" .= _hcCommand)])---- | Hostnames and IP address entries that are added to the @/etc/hosts@ file of a container via the @extraHosts@ parameter of its 'ContainerDefinition' .------------ /See:/ 'hostEntry' smart constructor.-data HostEntry = HostEntry'- { _heHostname :: !Text- , _heIpAddress :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'HostEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'heHostname' - The hostname to use in the @/etc/hosts@ entry.------ * 'heIpAddress' - The IP address to use in the @/etc/hosts@ entry.-hostEntry- :: Text -- ^ 'heHostname'- -> Text -- ^ 'heIpAddress'- -> HostEntry-hostEntry pHostname_ pIpAddress_ =- HostEntry' {_heHostname = pHostname_, _heIpAddress = pIpAddress_}----- | The hostname to use in the @/etc/hosts@ entry.-heHostname :: Lens' HostEntry Text-heHostname = lens _heHostname (\ s a -> s{_heHostname = a})---- | The IP address to use in the @/etc/hosts@ entry.-heIpAddress :: Lens' HostEntry Text-heIpAddress = lens _heIpAddress (\ s a -> s{_heIpAddress = a})--instance FromJSON HostEntry where- parseJSON- = withObject "HostEntry"- (\ x ->- HostEntry' <$>- (x .: "hostname") <*> (x .: "ipAddress"))--instance Hashable HostEntry where--instance NFData HostEntry where--instance ToJSON HostEntry where- toJSON HostEntry'{..}- = object- (catMaybes- [Just ("hostname" .= _heHostname),- Just ("ipAddress" .= _heIpAddress)])---- | Details on a container instance host volume.------------ /See:/ 'hostVolumeProperties' smart constructor.-newtype HostVolumeProperties = HostVolumeProperties'- { _hvpSourcePath :: Maybe Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'HostVolumeProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'hvpSourcePath' - The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the @host@ parameter contains a @sourcePath@ file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the @sourcePath@ value does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported. If you are using the Fargate launch type, the @sourcePath@ parameter is not supported.-hostVolumeProperties- :: HostVolumeProperties-hostVolumeProperties = HostVolumeProperties' {_hvpSourcePath = Nothing}----- | The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the @host@ parameter contains a @sourcePath@ file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the @sourcePath@ value does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported. If you are using the Fargate launch type, the @sourcePath@ parameter is not supported.-hvpSourcePath :: Lens' HostVolumeProperties (Maybe Text)-hvpSourcePath = lens _hvpSourcePath (\ s a -> s{_hvpSourcePath = a})--instance FromJSON HostVolumeProperties where- parseJSON- = withObject "HostVolumeProperties"- (\ x ->- HostVolumeProperties' <$> (x .:? "sourcePath"))--instance Hashable HostVolumeProperties where--instance NFData HostVolumeProperties where--instance ToJSON HostVolumeProperties where- toJSON HostVolumeProperties'{..}- = object- (catMaybes [("sourcePath" .=) <$> _hvpSourcePath])---- | The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker. For more information on the default capabilities and the non-default available capabilities, see <https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities Runtime privilege and Linux capabilities> in the /Docker run reference/ . For more detailed information on these Linux capabilities, see the <http://man7.org/linux/man-pages/man7/capabilities.7.html capabilities(7)> Linux manual page.------------ /See:/ 'kernelCapabilities' smart constructor.-data KernelCapabilities = KernelCapabilities'- { _kcDrop :: !(Maybe [Text])- , _kcAdd :: !(Maybe [Text])- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'KernelCapabilities' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'kcDrop' - The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to @CapDrop@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--cap-drop@ option to <https://docs.docker.com/engine/reference/run/ docker run> . Valid values: @"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"@------ * 'kcAdd' - The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to @CapAdd@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--cap-add@ option to <https://docs.docker.com/engine/reference/run/ docker run> . Valid values: @"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"@-kernelCapabilities- :: KernelCapabilities-kernelCapabilities = KernelCapabilities' {_kcDrop = Nothing, _kcAdd = Nothing}----- | The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to @CapDrop@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--cap-drop@ option to <https://docs.docker.com/engine/reference/run/ docker run> . Valid values: @"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"@-kcDrop :: Lens' KernelCapabilities [Text]-kcDrop = lens _kcDrop (\ s a -> s{_kcDrop = a}) . _Default . _Coerce---- | The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to @CapAdd@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--cap-add@ option to <https://docs.docker.com/engine/reference/run/ docker run> . Valid values: @"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"@-kcAdd :: Lens' KernelCapabilities [Text]-kcAdd = lens _kcAdd (\ s a -> s{_kcAdd = a}) . _Default . _Coerce--instance FromJSON KernelCapabilities where- parseJSON- = withObject "KernelCapabilities"- (\ x ->- KernelCapabilities' <$>- (x .:? "drop" .!= mempty) <*>- (x .:? "add" .!= mempty))--instance Hashable KernelCapabilities where--instance NFData KernelCapabilities where--instance ToJSON KernelCapabilities where- toJSON KernelCapabilities'{..}- = object- (catMaybes- [("drop" .=) <$> _kcDrop, ("add" .=) <$> _kcAdd])---- | A key and value pair object.------------ /See:/ 'keyValuePair' smart constructor.-data KeyValuePair = KeyValuePair'- { _kvpValue :: !(Maybe Text)- , _kvpName :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'KeyValuePair' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'kvpValue' - The value of the key value pair. For environment variables, this is the value of the environment variable.------ * 'kvpName' - The name of the key value pair. For environment variables, this is the name of the environment variable.-keyValuePair- :: KeyValuePair-keyValuePair = KeyValuePair' {_kvpValue = Nothing, _kvpName = Nothing}----- | The value of the key value pair. For environment variables, this is the value of the environment variable.-kvpValue :: Lens' KeyValuePair (Maybe Text)-kvpValue = lens _kvpValue (\ s a -> s{_kvpValue = a})---- | The name of the key value pair. For environment variables, this is the name of the environment variable.-kvpName :: Lens' KeyValuePair (Maybe Text)-kvpName = lens _kvpName (\ s a -> s{_kvpName = a})--instance FromJSON KeyValuePair where- parseJSON- = withObject "KeyValuePair"- (\ x ->- KeyValuePair' <$> (x .:? "value") <*> (x .:? "name"))--instance Hashable KeyValuePair where--instance NFData KeyValuePair where--instance ToJSON KeyValuePair where- toJSON KeyValuePair'{..}- = object- (catMaybes- [("value" .=) <$> _kvpValue,- ("name" .=) <$> _kvpName])---- | Linux-specific options that are applied to the container, such as Linux 'KernelCapabilities' .------------ /See:/ 'linuxParameters' smart constructor.-data LinuxParameters = LinuxParameters'- { _lpSharedMemorySize :: !(Maybe Int)- , _lpInitProcessEnabled :: !(Maybe Bool)- , _lpTmpfs :: !(Maybe [Tmpfs])- , _lpDevices :: !(Maybe [Device])- , _lpCapabilities :: !(Maybe KernelCapabilities)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'LinuxParameters' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lpSharedMemorySize' - The value for the size of the @/dev/shm@ volume. This parameter maps to the @--shm-size@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'lpInitProcessEnabled' - Run an @init@ process inside the container that forwards signals and reaps processes. This parameter maps to the @--init@ option to <https://docs.docker.com/engine/reference/run/ docker run> . This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@------ * 'lpTmpfs' - The container path, mount options, and size of the tmpfs mount. This parameter maps to the @--tmpfs@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'lpDevices' - Any host devices to expose to the container. This parameter maps to @Devices@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--device@ option to <https://docs.docker.com/engine/reference/run/ docker run> .------ * 'lpCapabilities' - The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.-linuxParameters- :: LinuxParameters-linuxParameters =- LinuxParameters'- { _lpSharedMemorySize = Nothing- , _lpInitProcessEnabled = Nothing- , _lpTmpfs = Nothing- , _lpDevices = Nothing- , _lpCapabilities = Nothing- }----- | The value for the size of the @/dev/shm@ volume. This parameter maps to the @--shm-size@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-lpSharedMemorySize :: Lens' LinuxParameters (Maybe Int)-lpSharedMemorySize = lens _lpSharedMemorySize (\ s a -> s{_lpSharedMemorySize = a})---- | Run an @init@ process inside the container that forwards signals and reaps processes. This parameter maps to the @--init@ option to <https://docs.docker.com/engine/reference/run/ docker run> . This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@-lpInitProcessEnabled :: Lens' LinuxParameters (Maybe Bool)-lpInitProcessEnabled = lens _lpInitProcessEnabled (\ s a -> s{_lpInitProcessEnabled = a})---- | The container path, mount options, and size of the tmpfs mount. This parameter maps to the @--tmpfs@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-lpTmpfs :: Lens' LinuxParameters [Tmpfs]-lpTmpfs = lens _lpTmpfs (\ s a -> s{_lpTmpfs = a}) . _Default . _Coerce---- | Any host devices to expose to the container. This parameter maps to @Devices@ in the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container Create a container> section of the <https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/ Docker Remote API> and the @--device@ option to <https://docs.docker.com/engine/reference/run/ docker run> .-lpDevices :: Lens' LinuxParameters [Device]-lpDevices = lens _lpDevices (\ s a -> s{_lpDevices = a}) . _Default . _Coerce---- | The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.-lpCapabilities :: Lens' LinuxParameters (Maybe KernelCapabilities)-lpCapabilities = lens _lpCapabilities (\ s a -> s{_lpCapabilities = a})--instance FromJSON LinuxParameters where- parseJSON- = withObject "LinuxParameters"- (\ x ->- LinuxParameters' <$>- (x .:? "sharedMemorySize") <*>- (x .:? "initProcessEnabled")- <*> (x .:? "tmpfs" .!= mempty)- <*> (x .:? "devices" .!= mempty)- <*> (x .:? "capabilities"))--instance Hashable LinuxParameters where--instance NFData LinuxParameters where--instance ToJSON LinuxParameters where- toJSON LinuxParameters'{..}- = object- (catMaybes- [("sharedMemorySize" .=) <$> _lpSharedMemorySize,- ("initProcessEnabled" .=) <$> _lpInitProcessEnabled,- ("tmpfs" .=) <$> _lpTmpfs,- ("devices" .=) <$> _lpDevices,- ("capabilities" .=) <$> _lpCapabilities])---- | Details on a load balancer that is used with a service.------------ /See:/ 'loadBalancer' smart constructor.-data LoadBalancer = LoadBalancer'- { _lbLoadBalancerName :: !(Maybe Text)- , _lbContainerName :: !(Maybe Text)- , _lbTargetGroupARN :: !(Maybe Text)- , _lbContainerPort :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'LoadBalancer' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lbLoadBalancerName' - The name of a load balancer.------ * 'lbContainerName' - The name of the container (as it appears in a container definition) to associate with the load balancer.------ * 'lbTargetGroupARN' - The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group associated with a service.------ * 'lbContainerPort' - The port on the container to associate with the load balancer. This port must correspond to a @containerPort@ in the service's task definition. Your container instances must allow ingress traffic on the @hostPort@ of the port mapping.-loadBalancer- :: LoadBalancer-loadBalancer =- LoadBalancer'- { _lbLoadBalancerName = Nothing- , _lbContainerName = Nothing- , _lbTargetGroupARN = Nothing- , _lbContainerPort = Nothing- }----- | The name of a load balancer.-lbLoadBalancerName :: Lens' LoadBalancer (Maybe Text)-lbLoadBalancerName = lens _lbLoadBalancerName (\ s a -> s{_lbLoadBalancerName = a})---- | The name of the container (as it appears in a container definition) to associate with the load balancer.-lbContainerName :: Lens' LoadBalancer (Maybe Text)-lbContainerName = lens _lbContainerName (\ s a -> s{_lbContainerName = a})---- | The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group associated with a service.-lbTargetGroupARN :: Lens' LoadBalancer (Maybe Text)-lbTargetGroupARN = lens _lbTargetGroupARN (\ s a -> s{_lbTargetGroupARN = a})---- | The port on the container to associate with the load balancer. This port must correspond to a @containerPort@ in the service's task definition. Your container instances must allow ingress traffic on the @hostPort@ of the port mapping.-lbContainerPort :: Lens' LoadBalancer (Maybe Int)-lbContainerPort = lens _lbContainerPort (\ s a -> s{_lbContainerPort = a})--instance FromJSON LoadBalancer where- parseJSON- = withObject "LoadBalancer"- (\ x ->- LoadBalancer' <$>- (x .:? "loadBalancerName") <*>- (x .:? "containerName")- <*> (x .:? "targetGroupArn")- <*> (x .:? "containerPort"))--instance Hashable LoadBalancer where--instance NFData LoadBalancer where--instance ToJSON LoadBalancer where- toJSON LoadBalancer'{..}- = object- (catMaybes- [("loadBalancerName" .=) <$> _lbLoadBalancerName,- ("containerName" .=) <$> _lbContainerName,- ("targetGroupArn" .=) <$> _lbTargetGroupARN,- ("containerPort" .=) <$> _lbContainerPort])---- | Log configuration options to send to a custom log driver for the container.------------ /See:/ 'logConfiguration' smart constructor.-data LogConfiguration = LogConfiguration'- { _lcOptions :: !(Maybe (Map Text Text))- , _lcLogDriver :: !LogDriver- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'LogConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lcOptions' - The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@------ * 'lcLogDriver' - The log driver to use for the container. The valid values listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default. If using the Fargate launch type, the only supported value is @awslogs@ . For more information about using the @awslogs@ driver, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html Using the awslogs Log Driver> in the /Amazon Elastic Container Service Developer Guide/ . This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@-logConfiguration- :: LogDriver -- ^ 'lcLogDriver'- -> LogConfiguration-logConfiguration pLogDriver_ =- LogConfiguration' {_lcOptions = Nothing, _lcLogDriver = pLogDriver_}----- | The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@-lcOptions :: Lens' LogConfiguration (HashMap Text Text)-lcOptions = lens _lcOptions (\ s a -> s{_lcOptions = a}) . _Default . _Map---- | The log driver to use for the container. The valid values listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default. If using the Fargate launch type, the only supported value is @awslogs@ . For more information about using the @awslogs@ driver, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html Using the awslogs Log Driver> in the /Amazon Elastic Container Service Developer Guide/ . This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: @sudo docker version | grep "Server API version"@-lcLogDriver :: Lens' LogConfiguration LogDriver-lcLogDriver = lens _lcLogDriver (\ s a -> s{_lcLogDriver = a})--instance FromJSON LogConfiguration where- parseJSON- = withObject "LogConfiguration"- (\ x ->- LogConfiguration' <$>- (x .:? "options" .!= mempty) <*> (x .: "logDriver"))--instance Hashable LogConfiguration where--instance NFData LogConfiguration where--instance ToJSON LogConfiguration where- toJSON LogConfiguration'{..}- = object- (catMaybes- [("options" .=) <$> _lcOptions,- Just ("logDriver" .= _lcLogDriver)])---- | Details on a volume mount point that is used in a container definition.------------ /See:/ 'mountPoint' smart constructor.-data MountPoint = MountPoint'- { _mpContainerPath :: !(Maybe Text)- , _mpSourceVolume :: !(Maybe Text)- , _mpReadOnly :: !(Maybe Bool)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MountPoint' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mpContainerPath' - The path on the container to mount the host volume at.------ * 'mpSourceVolume' - The name of the volume to mount.------ * 'mpReadOnly' - If this value is @true@ , the container has read-only access to the volume. If this value is @false@ , then the container can write to the volume. The default value is @false@ .-mountPoint- :: MountPoint-mountPoint =- MountPoint'- { _mpContainerPath = Nothing- , _mpSourceVolume = Nothing- , _mpReadOnly = Nothing- }----- | The path on the container to mount the host volume at.-mpContainerPath :: Lens' MountPoint (Maybe Text)-mpContainerPath = lens _mpContainerPath (\ s a -> s{_mpContainerPath = a})---- | The name of the volume to mount.-mpSourceVolume :: Lens' MountPoint (Maybe Text)-mpSourceVolume = lens _mpSourceVolume (\ s a -> s{_mpSourceVolume = a})---- | If this value is @true@ , the container has read-only access to the volume. If this value is @false@ , then the container can write to the volume. The default value is @false@ .-mpReadOnly :: Lens' MountPoint (Maybe Bool)-mpReadOnly = lens _mpReadOnly (\ s a -> s{_mpReadOnly = a})--instance FromJSON MountPoint where- parseJSON- = withObject "MountPoint"- (\ x ->- MountPoint' <$>- (x .:? "containerPath") <*> (x .:? "sourceVolume")- <*> (x .:? "readOnly"))--instance Hashable MountPoint where--instance NFData MountPoint where--instance ToJSON MountPoint where- toJSON MountPoint'{..}- = object- (catMaybes- [("containerPath" .=) <$> _mpContainerPath,- ("sourceVolume" .=) <$> _mpSourceVolume,- ("readOnly" .=) <$> _mpReadOnly])---- | Details on the network bindings between a container and its host container instance. After a task reaches the @RUNNING@ status, manual and automatic host and container port assignments are visible in the @networkBindings@ section of 'DescribeTasks' API responses.------------ /See:/ 'networkBinding' smart constructor.-data NetworkBinding = NetworkBinding'- { _nbBindIP :: !(Maybe Text)- , _nbProtocol :: !(Maybe TransportProtocol)- , _nbHostPort :: !(Maybe Int)- , _nbContainerPort :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'NetworkBinding' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'nbBindIP' - The IP address that the container is bound to on the container instance.------ * 'nbProtocol' - The protocol used for the network binding.------ * 'nbHostPort' - The port number on the host that is used with the network binding.------ * 'nbContainerPort' - The port number on the container that is used with the network binding.-networkBinding- :: NetworkBinding-networkBinding =- NetworkBinding'- { _nbBindIP = Nothing- , _nbProtocol = Nothing- , _nbHostPort = Nothing- , _nbContainerPort = Nothing- }----- | The IP address that the container is bound to on the container instance.-nbBindIP :: Lens' NetworkBinding (Maybe Text)-nbBindIP = lens _nbBindIP (\ s a -> s{_nbBindIP = a})---- | The protocol used for the network binding.-nbProtocol :: Lens' NetworkBinding (Maybe TransportProtocol)-nbProtocol = lens _nbProtocol (\ s a -> s{_nbProtocol = a})---- | The port number on the host that is used with the network binding.-nbHostPort :: Lens' NetworkBinding (Maybe Int)-nbHostPort = lens _nbHostPort (\ s a -> s{_nbHostPort = a})---- | The port number on the container that is used with the network binding.-nbContainerPort :: Lens' NetworkBinding (Maybe Int)-nbContainerPort = lens _nbContainerPort (\ s a -> s{_nbContainerPort = a})--instance FromJSON NetworkBinding where- parseJSON- = withObject "NetworkBinding"- (\ x ->- NetworkBinding' <$>- (x .:? "bindIP") <*> (x .:? "protocol") <*>- (x .:? "hostPort")- <*> (x .:? "containerPort"))--instance Hashable NetworkBinding where--instance NFData NetworkBinding where--instance ToJSON NetworkBinding where- toJSON NetworkBinding'{..}- = object- (catMaybes- [("bindIP" .=) <$> _nbBindIP,- ("protocol" .=) <$> _nbProtocol,- ("hostPort" .=) <$> _nbHostPort,- ("containerPort" .=) <$> _nbContainerPort])---- | An object representing the network configuration for a task or service.------------ /See:/ 'networkConfiguration' smart constructor.-newtype NetworkConfiguration = NetworkConfiguration'- { _ncAwsvpcConfiguration :: Maybe AWSVPCConfiguration- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'NetworkConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ncAwsvpcConfiguration' - The VPC subnets and security groups associated with a task.-networkConfiguration- :: NetworkConfiguration-networkConfiguration = NetworkConfiguration' {_ncAwsvpcConfiguration = Nothing}----- | The VPC subnets and security groups associated with a task.-ncAwsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AWSVPCConfiguration)-ncAwsvpcConfiguration = lens _ncAwsvpcConfiguration (\ s a -> s{_ncAwsvpcConfiguration = a})--instance FromJSON NetworkConfiguration where- parseJSON- = withObject "NetworkConfiguration"- (\ x ->- NetworkConfiguration' <$>- (x .:? "awsvpcConfiguration"))--instance Hashable NetworkConfiguration where--instance NFData NetworkConfiguration where--instance ToJSON NetworkConfiguration where- toJSON NetworkConfiguration'{..}- = object- (catMaybes- [("awsvpcConfiguration" .=) <$>- _ncAwsvpcConfiguration])---- | An object representing the Elastic Network Interface for tasks that use the @awsvpc@ network mode.------------ /See:/ 'networkInterface' smart constructor.-data NetworkInterface = NetworkInterface'- { _niIpv6Address :: !(Maybe Text)- , _niPrivateIPv4Address :: !(Maybe Text)- , _niAttachmentId :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'NetworkInterface' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'niIpv6Address' - The private IPv6 address for the network interface.------ * 'niPrivateIPv4Address' - The private IPv4 address for the network interface.------ * 'niAttachmentId' - The attachment ID for the network interface.-networkInterface- :: NetworkInterface-networkInterface =- NetworkInterface'- { _niIpv6Address = Nothing- , _niPrivateIPv4Address = Nothing- , _niAttachmentId = Nothing- }----- | The private IPv6 address for the network interface.-niIpv6Address :: Lens' NetworkInterface (Maybe Text)-niIpv6Address = lens _niIpv6Address (\ s a -> s{_niIpv6Address = a})---- | The private IPv4 address for the network interface.-niPrivateIPv4Address :: Lens' NetworkInterface (Maybe Text)-niPrivateIPv4Address = lens _niPrivateIPv4Address (\ s a -> s{_niPrivateIPv4Address = a})---- | The attachment ID for the network interface.-niAttachmentId :: Lens' NetworkInterface (Maybe Text)-niAttachmentId = lens _niAttachmentId (\ s a -> s{_niAttachmentId = a})--instance FromJSON NetworkInterface where- parseJSON- = withObject "NetworkInterface"- (\ x ->- NetworkInterface' <$>- (x .:? "ipv6Address") <*>- (x .:? "privateIpv4Address")- <*> (x .:? "attachmentId"))--instance Hashable NetworkInterface where--instance NFData NetworkInterface where---- | An object representing a constraint on task placement. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html Task Placement Constraints> in the /Amazon Elastic Container Service Developer Guide/ .------------ /See:/ 'placementConstraint' smart constructor.-data PlacementConstraint = PlacementConstraint'- { _pcExpression :: !(Maybe Text)- , _pcType :: !(Maybe PlacementConstraintType)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PlacementConstraint' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pcExpression' - A cluster query language expression to apply to the constraint. Note you cannot specify an expression if the constraint type is @distinctInstance@ . For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'pcType' - The type of constraint. Use @distinctInstance@ to ensure that each task in a particular group is running on a different container instance. Use @memberOf@ to restrict the selection to a group of valid candidates. The value @distinctInstance@ is not supported in task definitions.-placementConstraint- :: PlacementConstraint-placementConstraint =- PlacementConstraint' {_pcExpression = Nothing, _pcType = Nothing}----- | A cluster query language expression to apply to the constraint. Note you cannot specify an expression if the constraint type is @distinctInstance@ . For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language> in the /Amazon Elastic Container Service Developer Guide/ .-pcExpression :: Lens' PlacementConstraint (Maybe Text)-pcExpression = lens _pcExpression (\ s a -> s{_pcExpression = a})---- | The type of constraint. Use @distinctInstance@ to ensure that each task in a particular group is running on a different container instance. Use @memberOf@ to restrict the selection to a group of valid candidates. The value @distinctInstance@ is not supported in task definitions.-pcType :: Lens' PlacementConstraint (Maybe PlacementConstraintType)-pcType = lens _pcType (\ s a -> s{_pcType = a})--instance FromJSON PlacementConstraint where- parseJSON- = withObject "PlacementConstraint"- (\ x ->- PlacementConstraint' <$>- (x .:? "expression") <*> (x .:? "type"))--instance Hashable PlacementConstraint where--instance NFData PlacementConstraint where--instance ToJSON PlacementConstraint where- toJSON PlacementConstraint'{..}- = object- (catMaybes- [("expression" .=) <$> _pcExpression,- ("type" .=) <$> _pcType])---- | The task placement strategy for a task or service. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html Task Placement Strategies> in the /Amazon Elastic Container Service Developer Guide/ .------------ /See:/ 'placementStrategy' smart constructor.-data PlacementStrategy = PlacementStrategy'- { _psField :: !(Maybe Text)- , _psType :: !(Maybe PlacementStrategyType)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PlacementStrategy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psField' - The field to apply the placement strategy against. For the @spread@ placement strategy, valid values are @instanceId@ (or @host@ , which has the same effect), or any platform or custom attribute that is applied to a container instance, such as @attribute:ecs.availability-zone@ . For the @binpack@ placement strategy, valid values are @cpu@ and @memory@ . For the @random@ placement strategy, this field is not used.------ * 'psType' - The type of placement strategy. The @random@ placement strategy randomly places tasks on available candidates. The @spread@ placement strategy spreads placement across available candidates evenly based on the @field@ parameter. The @binpack@ strategy places tasks on available candidates that have the least available amount of the resource that is specified with the @field@ parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task).-placementStrategy- :: PlacementStrategy-placementStrategy = PlacementStrategy' {_psField = Nothing, _psType = Nothing}----- | The field to apply the placement strategy against. For the @spread@ placement strategy, valid values are @instanceId@ (or @host@ , which has the same effect), or any platform or custom attribute that is applied to a container instance, such as @attribute:ecs.availability-zone@ . For the @binpack@ placement strategy, valid values are @cpu@ and @memory@ . For the @random@ placement strategy, this field is not used.-psField :: Lens' PlacementStrategy (Maybe Text)-psField = lens _psField (\ s a -> s{_psField = a})---- | The type of placement strategy. The @random@ placement strategy randomly places tasks on available candidates. The @spread@ placement strategy spreads placement across available candidates evenly based on the @field@ parameter. The @binpack@ strategy places tasks on available candidates that have the least available amount of the resource that is specified with the @field@ parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task).-psType :: Lens' PlacementStrategy (Maybe PlacementStrategyType)-psType = lens _psType (\ s a -> s{_psType = a})--instance FromJSON PlacementStrategy where- parseJSON- = withObject "PlacementStrategy"- (\ x ->- PlacementStrategy' <$>- (x .:? "field") <*> (x .:? "type"))--instance Hashable PlacementStrategy where--instance NFData PlacementStrategy where--instance ToJSON PlacementStrategy where- toJSON PlacementStrategy'{..}- = object- (catMaybes- [("field" .=) <$> _psField, ("type" .=) <$> _psType])---- | Port mappings allow containers to access ports on the host container instance to send or receive traffic. Port mappings are specified as part of the container definition.--------- If using containers in a task with the @awsvpc@ or @host@ network mode, exposed ports should be specified using @containerPort@ . The @hostPort@ can be left blank or it must be the same value as the @containerPort@ .------ After a task reaches the @RUNNING@ status, manual and automatic host and container port assignments are visible in the @networkBindings@ section of 'DescribeTasks' API responses.--------- /See:/ 'portMapping' smart constructor.-data PortMapping = PortMapping'- { _pmProtocol :: !(Maybe TransportProtocol)- , _pmHostPort :: !(Maybe Int)- , _pmContainerPort :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PortMapping' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pmProtocol' - The protocol used for the port mapping. Valid values are @tcp@ and @udp@ . The default is @tcp@ .------ * 'pmHostPort' - The port number on the container instance to reserve for your container. If using containers in a task with the @awsvpc@ or @host@ network mode, the @hostPort@ can either be left blank or set to the same value as the @containerPort@ . If using containers in a task with the @bridge@ network mode, you can specify a non-reserved host port for your container port mapping, or you can omit the @hostPort@ (or set it to @0@ ) while specifying a @containerPort@ and your container automatically receives a port in the ephemeral port range for your container instance operating system and Docker version. The default ephemeral port range for Docker version 1.6.0 and later is listed on the instance under @/proc/sys/net/ipv4/ip_local_port_range@ ; if this kernel parameter is unavailable, the default ephemeral port range from 49153 through 65535 is used. You should not attempt to specify a host port in the ephemeral port range as these are reserved for automatic assignment. In general, ports below 32768 are outside of the ephemeral port range. The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the Amazon ECS container agent ports 51678 and 51679. Any host port that was previously specified in a running task is also reserved while the task is running (after a task stops, the host port is released). The current reserved ports are displayed in the @remainingResources@ of 'DescribeContainerInstances' output, and a container instance may have up to 100 reserved ports at a time, including the default reserved ports (automatically assigned ports do not count toward the 100 reserved ports limit).------ * 'pmContainerPort' - The port number on the container that is bound to the user-specified or automatically assigned host port. If using containers in a task with the @awsvpc@ or @host@ network mode, exposed ports should be specified using @containerPort@ . If using containers in a task with the @bridge@ network mode and you specify a container port and not a host port, your container automatically receives a host port in the ephemeral port range (for more information, see @hostPort@ ). Port mappings that are automatically assigned in this way do not count toward the 100 reserved ports limit of a container instance.-portMapping- :: PortMapping-portMapping =- PortMapping'- {_pmProtocol = Nothing, _pmHostPort = Nothing, _pmContainerPort = Nothing}----- | The protocol used for the port mapping. Valid values are @tcp@ and @udp@ . The default is @tcp@ .-pmProtocol :: Lens' PortMapping (Maybe TransportProtocol)-pmProtocol = lens _pmProtocol (\ s a -> s{_pmProtocol = a})---- | The port number on the container instance to reserve for your container. If using containers in a task with the @awsvpc@ or @host@ network mode, the @hostPort@ can either be left blank or set to the same value as the @containerPort@ . If using containers in a task with the @bridge@ network mode, you can specify a non-reserved host port for your container port mapping, or you can omit the @hostPort@ (or set it to @0@ ) while specifying a @containerPort@ and your container automatically receives a port in the ephemeral port range for your container instance operating system and Docker version. The default ephemeral port range for Docker version 1.6.0 and later is listed on the instance under @/proc/sys/net/ipv4/ip_local_port_range@ ; if this kernel parameter is unavailable, the default ephemeral port range from 49153 through 65535 is used. You should not attempt to specify a host port in the ephemeral port range as these are reserved for automatic assignment. In general, ports below 32768 are outside of the ephemeral port range. The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the Amazon ECS container agent ports 51678 and 51679. Any host port that was previously specified in a running task is also reserved while the task is running (after a task stops, the host port is released). The current reserved ports are displayed in the @remainingResources@ of 'DescribeContainerInstances' output, and a container instance may have up to 100 reserved ports at a time, including the default reserved ports (automatically assigned ports do not count toward the 100 reserved ports limit).-pmHostPort :: Lens' PortMapping (Maybe Int)-pmHostPort = lens _pmHostPort (\ s a -> s{_pmHostPort = a})---- | The port number on the container that is bound to the user-specified or automatically assigned host port. If using containers in a task with the @awsvpc@ or @host@ network mode, exposed ports should be specified using @containerPort@ . If using containers in a task with the @bridge@ network mode and you specify a container port and not a host port, your container automatically receives a host port in the ephemeral port range (for more information, see @hostPort@ ). Port mappings that are automatically assigned in this way do not count toward the 100 reserved ports limit of a container instance.-pmContainerPort :: Lens' PortMapping (Maybe Int)-pmContainerPort = lens _pmContainerPort (\ s a -> s{_pmContainerPort = a})--instance FromJSON PortMapping where- parseJSON- = withObject "PortMapping"- (\ x ->- PortMapping' <$>- (x .:? "protocol") <*> (x .:? "hostPort") <*>- (x .:? "containerPort"))--instance Hashable PortMapping where--instance NFData PortMapping where--instance ToJSON PortMapping where- toJSON PortMapping'{..}- = object- (catMaybes- [("protocol" .=) <$> _pmProtocol,- ("hostPort" .=) <$> _pmHostPort,- ("containerPort" .=) <$> _pmContainerPort])---- | Describes the resources available for a container instance.------------ /See:/ 'resource' smart constructor.-data Resource = Resource'- { _rStringSetValue :: !(Maybe [Text])- , _rIntegerValue :: !(Maybe Int)- , _rDoubleValue :: !(Maybe Double)- , _rLongValue :: !(Maybe Integer)- , _rName :: !(Maybe Text)- , _rType :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Resource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rStringSetValue' - When the @stringSetValue@ type is set, the value of the resource must be a string type.------ * 'rIntegerValue' - When the @integerValue@ type is set, the value of the resource must be an integer.------ * 'rDoubleValue' - When the @doubleValue@ type is set, the value of the resource must be a double precision floating-point type.------ * 'rLongValue' - When the @longValue@ type is set, the value of the resource must be an extended precision floating-point type.------ * 'rName' - The name of the resource, such as @cpu@ , @memory@ , @ports@ , or a user-defined resource.------ * 'rType' - The type of the resource, such as @INTEGER@ , @DOUBLE@ , @LONG@ , or @STRINGSET@ .-resource- :: Resource-resource =- Resource'- { _rStringSetValue = Nothing- , _rIntegerValue = Nothing- , _rDoubleValue = Nothing- , _rLongValue = Nothing- , _rName = Nothing- , _rType = Nothing- }----- | When the @stringSetValue@ type is set, the value of the resource must be a string type.-rStringSetValue :: Lens' Resource [Text]-rStringSetValue = lens _rStringSetValue (\ s a -> s{_rStringSetValue = a}) . _Default . _Coerce---- | When the @integerValue@ type is set, the value of the resource must be an integer.-rIntegerValue :: Lens' Resource (Maybe Int)-rIntegerValue = lens _rIntegerValue (\ s a -> s{_rIntegerValue = a})---- | When the @doubleValue@ type is set, the value of the resource must be a double precision floating-point type.-rDoubleValue :: Lens' Resource (Maybe Double)-rDoubleValue = lens _rDoubleValue (\ s a -> s{_rDoubleValue = a})---- | When the @longValue@ type is set, the value of the resource must be an extended precision floating-point type.-rLongValue :: Lens' Resource (Maybe Integer)-rLongValue = lens _rLongValue (\ s a -> s{_rLongValue = a})---- | The name of the resource, such as @cpu@ , @memory@ , @ports@ , or a user-defined resource.-rName :: Lens' Resource (Maybe Text)-rName = lens _rName (\ s a -> s{_rName = a})---- | The type of the resource, such as @INTEGER@ , @DOUBLE@ , @LONG@ , or @STRINGSET@ .-rType :: Lens' Resource (Maybe Text)-rType = lens _rType (\ s a -> s{_rType = a})--instance FromJSON Resource where- parseJSON- = withObject "Resource"- (\ x ->- Resource' <$>- (x .:? "stringSetValue" .!= mempty) <*>- (x .:? "integerValue")- <*> (x .:? "doubleValue")- <*> (x .:? "longValue")- <*> (x .:? "name")- <*> (x .:? "type"))--instance Hashable Resource where--instance NFData Resource where--instance ToJSON Resource where- toJSON Resource'{..}- = object- (catMaybes- [("stringSetValue" .=) <$> _rStringSetValue,- ("integerValue" .=) <$> _rIntegerValue,- ("doubleValue" .=) <$> _rDoubleValue,- ("longValue" .=) <$> _rLongValue,- ("name" .=) <$> _rName, ("type" .=) <$> _rType])---- | Details on an event associated with a service.------------ /See:/ 'serviceEvent' smart constructor.-data ServiceEvent = ServiceEvent'- { _seCreatedAt :: !(Maybe POSIX)- , _seId :: !(Maybe Text)- , _seMessage :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ServiceEvent' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'seCreatedAt' - The Unix time stamp for when the event was triggered.------ * 'seId' - The ID string of the event.------ * 'seMessage' - The event message.-serviceEvent- :: ServiceEvent-serviceEvent =- ServiceEvent' {_seCreatedAt = Nothing, _seId = Nothing, _seMessage = Nothing}----- | The Unix time stamp for when the event was triggered.-seCreatedAt :: Lens' ServiceEvent (Maybe UTCTime)-seCreatedAt = lens _seCreatedAt (\ s a -> s{_seCreatedAt = a}) . mapping _Time---- | The ID string of the event.-seId :: Lens' ServiceEvent (Maybe Text)-seId = lens _seId (\ s a -> s{_seId = a})---- | The event message.-seMessage :: Lens' ServiceEvent (Maybe Text)-seMessage = lens _seMessage (\ s a -> s{_seMessage = a})--instance FromJSON ServiceEvent where- parseJSON- = withObject "ServiceEvent"- (\ x ->- ServiceEvent' <$>- (x .:? "createdAt") <*> (x .:? "id") <*>- (x .:? "message"))--instance Hashable ServiceEvent where--instance NFData ServiceEvent where---- | Details of the service registry.------------ /See:/ 'serviceRegistry' smart constructor.-data ServiceRegistry = ServiceRegistry'- { _srRegistryARN :: !(Maybe Text)- , _srPort :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ServiceRegistry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'srRegistryARN' - The Amazon Resource Name (ARN) of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service. For more information, see <https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html Service> .------ * 'srPort' - The port value used if your Service Discovery service specified an SRV record.-serviceRegistry- :: ServiceRegistry-serviceRegistry = ServiceRegistry' {_srRegistryARN = Nothing, _srPort = Nothing}----- | The Amazon Resource Name (ARN) of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service. For more information, see <https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html Service> .-srRegistryARN :: Lens' ServiceRegistry (Maybe Text)-srRegistryARN = lens _srRegistryARN (\ s a -> s{_srRegistryARN = a})---- | The port value used if your Service Discovery service specified an SRV record.-srPort :: Lens' ServiceRegistry (Maybe Int)-srPort = lens _srPort (\ s a -> s{_srPort = a})--instance FromJSON ServiceRegistry where- parseJSON- = withObject "ServiceRegistry"- (\ x ->- ServiceRegistry' <$>- (x .:? "registryArn") <*> (x .:? "port"))--instance Hashable ServiceRegistry where--instance NFData ServiceRegistry where--instance ToJSON ServiceRegistry where- toJSON ServiceRegistry'{..}- = object- (catMaybes- [("registryArn" .=) <$> _srRegistryARN,- ("port" .=) <$> _srPort])---- | Details on a task in a cluster.------------ /See:/ 'task' smart constructor.-data Task = Task'- { _tStoppedAt :: !(Maybe POSIX)- , _tDesiredStatus :: !(Maybe Text)- , _tOverrides :: !(Maybe TaskOverride)- , _tClusterARN :: !(Maybe Text)- , _tGroup :: !(Maybe Text)- , _tAttachments :: !(Maybe [Attachment])- , _tCreatedAt :: !(Maybe POSIX)- , _tPlatformVersion :: !(Maybe Text)- , _tTaskARN :: !(Maybe Text)- , _tContainerInstanceARN :: !(Maybe Text)- , _tExecutionStoppedAt :: !(Maybe POSIX)- , _tLastStatus :: !(Maybe Text)- , _tMemory :: !(Maybe Text)- , _tPullStoppedAt :: !(Maybe POSIX)- , _tContainers :: !(Maybe [Container])- , _tStartedAt :: !(Maybe POSIX)- , _tVersion :: !(Maybe Integer)- , _tStartedBy :: !(Maybe Text)- , _tStoppedReason :: !(Maybe Text)- , _tConnectivity :: !(Maybe Connectivity)- , _tStoppingAt :: !(Maybe POSIX)- , _tLaunchType :: !(Maybe LaunchType)- , _tTaskDefinitionARN :: !(Maybe Text)- , _tHealthStatus :: !(Maybe HealthStatus)- , _tConnectivityAt :: !(Maybe POSIX)- , _tCpu :: !(Maybe Text)- , _tPullStartedAt :: !(Maybe POSIX)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Task' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tStoppedAt' - The Unix time stamp for when the task was stopped (the task transitioned from the @RUNNING@ state to the @STOPPED@ state).------ * 'tDesiredStatus' - The desired status of the task.------ * 'tOverrides' - One or more container overrides.------ * 'tClusterARN' - The ARN of the cluster that hosts the task.------ * 'tGroup' - The name of the task group associated with the task.------ * 'tAttachments' - The Elastic Network Adapter associated with the task if the task uses the @awsvpc@ network mode.------ * 'tCreatedAt' - The Unix time stamp for when the task was created (the task entered the @PENDING@ state).------ * 'tPlatformVersion' - The platform version on which your task is running. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html AWS Fargate Platform Versions> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'tTaskARN' - The Amazon Resource Name (ARN) of the task.------ * 'tContainerInstanceARN' - The ARN of the container instances that host the task.------ * 'tExecutionStoppedAt' - The Unix time stamp for when the task execution stopped.------ * 'tLastStatus' - The last known status of the task.------ * 'tMemory' - The amount of memory (in MiB) used by the task. It can be expressed as an integer using MiB, for example @1024@ , or as a string using GB, for example @1GB@ or @1 GB@ , in a task definition but is converted to an integer indicating the MiB when the task definition is registered. If using the EC2 launch type, this field is optional. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the @cpu@ parameter: * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256 (.25 vCPU) * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@ values: 512 (.5 vCPU) * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU) * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 2048 (2 vCPU) * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 4096 (4 vCPU)------ * 'tPullStoppedAt' - The Unix time stamp for when the container image pull completed.------ * 'tContainers' - The containers associated with the task.------ * 'tStartedAt' - The Unix time stamp for when the task started (the task transitioned from the @PENDING@ state to the @RUNNING@ state).------ * 'tVersion' - The version counter for the task. Every time a task experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task state with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS APIs with the version reported in CloudWatch Events for the task (inside the @detail@ object) to verify that the version in your event stream is current.------ * 'tStartedBy' - The tag specified when a task is started. If the task is started by an Amazon ECS service, then the @startedBy@ parameter contains the deployment ID of the service that starts it.------ * 'tStoppedReason' - The reason the task was stopped.------ * 'tConnectivity' - The connectivity status of a task.------ * 'tStoppingAt' - The Unix time stamp for when the task will stop (transitions from the @RUNNING@ state to @STOPPED@ ).------ * 'tLaunchType' - The launch type on which your task is running.------ * 'tTaskDefinitionARN' - The ARN of the task definition that creates the task.------ * 'tHealthStatus' - The health status for the task, which is determined by the health of the essential containers in the task. If all essential containers in the task are reporting as @HEALTHY@ , then the task status also reports as @HEALTHY@ . If any essential containers in the task are reporting as @UNHEALTHY@ or @UNKNOWN@ , then the task status also reports as @UNHEALTHY@ or @UNKNOWN@ , accordingly.------ * 'tConnectivityAt' - The Unix time stamp for when the task last went into @CONNECTED@ status.------ * 'tCpu' - The number of CPU units used by the task. It can be expressed as an integer using CPU units, for example @1024@ , or as a string using vCPUs, for example @1 vCPU@ or @1 vcpu@ , in a task definition but is converted to an integer indicating the CPU units when the task definition is registered. If using the EC2 launch type, this field is optional. Supported values are between @128@ CPU units (@0.125@ vCPUs) and @10240@ CPU units (@10@ vCPUs). If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the @memory@ parameter: * 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) * 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) * 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) * 2048 (2 vCPU) - Available @memory@ values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) * 4096 (4 vCPU) - Available @memory@ values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)------ * 'tPullStartedAt' - The Unix time stamp for when the container image pull began.-task- :: Task-task =- Task'- { _tStoppedAt = Nothing- , _tDesiredStatus = Nothing- , _tOverrides = Nothing- , _tClusterARN = Nothing- , _tGroup = Nothing- , _tAttachments = Nothing- , _tCreatedAt = Nothing- , _tPlatformVersion = Nothing- , _tTaskARN = Nothing- , _tContainerInstanceARN = Nothing- , _tExecutionStoppedAt = Nothing- , _tLastStatus = Nothing- , _tMemory = Nothing- , _tPullStoppedAt = Nothing- , _tContainers = Nothing- , _tStartedAt = Nothing- , _tVersion = Nothing- , _tStartedBy = Nothing- , _tStoppedReason = Nothing- , _tConnectivity = Nothing- , _tStoppingAt = Nothing- , _tLaunchType = Nothing- , _tTaskDefinitionARN = Nothing- , _tHealthStatus = Nothing- , _tConnectivityAt = Nothing- , _tCpu = Nothing- , _tPullStartedAt = Nothing- }----- | The Unix time stamp for when the task was stopped (the task transitioned from the @RUNNING@ state to the @STOPPED@ state).-tStoppedAt :: Lens' Task (Maybe UTCTime)-tStoppedAt = lens _tStoppedAt (\ s a -> s{_tStoppedAt = a}) . mapping _Time---- | The desired status of the task.-tDesiredStatus :: Lens' Task (Maybe Text)-tDesiredStatus = lens _tDesiredStatus (\ s a -> s{_tDesiredStatus = a})---- | One or more container overrides.-tOverrides :: Lens' Task (Maybe TaskOverride)-tOverrides = lens _tOverrides (\ s a -> s{_tOverrides = a})---- | The ARN of the cluster that hosts the task.-tClusterARN :: Lens' Task (Maybe Text)-tClusterARN = lens _tClusterARN (\ s a -> s{_tClusterARN = a})---- | The name of the task group associated with the task.-tGroup :: Lens' Task (Maybe Text)-tGroup = lens _tGroup (\ s a -> s{_tGroup = a})---- | The Elastic Network Adapter associated with the task if the task uses the @awsvpc@ network mode.-tAttachments :: Lens' Task [Attachment]-tAttachments = lens _tAttachments (\ s a -> s{_tAttachments = a}) . _Default . _Coerce---- | The Unix time stamp for when the task was created (the task entered the @PENDING@ state).-tCreatedAt :: Lens' Task (Maybe UTCTime)-tCreatedAt = lens _tCreatedAt (\ s a -> s{_tCreatedAt = a}) . mapping _Time---- | The platform version on which your task is running. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html AWS Fargate Platform Versions> in the /Amazon Elastic Container Service Developer Guide/ .-tPlatformVersion :: Lens' Task (Maybe Text)-tPlatformVersion = lens _tPlatformVersion (\ s a -> s{_tPlatformVersion = a})---- | The Amazon Resource Name (ARN) of the task.-tTaskARN :: Lens' Task (Maybe Text)-tTaskARN = lens _tTaskARN (\ s a -> s{_tTaskARN = a})---- | The ARN of the container instances that host the task.-tContainerInstanceARN :: Lens' Task (Maybe Text)-tContainerInstanceARN = lens _tContainerInstanceARN (\ s a -> s{_tContainerInstanceARN = a})---- | The Unix time stamp for when the task execution stopped.-tExecutionStoppedAt :: Lens' Task (Maybe UTCTime)-tExecutionStoppedAt = lens _tExecutionStoppedAt (\ s a -> s{_tExecutionStoppedAt = a}) . mapping _Time---- | The last known status of the task.-tLastStatus :: Lens' Task (Maybe Text)-tLastStatus = lens _tLastStatus (\ s a -> s{_tLastStatus = a})---- | The amount of memory (in MiB) used by the task. It can be expressed as an integer using MiB, for example @1024@ , or as a string using GB, for example @1GB@ or @1 GB@ , in a task definition but is converted to an integer indicating the MiB when the task definition is registered. If using the EC2 launch type, this field is optional. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the @cpu@ parameter: * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256 (.25 vCPU) * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@ values: 512 (.5 vCPU) * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU) * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 2048 (2 vCPU) * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 4096 (4 vCPU)-tMemory :: Lens' Task (Maybe Text)-tMemory = lens _tMemory (\ s a -> s{_tMemory = a})---- | The Unix time stamp for when the container image pull completed.-tPullStoppedAt :: Lens' Task (Maybe UTCTime)-tPullStoppedAt = lens _tPullStoppedAt (\ s a -> s{_tPullStoppedAt = a}) . mapping _Time---- | The containers associated with the task.-tContainers :: Lens' Task [Container]-tContainers = lens _tContainers (\ s a -> s{_tContainers = a}) . _Default . _Coerce---- | The Unix time stamp for when the task started (the task transitioned from the @PENDING@ state to the @RUNNING@ state).-tStartedAt :: Lens' Task (Maybe UTCTime)-tStartedAt = lens _tStartedAt (\ s a -> s{_tStartedAt = a}) . mapping _Time---- | The version counter for the task. Every time a task experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task state with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS APIs with the version reported in CloudWatch Events for the task (inside the @detail@ object) to verify that the version in your event stream is current.-tVersion :: Lens' Task (Maybe Integer)-tVersion = lens _tVersion (\ s a -> s{_tVersion = a})---- | The tag specified when a task is started. If the task is started by an Amazon ECS service, then the @startedBy@ parameter contains the deployment ID of the service that starts it.-tStartedBy :: Lens' Task (Maybe Text)-tStartedBy = lens _tStartedBy (\ s a -> s{_tStartedBy = a})---- | The reason the task was stopped.-tStoppedReason :: Lens' Task (Maybe Text)-tStoppedReason = lens _tStoppedReason (\ s a -> s{_tStoppedReason = a})---- | The connectivity status of a task.-tConnectivity :: Lens' Task (Maybe Connectivity)-tConnectivity = lens _tConnectivity (\ s a -> s{_tConnectivity = a})---- | The Unix time stamp for when the task will stop (transitions from the @RUNNING@ state to @STOPPED@ ).-tStoppingAt :: Lens' Task (Maybe UTCTime)-tStoppingAt = lens _tStoppingAt (\ s a -> s{_tStoppingAt = a}) . mapping _Time---- | The launch type on which your task is running.-tLaunchType :: Lens' Task (Maybe LaunchType)-tLaunchType = lens _tLaunchType (\ s a -> s{_tLaunchType = a})---- | The ARN of the task definition that creates the task.-tTaskDefinitionARN :: Lens' Task (Maybe Text)-tTaskDefinitionARN = lens _tTaskDefinitionARN (\ s a -> s{_tTaskDefinitionARN = a})---- | The health status for the task, which is determined by the health of the essential containers in the task. If all essential containers in the task are reporting as @HEALTHY@ , then the task status also reports as @HEALTHY@ . If any essential containers in the task are reporting as @UNHEALTHY@ or @UNKNOWN@ , then the task status also reports as @UNHEALTHY@ or @UNKNOWN@ , accordingly.-tHealthStatus :: Lens' Task (Maybe HealthStatus)-tHealthStatus = lens _tHealthStatus (\ s a -> s{_tHealthStatus = a})---- | The Unix time stamp for when the task last went into @CONNECTED@ status.-tConnectivityAt :: Lens' Task (Maybe UTCTime)-tConnectivityAt = lens _tConnectivityAt (\ s a -> s{_tConnectivityAt = a}) . mapping _Time---- | The number of CPU units used by the task. It can be expressed as an integer using CPU units, for example @1024@ , or as a string using vCPUs, for example @1 vCPU@ or @1 vcpu@ , in a task definition but is converted to an integer indicating the CPU units when the task definition is registered. If using the EC2 launch type, this field is optional. Supported values are between @128@ CPU units (@0.125@ vCPUs) and @10240@ CPU units (@10@ vCPUs). If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the @memory@ parameter: * 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) * 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) * 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) * 2048 (2 vCPU) - Available @memory@ values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) * 4096 (4 vCPU) - Available @memory@ values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)-tCpu :: Lens' Task (Maybe Text)-tCpu = lens _tCpu (\ s a -> s{_tCpu = a})---- | The Unix time stamp for when the container image pull began.-tPullStartedAt :: Lens' Task (Maybe UTCTime)-tPullStartedAt = lens _tPullStartedAt (\ s a -> s{_tPullStartedAt = a}) . mapping _Time--instance FromJSON Task where- parseJSON- = withObject "Task"- (\ x ->- Task' <$>- (x .:? "stoppedAt") <*> (x .:? "desiredStatus") <*>- (x .:? "overrides")- <*> (x .:? "clusterArn")- <*> (x .:? "group")- <*> (x .:? "attachments" .!= mempty)- <*> (x .:? "createdAt")- <*> (x .:? "platformVersion")- <*> (x .:? "taskArn")- <*> (x .:? "containerInstanceArn")- <*> (x .:? "executionStoppedAt")- <*> (x .:? "lastStatus")- <*> (x .:? "memory")- <*> (x .:? "pullStoppedAt")- <*> (x .:? "containers" .!= mempty)- <*> (x .:? "startedAt")- <*> (x .:? "version")- <*> (x .:? "startedBy")- <*> (x .:? "stoppedReason")- <*> (x .:? "connectivity")- <*> (x .:? "stoppingAt")- <*> (x .:? "launchType")- <*> (x .:? "taskDefinitionArn")- <*> (x .:? "healthStatus")- <*> (x .:? "connectivityAt")- <*> (x .:? "cpu")- <*> (x .:? "pullStartedAt"))--instance Hashable Task where--instance NFData Task where---- | Details of a task definition.------------ /See:/ 'taskDefinition' smart constructor.-data TaskDefinition = TaskDefinition'- { _tdStatus :: !(Maybe TaskDefinitionStatus)- , _tdExecutionRoleARN :: !(Maybe Text)- , _tdRequiresCompatibilities :: !(Maybe [Compatibility])- , _tdFamily :: !(Maybe Text)- , _tdContainerDefinitions :: !(Maybe [ContainerDefinition])- , _tdMemory :: !(Maybe Text)- , _tdTaskRoleARN :: !(Maybe Text)- , _tdPlacementConstraints :: !(Maybe [TaskDefinitionPlacementConstraint])- , _tdNetworkMode :: !(Maybe NetworkMode)- , _tdTaskDefinitionARN :: !(Maybe Text)- , _tdCompatibilities :: !(Maybe [Compatibility])- , _tdRevision :: !(Maybe Int)- , _tdVolumes :: !(Maybe [Volume])- , _tdCpu :: !(Maybe Text)- , _tdRequiresAttributes :: !(Maybe [Attribute])- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TaskDefinition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tdStatus' - The status of the task definition.------ * 'tdExecutionRoleARN' - The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.------ * 'tdRequiresCompatibilities' - The launch type the task is using.------ * 'tdFamily' - The family of your task definition, used as the definition name.------ * 'tdContainerDefinitions' - A list of container definitions in JSON format that describe the different containers that make up your task. For more information about container definition parameters and defaults, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'tdMemory' - The amount (in MiB) of memory used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the @cpu@ parameter: * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256 (.25 vCPU) * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@ values: 512 (.5 vCPU) * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU) * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 2048 (2 vCPU) * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 4096 (4 vCPU)------ * 'tdTaskRoleARN' - The ARN of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. IAM roles for tasks on Windows require that the @-EnableTaskIAMRole@ option is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some configuration code in order to take advantage of the feature. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows_task_IAM_roles.html Windows IAM Roles for Tasks> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'tdPlacementConstraints' - An array of placement constraint objects to use for tasks. This field is not valid if using the Fargate launch type for your task.------ * 'tdNetworkMode' - The Docker networking mode to use for the containers in the task. The valid values are @none@ , @bridge@ , @awsvpc@ , and @host@ . The default Docker network mode is @bridge@ . If using the Fargate launch type, the @awsvpc@ network mode is required. If using the EC2 launch type, any network mode can be used. If the network mode is set to @none@ , you can't specify port mappings in your container definitions, and the task's containers do not have external connectivity. The @host@ and @awsvpc@ network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the @bridge@ mode. With the @host@ and @awsvpc@ network modes, exposed container ports are mapped directly to the corresponding host port (for the @host@ network mode) or the attached elastic network interface port (for the @awsvpc@ network mode), so you cannot take advantage of dynamic host port mappings. If the network mode is @awsvpc@ , the task is allocated an Elastic Network Interface, and you must specify a 'NetworkConfiguration' when you create a service or run a task with the task definition. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking> in the /Amazon Elastic Container Service Developer Guide/ . If the network mode is @host@ , you can't run multiple instantiations of the same task on a single container instance when port mappings are used. Docker for Windows uses different network modes than Docker for Linux. When you register a task definition with Windows containers, you must not specify a network mode. If you use the console to register a task definition with Windows containers, you must choose the @<default>@ network mode object. For more information, see <https://docs.docker.com/engine/reference/run/#network-settings Network settings> in the /Docker run reference/ .------ * 'tdTaskDefinitionARN' - The full Amazon Resource Name (ARN) of the task definition.------ * 'tdCompatibilities' - The launch type to use with your task. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS Launch Types> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'tdRevision' - The revision of the task in a particular family. The revision is a version number of a task definition in a family. When you register a task definition for the first time, the revision is @1@ ; each time you register a new revision of a task definition in the same family, the revision value always increases by one (even if you have deregistered previous revisions in this family).------ * 'tdVolumes' - The list of volumes in a task. If you are using the Fargate launch type, the @host@ and @sourcePath@ parameters are not supported. For more information about volume definition parameters and defaults, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html Amazon ECS Task Definitions> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'tdCpu' - The number of @cpu@ units used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the @memory@ parameter: * 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) * 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) * 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) * 2048 (2 vCPU) - Available @memory@ values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) * 4096 (4 vCPU) - Available @memory@ values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)------ * 'tdRequiresAttributes' - The container instance attributes required by your task. This field is not valid if using the Fargate launch type for your task.-taskDefinition- :: TaskDefinition-taskDefinition =- TaskDefinition'- { _tdStatus = Nothing- , _tdExecutionRoleARN = Nothing- , _tdRequiresCompatibilities = Nothing- , _tdFamily = Nothing- , _tdContainerDefinitions = Nothing- , _tdMemory = Nothing- , _tdTaskRoleARN = Nothing- , _tdPlacementConstraints = Nothing- , _tdNetworkMode = Nothing- , _tdTaskDefinitionARN = Nothing- , _tdCompatibilities = Nothing- , _tdRevision = Nothing- , _tdVolumes = Nothing- , _tdCpu = Nothing- , _tdRequiresAttributes = Nothing- }----- | The status of the task definition.-tdStatus :: Lens' TaskDefinition (Maybe TaskDefinitionStatus)-tdStatus = lens _tdStatus (\ s a -> s{_tdStatus = a})---- | The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.-tdExecutionRoleARN :: Lens' TaskDefinition (Maybe Text)-tdExecutionRoleARN = lens _tdExecutionRoleARN (\ s a -> s{_tdExecutionRoleARN = a})---- | The launch type the task is using.-tdRequiresCompatibilities :: Lens' TaskDefinition [Compatibility]-tdRequiresCompatibilities = lens _tdRequiresCompatibilities (\ s a -> s{_tdRequiresCompatibilities = a}) . _Default . _Coerce---- | The family of your task definition, used as the definition name.-tdFamily :: Lens' TaskDefinition (Maybe Text)-tdFamily = lens _tdFamily (\ s a -> s{_tdFamily = a})---- | A list of container definitions in JSON format that describe the different containers that make up your task. For more information about container definition parameters and defaults, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Amazon ECS Task Definitions> in the /Amazon Elastic Container Service Developer Guide/ .-tdContainerDefinitions :: Lens' TaskDefinition [ContainerDefinition]-tdContainerDefinitions = lens _tdContainerDefinitions (\ s a -> s{_tdContainerDefinitions = a}) . _Default . _Coerce---- | The amount (in MiB) of memory used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the @cpu@ parameter: * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available @cpu@ values: 256 (.25 vCPU) * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available @cpu@ values: 512 (.5 vCPU) * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available @cpu@ values: 1024 (1 vCPU) * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 2048 (2 vCPU) * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available @cpu@ values: 4096 (4 vCPU)-tdMemory :: Lens' TaskDefinition (Maybe Text)-tdMemory = lens _tdMemory (\ s a -> s{_tdMemory = a})---- | The ARN of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. IAM roles for tasks on Windows require that the @-EnableTaskIAMRole@ option is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some configuration code in order to take advantage of the feature. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows_task_IAM_roles.html Windows IAM Roles for Tasks> in the /Amazon Elastic Container Service Developer Guide/ .-tdTaskRoleARN :: Lens' TaskDefinition (Maybe Text)-tdTaskRoleARN = lens _tdTaskRoleARN (\ s a -> s{_tdTaskRoleARN = a})---- | An array of placement constraint objects to use for tasks. This field is not valid if using the Fargate launch type for your task.-tdPlacementConstraints :: Lens' TaskDefinition [TaskDefinitionPlacementConstraint]-tdPlacementConstraints = lens _tdPlacementConstraints (\ s a -> s{_tdPlacementConstraints = a}) . _Default . _Coerce---- | The Docker networking mode to use for the containers in the task. The valid values are @none@ , @bridge@ , @awsvpc@ , and @host@ . The default Docker network mode is @bridge@ . If using the Fargate launch type, the @awsvpc@ network mode is required. If using the EC2 launch type, any network mode can be used. If the network mode is set to @none@ , you can't specify port mappings in your container definitions, and the task's containers do not have external connectivity. The @host@ and @awsvpc@ network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the @bridge@ mode. With the @host@ and @awsvpc@ network modes, exposed container ports are mapped directly to the corresponding host port (for the @host@ network mode) or the attached elastic network interface port (for the @awsvpc@ network mode), so you cannot take advantage of dynamic host port mappings. If the network mode is @awsvpc@ , the task is allocated an Elastic Network Interface, and you must specify a 'NetworkConfiguration' when you create a service or run a task with the task definition. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking> in the /Amazon Elastic Container Service Developer Guide/ . If the network mode is @host@ , you can't run multiple instantiations of the same task on a single container instance when port mappings are used. Docker for Windows uses different network modes than Docker for Linux. When you register a task definition with Windows containers, you must not specify a network mode. If you use the console to register a task definition with Windows containers, you must choose the @<default>@ network mode object. For more information, see <https://docs.docker.com/engine/reference/run/#network-settings Network settings> in the /Docker run reference/ .-tdNetworkMode :: Lens' TaskDefinition (Maybe NetworkMode)-tdNetworkMode = lens _tdNetworkMode (\ s a -> s{_tdNetworkMode = a})---- | The full Amazon Resource Name (ARN) of the task definition.-tdTaskDefinitionARN :: Lens' TaskDefinition (Maybe Text)-tdTaskDefinitionARN = lens _tdTaskDefinitionARN (\ s a -> s{_tdTaskDefinitionARN = a})---- | The launch type to use with your task. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html Amazon ECS Launch Types> in the /Amazon Elastic Container Service Developer Guide/ .-tdCompatibilities :: Lens' TaskDefinition [Compatibility]-tdCompatibilities = lens _tdCompatibilities (\ s a -> s{_tdCompatibilities = a}) . _Default . _Coerce---- | The revision of the task in a particular family. The revision is a version number of a task definition in a family. When you register a task definition for the first time, the revision is @1@ ; each time you register a new revision of a task definition in the same family, the revision value always increases by one (even if you have deregistered previous revisions in this family).-tdRevision :: Lens' TaskDefinition (Maybe Int)-tdRevision = lens _tdRevision (\ s a -> s{_tdRevision = a})---- | The list of volumes in a task. If you are using the Fargate launch type, the @host@ and @sourcePath@ parameters are not supported. For more information about volume definition parameters and defaults, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html Amazon ECS Task Definitions> in the /Amazon Elastic Container Service Developer Guide/ .-tdVolumes :: Lens' TaskDefinition [Volume]-tdVolumes = lens _tdVolumes (\ s a -> s{_tdVolumes = a}) . _Default . _Coerce---- | The number of @cpu@ units used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the @memory@ parameter: * 256 (.25 vCPU) - Available @memory@ values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) * 512 (.5 vCPU) - Available @memory@ values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) * 1024 (1 vCPU) - Available @memory@ values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) * 2048 (2 vCPU) - Available @memory@ values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) * 4096 (4 vCPU) - Available @memory@ values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)-tdCpu :: Lens' TaskDefinition (Maybe Text)-tdCpu = lens _tdCpu (\ s a -> s{_tdCpu = a})---- | The container instance attributes required by your task. This field is not valid if using the Fargate launch type for your task.-tdRequiresAttributes :: Lens' TaskDefinition [Attribute]-tdRequiresAttributes = lens _tdRequiresAttributes (\ s a -> s{_tdRequiresAttributes = a}) . _Default . _Coerce--instance FromJSON TaskDefinition where- parseJSON- = withObject "TaskDefinition"- (\ x ->- TaskDefinition' <$>- (x .:? "status") <*> (x .:? "executionRoleArn") <*>- (x .:? "requiresCompatibilities" .!= mempty)- <*> (x .:? "family")- <*> (x .:? "containerDefinitions" .!= mempty)- <*> (x .:? "memory")- <*> (x .:? "taskRoleArn")- <*> (x .:? "placementConstraints" .!= mempty)- <*> (x .:? "networkMode")- <*> (x .:? "taskDefinitionArn")- <*> (x .:? "compatibilities" .!= mempty)- <*> (x .:? "revision")- <*> (x .:? "volumes" .!= mempty)- <*> (x .:? "cpu")- <*> (x .:? "requiresAttributes" .!= mempty))--instance Hashable TaskDefinition where--instance NFData TaskDefinition where---- | An object representing a constraint on task placement in the task definition.--------- If you are using the Fargate launch type, task placement constraints are not supported.------ For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html Task Placement Constraints> in the /Amazon Elastic Container Service Developer Guide/ .--------- /See:/ 'taskDefinitionPlacementConstraint' smart constructor.-data TaskDefinitionPlacementConstraint = TaskDefinitionPlacementConstraint'- { _tdpcExpression :: !(Maybe Text)- , _tdpcType :: !(Maybe TaskDefinitionPlacementConstraintType)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TaskDefinitionPlacementConstraint' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tdpcExpression' - A cluster query language expression to apply to the constraint. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'tdpcType' - The type of constraint. The @DistinctInstance@ constraint ensures that each task in a particular group is running on a different container instance. The @MemberOf@ constraint restricts selection to be from a group of valid candidates.-taskDefinitionPlacementConstraint- :: TaskDefinitionPlacementConstraint-taskDefinitionPlacementConstraint =- TaskDefinitionPlacementConstraint'- {_tdpcExpression = Nothing, _tdpcType = Nothing}----- | A cluster query language expression to apply to the constraint. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language> in the /Amazon Elastic Container Service Developer Guide/ .-tdpcExpression :: Lens' TaskDefinitionPlacementConstraint (Maybe Text)-tdpcExpression = lens _tdpcExpression (\ s a -> s{_tdpcExpression = a})---- | The type of constraint. The @DistinctInstance@ constraint ensures that each task in a particular group is running on a different container instance. The @MemberOf@ constraint restricts selection to be from a group of valid candidates.-tdpcType :: Lens' TaskDefinitionPlacementConstraint (Maybe TaskDefinitionPlacementConstraintType)-tdpcType = lens _tdpcType (\ s a -> s{_tdpcType = a})--instance FromJSON TaskDefinitionPlacementConstraint- where- parseJSON- = withObject "TaskDefinitionPlacementConstraint"- (\ x ->- TaskDefinitionPlacementConstraint' <$>- (x .:? "expression") <*> (x .:? "type"))--instance Hashable TaskDefinitionPlacementConstraint- where--instance NFData TaskDefinitionPlacementConstraint- where--instance ToJSON TaskDefinitionPlacementConstraint- where- toJSON TaskDefinitionPlacementConstraint'{..}- = object- (catMaybes- [("expression" .=) <$> _tdpcExpression,- ("type" .=) <$> _tdpcType])---- | The overrides associated with a task.------------ /See:/ 'taskOverride' smart constructor.-data TaskOverride = TaskOverride'- { _toContainerOverrides :: !(Maybe [ContainerOverride])- , _toExecutionRoleARN :: !(Maybe Text)- , _toTaskRoleARN :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TaskOverride' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'toContainerOverrides' - One or more container overrides sent to a task.------ * 'toExecutionRoleARN' - The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.------ * 'toTaskRoleARN' - The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.-taskOverride- :: TaskOverride-taskOverride =- TaskOverride'- { _toContainerOverrides = Nothing- , _toExecutionRoleARN = Nothing- , _toTaskRoleARN = Nothing- }----- | One or more container overrides sent to a task.-toContainerOverrides :: Lens' TaskOverride [ContainerOverride]-toContainerOverrides = lens _toContainerOverrides (\ s a -> s{_toContainerOverrides = a}) . _Default . _Coerce---- | The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.-toExecutionRoleARN :: Lens' TaskOverride (Maybe Text)-toExecutionRoleARN = lens _toExecutionRoleARN (\ s a -> s{_toExecutionRoleARN = a})---- | The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.-toTaskRoleARN :: Lens' TaskOverride (Maybe Text)-toTaskRoleARN = lens _toTaskRoleARN (\ s a -> s{_toTaskRoleARN = a})--instance FromJSON TaskOverride where- parseJSON- = withObject "TaskOverride"- (\ x ->- TaskOverride' <$>- (x .:? "containerOverrides" .!= mempty) <*>- (x .:? "executionRoleArn")- <*> (x .:? "taskRoleArn"))--instance Hashable TaskOverride where--instance NFData TaskOverride where--instance ToJSON TaskOverride where- toJSON TaskOverride'{..}- = object- (catMaybes- [("containerOverrides" .=) <$> _toContainerOverrides,- ("executionRoleArn" .=) <$> _toExecutionRoleARN,- ("taskRoleArn" .=) <$> _toTaskRoleARN])---- | The container path, mount options, and size of the tmpfs mount.------------ /See:/ 'tmpfs' smart constructor.-data Tmpfs = Tmpfs'- { _tMountOptions :: !(Maybe [Text])- , _tContainerPath :: !Text- , _tSize :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Tmpfs' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tMountOptions' - The list of tmpfs volume mount options. Valid values: @"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime"@------ * 'tContainerPath' - The absolute file path where the tmpfs volume will be mounted.------ * 'tSize' - The size of the tmpfs volume.-tmpfs- :: Text -- ^ 'tContainerPath'- -> Int -- ^ 'tSize'- -> Tmpfs-tmpfs pContainerPath_ pSize_ =- Tmpfs'- { _tMountOptions = Nothing- , _tContainerPath = pContainerPath_- , _tSize = pSize_- }----- | The list of tmpfs volume mount options. Valid values: @"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime"@-tMountOptions :: Lens' Tmpfs [Text]-tMountOptions = lens _tMountOptions (\ s a -> s{_tMountOptions = a}) . _Default . _Coerce---- | The absolute file path where the tmpfs volume will be mounted.-tContainerPath :: Lens' Tmpfs Text-tContainerPath = lens _tContainerPath (\ s a -> s{_tContainerPath = a})---- | The size of the tmpfs volume.-tSize :: Lens' Tmpfs Int-tSize = lens _tSize (\ s a -> s{_tSize = a})--instance FromJSON Tmpfs where- parseJSON- = withObject "Tmpfs"- (\ x ->- Tmpfs' <$>- (x .:? "mountOptions" .!= mempty) <*>- (x .: "containerPath")- <*> (x .: "size"))--instance Hashable Tmpfs where--instance NFData Tmpfs where--instance ToJSON Tmpfs where- toJSON Tmpfs'{..}- = object- (catMaybes- [("mountOptions" .=) <$> _tMountOptions,- Just ("containerPath" .= _tContainerPath),- Just ("size" .= _tSize)])---- | The @ulimit@ settings to pass to the container.------------ /See:/ 'ulimit' smart constructor.-data Ulimit = Ulimit'- { _uName :: !UlimitName- , _uSoftLimit :: !Int- , _uHardLimit :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Ulimit' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uName' - The @type@ of the @ulimit@ .------ * 'uSoftLimit' - The soft limit for the ulimit type.------ * 'uHardLimit' - The hard limit for the ulimit type.-ulimit- :: UlimitName -- ^ 'uName'- -> Int -- ^ 'uSoftLimit'- -> Int -- ^ 'uHardLimit'- -> Ulimit-ulimit pName_ pSoftLimit_ pHardLimit_ =- Ulimit'- {_uName = pName_, _uSoftLimit = pSoftLimit_, _uHardLimit = pHardLimit_}----- | The @type@ of the @ulimit@ .-uName :: Lens' Ulimit UlimitName-uName = lens _uName (\ s a -> s{_uName = a})---- | The soft limit for the ulimit type.-uSoftLimit :: Lens' Ulimit Int-uSoftLimit = lens _uSoftLimit (\ s a -> s{_uSoftLimit = a})---- | The hard limit for the ulimit type.-uHardLimit :: Lens' Ulimit Int-uHardLimit = lens _uHardLimit (\ s a -> s{_uHardLimit = a})--instance FromJSON Ulimit where- parseJSON- = withObject "Ulimit"- (\ x ->- Ulimit' <$>- (x .: "name") <*> (x .: "softLimit") <*>- (x .: "hardLimit"))--instance Hashable Ulimit where--instance NFData Ulimit where--instance ToJSON Ulimit where- toJSON Ulimit'{..}- = object- (catMaybes- [Just ("name" .= _uName),- Just ("softLimit" .= _uSoftLimit),- Just ("hardLimit" .= _uHardLimit)])---- | The Docker and Amazon ECS container agent version information about a container instance.------------ /See:/ 'versionInfo' smart constructor.-data VersionInfo = VersionInfo'- { _viAgentHash :: !(Maybe Text)- , _viAgentVersion :: !(Maybe Text)- , _viDockerVersion :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'VersionInfo' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'viAgentHash' - The Git commit hash for the Amazon ECS container agent build on the <https://github.com/aws/amazon-ecs-agent/commits/master amazon-ecs-agent > GitHub repository.------ * 'viAgentVersion' - The version number of the Amazon ECS container agent.------ * 'viDockerVersion' - The Docker version running on the container instance.-versionInfo- :: VersionInfo-versionInfo =- VersionInfo'- { _viAgentHash = Nothing- , _viAgentVersion = Nothing- , _viDockerVersion = Nothing- }----- | The Git commit hash for the Amazon ECS container agent build on the <https://github.com/aws/amazon-ecs-agent/commits/master amazon-ecs-agent > GitHub repository.-viAgentHash :: Lens' VersionInfo (Maybe Text)-viAgentHash = lens _viAgentHash (\ s a -> s{_viAgentHash = a})---- | The version number of the Amazon ECS container agent.-viAgentVersion :: Lens' VersionInfo (Maybe Text)-viAgentVersion = lens _viAgentVersion (\ s a -> s{_viAgentVersion = a})---- | The Docker version running on the container instance.-viDockerVersion :: Lens' VersionInfo (Maybe Text)-viDockerVersion = lens _viDockerVersion (\ s a -> s{_viDockerVersion = a})--instance FromJSON VersionInfo where- parseJSON- = withObject "VersionInfo"- (\ x ->- VersionInfo' <$>- (x .:? "agentHash") <*> (x .:? "agentVersion") <*>- (x .:? "dockerVersion"))--instance Hashable VersionInfo where--instance NFData VersionInfo where--instance ToJSON VersionInfo where- toJSON VersionInfo'{..}- = object- (catMaybes- [("agentHash" .=) <$> _viAgentHash,- ("agentVersion" .=) <$> _viAgentVersion,- ("dockerVersion" .=) <$> _viDockerVersion])---- | A data volume used in a task definition.------------ /See:/ 'volume' smart constructor.-data Volume = Volume'- { _vName :: !(Maybe Text)- , _vHost :: !(Maybe HostVolumeProperties)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Volume' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'vName' - The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the @sourceVolume@ parameter of container definition @mountPoints@ .------ * 'vHost' - The contents of the @host@ parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running. Windows containers can mount whole directories on the same drive as @> env:ProgramData@ . Windows containers cannot mount directories on a different drive, and mount point cannot be across drives. For example, you can mount @C:\my\path:C:\my\path@ and @D:\:D:\@ , but not @D:\my\path:C:\my\path@ or @D:\:C:\my\path@ .-volume- :: Volume-volume = Volume' {_vName = Nothing, _vHost = Nothing}----- | The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the @sourceVolume@ parameter of container definition @mountPoints@ .-vName :: Lens' Volume (Maybe Text)-vName = lens _vName (\ s a -> s{_vName = a})---- | The contents of the @host@ parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running. Windows containers can mount whole directories on the same drive as @> env:ProgramData@ . Windows containers cannot mount directories on a different drive, and mount point cannot be across drives. For example, you can mount @C:\my\path:C:\my\path@ and @D:\:D:\@ , but not @D:\my\path:C:\my\path@ or @D:\:C:\my\path@ .-vHost :: Lens' Volume (Maybe HostVolumeProperties)-vHost = lens _vHost (\ s a -> s{_vHost = a})--instance FromJSON Volume where- parseJSON- = withObject "Volume"- (\ x ->- Volume' <$> (x .:? "name") <*> (x .:? "host"))--instance Hashable Volume where--instance NFData Volume where--instance ToJSON Volume where- toJSON Volume'{..}- = object- (catMaybes- [("name" .=) <$> _vName, ("host" .=) <$> _vHost])---- | Details on a data volume from another container in the same task definition.------------ /See:/ 'volumeFrom' smart constructor.-data VolumeFrom = VolumeFrom'- { _vfSourceContainer :: !(Maybe Text)- , _vfReadOnly :: !(Maybe Bool)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'VolumeFrom' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'vfSourceContainer' - The name of another container within the same task definition to mount volumes from.------ * 'vfReadOnly' - If this value is @true@ , the container has read-only access to the volume. If this value is @false@ , then the container can write to the volume. The default value is @false@ .-volumeFrom- :: VolumeFrom-volumeFrom = VolumeFrom' {_vfSourceContainer = Nothing, _vfReadOnly = Nothing}----- | The name of another container within the same task definition to mount volumes from.-vfSourceContainer :: Lens' VolumeFrom (Maybe Text)-vfSourceContainer = lens _vfSourceContainer (\ s a -> s{_vfSourceContainer = a})---- | If this value is @true@ , the container has read-only access to the volume. If this value is @false@ , then the container can write to the volume. The default value is @false@ .-vfReadOnly :: Lens' VolumeFrom (Maybe Bool)-vfReadOnly = lens _vfReadOnly (\ s a -> s{_vfReadOnly = a})--instance FromJSON VolumeFrom where- parseJSON- = withObject "VolumeFrom"- (\ x ->- VolumeFrom' <$>- (x .:? "sourceContainer") <*> (x .:? "readOnly"))--instance Hashable VolumeFrom where--instance NFData VolumeFrom where--instance ToJSON VolumeFrom where- toJSON VolumeFrom'{..}- = object- (catMaybes- [("sourceContainer" .=) <$> _vfSourceContainer,- ("readOnly" .=) <$> _vfReadOnly])
− gen/Network/AWS/ECS/Types/Sum.hs
@@ -1,704 +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.ECS.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.ECS.Types.Sum where--import Network.AWS.Prelude--data AgentUpdateStatus- = AUSFailed- | AUSPending- | AUSStaged- | AUSStaging- | AUSUpdated- | AUSUpdating- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText AgentUpdateStatus where- parser = takeLowerText >>= \case- "failed" -> pure AUSFailed- "pending" -> pure AUSPending- "staged" -> pure AUSStaged- "staging" -> pure AUSStaging- "updated" -> pure AUSUpdated- "updating" -> pure AUSUpdating- e -> fromTextError $ "Failure parsing AgentUpdateStatus from value: '" <> e- <> "'. Accepted values: failed, pending, staged, staging, updated, updating"--instance ToText AgentUpdateStatus where- toText = \case- AUSFailed -> "FAILED"- AUSPending -> "PENDING"- AUSStaged -> "STAGED"- AUSStaging -> "STAGING"- AUSUpdated -> "UPDATED"- AUSUpdating -> "UPDATING"--instance Hashable AgentUpdateStatus-instance NFData AgentUpdateStatus-instance ToByteString AgentUpdateStatus-instance ToQuery AgentUpdateStatus-instance ToHeader AgentUpdateStatus--instance FromJSON AgentUpdateStatus where- parseJSON = parseJSONText "AgentUpdateStatus"--data AssignPublicIP- = Disabled- | Enabled- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText AssignPublicIP where- parser = takeLowerText >>= \case- "disabled" -> pure Disabled- "enabled" -> pure Enabled- e -> fromTextError $ "Failure parsing AssignPublicIP from value: '" <> e- <> "'. Accepted values: disabled, enabled"--instance ToText AssignPublicIP where- toText = \case- Disabled -> "DISABLED"- Enabled -> "ENABLED"--instance Hashable AssignPublicIP-instance NFData AssignPublicIP-instance ToByteString AssignPublicIP-instance ToQuery AssignPublicIP-instance ToHeader AssignPublicIP--instance ToJSON AssignPublicIP where- toJSON = toJSONText--instance FromJSON AssignPublicIP where- parseJSON = parseJSONText "AssignPublicIP"--data ClusterField =- Statistics- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ClusterField where- parser = takeLowerText >>= \case- "statistics" -> pure Statistics- e -> fromTextError $ "Failure parsing ClusterField from value: '" <> e- <> "'. Accepted values: statistics"--instance ToText ClusterField where- toText = \case- Statistics -> "STATISTICS"--instance Hashable ClusterField-instance NFData ClusterField-instance ToByteString ClusterField-instance ToQuery ClusterField-instance ToHeader ClusterField--instance ToJSON ClusterField where- toJSON = toJSONText--data Compatibility- = CEC2- | CFargate- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText Compatibility where- parser = takeLowerText >>= \case- "ec2" -> pure CEC2- "fargate" -> pure CFargate- e -> fromTextError $ "Failure parsing Compatibility from value: '" <> e- <> "'. Accepted values: ec2, fargate"--instance ToText Compatibility where- toText = \case- CEC2 -> "EC2"- CFargate -> "FARGATE"--instance Hashable Compatibility-instance NFData Compatibility-instance ToByteString Compatibility-instance ToQuery Compatibility-instance ToHeader Compatibility--instance ToJSON Compatibility where- toJSON = toJSONText--instance FromJSON Compatibility where- parseJSON = parseJSONText "Compatibility"--data Connectivity- = Connected- | Disconnected- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText Connectivity where- parser = takeLowerText >>= \case- "connected" -> pure Connected- "disconnected" -> pure Disconnected- e -> fromTextError $ "Failure parsing Connectivity from value: '" <> e- <> "'. Accepted values: connected, disconnected"--instance ToText Connectivity where- toText = \case- Connected -> "CONNECTED"- Disconnected -> "DISCONNECTED"--instance Hashable Connectivity-instance NFData Connectivity-instance ToByteString Connectivity-instance ToQuery Connectivity-instance ToHeader Connectivity--instance FromJSON Connectivity where- parseJSON = parseJSONText "Connectivity"--data ContainerInstanceStatus- = Active- | Draining- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ContainerInstanceStatus where- parser = takeLowerText >>= \case- "active" -> pure Active- "draining" -> pure Draining- e -> fromTextError $ "Failure parsing ContainerInstanceStatus from value: '" <> e- <> "'. Accepted values: active, draining"--instance ToText ContainerInstanceStatus where- toText = \case- Active -> "ACTIVE"- Draining -> "DRAINING"--instance Hashable ContainerInstanceStatus-instance NFData ContainerInstanceStatus-instance ToByteString ContainerInstanceStatus-instance ToQuery ContainerInstanceStatus-instance ToHeader ContainerInstanceStatus--instance ToJSON ContainerInstanceStatus where- toJSON = toJSONText--data DesiredStatus- = Pending- | Running- | Stopped- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText DesiredStatus where- parser = takeLowerText >>= \case- "pending" -> pure Pending- "running" -> pure Running- "stopped" -> pure Stopped- e -> fromTextError $ "Failure parsing DesiredStatus from value: '" <> e- <> "'. Accepted values: pending, running, stopped"--instance ToText DesiredStatus where- toText = \case- Pending -> "PENDING"- Running -> "RUNNING"- Stopped -> "STOPPED"--instance Hashable DesiredStatus-instance NFData DesiredStatus-instance ToByteString DesiredStatus-instance ToQuery DesiredStatus-instance ToHeader DesiredStatus--instance ToJSON DesiredStatus where- toJSON = toJSONText--data DeviceCgroupPermission- = Mknod- | Read- | Write- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText DeviceCgroupPermission where- parser = takeLowerText >>= \case- "mknod" -> pure Mknod- "read" -> pure Read- "write" -> pure Write- e -> fromTextError $ "Failure parsing DeviceCgroupPermission from value: '" <> e- <> "'. Accepted values: mknod, read, write"--instance ToText DeviceCgroupPermission where- toText = \case- Mknod -> "mknod"- Read -> "read"- Write -> "write"--instance Hashable DeviceCgroupPermission-instance NFData DeviceCgroupPermission-instance ToByteString DeviceCgroupPermission-instance ToQuery DeviceCgroupPermission-instance ToHeader DeviceCgroupPermission--instance ToJSON DeviceCgroupPermission where- toJSON = toJSONText--instance FromJSON DeviceCgroupPermission where- parseJSON = parseJSONText "DeviceCgroupPermission"--data HealthStatus- = Healthy- | Unhealthy- | Unknown- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText HealthStatus where- parser = takeLowerText >>= \case- "healthy" -> pure Healthy- "unhealthy" -> pure Unhealthy- "unknown" -> pure Unknown- e -> fromTextError $ "Failure parsing HealthStatus from value: '" <> e- <> "'. Accepted values: healthy, unhealthy, unknown"--instance ToText HealthStatus where- toText = \case- Healthy -> "HEALTHY"- Unhealthy -> "UNHEALTHY"- Unknown -> "UNKNOWN"--instance Hashable HealthStatus-instance NFData HealthStatus-instance ToByteString HealthStatus-instance ToQuery HealthStatus-instance ToHeader HealthStatus--instance FromJSON HealthStatus where- parseJSON = parseJSONText "HealthStatus"--data LaunchType- = EC2- | Fargate- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText LaunchType where- parser = takeLowerText >>= \case- "ec2" -> pure EC2- "fargate" -> pure Fargate- e -> fromTextError $ "Failure parsing LaunchType from value: '" <> e- <> "'. Accepted values: ec2, fargate"--instance ToText LaunchType where- toText = \case- EC2 -> "EC2"- Fargate -> "FARGATE"--instance Hashable LaunchType-instance NFData LaunchType-instance ToByteString LaunchType-instance ToQuery LaunchType-instance ToHeader LaunchType--instance ToJSON LaunchType where- toJSON = toJSONText--instance FromJSON LaunchType where- parseJSON = parseJSONText "LaunchType"--data LogDriver- = AWSlogs- | Fluentd- | Gelf- | JSONFile- | Journald- | Splunk- | Syslog- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText LogDriver where- parser = takeLowerText >>= \case- "awslogs" -> pure AWSlogs- "fluentd" -> pure Fluentd- "gelf" -> pure Gelf- "json-file" -> pure JSONFile- "journald" -> pure Journald- "splunk" -> pure Splunk- "syslog" -> pure Syslog- e -> fromTextError $ "Failure parsing LogDriver from value: '" <> e- <> "'. Accepted values: awslogs, fluentd, gelf, json-file, journald, splunk, syslog"--instance ToText LogDriver where- toText = \case- AWSlogs -> "awslogs"- Fluentd -> "fluentd"- Gelf -> "gelf"- JSONFile -> "json-file"- Journald -> "journald"- Splunk -> "splunk"- Syslog -> "syslog"--instance Hashable LogDriver-instance NFData LogDriver-instance ToByteString LogDriver-instance ToQuery LogDriver-instance ToHeader LogDriver--instance ToJSON LogDriver where- toJSON = toJSONText--instance FromJSON LogDriver where- parseJSON = parseJSONText "LogDriver"--data NetworkMode- = AWSvpc- | Bridge- | Host- | None- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText NetworkMode where- parser = takeLowerText >>= \case- "awsvpc" -> pure AWSvpc- "bridge" -> pure Bridge- "host" -> pure Host- "none" -> pure None- e -> fromTextError $ "Failure parsing NetworkMode from value: '" <> e- <> "'. Accepted values: awsvpc, bridge, host, none"--instance ToText NetworkMode where- toText = \case- AWSvpc -> "awsvpc"- Bridge -> "bridge"- Host -> "host"- None -> "none"--instance Hashable NetworkMode-instance NFData NetworkMode-instance ToByteString NetworkMode-instance ToQuery NetworkMode-instance ToHeader NetworkMode--instance ToJSON NetworkMode where- toJSON = toJSONText--instance FromJSON NetworkMode where- parseJSON = parseJSONText "NetworkMode"--data PlacementConstraintType- = PCTDistinctInstance- | PCTMemberOf- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText PlacementConstraintType where- parser = takeLowerText >>= \case- "distinctinstance" -> pure PCTDistinctInstance- "memberof" -> pure PCTMemberOf- e -> fromTextError $ "Failure parsing PlacementConstraintType from value: '" <> e- <> "'. Accepted values: distinctinstance, memberof"--instance ToText PlacementConstraintType where- toText = \case- PCTDistinctInstance -> "distinctInstance"- PCTMemberOf -> "memberOf"--instance Hashable PlacementConstraintType-instance NFData PlacementConstraintType-instance ToByteString PlacementConstraintType-instance ToQuery PlacementConstraintType-instance ToHeader PlacementConstraintType--instance ToJSON PlacementConstraintType where- toJSON = toJSONText--instance FromJSON PlacementConstraintType where- parseJSON = parseJSONText "PlacementConstraintType"--data PlacementStrategyType- = Binpack- | Random- | Spread- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText PlacementStrategyType where- parser = takeLowerText >>= \case- "binpack" -> pure Binpack- "random" -> pure Random- "spread" -> pure Spread- e -> fromTextError $ "Failure parsing PlacementStrategyType from value: '" <> e- <> "'. Accepted values: binpack, random, spread"--instance ToText PlacementStrategyType where- toText = \case- Binpack -> "binpack"- Random -> "random"- Spread -> "spread"--instance Hashable PlacementStrategyType-instance NFData PlacementStrategyType-instance ToByteString PlacementStrategyType-instance ToQuery PlacementStrategyType-instance ToHeader PlacementStrategyType--instance ToJSON PlacementStrategyType where- toJSON = toJSONText--instance FromJSON PlacementStrategyType where- parseJSON = parseJSONText "PlacementStrategyType"--data SortOrder- = Asc- | Desc- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText SortOrder where- parser = takeLowerText >>= \case- "asc" -> pure Asc- "desc" -> pure Desc- e -> fromTextError $ "Failure parsing SortOrder from value: '" <> e- <> "'. Accepted values: asc, desc"--instance ToText SortOrder where- toText = \case- Asc -> "ASC"- Desc -> "DESC"--instance Hashable SortOrder-instance NFData SortOrder-instance ToByteString SortOrder-instance ToQuery SortOrder-instance ToHeader SortOrder--instance ToJSON SortOrder where- toJSON = toJSONText--data TargetType =- ContainerInstance- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText TargetType where- parser = takeLowerText >>= \case- "container-instance" -> pure ContainerInstance- e -> fromTextError $ "Failure parsing TargetType from value: '" <> e- <> "'. Accepted values: container-instance"--instance ToText TargetType where- toText = \case- ContainerInstance -> "container-instance"--instance Hashable TargetType-instance NFData TargetType-instance ToByteString TargetType-instance ToQuery TargetType-instance ToHeader TargetType--instance ToJSON TargetType where- toJSON = toJSONText--instance FromJSON TargetType where- parseJSON = parseJSONText "TargetType"--data TaskDefinitionFamilyStatus- = TDFSActive- | TDFSAll- | TDFSInactive- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText TaskDefinitionFamilyStatus where- parser = takeLowerText >>= \case- "active" -> pure TDFSActive- "all" -> pure TDFSAll- "inactive" -> pure TDFSInactive- e -> fromTextError $ "Failure parsing TaskDefinitionFamilyStatus from value: '" <> e- <> "'. Accepted values: active, all, inactive"--instance ToText TaskDefinitionFamilyStatus where- toText = \case- TDFSActive -> "ACTIVE"- TDFSAll -> "ALL"- TDFSInactive -> "INACTIVE"--instance Hashable TaskDefinitionFamilyStatus-instance NFData TaskDefinitionFamilyStatus-instance ToByteString TaskDefinitionFamilyStatus-instance ToQuery TaskDefinitionFamilyStatus-instance ToHeader TaskDefinitionFamilyStatus--instance ToJSON TaskDefinitionFamilyStatus where- toJSON = toJSONText--data TaskDefinitionPlacementConstraintType =- MemberOf- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText TaskDefinitionPlacementConstraintType where- parser = takeLowerText >>= \case- "memberof" -> pure MemberOf- e -> fromTextError $ "Failure parsing TaskDefinitionPlacementConstraintType from value: '" <> e- <> "'. Accepted values: memberof"--instance ToText TaskDefinitionPlacementConstraintType where- toText = \case- MemberOf -> "memberOf"--instance Hashable TaskDefinitionPlacementConstraintType-instance NFData TaskDefinitionPlacementConstraintType-instance ToByteString TaskDefinitionPlacementConstraintType-instance ToQuery TaskDefinitionPlacementConstraintType-instance ToHeader TaskDefinitionPlacementConstraintType--instance ToJSON TaskDefinitionPlacementConstraintType where- toJSON = toJSONText--instance FromJSON TaskDefinitionPlacementConstraintType where- parseJSON = parseJSONText "TaskDefinitionPlacementConstraintType"--data TaskDefinitionStatus- = TDSActive- | TDSInactive- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText TaskDefinitionStatus where- parser = takeLowerText >>= \case- "active" -> pure TDSActive- "inactive" -> pure TDSInactive- e -> fromTextError $ "Failure parsing TaskDefinitionStatus from value: '" <> e- <> "'. Accepted values: active, inactive"--instance ToText TaskDefinitionStatus where- toText = \case- TDSActive -> "ACTIVE"- TDSInactive -> "INACTIVE"--instance Hashable TaskDefinitionStatus-instance NFData TaskDefinitionStatus-instance ToByteString TaskDefinitionStatus-instance ToQuery TaskDefinitionStatus-instance ToHeader TaskDefinitionStatus--instance ToJSON TaskDefinitionStatus where- toJSON = toJSONText--instance FromJSON TaskDefinitionStatus where- parseJSON = parseJSONText "TaskDefinitionStatus"--data TransportProtocol- = TCP- | Udp- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText TransportProtocol where- parser = takeLowerText >>= \case- "tcp" -> pure TCP- "udp" -> pure Udp- e -> fromTextError $ "Failure parsing TransportProtocol from value: '" <> e- <> "'. Accepted values: tcp, udp"--instance ToText TransportProtocol where- toText = \case- TCP -> "tcp"- Udp -> "udp"--instance Hashable TransportProtocol-instance NFData TransportProtocol-instance ToByteString TransportProtocol-instance ToQuery TransportProtocol-instance ToHeader TransportProtocol--instance ToJSON TransportProtocol where- toJSON = toJSONText--instance FromJSON TransportProtocol where- parseJSON = parseJSONText "TransportProtocol"--data UlimitName- = CPU- | Core- | Data- | Fsize- | Locks- | Memlock- | Msgqueue- | Nice- | Nofile- | Nproc- | Rss- | Rtprio- | Rttime- | Sigpending- | Stack- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText UlimitName where- parser = takeLowerText >>= \case- "cpu" -> pure CPU- "core" -> pure Core- "data" -> pure Data- "fsize" -> pure Fsize- "locks" -> pure Locks- "memlock" -> pure Memlock- "msgqueue" -> pure Msgqueue- "nice" -> pure Nice- "nofile" -> pure Nofile- "nproc" -> pure Nproc- "rss" -> pure Rss- "rtprio" -> pure Rtprio- "rttime" -> pure Rttime- "sigpending" -> pure Sigpending- "stack" -> pure Stack- e -> fromTextError $ "Failure parsing UlimitName from value: '" <> e- <> "'. Accepted values: cpu, core, data, fsize, locks, memlock, msgqueue, nice, nofile, nproc, rss, rtprio, rttime, sigpending, stack"--instance ToText UlimitName where- toText = \case- CPU -> "cpu"- Core -> "core"- Data -> "data"- Fsize -> "fsize"- Locks -> "locks"- Memlock -> "memlock"- Msgqueue -> "msgqueue"- Nice -> "nice"- Nofile -> "nofile"- Nproc -> "nproc"- Rss -> "rss"- Rtprio -> "rtprio"- Rttime -> "rttime"- Sigpending -> "sigpending"- Stack -> "stack"--instance Hashable UlimitName-instance NFData UlimitName-instance ToByteString UlimitName-instance ToQuery UlimitName-instance ToHeader UlimitName--instance ToJSON UlimitName where- toJSON = toJSONText--instance FromJSON UlimitName where- parseJSON = parseJSONText "UlimitName"
− gen/Network/AWS/ECS/UpdateContainerAgent.hs
@@ -1,147 +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.ECS.UpdateContainerAgent--- 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 the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent does not interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system.--------- @UpdateContainerAgent@ requires the Amazon ECS-optimized AMI or Amazon Linux with the @ecs-init@ service installed and running. For help updating the Amazon ECS container agent on other operating systems, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent Manually Updating the Amazon ECS Container Agent> in the /Amazon Elastic Container Service Developer Guide/ .----module Network.AWS.ECS.UpdateContainerAgent- (- -- * Creating a Request- updateContainerAgent- , UpdateContainerAgent- -- * Request Lenses- , ucaCluster- , ucaContainerInstance-- -- * Destructuring the Response- , updateContainerAgentResponse- , UpdateContainerAgentResponse- -- * Response Lenses- , ucarsContainerInstance- , ucarsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateContainerAgent' smart constructor.-data UpdateContainerAgent = UpdateContainerAgent'- { _ucaCluster :: !(Maybe Text)- , _ucaContainerInstance :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateContainerAgent' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ucaCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.------ * 'ucaContainerInstance' - The container instance ID or full ARN entries for the container instance on which you would like to update the Amazon ECS container agent.-updateContainerAgent- :: Text -- ^ 'ucaContainerInstance'- -> UpdateContainerAgent-updateContainerAgent pContainerInstance_ =- UpdateContainerAgent'- {_ucaCluster = Nothing, _ucaContainerInstance = pContainerInstance_}----- | The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.-ucaCluster :: Lens' UpdateContainerAgent (Maybe Text)-ucaCluster = lens _ucaCluster (\ s a -> s{_ucaCluster = a})---- | The container instance ID or full ARN entries for the container instance on which you would like to update the Amazon ECS container agent.-ucaContainerInstance :: Lens' UpdateContainerAgent Text-ucaContainerInstance = lens _ucaContainerInstance (\ s a -> s{_ucaContainerInstance = a})--instance AWSRequest UpdateContainerAgent where- type Rs UpdateContainerAgent =- UpdateContainerAgentResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- UpdateContainerAgentResponse' <$>- (x .?> "containerInstance") <*> (pure (fromEnum s)))--instance Hashable UpdateContainerAgent where--instance NFData UpdateContainerAgent where--instance ToHeaders UpdateContainerAgent where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.UpdateContainerAgent"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateContainerAgent where- toJSON UpdateContainerAgent'{..}- = object- (catMaybes- [("cluster" .=) <$> _ucaCluster,- Just ("containerInstance" .= _ucaContainerInstance)])--instance ToPath UpdateContainerAgent where- toPath = const "/"--instance ToQuery UpdateContainerAgent where- toQuery = const mempty---- | /See:/ 'updateContainerAgentResponse' smart constructor.-data UpdateContainerAgentResponse = UpdateContainerAgentResponse'- { _ucarsContainerInstance :: !(Maybe ContainerInstance)- , _ucarsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateContainerAgentResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ucarsContainerInstance' - The container instance for which the container agent was updated.------ * 'ucarsResponseStatus' - -- | The response status code.-updateContainerAgentResponse- :: Int -- ^ 'ucarsResponseStatus'- -> UpdateContainerAgentResponse-updateContainerAgentResponse pResponseStatus_ =- UpdateContainerAgentResponse'- {_ucarsContainerInstance = Nothing, _ucarsResponseStatus = pResponseStatus_}----- | The container instance for which the container agent was updated.-ucarsContainerInstance :: Lens' UpdateContainerAgentResponse (Maybe ContainerInstance)-ucarsContainerInstance = lens _ucarsContainerInstance (\ s a -> s{_ucarsContainerInstance = a})---- | -- | The response status code.-ucarsResponseStatus :: Lens' UpdateContainerAgentResponse Int-ucarsResponseStatus = lens _ucarsResponseStatus (\ s a -> s{_ucarsResponseStatus = a})--instance NFData UpdateContainerAgentResponse where
− gen/Network/AWS/ECS/UpdateContainerInstancesState.hs
@@ -1,192 +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.ECS.UpdateContainerInstancesState--- 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)------ Modifies the status of an Amazon ECS container instance.--------- You can change the status of a container instance to @DRAINING@ to manually remove an instance from a cluster, for example to perform system updates, update the Docker daemon, or scale down the cluster size.------ When you set a container instance to @DRAINING@ , Amazon ECS prevents new tasks from being scheduled for placement on the container instance and replacement service tasks are started on other container instances in the cluster if the resources are available. Service tasks on the container instance that are in the @PENDING@ state are stopped immediately.------ Service tasks on the container instance that are in the @RUNNING@ state are stopped and replaced according to the service's deployment configuration parameters, @minimumHealthyPercent@ and @maximumPercent@ . You can change the deployment configuration of your service using 'UpdateService' .------ * If @minimumHealthyPercent@ is below 100%, the scheduler can ignore @desiredCount@ temporarily during task replacement. For example, @desiredCount@ is four tasks, a minimum of 50% allows the scheduler to stop two existing tasks before starting two new tasks. If the minimum is 100%, the service scheduler can't remove existing tasks until the replacement tasks are considered healthy. Tasks for services that do not use a load balancer are considered healthy if they are in the @RUNNING@ state. Tasks for services that use a load balancer are considered healthy if they are in the @RUNNING@ state and the container instance they are hosted on is reported as healthy by the load balancer.------ * The @maximumPercent@ parameter represents an upper limit on the number of running tasks during task replacement, which enables you to define the replacement batch size. For example, if @desiredCount@ of four tasks, a maximum of 200% starts four new tasks before stopping the four tasks to be drained (provided that the cluster resources required to do this are available). If the maximum is 100%, then replacement tasks can't start until the draining tasks have stopped.------------ Any @PENDING@ or @RUNNING@ tasks that do not belong to a service are not affected; you must wait for them to finish or stop them manually.------ A container instance has completed draining when it has no more @RUNNING@ tasks. You can verify this using 'ListTasks' .------ When you set a container instance to @ACTIVE@ , the Amazon ECS scheduler can begin scheduling tasks on the instance again.----module Network.AWS.ECS.UpdateContainerInstancesState- (- -- * Creating a Request- updateContainerInstancesState- , UpdateContainerInstancesState- -- * Request Lenses- , ucisCluster- , ucisContainerInstances- , ucisStatus-- -- * Destructuring the Response- , updateContainerInstancesStateResponse- , UpdateContainerInstancesStateResponse- -- * Response Lenses- , ucisrsFailures- , ucisrsContainerInstances- , ucisrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateContainerInstancesState' smart constructor.-data UpdateContainerInstancesState = UpdateContainerInstancesState'- { _ucisCluster :: !(Maybe Text)- , _ucisContainerInstances :: ![Text]- , _ucisStatus :: !ContainerInstanceStatus- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateContainerInstancesState' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ucisCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed.------ * 'ucisContainerInstances' - A list of container instance IDs or full ARN entries.------ * 'ucisStatus' - The container instance state with which to update the container instance.-updateContainerInstancesState- :: ContainerInstanceStatus -- ^ 'ucisStatus'- -> UpdateContainerInstancesState-updateContainerInstancesState pStatus_ =- UpdateContainerInstancesState'- { _ucisCluster = Nothing- , _ucisContainerInstances = mempty- , _ucisStatus = pStatus_- }----- | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed.-ucisCluster :: Lens' UpdateContainerInstancesState (Maybe Text)-ucisCluster = lens _ucisCluster (\ s a -> s{_ucisCluster = a})---- | A list of container instance IDs or full ARN entries.-ucisContainerInstances :: Lens' UpdateContainerInstancesState [Text]-ucisContainerInstances = lens _ucisContainerInstances (\ s a -> s{_ucisContainerInstances = a}) . _Coerce---- | The container instance state with which to update the container instance.-ucisStatus :: Lens' UpdateContainerInstancesState ContainerInstanceStatus-ucisStatus = lens _ucisStatus (\ s a -> s{_ucisStatus = a})--instance AWSRequest UpdateContainerInstancesState- where- type Rs UpdateContainerInstancesState =- UpdateContainerInstancesStateResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- UpdateContainerInstancesStateResponse' <$>- (x .?> "failures" .!@ mempty) <*>- (x .?> "containerInstances" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable UpdateContainerInstancesState where--instance NFData UpdateContainerInstancesState where--instance ToHeaders UpdateContainerInstancesState- where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.UpdateContainerInstancesState"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateContainerInstancesState where- toJSON UpdateContainerInstancesState'{..}- = object- (catMaybes- [("cluster" .=) <$> _ucisCluster,- Just- ("containerInstances" .= _ucisContainerInstances),- Just ("status" .= _ucisStatus)])--instance ToPath UpdateContainerInstancesState where- toPath = const "/"--instance ToQuery UpdateContainerInstancesState where- toQuery = const mempty---- | /See:/ 'updateContainerInstancesStateResponse' smart constructor.-data UpdateContainerInstancesStateResponse = UpdateContainerInstancesStateResponse'- { _ucisrsFailures :: !(Maybe [Failure])- , _ucisrsContainerInstances :: !(Maybe [ContainerInstance])- , _ucisrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateContainerInstancesStateResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ucisrsFailures' - Any failures associated with the call.------ * 'ucisrsContainerInstances' - The list of container instances.------ * 'ucisrsResponseStatus' - -- | The response status code.-updateContainerInstancesStateResponse- :: Int -- ^ 'ucisrsResponseStatus'- -> UpdateContainerInstancesStateResponse-updateContainerInstancesStateResponse pResponseStatus_ =- UpdateContainerInstancesStateResponse'- { _ucisrsFailures = Nothing- , _ucisrsContainerInstances = Nothing- , _ucisrsResponseStatus = pResponseStatus_- }----- | Any failures associated with the call.-ucisrsFailures :: Lens' UpdateContainerInstancesStateResponse [Failure]-ucisrsFailures = lens _ucisrsFailures (\ s a -> s{_ucisrsFailures = a}) . _Default . _Coerce---- | The list of container instances.-ucisrsContainerInstances :: Lens' UpdateContainerInstancesStateResponse [ContainerInstance]-ucisrsContainerInstances = lens _ucisrsContainerInstances (\ s a -> s{_ucisrsContainerInstances = a}) . _Default . _Coerce---- | -- | The response status code.-ucisrsResponseStatus :: Lens' UpdateContainerInstancesStateResponse Int-ucisrsResponseStatus = lens _ucisrsResponseStatus (\ s a -> s{_ucisrsResponseStatus = a})--instance NFData UpdateContainerInstancesStateResponse- where
− gen/Network/AWS/ECS/UpdateService.hs
@@ -1,255 +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.ECS.UpdateService--- 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)------ Modifies the desired count, deployment configuration, network configuration, or task definition used in a service.--------- You can add to or subtract from the number of instantiations of a task definition in a service by specifying the cluster that the service is running in and a new @desiredCount@ parameter.------ If you have updated the Docker image of your application, you can create a new task definition with that image and deploy it to your service. The service scheduler uses the minimum healthy percent and maximum percent parameters (in the service's deployment configuration) to determine the deployment strategy.------ You can also update the deployment configuration of a service. When a deployment is triggered by updating the task definition of a service, the service scheduler uses the deployment configuration parameters, @minimumHealthyPercent@ and @maximumPercent@ , to determine the deployment strategy.------ * If @minimumHealthyPercent@ is below 100%, the scheduler can ignore @desiredCount@ temporarily during a deployment. For example, if @desiredCount@ is four tasks, a minimum of 50% allows the scheduler to stop two existing tasks before starting two new tasks. Tasks for services that do not use a load balancer are considered healthy if they are in the @RUNNING@ state. Tasks for services that use a load balancer are considered healthy if they are in the @RUNNING@ state and the container instance they are hosted on is reported as healthy by the load balancer.------ * The @maximumPercent@ parameter represents an upper limit on the number of running tasks during a deployment, which enables you to define the deployment batch size. For example, if @desiredCount@ is four tasks, a maximum of 200% starts four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available).------------ When 'UpdateService' stops a task during a deployment, the equivalent of @docker stop@ is issued to the containers running in the task. This results in a @SIGTERM@ and a 30-second timeout, after which @SIGKILL@ is sent and the containers are forcibly stopped. If the container handles the @SIGTERM@ gracefully and exits within 30 seconds from receiving it, no @SIGKILL@ is sent.------ When the service scheduler launches new tasks, it determines task placement in your cluster with the following logic:------ * Determine which of the container instances in your cluster can support your service's task definition (for example, they have the required CPU, memory, ports, and container instance attributes).------ * By default, the service scheduler attempts to balance tasks across Availability Zones in this manner (although you can choose a different placement strategy):------ * Sort the valid container instances by the fewest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have zero, valid container instances in either zone B or C are considered optimal for placement.------ * Place the new service task on a valid container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the fewest number of running tasks for this service.------------------ When the service scheduler stops running tasks, it attempts to maintain balance across the Availability Zones in your cluster using the following logic:------ * Sort the container instances by the largest number of running tasks for this service in the same Availability Zone as the instance. For example, if zone A has one running service task and zones B and C each have two, container instances in either zone B or C are considered optimal for termination.------ * Stop the task on a container instance in an optimal Availability Zone (based on the previous steps), favoring container instances with the largest number of running tasks for this service.----------module Network.AWS.ECS.UpdateService- (- -- * Creating a Request- updateService- , UpdateService- -- * Request Lenses- , usCluster- , usPlatformVersion- , usDesiredCount- , usForceNewDeployment- , usTaskDefinition- , usHealthCheckGracePeriodSeconds- , usNetworkConfiguration- , usDeploymentConfiguration- , usService-- -- * Destructuring the Response- , updateServiceResponse- , UpdateServiceResponse- -- * Response Lenses- , usrsService- , usrsResponseStatus- ) where--import Network.AWS.ECS.Types-import Network.AWS.ECS.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateService' smart constructor.-data UpdateService = UpdateService'- { _usCluster :: !(Maybe Text)- , _usPlatformVersion :: !(Maybe Text)- , _usDesiredCount :: !(Maybe Int)- , _usForceNewDeployment :: !(Maybe Bool)- , _usTaskDefinition :: !(Maybe Text)- , _usHealthCheckGracePeriodSeconds :: !(Maybe Int)- , _usNetworkConfiguration :: !(Maybe NetworkConfiguration)- , _usDeploymentConfiguration :: !(Maybe DeploymentConfiguration)- , _usService :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateService' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'usCluster' - The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed.------ * 'usPlatformVersion' - The platform version you want to update your service to run.------ * 'usDesiredCount' - The number of instantiations of the task to place and keep running in your service.------ * 'usForceNewDeployment' - Whether to force a new deployment of the service. Deployments are not forced by default. You can use this option to trigger a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination (@my_image:latest@ ) or to roll Fargate tasks onto a newer platform version.------ * 'usTaskDefinition' - The @family@ and @revision@ (@family:revision@ ) or full ARN of the task definition to run in your service. If a @revision@ is not specified, the latest @ACTIVE@ revision is used. If you modify the task definition with @UpdateService@ , Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running.------ * 'usHealthCheckGracePeriodSeconds' - The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 1,800 seconds during which the ECS service scheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.------ * 'usNetworkConfiguration' - The network configuration for the service. This parameter is required for task definitions that use the @awsvpc@ network mode to receive their own elastic network interface, and it is not supported for other network modes. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking> in the /Amazon Elastic Container Service Developer Guide/ .------ * 'usDeploymentConfiguration' - Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.------ * 'usService' - The name of the service to update.-updateService- :: Text -- ^ 'usService'- -> UpdateService-updateService pService_ =- UpdateService'- { _usCluster = Nothing- , _usPlatformVersion = Nothing- , _usDesiredCount = Nothing- , _usForceNewDeployment = Nothing- , _usTaskDefinition = Nothing- , _usHealthCheckGracePeriodSeconds = Nothing- , _usNetworkConfiguration = Nothing- , _usDeploymentConfiguration = Nothing- , _usService = pService_- }----- | The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed.-usCluster :: Lens' UpdateService (Maybe Text)-usCluster = lens _usCluster (\ s a -> s{_usCluster = a})---- | The platform version you want to update your service to run.-usPlatformVersion :: Lens' UpdateService (Maybe Text)-usPlatformVersion = lens _usPlatformVersion (\ s a -> s{_usPlatformVersion = a})---- | The number of instantiations of the task to place and keep running in your service.-usDesiredCount :: Lens' UpdateService (Maybe Int)-usDesiredCount = lens _usDesiredCount (\ s a -> s{_usDesiredCount = a})---- | Whether to force a new deployment of the service. Deployments are not forced by default. You can use this option to trigger a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination (@my_image:latest@ ) or to roll Fargate tasks onto a newer platform version.-usForceNewDeployment :: Lens' UpdateService (Maybe Bool)-usForceNewDeployment = lens _usForceNewDeployment (\ s a -> s{_usForceNewDeployment = a})---- | The @family@ and @revision@ (@family:revision@ ) or full ARN of the task definition to run in your service. If a @revision@ is not specified, the latest @ACTIVE@ revision is used. If you modify the task definition with @UpdateService@ , Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running.-usTaskDefinition :: Lens' UpdateService (Maybe Text)-usTaskDefinition = lens _usTaskDefinition (\ s a -> s{_usTaskDefinition = a})---- | The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 1,800 seconds during which the ECS service scheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.-usHealthCheckGracePeriodSeconds :: Lens' UpdateService (Maybe Int)-usHealthCheckGracePeriodSeconds = lens _usHealthCheckGracePeriodSeconds (\ s a -> s{_usHealthCheckGracePeriodSeconds = a})---- | The network configuration for the service. This parameter is required for task definitions that use the @awsvpc@ network mode to receive their own elastic network interface, and it is not supported for other network modes. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html Task Networking> in the /Amazon Elastic Container Service Developer Guide/ .-usNetworkConfiguration :: Lens' UpdateService (Maybe NetworkConfiguration)-usNetworkConfiguration = lens _usNetworkConfiguration (\ s a -> s{_usNetworkConfiguration = a})---- | Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.-usDeploymentConfiguration :: Lens' UpdateService (Maybe DeploymentConfiguration)-usDeploymentConfiguration = lens _usDeploymentConfiguration (\ s a -> s{_usDeploymentConfiguration = a})---- | The name of the service to update.-usService :: Lens' UpdateService Text-usService = lens _usService (\ s a -> s{_usService = a})--instance AWSRequest UpdateService where- type Rs UpdateService = UpdateServiceResponse- request = postJSON ecs- response- = receiveJSON- (\ s h x ->- UpdateServiceResponse' <$>- (x .?> "service") <*> (pure (fromEnum s)))--instance Hashable UpdateService where--instance NFData UpdateService where--instance ToHeaders UpdateService where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonEC2ContainerServiceV20141113.UpdateService"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateService where- toJSON UpdateService'{..}- = object- (catMaybes- [("cluster" .=) <$> _usCluster,- ("platformVersion" .=) <$> _usPlatformVersion,- ("desiredCount" .=) <$> _usDesiredCount,- ("forceNewDeployment" .=) <$> _usForceNewDeployment,- ("taskDefinition" .=) <$> _usTaskDefinition,- ("healthCheckGracePeriodSeconds" .=) <$>- _usHealthCheckGracePeriodSeconds,- ("networkConfiguration" .=) <$>- _usNetworkConfiguration,- ("deploymentConfiguration" .=) <$>- _usDeploymentConfiguration,- Just ("service" .= _usService)])--instance ToPath UpdateService where- toPath = const "/"--instance ToQuery UpdateService where- toQuery = const mempty---- | /See:/ 'updateServiceResponse' smart constructor.-data UpdateServiceResponse = UpdateServiceResponse'- { _usrsService :: !(Maybe ContainerService)- , _usrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateServiceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'usrsService' - The full description of your service following the update call.------ * 'usrsResponseStatus' - -- | The response status code.-updateServiceResponse- :: Int -- ^ 'usrsResponseStatus'- -> UpdateServiceResponse-updateServiceResponse pResponseStatus_ =- UpdateServiceResponse'- {_usrsService = Nothing, _usrsResponseStatus = pResponseStatus_}----- | The full description of your service following the update call.-usrsService :: Lens' UpdateServiceResponse (Maybe ContainerService)-usrsService = lens _usrsService (\ s a -> s{_usrsService = a})---- | -- | The response status code.-usrsResponseStatus :: Lens' UpdateServiceResponse Int-usrsResponseStatus = lens _usrsResponseStatus (\ s a -> s{_usrsResponseStatus = a})--instance NFData UpdateServiceResponse where
− gen/Network/AWS/ECS/Waiters.hs
@@ -1,84 +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.ECS.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.ECS.Waiters where--import Network.AWS.ECS.DescribeServices-import Network.AWS.ECS.DescribeTasks-import Network.AWS.ECS.DescribeTasks-import Network.AWS.ECS.Types-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Waiter---- | Polls 'Network.AWS.ECS.DescribeServices' every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.-servicesInactive :: Wait DescribeServices-servicesInactive =- Wait- { _waitName = "ServicesInactive"- , _waitAttempts = 40- , _waitDelay = 15- , _waitAcceptors =- [ matchAny- "MISSING"- AcceptFailure- (folding (concatOf dssrsFailures) . fReason . _Just . to toTextCI)- , matchAny- "INACTIVE"- AcceptSuccess- (folding (concatOf dssrsServices) . csStatus . _Just . to toTextCI)- ]- }----- | Polls 'Network.AWS.ECS.DescribeTasks' every 6 seconds until a successful state is reached. An error is returned after 100 failed checks.-tasksRunning :: Wait DescribeTasks-tasksRunning =- Wait- { _waitName = "TasksRunning"- , _waitAttempts = 100- , _waitDelay = 6- , _waitAcceptors =- [ matchAny- "STOPPED"- AcceptFailure- (folding (concatOf dtrsTasks) . tLastStatus . _Just . to toTextCI)- , matchAny- "MISSING"- AcceptFailure- (folding (concatOf dtrsFailures) . fReason . _Just . to toTextCI)- , matchAll- "RUNNING"- AcceptSuccess- (folding (concatOf dtrsTasks) . tLastStatus . _Just . to toTextCI)- ]- }----- | Polls 'Network.AWS.ECS.DescribeTasks' every 6 seconds until a successful state is reached. An error is returned after 100 failed checks.-tasksStopped :: Wait DescribeTasks-tasksStopped =- Wait- { _waitName = "TasksStopped"- , _waitAttempts = 100- , _waitDelay = 6- , _waitAcceptors =- [ matchAll- "STOPPED"- AcceptSuccess- (folding (concatOf dtrsTasks) . tLastStatus . _Just . 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.ECS+import Test.Amazonka.ECS.Internal import Test.Tasty-import Test.AWS.ECS-import Test.AWS.ECS.Internal main :: IO ()-main = defaultMain $ testGroup "ECS"- [ testGroup "tests" tests- , testGroup "fixtures" fixtures- ]+main =+ defaultMain $+ testGroup+ "ECS"+ [ testGroup "tests" tests,+ testGroup "fixtures" fixtures+ ]
− test/Test/AWS/ECS.hs
@@ -1,26 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Module : Test.AWS.ECS--- Copyright : (c) 2013-2018 Brendan Hay--- License : This Source Code Form is subject to the terms of--- the Mozilla Public License, v. 2.0.--- A copy of the MPL can be found in the LICENSE file or--- you can obtain it at http://mozilla.org/MPL/2.0/.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : experimental--- Portability : non-portable (GHC extensions)--module Test.AWS.ECS- ( tests- , fixtures- ) where--import Network.AWS.ECS-import Test.AWS.Gen.ECS-import Test.Tasty--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/ECS/Internal.hs
@@ -1,16 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Module : Test.AWS.ECS.Internal--- Copyright : (c) 2013-2018 Brendan Hay--- License : This Source Code Form is subject to the terms of--- the Mozilla Public License, v. 2.0.--- A copy of the MPL can be found in the LICENSE file or--- you can obtain it at http://mozilla.org/MPL/2.0/.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : experimental--- Portability : non-portable (GHC extensions)--module Test.AWS.ECS.Internal where--import Test.AWS.Prelude
− test/Test/AWS/Gen/ECS.hs
@@ -1,597 +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.ECS--- 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.ECS where--import Data.Proxy-import Network.AWS.ECS-import Test.AWS.ECS.Internal-import Test.AWS.Fixture-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"--- [ requestListServices $--- listServices------ , requestDescribeClusters $--- describeClusters------ , requestDeleteService $--- deleteService------ , requestUpdateService $--- updateService------ , requestDiscoverPollEndpoint $--- discoverPollEndpoint------ , requestSubmitContainerStateChange $--- submitContainerStateChange------ , requestStopTask $--- stopTask------ , requestDescribeTaskDefinition $--- describeTaskDefinition------ , requestSubmitTaskStateChange $--- submitTaskStateChange------ , requestDescribeContainerInstances $--- describeContainerInstances------ , requestUpdateContainerInstancesState $--- updateContainerInstancesState------ , requestDeleteCluster $--- deleteCluster------ , requestCreateCluster $--- createCluster------ , requestListTaskDefinitions $--- listTaskDefinitions------ , requestRunTask $--- runTask------ , requestListTasks $--- listTasks------ , requestRegisterContainerInstance $--- registerContainerInstance------ , requestUpdateContainerAgent $--- updateContainerAgent------ , requestListContainerInstances $--- listContainerInstances------ , requestListTaskDefinitionFamilies $--- listTaskDefinitionFamilies------ , requestStartTask $--- startTask------ , requestListAttributes $--- listAttributes------ , requestDeregisterTaskDefinition $--- deregisterTaskDefinition------ , requestDescribeTasks $--- describeTasks------ , requestListClusters $--- listClusters------ , requestDescribeServices $--- describeServices------ , requestDeregisterContainerInstance $--- deregisterContainerInstance------ , requestDeleteAttributes $--- deleteAttributes------ , requestPutAttributes $--- putAttributes------ , requestRegisterTaskDefinition $--- registerTaskDefinition------ , requestCreateService $--- createService------ ]---- , testGroup "response"--- [ responseListServices $--- listServicesResponse------ , responseDescribeClusters $--- describeClustersResponse------ , responseDeleteService $--- deleteServiceResponse------ , responseUpdateService $--- updateServiceResponse------ , responseDiscoverPollEndpoint $--- discoverPollEndpointResponse------ , responseSubmitContainerStateChange $--- submitContainerStateChangeResponse------ , responseStopTask $--- stopTaskResponse------ , responseDescribeTaskDefinition $--- describeTaskDefinitionResponse------ , responseSubmitTaskStateChange $--- submitTaskStateChangeResponse------ , responseDescribeContainerInstances $--- describeContainerInstancesResponse------ , responseUpdateContainerInstancesState $--- updateContainerInstancesStateResponse------ , responseDeleteCluster $--- deleteClusterResponse------ , responseCreateCluster $--- createClusterResponse------ , responseListTaskDefinitions $--- listTaskDefinitionsResponse------ , responseRunTask $--- runTaskResponse------ , responseListTasks $--- listTasksResponse------ , responseRegisterContainerInstance $--- registerContainerInstanceResponse------ , responseUpdateContainerAgent $--- updateContainerAgentResponse------ , responseListContainerInstances $--- listContainerInstancesResponse------ , responseListTaskDefinitionFamilies $--- listTaskDefinitionFamiliesResponse------ , responseStartTask $--- startTaskResponse------ , responseListAttributes $--- listAttributesResponse------ , responseDeregisterTaskDefinition $--- deregisterTaskDefinitionResponse------ , responseDescribeTasks $--- describeTasksResponse------ , responseListClusters $--- listClustersResponse------ , responseDescribeServices $--- describeServicesResponse------ , responseDeregisterContainerInstance $--- deregisterContainerInstanceResponse------ , responseDeleteAttributes $--- deleteAttributesResponse------ , responsePutAttributes $--- putAttributesResponse------ , responseRegisterTaskDefinition $--- registerTaskDefinitionResponse------ , responseCreateService $--- createServiceResponse------ ]--- ]---- Requests--requestListServices :: ListServices -> TestTree-requestListServices = req- "ListServices"- "fixture/ListServices.yaml"--requestDescribeClusters :: DescribeClusters -> TestTree-requestDescribeClusters = req- "DescribeClusters"- "fixture/DescribeClusters.yaml"--requestDeleteService :: DeleteService -> TestTree-requestDeleteService = req- "DeleteService"- "fixture/DeleteService.yaml"--requestUpdateService :: UpdateService -> TestTree-requestUpdateService = req- "UpdateService"- "fixture/UpdateService.yaml"--requestDiscoverPollEndpoint :: DiscoverPollEndpoint -> TestTree-requestDiscoverPollEndpoint = req- "DiscoverPollEndpoint"- "fixture/DiscoverPollEndpoint.yaml"--requestSubmitContainerStateChange :: SubmitContainerStateChange -> TestTree-requestSubmitContainerStateChange = req- "SubmitContainerStateChange"- "fixture/SubmitContainerStateChange.yaml"--requestStopTask :: StopTask -> TestTree-requestStopTask = req- "StopTask"- "fixture/StopTask.yaml"--requestDescribeTaskDefinition :: DescribeTaskDefinition -> TestTree-requestDescribeTaskDefinition = req- "DescribeTaskDefinition"- "fixture/DescribeTaskDefinition.yaml"--requestSubmitTaskStateChange :: SubmitTaskStateChange -> TestTree-requestSubmitTaskStateChange = req- "SubmitTaskStateChange"- "fixture/SubmitTaskStateChange.yaml"--requestDescribeContainerInstances :: DescribeContainerInstances -> TestTree-requestDescribeContainerInstances = req- "DescribeContainerInstances"- "fixture/DescribeContainerInstances.yaml"--requestUpdateContainerInstancesState :: UpdateContainerInstancesState -> TestTree-requestUpdateContainerInstancesState = req- "UpdateContainerInstancesState"- "fixture/UpdateContainerInstancesState.yaml"--requestDeleteCluster :: DeleteCluster -> TestTree-requestDeleteCluster = req- "DeleteCluster"- "fixture/DeleteCluster.yaml"--requestCreateCluster :: CreateCluster -> TestTree-requestCreateCluster = req- "CreateCluster"- "fixture/CreateCluster.yaml"--requestListTaskDefinitions :: ListTaskDefinitions -> TestTree-requestListTaskDefinitions = req- "ListTaskDefinitions"- "fixture/ListTaskDefinitions.yaml"--requestRunTask :: RunTask -> TestTree-requestRunTask = req- "RunTask"- "fixture/RunTask.yaml"--requestListTasks :: ListTasks -> TestTree-requestListTasks = req- "ListTasks"- "fixture/ListTasks.yaml"--requestRegisterContainerInstance :: RegisterContainerInstance -> TestTree-requestRegisterContainerInstance = req- "RegisterContainerInstance"- "fixture/RegisterContainerInstance.yaml"--requestUpdateContainerAgent :: UpdateContainerAgent -> TestTree-requestUpdateContainerAgent = req- "UpdateContainerAgent"- "fixture/UpdateContainerAgent.yaml"--requestListContainerInstances :: ListContainerInstances -> TestTree-requestListContainerInstances = req- "ListContainerInstances"- "fixture/ListContainerInstances.yaml"--requestListTaskDefinitionFamilies :: ListTaskDefinitionFamilies -> TestTree-requestListTaskDefinitionFamilies = req- "ListTaskDefinitionFamilies"- "fixture/ListTaskDefinitionFamilies.yaml"--requestStartTask :: StartTask -> TestTree-requestStartTask = req- "StartTask"- "fixture/StartTask.yaml"--requestListAttributes :: ListAttributes -> TestTree-requestListAttributes = req- "ListAttributes"- "fixture/ListAttributes.yaml"--requestDeregisterTaskDefinition :: DeregisterTaskDefinition -> TestTree-requestDeregisterTaskDefinition = req- "DeregisterTaskDefinition"- "fixture/DeregisterTaskDefinition.yaml"--requestDescribeTasks :: DescribeTasks -> TestTree-requestDescribeTasks = req- "DescribeTasks"- "fixture/DescribeTasks.yaml"--requestListClusters :: ListClusters -> TestTree-requestListClusters = req- "ListClusters"- "fixture/ListClusters.yaml"--requestDescribeServices :: DescribeServices -> TestTree-requestDescribeServices = req- "DescribeServices"- "fixture/DescribeServices.yaml"--requestDeregisterContainerInstance :: DeregisterContainerInstance -> TestTree-requestDeregisterContainerInstance = req- "DeregisterContainerInstance"- "fixture/DeregisterContainerInstance.yaml"--requestDeleteAttributes :: DeleteAttributes -> TestTree-requestDeleteAttributes = req- "DeleteAttributes"- "fixture/DeleteAttributes.yaml"--requestPutAttributes :: PutAttributes -> TestTree-requestPutAttributes = req- "PutAttributes"- "fixture/PutAttributes.yaml"--requestRegisterTaskDefinition :: RegisterTaskDefinition -> TestTree-requestRegisterTaskDefinition = req- "RegisterTaskDefinition"- "fixture/RegisterTaskDefinition.yaml"--requestCreateService :: CreateService -> TestTree-requestCreateService = req- "CreateService"- "fixture/CreateService.yaml"---- Responses--responseListServices :: ListServicesResponse -> TestTree-responseListServices = res- "ListServicesResponse"- "fixture/ListServicesResponse.proto"- ecs- (Proxy :: Proxy ListServices)--responseDescribeClusters :: DescribeClustersResponse -> TestTree-responseDescribeClusters = res- "DescribeClustersResponse"- "fixture/DescribeClustersResponse.proto"- ecs- (Proxy :: Proxy DescribeClusters)--responseDeleteService :: DeleteServiceResponse -> TestTree-responseDeleteService = res- "DeleteServiceResponse"- "fixture/DeleteServiceResponse.proto"- ecs- (Proxy :: Proxy DeleteService)--responseUpdateService :: UpdateServiceResponse -> TestTree-responseUpdateService = res- "UpdateServiceResponse"- "fixture/UpdateServiceResponse.proto"- ecs- (Proxy :: Proxy UpdateService)--responseDiscoverPollEndpoint :: DiscoverPollEndpointResponse -> TestTree-responseDiscoverPollEndpoint = res- "DiscoverPollEndpointResponse"- "fixture/DiscoverPollEndpointResponse.proto"- ecs- (Proxy :: Proxy DiscoverPollEndpoint)--responseSubmitContainerStateChange :: SubmitContainerStateChangeResponse -> TestTree-responseSubmitContainerStateChange = res- "SubmitContainerStateChangeResponse"- "fixture/SubmitContainerStateChangeResponse.proto"- ecs- (Proxy :: Proxy SubmitContainerStateChange)--responseStopTask :: StopTaskResponse -> TestTree-responseStopTask = res- "StopTaskResponse"- "fixture/StopTaskResponse.proto"- ecs- (Proxy :: Proxy StopTask)--responseDescribeTaskDefinition :: DescribeTaskDefinitionResponse -> TestTree-responseDescribeTaskDefinition = res- "DescribeTaskDefinitionResponse"- "fixture/DescribeTaskDefinitionResponse.proto"- ecs- (Proxy :: Proxy DescribeTaskDefinition)--responseSubmitTaskStateChange :: SubmitTaskStateChangeResponse -> TestTree-responseSubmitTaskStateChange = res- "SubmitTaskStateChangeResponse"- "fixture/SubmitTaskStateChangeResponse.proto"- ecs- (Proxy :: Proxy SubmitTaskStateChange)--responseDescribeContainerInstances :: DescribeContainerInstancesResponse -> TestTree-responseDescribeContainerInstances = res- "DescribeContainerInstancesResponse"- "fixture/DescribeContainerInstancesResponse.proto"- ecs- (Proxy :: Proxy DescribeContainerInstances)--responseUpdateContainerInstancesState :: UpdateContainerInstancesStateResponse -> TestTree-responseUpdateContainerInstancesState = res- "UpdateContainerInstancesStateResponse"- "fixture/UpdateContainerInstancesStateResponse.proto"- ecs- (Proxy :: Proxy UpdateContainerInstancesState)--responseDeleteCluster :: DeleteClusterResponse -> TestTree-responseDeleteCluster = res- "DeleteClusterResponse"- "fixture/DeleteClusterResponse.proto"- ecs- (Proxy :: Proxy DeleteCluster)--responseCreateCluster :: CreateClusterResponse -> TestTree-responseCreateCluster = res- "CreateClusterResponse"- "fixture/CreateClusterResponse.proto"- ecs- (Proxy :: Proxy CreateCluster)--responseListTaskDefinitions :: ListTaskDefinitionsResponse -> TestTree-responseListTaskDefinitions = res- "ListTaskDefinitionsResponse"- "fixture/ListTaskDefinitionsResponse.proto"- ecs- (Proxy :: Proxy ListTaskDefinitions)--responseRunTask :: RunTaskResponse -> TestTree-responseRunTask = res- "RunTaskResponse"- "fixture/RunTaskResponse.proto"- ecs- (Proxy :: Proxy RunTask)--responseListTasks :: ListTasksResponse -> TestTree-responseListTasks = res- "ListTasksResponse"- "fixture/ListTasksResponse.proto"- ecs- (Proxy :: Proxy ListTasks)--responseRegisterContainerInstance :: RegisterContainerInstanceResponse -> TestTree-responseRegisterContainerInstance = res- "RegisterContainerInstanceResponse"- "fixture/RegisterContainerInstanceResponse.proto"- ecs- (Proxy :: Proxy RegisterContainerInstance)--responseUpdateContainerAgent :: UpdateContainerAgentResponse -> TestTree-responseUpdateContainerAgent = res- "UpdateContainerAgentResponse"- "fixture/UpdateContainerAgentResponse.proto"- ecs- (Proxy :: Proxy UpdateContainerAgent)--responseListContainerInstances :: ListContainerInstancesResponse -> TestTree-responseListContainerInstances = res- "ListContainerInstancesResponse"- "fixture/ListContainerInstancesResponse.proto"- ecs- (Proxy :: Proxy ListContainerInstances)--responseListTaskDefinitionFamilies :: ListTaskDefinitionFamiliesResponse -> TestTree-responseListTaskDefinitionFamilies = res- "ListTaskDefinitionFamiliesResponse"- "fixture/ListTaskDefinitionFamiliesResponse.proto"- ecs- (Proxy :: Proxy ListTaskDefinitionFamilies)--responseStartTask :: StartTaskResponse -> TestTree-responseStartTask = res- "StartTaskResponse"- "fixture/StartTaskResponse.proto"- ecs- (Proxy :: Proxy StartTask)--responseListAttributes :: ListAttributesResponse -> TestTree-responseListAttributes = res- "ListAttributesResponse"- "fixture/ListAttributesResponse.proto"- ecs- (Proxy :: Proxy ListAttributes)--responseDeregisterTaskDefinition :: DeregisterTaskDefinitionResponse -> TestTree-responseDeregisterTaskDefinition = res- "DeregisterTaskDefinitionResponse"- "fixture/DeregisterTaskDefinitionResponse.proto"- ecs- (Proxy :: Proxy DeregisterTaskDefinition)--responseDescribeTasks :: DescribeTasksResponse -> TestTree-responseDescribeTasks = res- "DescribeTasksResponse"- "fixture/DescribeTasksResponse.proto"- ecs- (Proxy :: Proxy DescribeTasks)--responseListClusters :: ListClustersResponse -> TestTree-responseListClusters = res- "ListClustersResponse"- "fixture/ListClustersResponse.proto"- ecs- (Proxy :: Proxy ListClusters)--responseDescribeServices :: DescribeServicesResponse -> TestTree-responseDescribeServices = res- "DescribeServicesResponse"- "fixture/DescribeServicesResponse.proto"- ecs- (Proxy :: Proxy DescribeServices)--responseDeregisterContainerInstance :: DeregisterContainerInstanceResponse -> TestTree-responseDeregisterContainerInstance = res- "DeregisterContainerInstanceResponse"- "fixture/DeregisterContainerInstanceResponse.proto"- ecs- (Proxy :: Proxy DeregisterContainerInstance)--responseDeleteAttributes :: DeleteAttributesResponse -> TestTree-responseDeleteAttributes = res- "DeleteAttributesResponse"- "fixture/DeleteAttributesResponse.proto"- ecs- (Proxy :: Proxy DeleteAttributes)--responsePutAttributes :: PutAttributesResponse -> TestTree-responsePutAttributes = res- "PutAttributesResponse"- "fixture/PutAttributesResponse.proto"- ecs- (Proxy :: Proxy PutAttributes)--responseRegisterTaskDefinition :: RegisterTaskDefinitionResponse -> TestTree-responseRegisterTaskDefinition = res- "RegisterTaskDefinitionResponse"- "fixture/RegisterTaskDefinitionResponse.proto"- ecs- (Proxy :: Proxy RegisterTaskDefinition)--responseCreateService :: CreateServiceResponse -> TestTree-responseCreateService = res- "CreateServiceResponse"- "fixture/CreateServiceResponse.proto"- ecs- (Proxy :: Proxy CreateService)
+ test/Test/Amazonka/ECS.hs view
@@ -0,0 +1,20 @@+-- |+-- Module : Test.Amazonka.ECS+-- 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.ECS+ ( tests,+ fixtures,+ )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/ECS/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module : Test.Amazonka.ECS.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.ECS.Internal where
+ test/Test/Amazonka/Gen/ECS.hs view
@@ -0,0 +1,1138 @@+{-# 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.ECS+-- 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.ECS where++import Amazonka.ECS+import qualified Data.Proxy as Proxy+import Test.Amazonka.ECS.Internal+import Test.Amazonka.Fixture+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"+-- [ requestCreateCapacityProvider $+-- newCreateCapacityProvider+--+-- , requestCreateCluster $+-- newCreateCluster+--+-- , requestCreateService $+-- newCreateService+--+-- , requestCreateTaskSet $+-- newCreateTaskSet+--+-- , requestDeleteAccountSetting $+-- newDeleteAccountSetting+--+-- , requestDeleteAttributes $+-- newDeleteAttributes+--+-- , requestDeleteCapacityProvider $+-- newDeleteCapacityProvider+--+-- , requestDeleteCluster $+-- newDeleteCluster+--+-- , requestDeleteService $+-- newDeleteService+--+-- , requestDeleteTaskSet $+-- newDeleteTaskSet+--+-- , requestDeregisterContainerInstance $+-- newDeregisterContainerInstance+--+-- , requestDeregisterTaskDefinition $+-- newDeregisterTaskDefinition+--+-- , requestDescribeCapacityProviders $+-- newDescribeCapacityProviders+--+-- , requestDescribeClusters $+-- newDescribeClusters+--+-- , requestDescribeContainerInstances $+-- newDescribeContainerInstances+--+-- , requestDescribeServices $+-- newDescribeServices+--+-- , requestDescribeTaskDefinition $+-- newDescribeTaskDefinition+--+-- , requestDescribeTaskSets $+-- newDescribeTaskSets+--+-- , requestDescribeTasks $+-- newDescribeTasks+--+-- , requestDiscoverPollEndpoint $+-- newDiscoverPollEndpoint+--+-- , requestExecuteCommand $+-- newExecuteCommand+--+-- , requestGetTaskProtection $+-- newGetTaskProtection+--+-- , requestListAccountSettings $+-- newListAccountSettings+--+-- , requestListAttributes $+-- newListAttributes+--+-- , requestListClusters $+-- newListClusters+--+-- , requestListContainerInstances $+-- newListContainerInstances+--+-- , requestListServices $+-- newListServices+--+-- , requestListServicesByNamespace $+-- newListServicesByNamespace+--+-- , requestListTagsForResource $+-- newListTagsForResource+--+-- , requestListTaskDefinitionFamilies $+-- newListTaskDefinitionFamilies+--+-- , requestListTaskDefinitions $+-- newListTaskDefinitions+--+-- , requestListTasks $+-- newListTasks+--+-- , requestPutAccountSetting $+-- newPutAccountSetting+--+-- , requestPutAccountSettingDefault $+-- newPutAccountSettingDefault+--+-- , requestPutAttributes $+-- newPutAttributes+--+-- , requestPutClusterCapacityProviders $+-- newPutClusterCapacityProviders+--+-- , requestRegisterContainerInstance $+-- newRegisterContainerInstance+--+-- , requestRegisterTaskDefinition $+-- newRegisterTaskDefinition+--+-- , requestRunTask $+-- newRunTask+--+-- , requestStartTask $+-- newStartTask+--+-- , requestStopTask $+-- newStopTask+--+-- , requestSubmitAttachmentStateChanges $+-- newSubmitAttachmentStateChanges+--+-- , requestSubmitContainerStateChange $+-- newSubmitContainerStateChange+--+-- , requestSubmitTaskStateChange $+-- newSubmitTaskStateChange+--+-- , requestTagResource $+-- newTagResource+--+-- , requestUntagResource $+-- newUntagResource+--+-- , requestUpdateCapacityProvider $+-- newUpdateCapacityProvider+--+-- , requestUpdateCluster $+-- newUpdateCluster+--+-- , requestUpdateClusterSettings $+-- newUpdateClusterSettings+--+-- , requestUpdateContainerAgent $+-- newUpdateContainerAgent+--+-- , requestUpdateContainerInstancesState $+-- newUpdateContainerInstancesState+--+-- , requestUpdateService $+-- newUpdateService+--+-- , requestUpdateServicePrimaryTaskSet $+-- newUpdateServicePrimaryTaskSet+--+-- , requestUpdateTaskProtection $+-- newUpdateTaskProtection+--+-- , requestUpdateTaskSet $+-- newUpdateTaskSet+--+-- ]++-- , testGroup "response"+-- [ responseCreateCapacityProvider $+-- newCreateCapacityProviderResponse+--+-- , responseCreateCluster $+-- newCreateClusterResponse+--+-- , responseCreateService $+-- newCreateServiceResponse+--+-- , responseCreateTaskSet $+-- newCreateTaskSetResponse+--+-- , responseDeleteAccountSetting $+-- newDeleteAccountSettingResponse+--+-- , responseDeleteAttributes $+-- newDeleteAttributesResponse+--+-- , responseDeleteCapacityProvider $+-- newDeleteCapacityProviderResponse+--+-- , responseDeleteCluster $+-- newDeleteClusterResponse+--+-- , responseDeleteService $+-- newDeleteServiceResponse+--+-- , responseDeleteTaskSet $+-- newDeleteTaskSetResponse+--+-- , responseDeregisterContainerInstance $+-- newDeregisterContainerInstanceResponse+--+-- , responseDeregisterTaskDefinition $+-- newDeregisterTaskDefinitionResponse+--+-- , responseDescribeCapacityProviders $+-- newDescribeCapacityProvidersResponse+--+-- , responseDescribeClusters $+-- newDescribeClustersResponse+--+-- , responseDescribeContainerInstances $+-- newDescribeContainerInstancesResponse+--+-- , responseDescribeServices $+-- newDescribeServicesResponse+--+-- , responseDescribeTaskDefinition $+-- newDescribeTaskDefinitionResponse+--+-- , responseDescribeTaskSets $+-- newDescribeTaskSetsResponse+--+-- , responseDescribeTasks $+-- newDescribeTasksResponse+--+-- , responseDiscoverPollEndpoint $+-- newDiscoverPollEndpointResponse+--+-- , responseExecuteCommand $+-- newExecuteCommandResponse+--+-- , responseGetTaskProtection $+-- newGetTaskProtectionResponse+--+-- , responseListAccountSettings $+-- newListAccountSettingsResponse+--+-- , responseListAttributes $+-- newListAttributesResponse+--+-- , responseListClusters $+-- newListClustersResponse+--+-- , responseListContainerInstances $+-- newListContainerInstancesResponse+--+-- , responseListServices $+-- newListServicesResponse+--+-- , responseListServicesByNamespace $+-- newListServicesByNamespaceResponse+--+-- , responseListTagsForResource $+-- newListTagsForResourceResponse+--+-- , responseListTaskDefinitionFamilies $+-- newListTaskDefinitionFamiliesResponse+--+-- , responseListTaskDefinitions $+-- newListTaskDefinitionsResponse+--+-- , responseListTasks $+-- newListTasksResponse+--+-- , responsePutAccountSetting $+-- newPutAccountSettingResponse+--+-- , responsePutAccountSettingDefault $+-- newPutAccountSettingDefaultResponse+--+-- , responsePutAttributes $+-- newPutAttributesResponse+--+-- , responsePutClusterCapacityProviders $+-- newPutClusterCapacityProvidersResponse+--+-- , responseRegisterContainerInstance $+-- newRegisterContainerInstanceResponse+--+-- , responseRegisterTaskDefinition $+-- newRegisterTaskDefinitionResponse+--+-- , responseRunTask $+-- newRunTaskResponse+--+-- , responseStartTask $+-- newStartTaskResponse+--+-- , responseStopTask $+-- newStopTaskResponse+--+-- , responseSubmitAttachmentStateChanges $+-- newSubmitAttachmentStateChangesResponse+--+-- , responseSubmitContainerStateChange $+-- newSubmitContainerStateChangeResponse+--+-- , responseSubmitTaskStateChange $+-- newSubmitTaskStateChangeResponse+--+-- , responseTagResource $+-- newTagResourceResponse+--+-- , responseUntagResource $+-- newUntagResourceResponse+--+-- , responseUpdateCapacityProvider $+-- newUpdateCapacityProviderResponse+--+-- , responseUpdateCluster $+-- newUpdateClusterResponse+--+-- , responseUpdateClusterSettings $+-- newUpdateClusterSettingsResponse+--+-- , responseUpdateContainerAgent $+-- newUpdateContainerAgentResponse+--+-- , responseUpdateContainerInstancesState $+-- newUpdateContainerInstancesStateResponse+--+-- , responseUpdateService $+-- newUpdateServiceResponse+--+-- , responseUpdateServicePrimaryTaskSet $+-- newUpdateServicePrimaryTaskSetResponse+--+-- , responseUpdateTaskProtection $+-- newUpdateTaskProtectionResponse+--+-- , responseUpdateTaskSet $+-- newUpdateTaskSetResponse+--+-- ]+-- ]++-- Requests++requestCreateCapacityProvider :: CreateCapacityProvider -> TestTree+requestCreateCapacityProvider =+ req+ "CreateCapacityProvider"+ "fixture/CreateCapacityProvider.yaml"++requestCreateCluster :: CreateCluster -> TestTree+requestCreateCluster =+ req+ "CreateCluster"+ "fixture/CreateCluster.yaml"++requestCreateService :: CreateService -> TestTree+requestCreateService =+ req+ "CreateService"+ "fixture/CreateService.yaml"++requestCreateTaskSet :: CreateTaskSet -> TestTree+requestCreateTaskSet =+ req+ "CreateTaskSet"+ "fixture/CreateTaskSet.yaml"++requestDeleteAccountSetting :: DeleteAccountSetting -> TestTree+requestDeleteAccountSetting =+ req+ "DeleteAccountSetting"+ "fixture/DeleteAccountSetting.yaml"++requestDeleteAttributes :: DeleteAttributes -> TestTree+requestDeleteAttributes =+ req+ "DeleteAttributes"+ "fixture/DeleteAttributes.yaml"++requestDeleteCapacityProvider :: DeleteCapacityProvider -> TestTree+requestDeleteCapacityProvider =+ req+ "DeleteCapacityProvider"+ "fixture/DeleteCapacityProvider.yaml"++requestDeleteCluster :: DeleteCluster -> TestTree+requestDeleteCluster =+ req+ "DeleteCluster"+ "fixture/DeleteCluster.yaml"++requestDeleteService :: DeleteService -> TestTree+requestDeleteService =+ req+ "DeleteService"+ "fixture/DeleteService.yaml"++requestDeleteTaskSet :: DeleteTaskSet -> TestTree+requestDeleteTaskSet =+ req+ "DeleteTaskSet"+ "fixture/DeleteTaskSet.yaml"++requestDeregisterContainerInstance :: DeregisterContainerInstance -> TestTree+requestDeregisterContainerInstance =+ req+ "DeregisterContainerInstance"+ "fixture/DeregisterContainerInstance.yaml"++requestDeregisterTaskDefinition :: DeregisterTaskDefinition -> TestTree+requestDeregisterTaskDefinition =+ req+ "DeregisterTaskDefinition"+ "fixture/DeregisterTaskDefinition.yaml"++requestDescribeCapacityProviders :: DescribeCapacityProviders -> TestTree+requestDescribeCapacityProviders =+ req+ "DescribeCapacityProviders"+ "fixture/DescribeCapacityProviders.yaml"++requestDescribeClusters :: DescribeClusters -> TestTree+requestDescribeClusters =+ req+ "DescribeClusters"+ "fixture/DescribeClusters.yaml"++requestDescribeContainerInstances :: DescribeContainerInstances -> TestTree+requestDescribeContainerInstances =+ req+ "DescribeContainerInstances"+ "fixture/DescribeContainerInstances.yaml"++requestDescribeServices :: DescribeServices -> TestTree+requestDescribeServices =+ req+ "DescribeServices"+ "fixture/DescribeServices.yaml"++requestDescribeTaskDefinition :: DescribeTaskDefinition -> TestTree+requestDescribeTaskDefinition =+ req+ "DescribeTaskDefinition"+ "fixture/DescribeTaskDefinition.yaml"++requestDescribeTaskSets :: DescribeTaskSets -> TestTree+requestDescribeTaskSets =+ req+ "DescribeTaskSets"+ "fixture/DescribeTaskSets.yaml"++requestDescribeTasks :: DescribeTasks -> TestTree+requestDescribeTasks =+ req+ "DescribeTasks"+ "fixture/DescribeTasks.yaml"++requestDiscoverPollEndpoint :: DiscoverPollEndpoint -> TestTree+requestDiscoverPollEndpoint =+ req+ "DiscoverPollEndpoint"+ "fixture/DiscoverPollEndpoint.yaml"++requestExecuteCommand :: ExecuteCommand -> TestTree+requestExecuteCommand =+ req+ "ExecuteCommand"+ "fixture/ExecuteCommand.yaml"++requestGetTaskProtection :: GetTaskProtection -> TestTree+requestGetTaskProtection =+ req+ "GetTaskProtection"+ "fixture/GetTaskProtection.yaml"++requestListAccountSettings :: ListAccountSettings -> TestTree+requestListAccountSettings =+ req+ "ListAccountSettings"+ "fixture/ListAccountSettings.yaml"++requestListAttributes :: ListAttributes -> TestTree+requestListAttributes =+ req+ "ListAttributes"+ "fixture/ListAttributes.yaml"++requestListClusters :: ListClusters -> TestTree+requestListClusters =+ req+ "ListClusters"+ "fixture/ListClusters.yaml"++requestListContainerInstances :: ListContainerInstances -> TestTree+requestListContainerInstances =+ req+ "ListContainerInstances"+ "fixture/ListContainerInstances.yaml"++requestListServices :: ListServices -> TestTree+requestListServices =+ req+ "ListServices"+ "fixture/ListServices.yaml"++requestListServicesByNamespace :: ListServicesByNamespace -> TestTree+requestListServicesByNamespace =+ req+ "ListServicesByNamespace"+ "fixture/ListServicesByNamespace.yaml"++requestListTagsForResource :: ListTagsForResource -> TestTree+requestListTagsForResource =+ req+ "ListTagsForResource"+ "fixture/ListTagsForResource.yaml"++requestListTaskDefinitionFamilies :: ListTaskDefinitionFamilies -> TestTree+requestListTaskDefinitionFamilies =+ req+ "ListTaskDefinitionFamilies"+ "fixture/ListTaskDefinitionFamilies.yaml"++requestListTaskDefinitions :: ListTaskDefinitions -> TestTree+requestListTaskDefinitions =+ req+ "ListTaskDefinitions"+ "fixture/ListTaskDefinitions.yaml"++requestListTasks :: ListTasks -> TestTree+requestListTasks =+ req+ "ListTasks"+ "fixture/ListTasks.yaml"++requestPutAccountSetting :: PutAccountSetting -> TestTree+requestPutAccountSetting =+ req+ "PutAccountSetting"+ "fixture/PutAccountSetting.yaml"++requestPutAccountSettingDefault :: PutAccountSettingDefault -> TestTree+requestPutAccountSettingDefault =+ req+ "PutAccountSettingDefault"+ "fixture/PutAccountSettingDefault.yaml"++requestPutAttributes :: PutAttributes -> TestTree+requestPutAttributes =+ req+ "PutAttributes"+ "fixture/PutAttributes.yaml"++requestPutClusterCapacityProviders :: PutClusterCapacityProviders -> TestTree+requestPutClusterCapacityProviders =+ req+ "PutClusterCapacityProviders"+ "fixture/PutClusterCapacityProviders.yaml"++requestRegisterContainerInstance :: RegisterContainerInstance -> TestTree+requestRegisterContainerInstance =+ req+ "RegisterContainerInstance"+ "fixture/RegisterContainerInstance.yaml"++requestRegisterTaskDefinition :: RegisterTaskDefinition -> TestTree+requestRegisterTaskDefinition =+ req+ "RegisterTaskDefinition"+ "fixture/RegisterTaskDefinition.yaml"++requestRunTask :: RunTask -> TestTree+requestRunTask =+ req+ "RunTask"+ "fixture/RunTask.yaml"++requestStartTask :: StartTask -> TestTree+requestStartTask =+ req+ "StartTask"+ "fixture/StartTask.yaml"++requestStopTask :: StopTask -> TestTree+requestStopTask =+ req+ "StopTask"+ "fixture/StopTask.yaml"++requestSubmitAttachmentStateChanges :: SubmitAttachmentStateChanges -> TestTree+requestSubmitAttachmentStateChanges =+ req+ "SubmitAttachmentStateChanges"+ "fixture/SubmitAttachmentStateChanges.yaml"++requestSubmitContainerStateChange :: SubmitContainerStateChange -> TestTree+requestSubmitContainerStateChange =+ req+ "SubmitContainerStateChange"+ "fixture/SubmitContainerStateChange.yaml"++requestSubmitTaskStateChange :: SubmitTaskStateChange -> TestTree+requestSubmitTaskStateChange =+ req+ "SubmitTaskStateChange"+ "fixture/SubmitTaskStateChange.yaml"++requestTagResource :: TagResource -> TestTree+requestTagResource =+ req+ "TagResource"+ "fixture/TagResource.yaml"++requestUntagResource :: UntagResource -> TestTree+requestUntagResource =+ req+ "UntagResource"+ "fixture/UntagResource.yaml"++requestUpdateCapacityProvider :: UpdateCapacityProvider -> TestTree+requestUpdateCapacityProvider =+ req+ "UpdateCapacityProvider"+ "fixture/UpdateCapacityProvider.yaml"++requestUpdateCluster :: UpdateCluster -> TestTree+requestUpdateCluster =+ req+ "UpdateCluster"+ "fixture/UpdateCluster.yaml"++requestUpdateClusterSettings :: UpdateClusterSettings -> TestTree+requestUpdateClusterSettings =+ req+ "UpdateClusterSettings"+ "fixture/UpdateClusterSettings.yaml"++requestUpdateContainerAgent :: UpdateContainerAgent -> TestTree+requestUpdateContainerAgent =+ req+ "UpdateContainerAgent"+ "fixture/UpdateContainerAgent.yaml"++requestUpdateContainerInstancesState :: UpdateContainerInstancesState -> TestTree+requestUpdateContainerInstancesState =+ req+ "UpdateContainerInstancesState"+ "fixture/UpdateContainerInstancesState.yaml"++requestUpdateService :: UpdateService -> TestTree+requestUpdateService =+ req+ "UpdateService"+ "fixture/UpdateService.yaml"++requestUpdateServicePrimaryTaskSet :: UpdateServicePrimaryTaskSet -> TestTree+requestUpdateServicePrimaryTaskSet =+ req+ "UpdateServicePrimaryTaskSet"+ "fixture/UpdateServicePrimaryTaskSet.yaml"++requestUpdateTaskProtection :: UpdateTaskProtection -> TestTree+requestUpdateTaskProtection =+ req+ "UpdateTaskProtection"+ "fixture/UpdateTaskProtection.yaml"++requestUpdateTaskSet :: UpdateTaskSet -> TestTree+requestUpdateTaskSet =+ req+ "UpdateTaskSet"+ "fixture/UpdateTaskSet.yaml"++-- Responses++responseCreateCapacityProvider :: CreateCapacityProviderResponse -> TestTree+responseCreateCapacityProvider =+ res+ "CreateCapacityProviderResponse"+ "fixture/CreateCapacityProviderResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateCapacityProvider)++responseCreateCluster :: CreateClusterResponse -> TestTree+responseCreateCluster =+ res+ "CreateClusterResponse"+ "fixture/CreateClusterResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateCluster)++responseCreateService :: CreateServiceResponse -> TestTree+responseCreateService =+ res+ "CreateServiceResponse"+ "fixture/CreateServiceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateService)++responseCreateTaskSet :: CreateTaskSetResponse -> TestTree+responseCreateTaskSet =+ res+ "CreateTaskSetResponse"+ "fixture/CreateTaskSetResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateTaskSet)++responseDeleteAccountSetting :: DeleteAccountSettingResponse -> TestTree+responseDeleteAccountSetting =+ res+ "DeleteAccountSettingResponse"+ "fixture/DeleteAccountSettingResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteAccountSetting)++responseDeleteAttributes :: DeleteAttributesResponse -> TestTree+responseDeleteAttributes =+ res+ "DeleteAttributesResponse"+ "fixture/DeleteAttributesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteAttributes)++responseDeleteCapacityProvider :: DeleteCapacityProviderResponse -> TestTree+responseDeleteCapacityProvider =+ res+ "DeleteCapacityProviderResponse"+ "fixture/DeleteCapacityProviderResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteCapacityProvider)++responseDeleteCluster :: DeleteClusterResponse -> TestTree+responseDeleteCluster =+ res+ "DeleteClusterResponse"+ "fixture/DeleteClusterResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteCluster)++responseDeleteService :: DeleteServiceResponse -> TestTree+responseDeleteService =+ res+ "DeleteServiceResponse"+ "fixture/DeleteServiceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteService)++responseDeleteTaskSet :: DeleteTaskSetResponse -> TestTree+responseDeleteTaskSet =+ res+ "DeleteTaskSetResponse"+ "fixture/DeleteTaskSetResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteTaskSet)++responseDeregisterContainerInstance :: DeregisterContainerInstanceResponse -> TestTree+responseDeregisterContainerInstance =+ res+ "DeregisterContainerInstanceResponse"+ "fixture/DeregisterContainerInstanceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeregisterContainerInstance)++responseDeregisterTaskDefinition :: DeregisterTaskDefinitionResponse -> TestTree+responseDeregisterTaskDefinition =+ res+ "DeregisterTaskDefinitionResponse"+ "fixture/DeregisterTaskDefinitionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeregisterTaskDefinition)++responseDescribeCapacityProviders :: DescribeCapacityProvidersResponse -> TestTree+responseDescribeCapacityProviders =+ res+ "DescribeCapacityProvidersResponse"+ "fixture/DescribeCapacityProvidersResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeCapacityProviders)++responseDescribeClusters :: DescribeClustersResponse -> TestTree+responseDescribeClusters =+ res+ "DescribeClustersResponse"+ "fixture/DescribeClustersResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeClusters)++responseDescribeContainerInstances :: DescribeContainerInstancesResponse -> TestTree+responseDescribeContainerInstances =+ res+ "DescribeContainerInstancesResponse"+ "fixture/DescribeContainerInstancesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeContainerInstances)++responseDescribeServices :: DescribeServicesResponse -> TestTree+responseDescribeServices =+ res+ "DescribeServicesResponse"+ "fixture/DescribeServicesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeServices)++responseDescribeTaskDefinition :: DescribeTaskDefinitionResponse -> TestTree+responseDescribeTaskDefinition =+ res+ "DescribeTaskDefinitionResponse"+ "fixture/DescribeTaskDefinitionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeTaskDefinition)++responseDescribeTaskSets :: DescribeTaskSetsResponse -> TestTree+responseDescribeTaskSets =+ res+ "DescribeTaskSetsResponse"+ "fixture/DescribeTaskSetsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeTaskSets)++responseDescribeTasks :: DescribeTasksResponse -> TestTree+responseDescribeTasks =+ res+ "DescribeTasksResponse"+ "fixture/DescribeTasksResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeTasks)++responseDiscoverPollEndpoint :: DiscoverPollEndpointResponse -> TestTree+responseDiscoverPollEndpoint =+ res+ "DiscoverPollEndpointResponse"+ "fixture/DiscoverPollEndpointResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DiscoverPollEndpoint)++responseExecuteCommand :: ExecuteCommandResponse -> TestTree+responseExecuteCommand =+ res+ "ExecuteCommandResponse"+ "fixture/ExecuteCommandResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ExecuteCommand)++responseGetTaskProtection :: GetTaskProtectionResponse -> TestTree+responseGetTaskProtection =+ res+ "GetTaskProtectionResponse"+ "fixture/GetTaskProtectionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetTaskProtection)++responseListAccountSettings :: ListAccountSettingsResponse -> TestTree+responseListAccountSettings =+ res+ "ListAccountSettingsResponse"+ "fixture/ListAccountSettingsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListAccountSettings)++responseListAttributes :: ListAttributesResponse -> TestTree+responseListAttributes =+ res+ "ListAttributesResponse"+ "fixture/ListAttributesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListAttributes)++responseListClusters :: ListClustersResponse -> TestTree+responseListClusters =+ res+ "ListClustersResponse"+ "fixture/ListClustersResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListClusters)++responseListContainerInstances :: ListContainerInstancesResponse -> TestTree+responseListContainerInstances =+ res+ "ListContainerInstancesResponse"+ "fixture/ListContainerInstancesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListContainerInstances)++responseListServices :: ListServicesResponse -> TestTree+responseListServices =+ res+ "ListServicesResponse"+ "fixture/ListServicesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListServices)++responseListServicesByNamespace :: ListServicesByNamespaceResponse -> TestTree+responseListServicesByNamespace =+ res+ "ListServicesByNamespaceResponse"+ "fixture/ListServicesByNamespaceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListServicesByNamespace)++responseListTagsForResource :: ListTagsForResourceResponse -> TestTree+responseListTagsForResource =+ res+ "ListTagsForResourceResponse"+ "fixture/ListTagsForResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTagsForResource)++responseListTaskDefinitionFamilies :: ListTaskDefinitionFamiliesResponse -> TestTree+responseListTaskDefinitionFamilies =+ res+ "ListTaskDefinitionFamiliesResponse"+ "fixture/ListTaskDefinitionFamiliesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTaskDefinitionFamilies)++responseListTaskDefinitions :: ListTaskDefinitionsResponse -> TestTree+responseListTaskDefinitions =+ res+ "ListTaskDefinitionsResponse"+ "fixture/ListTaskDefinitionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTaskDefinitions)++responseListTasks :: ListTasksResponse -> TestTree+responseListTasks =+ res+ "ListTasksResponse"+ "fixture/ListTasksResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTasks)++responsePutAccountSetting :: PutAccountSettingResponse -> TestTree+responsePutAccountSetting =+ res+ "PutAccountSettingResponse"+ "fixture/PutAccountSettingResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutAccountSetting)++responsePutAccountSettingDefault :: PutAccountSettingDefaultResponse -> TestTree+responsePutAccountSettingDefault =+ res+ "PutAccountSettingDefaultResponse"+ "fixture/PutAccountSettingDefaultResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutAccountSettingDefault)++responsePutAttributes :: PutAttributesResponse -> TestTree+responsePutAttributes =+ res+ "PutAttributesResponse"+ "fixture/PutAttributesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutAttributes)++responsePutClusterCapacityProviders :: PutClusterCapacityProvidersResponse -> TestTree+responsePutClusterCapacityProviders =+ res+ "PutClusterCapacityProvidersResponse"+ "fixture/PutClusterCapacityProvidersResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutClusterCapacityProviders)++responseRegisterContainerInstance :: RegisterContainerInstanceResponse -> TestTree+responseRegisterContainerInstance =+ res+ "RegisterContainerInstanceResponse"+ "fixture/RegisterContainerInstanceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy RegisterContainerInstance)++responseRegisterTaskDefinition :: RegisterTaskDefinitionResponse -> TestTree+responseRegisterTaskDefinition =+ res+ "RegisterTaskDefinitionResponse"+ "fixture/RegisterTaskDefinitionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy RegisterTaskDefinition)++responseRunTask :: RunTaskResponse -> TestTree+responseRunTask =+ res+ "RunTaskResponse"+ "fixture/RunTaskResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy RunTask)++responseStartTask :: StartTaskResponse -> TestTree+responseStartTask =+ res+ "StartTaskResponse"+ "fixture/StartTaskResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StartTask)++responseStopTask :: StopTaskResponse -> TestTree+responseStopTask =+ res+ "StopTaskResponse"+ "fixture/StopTaskResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StopTask)++responseSubmitAttachmentStateChanges :: SubmitAttachmentStateChangesResponse -> TestTree+responseSubmitAttachmentStateChanges =+ res+ "SubmitAttachmentStateChangesResponse"+ "fixture/SubmitAttachmentStateChangesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy SubmitAttachmentStateChanges)++responseSubmitContainerStateChange :: SubmitContainerStateChangeResponse -> TestTree+responseSubmitContainerStateChange =+ res+ "SubmitContainerStateChangeResponse"+ "fixture/SubmitContainerStateChangeResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy SubmitContainerStateChange)++responseSubmitTaskStateChange :: SubmitTaskStateChangeResponse -> TestTree+responseSubmitTaskStateChange =+ res+ "SubmitTaskStateChangeResponse"+ "fixture/SubmitTaskStateChangeResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy SubmitTaskStateChange)++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)++responseUpdateCapacityProvider :: UpdateCapacityProviderResponse -> TestTree+responseUpdateCapacityProvider =+ res+ "UpdateCapacityProviderResponse"+ "fixture/UpdateCapacityProviderResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateCapacityProvider)++responseUpdateCluster :: UpdateClusterResponse -> TestTree+responseUpdateCluster =+ res+ "UpdateClusterResponse"+ "fixture/UpdateClusterResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateCluster)++responseUpdateClusterSettings :: UpdateClusterSettingsResponse -> TestTree+responseUpdateClusterSettings =+ res+ "UpdateClusterSettingsResponse"+ "fixture/UpdateClusterSettingsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateClusterSettings)++responseUpdateContainerAgent :: UpdateContainerAgentResponse -> TestTree+responseUpdateContainerAgent =+ res+ "UpdateContainerAgentResponse"+ "fixture/UpdateContainerAgentResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateContainerAgent)++responseUpdateContainerInstancesState :: UpdateContainerInstancesStateResponse -> TestTree+responseUpdateContainerInstancesState =+ res+ "UpdateContainerInstancesStateResponse"+ "fixture/UpdateContainerInstancesStateResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateContainerInstancesState)++responseUpdateService :: UpdateServiceResponse -> TestTree+responseUpdateService =+ res+ "UpdateServiceResponse"+ "fixture/UpdateServiceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateService)++responseUpdateServicePrimaryTaskSet :: UpdateServicePrimaryTaskSetResponse -> TestTree+responseUpdateServicePrimaryTaskSet =+ res+ "UpdateServicePrimaryTaskSetResponse"+ "fixture/UpdateServicePrimaryTaskSetResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateServicePrimaryTaskSet)++responseUpdateTaskProtection :: UpdateTaskProtectionResponse -> TestTree+responseUpdateTaskProtection =+ res+ "UpdateTaskProtectionResponse"+ "fixture/UpdateTaskProtectionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateTaskProtection)++responseUpdateTaskSet :: UpdateTaskSetResponse -> TestTree+responseUpdateTaskSet =+ res+ "UpdateTaskSetResponse"+ "fixture/UpdateTaskSetResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateTaskSet)