Copyright | (c) 2013-2021 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) |
Safe Haskell | None |
Returns AWS resources for this environment.
Synopsis
- data DescribeEnvironmentResources = DescribeEnvironmentResources' {}
- newDescribeEnvironmentResources :: DescribeEnvironmentResources
- describeEnvironmentResources_environmentName :: Lens' DescribeEnvironmentResources (Maybe Text)
- describeEnvironmentResources_environmentId :: Lens' DescribeEnvironmentResources (Maybe Text)
- data DescribeEnvironmentResourcesResponse = DescribeEnvironmentResourcesResponse' {}
- newDescribeEnvironmentResourcesResponse :: Int -> DescribeEnvironmentResourcesResponse
- describeEnvironmentResourcesResponse_environmentResources :: Lens' DescribeEnvironmentResourcesResponse (Maybe EnvironmentResourceDescription)
- describeEnvironmentResourcesResponse_httpStatus :: Lens' DescribeEnvironmentResourcesResponse Int
Creating a Request
data DescribeEnvironmentResources Source #
Request to describe the resources in an environment.
See: newDescribeEnvironmentResources
smart constructor.
DescribeEnvironmentResources' | |
|
Instances
newDescribeEnvironmentResources :: DescribeEnvironmentResources Source #
Create a value of DescribeEnvironmentResources
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:environmentName:DescribeEnvironmentResources'
, describeEnvironmentResources_environmentName
- The name of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
$sel:environmentId:DescribeEnvironmentResources'
, describeEnvironmentResources_environmentId
- The ID of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentName, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
Request Lenses
describeEnvironmentResources_environmentName :: Lens' DescribeEnvironmentResources (Maybe Text) Source #
The name of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
describeEnvironmentResources_environmentId :: Lens' DescribeEnvironmentResources (Maybe Text) Source #
The ID of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentName, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
Destructuring the Response
data DescribeEnvironmentResourcesResponse Source #
Result message containing a list of environment resource descriptions.
See: newDescribeEnvironmentResourcesResponse
smart constructor.
DescribeEnvironmentResourcesResponse' | |
|
Instances
newDescribeEnvironmentResourcesResponse Source #
Create a value of DescribeEnvironmentResourcesResponse
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:environmentResources:DescribeEnvironmentResourcesResponse'
, describeEnvironmentResourcesResponse_environmentResources
- A list of EnvironmentResourceDescription.
$sel:httpStatus:DescribeEnvironmentResourcesResponse'
, describeEnvironmentResourcesResponse_httpStatus
- The response's http status code.
Response Lenses
describeEnvironmentResourcesResponse_environmentResources :: Lens' DescribeEnvironmentResourcesResponse (Maybe EnvironmentResourceDescription) Source #
A list of EnvironmentResourceDescription.
describeEnvironmentResourcesResponse_httpStatus :: Lens' DescribeEnvironmentResourcesResponse Int Source #
The response's http status code.