MainframeModernization.Client.
get_environment
(**kwargs)¶Describes a specific runtime environment.
See also: AWS API Documentation
Request Syntax
response = client.get_environment(
environmentId='string'
)
[REQUIRED]
The unique identifier of the runtime environment.
{
'actualCapacity': 123,
'creationTime': datetime(2015, 1, 1),
'description': 'string',
'engineType': 'microfocus'|'bluage',
'engineVersion': 'string',
'environmentArn': 'string',
'environmentId': 'string',
'highAvailabilityConfig': {
'desiredCapacity': 123
},
'instanceType': 'string',
'kmsKeyId': 'string',
'loadBalancerArn': 'string',
'name': 'string',
'pendingMaintenance': {
'engineVersion': 'string',
'schedule': {
'endTime': datetime(2015, 1, 1),
'startTime': datetime(2015, 1, 1)
}
},
'preferredMaintenanceWindow': 'string',
'publiclyAccessible': True|False,
'securityGroupIds': [
'string',
],
'status': 'Creating'|'Available'|'Deleting'|'Failed'|'Updating',
'statusReason': 'string',
'storageConfigurations': [
{
'efs': {
'fileSystemId': 'string',
'mountPoint': 'string'
},
'fsx': {
'fileSystemId': 'string',
'mountPoint': 'string'
}
},
],
'subnetIds': [
'string',
],
'tags': {
'string': 'string'
},
'vpcId': 'string'
}
Response Structure
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.
The timestamp when the runtime environment was created.
The description of the runtime environment.
The target platform for the runtime environment.
The version of the runtime engine.
The Amazon Resource Name (ARN) of the runtime environment.
The unique identifier of the runtime environment.
The desired capacity of the high availability configuration for the runtime environment.
The number of instances in a high availability configuration.
The type of instance underlying the runtime environment.
The identifier of a customer managed key.
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
The name of the runtime environment. Must be unique within the account.
Indicates the pending maintenance scheduled on this environment.
The specific runtime engine that the maintenance schedule applies to.
The maintenance schedule for the runtime engine version.
The time the scheduled maintenance is to end.
The time the scheduled maintenance is to start.
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.
Whether applications running in this runtime environment are publicly accessible.
The unique identifiers of the security groups assigned to this runtime environment.
The status of the runtime environment.
The reason for the reported status.
The storage configurations defined for the runtime environment.
Defines the storage configuration for a runtime environment.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: efs
, fsx
. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER
is as follows:
'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
Defines the storage configuration for an Amazon EFS file system.
The file system identifier.
The mount point for the file system.
Defines the storage configuration for an Amazon FSx file system.
The file system identifier.
The mount point for the file system.
The unique identifiers of the subnets assigned to this runtime environment.
The tags defined for this runtime environment.
The unique identifier for the VPC used with this runtime environment.
Exceptions
MainframeModernization.Client.exceptions.ValidationException
MainframeModernization.Client.exceptions.InternalServerException
MainframeModernization.Client.exceptions.AccessDeniedException
MainframeModernization.Client.exceptions.ThrottlingException
MainframeModernization.Client.exceptions.ResourceNotFoundException