| 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 |
Amazonka.CodeArtifact.DescribeRepository
Description
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.
Constructors
| DescribeRepository' | |
Fields
| |
Instances
newDescribeRepository Source #
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:
DescribeRepository, describeRepository_domainOwner - The 12-digit account number of the Amazon Web Services 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.
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 Amazon Web Services 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.
Constructors
| DescribeRepositoryResponse' | |
Fields
| |
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:
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.