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 |
Retrieves properties for a custom game build. To request a build resource, specify a build ID. If successful, an object containing the build properties is returned.
Learn more
Synopsis
- data DescribeBuild = DescribeBuild' {}
- newDescribeBuild :: Text -> DescribeBuild
- describeBuild_buildId :: Lens' DescribeBuild Text
- data DescribeBuildResponse = DescribeBuildResponse' {
- build :: Maybe Build
- httpStatus :: Int
- newDescribeBuildResponse :: Int -> DescribeBuildResponse
- describeBuildResponse_build :: Lens' DescribeBuildResponse (Maybe Build)
- describeBuildResponse_httpStatus :: Lens' DescribeBuildResponse Int
Creating a Request
data DescribeBuild Source #
See: newDescribeBuild
smart constructor.
Instances
Create a value of DescribeBuild
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:
DescribeBuild
, describeBuild_buildId
- A unique identifier for the build to retrieve properties for. You can
use either the build ID or ARN value.
Request Lenses
describeBuild_buildId :: Lens' DescribeBuild Text Source #
A unique identifier for the build to retrieve properties for. You can use either the build ID or ARN value.
Destructuring the Response
data DescribeBuildResponse Source #
See: newDescribeBuildResponse
smart constructor.
DescribeBuildResponse' | |
|
Instances
newDescribeBuildResponse Source #
Create a value of DescribeBuildResponse
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:build:DescribeBuildResponse'
, describeBuildResponse_build
- Set of properties describing the requested build.
$sel:httpStatus:DescribeBuildResponse'
, describeBuildResponse_httpStatus
- The response's http status code.
Response Lenses
describeBuildResponse_build :: Lens' DescribeBuildResponse (Maybe Build) Source #
Set of properties describing the requested build.
describeBuildResponse_httpStatus :: Lens' DescribeBuildResponse Int Source #
The response's http status code.