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 information about a package version.
Synopsis
- data DescribePackageVersion = DescribePackageVersion' {}
- newDescribePackageVersion :: Text -> Text -> DescribePackageVersion
- describePackageVersion_patchVersion :: Lens' DescribePackageVersion (Maybe Text)
- describePackageVersion_ownerAccount :: Lens' DescribePackageVersion (Maybe Text)
- describePackageVersion_packageId :: Lens' DescribePackageVersion Text
- describePackageVersion_packageVersion :: Lens' DescribePackageVersion Text
- data DescribePackageVersionResponse = DescribePackageVersionResponse' {}
- newDescribePackageVersionResponse :: Int -> Text -> Text -> Text -> Text -> Bool -> PackageVersionStatus -> DescribePackageVersionResponse
- describePackageVersionResponse_statusDescription :: Lens' DescribePackageVersionResponse (Maybe Text)
- describePackageVersionResponse_packageArn :: Lens' DescribePackageVersionResponse (Maybe Text)
- describePackageVersionResponse_registeredTime :: Lens' DescribePackageVersionResponse (Maybe UTCTime)
- describePackageVersionResponse_ownerAccount :: Lens' DescribePackageVersionResponse (Maybe Text)
- describePackageVersionResponse_httpStatus :: Lens' DescribePackageVersionResponse Int
- describePackageVersionResponse_packageId :: Lens' DescribePackageVersionResponse Text
- describePackageVersionResponse_packageName :: Lens' DescribePackageVersionResponse Text
- describePackageVersionResponse_packageVersion :: Lens' DescribePackageVersionResponse Text
- describePackageVersionResponse_patchVersion :: Lens' DescribePackageVersionResponse Text
- describePackageVersionResponse_isLatestPatch :: Lens' DescribePackageVersionResponse Bool
- describePackageVersionResponse_status :: Lens' DescribePackageVersionResponse PackageVersionStatus
Creating a Request
data DescribePackageVersion Source #
See: newDescribePackageVersion
smart constructor.
DescribePackageVersion' | |
|
Instances
newDescribePackageVersion Source #
:: Text | |
-> Text | |
-> DescribePackageVersion |
Create a value of DescribePackageVersion
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:patchVersion:DescribePackageVersion'
, describePackageVersion_patchVersion
- The version's patch version.
$sel:ownerAccount:DescribePackageVersion'
, describePackageVersion_ownerAccount
- The version's owner account.
$sel:packageId:DescribePackageVersion'
, describePackageVersion_packageId
- The version's ID.
$sel:packageVersion:DescribePackageVersion'
, describePackageVersion_packageVersion
- The version's version.
Request Lenses
describePackageVersion_patchVersion :: Lens' DescribePackageVersion (Maybe Text) Source #
The version's patch version.
describePackageVersion_ownerAccount :: Lens' DescribePackageVersion (Maybe Text) Source #
The version's owner account.
describePackageVersion_packageId :: Lens' DescribePackageVersion Text Source #
The version's ID.
describePackageVersion_packageVersion :: Lens' DescribePackageVersion Text Source #
The version's version.
Destructuring the Response
data DescribePackageVersionResponse Source #
See: newDescribePackageVersionResponse
smart constructor.
DescribePackageVersionResponse' | |
|
Instances
newDescribePackageVersionResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> Bool | |
-> PackageVersionStatus | |
-> DescribePackageVersionResponse |
Create a value of DescribePackageVersionResponse
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:statusDescription:DescribePackageVersionResponse'
, describePackageVersionResponse_statusDescription
- The version's status description.
$sel:packageArn:DescribePackageVersionResponse'
, describePackageVersionResponse_packageArn
- The ARN of the package.
$sel:registeredTime:DescribePackageVersionResponse'
, describePackageVersionResponse_registeredTime
- The version's registered time.
$sel:ownerAccount:DescribePackageVersion'
, describePackageVersionResponse_ownerAccount
- The account ID of the version's owner.
$sel:httpStatus:DescribePackageVersionResponse'
, describePackageVersionResponse_httpStatus
- The response's http status code.
$sel:packageId:DescribePackageVersion'
, describePackageVersionResponse_packageId
- The version's ID.
$sel:packageName:DescribePackageVersionResponse'
, describePackageVersionResponse_packageName
- The version's name.
$sel:packageVersion:DescribePackageVersion'
, describePackageVersionResponse_packageVersion
- The version's version.
$sel:patchVersion:DescribePackageVersion'
, describePackageVersionResponse_patchVersion
- The version's patch version.
$sel:isLatestPatch:DescribePackageVersionResponse'
, describePackageVersionResponse_isLatestPatch
- Whether the version is the latest available.
$sel:status:DescribePackageVersionResponse'
, describePackageVersionResponse_status
- The version's status.
Response Lenses
describePackageVersionResponse_statusDescription :: Lens' DescribePackageVersionResponse (Maybe Text) Source #
The version's status description.
describePackageVersionResponse_packageArn :: Lens' DescribePackageVersionResponse (Maybe Text) Source #
The ARN of the package.
describePackageVersionResponse_registeredTime :: Lens' DescribePackageVersionResponse (Maybe UTCTime) Source #
The version's registered time.
describePackageVersionResponse_ownerAccount :: Lens' DescribePackageVersionResponse (Maybe Text) Source #
The account ID of the version's owner.
describePackageVersionResponse_httpStatus :: Lens' DescribePackageVersionResponse Int Source #
The response's http status code.
describePackageVersionResponse_packageId :: Lens' DescribePackageVersionResponse Text Source #
The version's ID.
describePackageVersionResponse_packageName :: Lens' DescribePackageVersionResponse Text Source #
The version's name.
describePackageVersionResponse_packageVersion :: Lens' DescribePackageVersionResponse Text Source #
The version's version.
describePackageVersionResponse_patchVersion :: Lens' DescribePackageVersionResponse Text Source #
The version's patch version.
describePackageVersionResponse_isLatestPatch :: Lens' DescribePackageVersionResponse Bool Source #
Whether the version is the latest available.
describePackageVersionResponse_status :: Lens' DescribePackageVersionResponse PackageVersionStatus Source #
The version's status.