amazonka-m2-2.0: Amazon MainframeModernization SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.M2.GetEnvironment

Description

Describes a specific runtime environment.

Synopsis

Creating a Request

data GetEnvironment Source #

See: newGetEnvironment smart constructor.

Constructors

GetEnvironment' 

Fields

Instances

Instances details
ToHeaders GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

ToPath GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

ToQuery GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

AWSRequest GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

Associated Types

type AWSResponse GetEnvironment #

Generic GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

Associated Types

type Rep GetEnvironment :: Type -> Type #

Read GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

Show GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

NFData GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

Methods

rnf :: GetEnvironment -> () #

Eq GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

Hashable GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

type AWSResponse GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

type Rep GetEnvironment Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

type Rep GetEnvironment = D1 ('MetaData "GetEnvironment" "Amazonka.M2.GetEnvironment" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "GetEnvironment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetEnvironment Source #

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.

Constructors

GetEnvironmentResponse' 

Fields

Instances

Instances details
Generic GetEnvironmentResponse Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

Associated Types

type Rep GetEnvironmentResponse :: Type -> Type #

Read GetEnvironmentResponse Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

Show GetEnvironmentResponse Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

NFData GetEnvironmentResponse Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

Methods

rnf :: GetEnvironmentResponse -> () #

Eq GetEnvironmentResponse Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

type Rep GetEnvironmentResponse Source # 
Instance details

Defined in Amazonka.M2.GetEnvironment

type Rep GetEnvironmentResponse = D1 ('MetaData "GetEnvironmentResponse" "Amazonka.M2.GetEnvironment" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "GetEnvironmentResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "actualCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "highAvailabilityConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HighAvailabilityConfig)) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "loadBalancerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "pendingMaintenance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PendingMaintenance)) :*: (S1 ('MetaSel ('Just "preferredMaintenanceWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "publiclyAccessible") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "storageConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StorageConfiguration])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))) :*: (((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "engineType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EngineType))) :*: (S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "environmentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EnvironmentLifecycle) :*: (S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))))

newGetEnvironmentResponse Source #

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