Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes a specific runtime environment.
Synopsis
- data GetEnvironment = GetEnvironment' {}
- newGetEnvironment :: Text -> GetEnvironment
- getEnvironment_environmentId :: Lens' GetEnvironment Text
- data GetEnvironmentResponse = GetEnvironmentResponse' {
- actualCapacity :: Maybe Natural
- description :: Maybe Text
- highAvailabilityConfig :: Maybe HighAvailabilityConfig
- kmsKeyId :: Maybe Text
- loadBalancerArn :: Maybe Text
- pendingMaintenance :: Maybe PendingMaintenance
- preferredMaintenanceWindow :: Maybe Text
- publiclyAccessible :: Maybe Bool
- statusReason :: Maybe Text
- storageConfigurations :: Maybe [StorageConfiguration]
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- creationTime :: POSIX
- engineType :: EngineType
- engineVersion :: Text
- environmentArn :: Text
- environmentId :: Text
- instanceType :: Text
- name :: Text
- securityGroupIds :: [Text]
- status :: EnvironmentLifecycle
- subnetIds :: [Text]
- vpcId :: Text
- newGetEnvironmentResponse :: Int -> UTCTime -> EngineType -> Text -> Text -> Text -> Text -> Text -> EnvironmentLifecycle -> Text -> GetEnvironmentResponse
- getEnvironmentResponse_actualCapacity :: Lens' GetEnvironmentResponse (Maybe Natural)
- getEnvironmentResponse_description :: Lens' GetEnvironmentResponse (Maybe Text)
- getEnvironmentResponse_highAvailabilityConfig :: Lens' GetEnvironmentResponse (Maybe HighAvailabilityConfig)
- getEnvironmentResponse_kmsKeyId :: Lens' GetEnvironmentResponse (Maybe Text)
- getEnvironmentResponse_loadBalancerArn :: Lens' GetEnvironmentResponse (Maybe Text)
- getEnvironmentResponse_pendingMaintenance :: Lens' GetEnvironmentResponse (Maybe PendingMaintenance)
- getEnvironmentResponse_preferredMaintenanceWindow :: Lens' GetEnvironmentResponse (Maybe Text)
- getEnvironmentResponse_publiclyAccessible :: Lens' GetEnvironmentResponse (Maybe Bool)
- getEnvironmentResponse_statusReason :: Lens' GetEnvironmentResponse (Maybe Text)
- getEnvironmentResponse_storageConfigurations :: Lens' GetEnvironmentResponse (Maybe [StorageConfiguration])
- getEnvironmentResponse_tags :: Lens' GetEnvironmentResponse (Maybe (HashMap Text Text))
- getEnvironmentResponse_httpStatus :: Lens' GetEnvironmentResponse Int
- getEnvironmentResponse_creationTime :: Lens' GetEnvironmentResponse UTCTime
- getEnvironmentResponse_engineType :: Lens' GetEnvironmentResponse EngineType
- getEnvironmentResponse_engineVersion :: Lens' GetEnvironmentResponse Text
- getEnvironmentResponse_environmentArn :: Lens' GetEnvironmentResponse Text
- getEnvironmentResponse_environmentId :: Lens' GetEnvironmentResponse Text
- getEnvironmentResponse_instanceType :: Lens' GetEnvironmentResponse Text
- getEnvironmentResponse_name :: Lens' GetEnvironmentResponse Text
- getEnvironmentResponse_securityGroupIds :: Lens' GetEnvironmentResponse [Text]
- getEnvironmentResponse_status :: Lens' GetEnvironmentResponse EnvironmentLifecycle
- getEnvironmentResponse_subnetIds :: Lens' GetEnvironmentResponse [Text]
- getEnvironmentResponse_vpcId :: Lens' GetEnvironmentResponse Text
Creating a Request
data GetEnvironment Source #
See: newGetEnvironment
smart constructor.
GetEnvironment' | |
|
Instances
Create a value of GetEnvironment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetEnvironment
, getEnvironment_environmentId
- The unique identifier of the runtime environment.
Request Lenses
getEnvironment_environmentId :: Lens' GetEnvironment Text Source #
The unique identifier of the runtime environment.
Destructuring the Response
data GetEnvironmentResponse Source #
See: newGetEnvironmentResponse
smart constructor.
GetEnvironmentResponse' | |
|
Instances
newGetEnvironmentResponse Source #
:: Int | |
-> UTCTime | |
-> EngineType | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> EnvironmentLifecycle | |
-> Text | |
-> GetEnvironmentResponse |
Create a value of GetEnvironmentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:actualCapacity:GetEnvironmentResponse'
, getEnvironmentResponse_actualCapacity
- The number of instances included in the runtime environment. A
standalone runtime environment has a maxiumum of one instance.
Currently, a high availability runtime environment has a maximum of two
instances.
GetEnvironmentResponse
, getEnvironmentResponse_description
- The description of the runtime environment.
$sel:highAvailabilityConfig:GetEnvironmentResponse'
, getEnvironmentResponse_highAvailabilityConfig
- The desired capacity of the high availability configuration for the
runtime environment.
$sel:kmsKeyId:GetEnvironmentResponse'
, getEnvironmentResponse_kmsKeyId
- The identifier of a customer managed key.
$sel:loadBalancerArn:GetEnvironmentResponse'
, getEnvironmentResponse_loadBalancerArn
- The Amazon Resource Name (ARN) for the load balancer used with the
runtime environment.
$sel:pendingMaintenance:GetEnvironmentResponse'
, getEnvironmentResponse_pendingMaintenance
- Indicates the pending maintenance scheduled on this environment.
$sel:preferredMaintenanceWindow:GetEnvironmentResponse'
, getEnvironmentResponse_preferredMaintenanceWindow
- Configures the maintenance window you want for the runtime environment.
If you do not provide a value, a random system-generated value will be
assigned.
$sel:publiclyAccessible:GetEnvironmentResponse'
, getEnvironmentResponse_publiclyAccessible
- Whether applications running in this runtime environment are publicly
accessible.
GetEnvironmentResponse
, getEnvironmentResponse_statusReason
- The reason for the reported status.
$sel:storageConfigurations:GetEnvironmentResponse'
, getEnvironmentResponse_storageConfigurations
- The storage configurations defined for the runtime environment.
$sel:tags:GetEnvironmentResponse'
, getEnvironmentResponse_tags
- The tags defined for this runtime environment.
$sel:httpStatus:GetEnvironmentResponse'
, getEnvironmentResponse_httpStatus
- The response's http status code.
GetEnvironmentResponse
, getEnvironmentResponse_creationTime
- The timestamp when the runtime environment was created.
GetEnvironmentResponse
, getEnvironmentResponse_engineType
- The target platform for the runtime environment.
GetEnvironmentResponse
, getEnvironmentResponse_engineVersion
- The version of the runtime engine.
GetEnvironmentResponse
, getEnvironmentResponse_environmentArn
- The Amazon Resource Name (ARN) of the runtime environment.
GetEnvironment
, getEnvironmentResponse_environmentId
- The unique identifier of the runtime environment.
GetEnvironmentResponse
, getEnvironmentResponse_instanceType
- The type of instance underlying the runtime environment.
GetEnvironmentResponse
, getEnvironmentResponse_name
- The name of the runtime environment. Must be unique within the account.
$sel:securityGroupIds:GetEnvironmentResponse'
, getEnvironmentResponse_securityGroupIds
- The unique identifiers of the security groups assigned to this runtime
environment.
GetEnvironmentResponse
, getEnvironmentResponse_status
- The status of the runtime environment.
$sel:subnetIds:GetEnvironmentResponse'
, getEnvironmentResponse_subnetIds
- The unique identifiers of the subnets assigned to this runtime
environment.
$sel:vpcId:GetEnvironmentResponse'
, getEnvironmentResponse_vpcId
- The unique identifier for the VPC used with this runtime environment.
Response Lenses
getEnvironmentResponse_actualCapacity :: Lens' GetEnvironmentResponse (Maybe Natural) Source #
The number of instances included in the runtime environment. A standalone runtime environment has a maxiumum of one instance. Currently, a high availability runtime environment has a maximum of two instances.
getEnvironmentResponse_description :: Lens' GetEnvironmentResponse (Maybe Text) Source #
The description of the runtime environment.
getEnvironmentResponse_highAvailabilityConfig :: Lens' GetEnvironmentResponse (Maybe HighAvailabilityConfig) Source #
The desired capacity of the high availability configuration for the runtime environment.
getEnvironmentResponse_kmsKeyId :: Lens' GetEnvironmentResponse (Maybe Text) Source #
The identifier of a customer managed key.
getEnvironmentResponse_loadBalancerArn :: Lens' GetEnvironmentResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
getEnvironmentResponse_pendingMaintenance :: Lens' GetEnvironmentResponse (Maybe PendingMaintenance) Source #
Indicates the pending maintenance scheduled on this environment.
getEnvironmentResponse_preferredMaintenanceWindow :: Lens' GetEnvironmentResponse (Maybe Text) Source #
Configures the maintenance window you want for the runtime environment. If you do not provide a value, a random system-generated value will be assigned.
getEnvironmentResponse_publiclyAccessible :: Lens' GetEnvironmentResponse (Maybe Bool) Source #
Whether applications running in this runtime environment are publicly accessible.
getEnvironmentResponse_statusReason :: Lens' GetEnvironmentResponse (Maybe Text) Source #
The reason for the reported status.
getEnvironmentResponse_storageConfigurations :: Lens' GetEnvironmentResponse (Maybe [StorageConfiguration]) Source #
The storage configurations defined for the runtime environment.
getEnvironmentResponse_tags :: Lens' GetEnvironmentResponse (Maybe (HashMap Text Text)) Source #
The tags defined for this runtime environment.
getEnvironmentResponse_httpStatus :: Lens' GetEnvironmentResponse Int Source #
The response's http status code.
getEnvironmentResponse_creationTime :: Lens' GetEnvironmentResponse UTCTime Source #
The timestamp when the runtime environment was created.
getEnvironmentResponse_engineType :: Lens' GetEnvironmentResponse EngineType Source #
The target platform for the runtime environment.
getEnvironmentResponse_engineVersion :: Lens' GetEnvironmentResponse Text Source #
The version of the runtime engine.
getEnvironmentResponse_environmentArn :: Lens' GetEnvironmentResponse Text Source #
The Amazon Resource Name (ARN) of the runtime environment.
getEnvironmentResponse_environmentId :: Lens' GetEnvironmentResponse Text Source #
The unique identifier of the runtime environment.
getEnvironmentResponse_instanceType :: Lens' GetEnvironmentResponse Text Source #
The type of instance underlying the runtime environment.
getEnvironmentResponse_name :: Lens' GetEnvironmentResponse Text Source #
The name of the runtime environment. Must be unique within the account.
getEnvironmentResponse_securityGroupIds :: Lens' GetEnvironmentResponse [Text] Source #
The unique identifiers of the security groups assigned to this runtime environment.
getEnvironmentResponse_status :: Lens' GetEnvironmentResponse EnvironmentLifecycle Source #
The status of the runtime environment.
getEnvironmentResponse_subnetIds :: Lens' GetEnvironmentResponse [Text] Source #
The unique identifiers of the subnets assigned to this runtime environment.
getEnvironmentResponse_vpcId :: Lens' GetEnvironmentResponse Text Source #
The unique identifier for the VPC used with this runtime environment.