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 a RepositoryDescription
object that contains detailed
information about the requested repository.
Synopsis
- data DescribeRepository = DescribeRepository' {
- domainOwner :: Maybe Text
- domain :: Text
- repository :: Text
- newDescribeRepository :: Text -> Text -> DescribeRepository
- describeRepository_domainOwner :: Lens' DescribeRepository (Maybe Text)
- describeRepository_domain :: Lens' DescribeRepository Text
- describeRepository_repository :: Lens' DescribeRepository Text
- data DescribeRepositoryResponse = DescribeRepositoryResponse' {}
- newDescribeRepositoryResponse :: Int -> DescribeRepositoryResponse
- describeRepositoryResponse_repository :: Lens' DescribeRepositoryResponse (Maybe RepositoryDescription)
- describeRepositoryResponse_httpStatus :: Lens' DescribeRepositoryResponse Int
Creating a Request
data DescribeRepository Source #
See: newDescribeRepository
smart constructor.
DescribeRepository' | |
|
Instances
newDescribeRepository Source #
:: Text | |
-> Text | |
-> DescribeRepository |
Create a value of DescribeRepository
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:domainOwner:DescribeRepository'
, describeRepository_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DescribeRepository'
, describeRepository_domain
- The name of the domain that contains the repository to describe.
$sel:repository:DescribeRepository'
, describeRepository_repository
- A string that specifies the name of the requested repository.
Request Lenses
describeRepository_domainOwner :: Lens' DescribeRepository (Maybe Text) Source #
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
describeRepository_domain :: Lens' DescribeRepository Text Source #
The name of the domain that contains the repository to describe.
describeRepository_repository :: Lens' DescribeRepository Text Source #
A string that specifies the name of the requested repository.
Destructuring the Response
data DescribeRepositoryResponse Source #
See: newDescribeRepositoryResponse
smart constructor.
DescribeRepositoryResponse' | |
|
Instances
newDescribeRepositoryResponse Source #
Create a value of DescribeRepositoryResponse
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:repository:DescribeRepository'
, describeRepositoryResponse_repository
- A RepositoryDescription
object that contains the requested repository
information.
$sel:httpStatus:DescribeRepositoryResponse'
, describeRepositoryResponse_httpStatus
- The response's http status code.
Response Lenses
describeRepositoryResponse_repository :: Lens' DescribeRepositoryResponse (Maybe RepositoryDescription) Source #
A RepositoryDescription
object that contains the requested repository
information.
describeRepositoryResponse_httpStatus :: Lens' DescribeRepositoryResponse Int Source #
The response's http status code.