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.
Synopsis
- data DescribePackage = DescribePackage' {}
- newDescribePackage :: Text -> DescribePackage
- describePackage_packageId :: Lens' DescribePackage Text
- data DescribePackageResponse = DescribePackageResponse' {}
- newDescribePackageResponse :: Int -> Text -> Text -> Text -> StorageLocation -> UTCTime -> DescribePackageResponse
- describePackageResponse_writeAccessPrincipalArns :: Lens' DescribePackageResponse (Maybe [Text])
- describePackageResponse_readAccessPrincipalArns :: Lens' DescribePackageResponse (Maybe [Text])
- describePackageResponse_httpStatus :: Lens' DescribePackageResponse Int
- describePackageResponse_packageId :: Lens' DescribePackageResponse Text
- describePackageResponse_packageName :: Lens' DescribePackageResponse Text
- describePackageResponse_arn :: Lens' DescribePackageResponse Text
- describePackageResponse_storageLocation :: Lens' DescribePackageResponse StorageLocation
- describePackageResponse_createdTime :: Lens' DescribePackageResponse UTCTime
- describePackageResponse_tags :: Lens' DescribePackageResponse (HashMap Text Text)
Creating a Request
data DescribePackage Source #
See: newDescribePackage
smart constructor.
Instances
Create a value of DescribePackage
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:packageId:DescribePackage'
, describePackage_packageId
- The package's ID.
Request Lenses
describePackage_packageId :: Lens' DescribePackage Text Source #
The package's ID.
Destructuring the Response
data DescribePackageResponse Source #
See: newDescribePackageResponse
smart constructor.
DescribePackageResponse' | |
|
Instances
newDescribePackageResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> Text | |
-> StorageLocation | |
-> UTCTime | |
-> DescribePackageResponse |
Create a value of DescribePackageResponse
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:writeAccessPrincipalArns:DescribePackageResponse'
, describePackageResponse_writeAccessPrincipalArns
- ARNs of accounts that have write access to the package.
$sel:readAccessPrincipalArns:DescribePackageResponse'
, describePackageResponse_readAccessPrincipalArns
- ARNs of accounts that have read access to the package.
$sel:httpStatus:DescribePackageResponse'
, describePackageResponse_httpStatus
- The response's http status code.
$sel:packageId:DescribePackage'
, describePackageResponse_packageId
- The package's ID.
$sel:packageName:DescribePackageResponse'
, describePackageResponse_packageName
- The package's name.
$sel:arn:DescribePackageResponse'
, describePackageResponse_arn
- The package's ARN.
$sel:storageLocation:DescribePackageResponse'
, describePackageResponse_storageLocation
- The package's storage location.
$sel:createdTime:DescribePackageResponse'
, describePackageResponse_createdTime
- When the package was created.
$sel:tags:DescribePackageResponse'
, describePackageResponse_tags
- The package's tags.
Response Lenses
describePackageResponse_writeAccessPrincipalArns :: Lens' DescribePackageResponse (Maybe [Text]) Source #
ARNs of accounts that have write access to the package.
describePackageResponse_readAccessPrincipalArns :: Lens' DescribePackageResponse (Maybe [Text]) Source #
ARNs of accounts that have read access to the package.
describePackageResponse_httpStatus :: Lens' DescribePackageResponse Int Source #
The response's http status code.
describePackageResponse_packageId :: Lens' DescribePackageResponse Text Source #
The package's ID.
describePackageResponse_packageName :: Lens' DescribePackageResponse Text Source #
The package's name.
describePackageResponse_arn :: Lens' DescribePackageResponse Text Source #
The package's ARN.
describePackageResponse_storageLocation :: Lens' DescribePackageResponse StorageLocation Source #
The package's storage location.
describePackageResponse_createdTime :: Lens' DescribePackageResponse UTCTime Source #
When the package was created.
describePackageResponse_tags :: Lens' DescribePackageResponse (HashMap Text Text) Source #
The package's tags.