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 |
Gets details about the specified Git repository.
Synopsis
- data DescribeCodeRepository = DescribeCodeRepository' {}
- newDescribeCodeRepository :: Text -> DescribeCodeRepository
- describeCodeRepository_codeRepositoryName :: Lens' DescribeCodeRepository Text
- data DescribeCodeRepositoryResponse = DescribeCodeRepositoryResponse' {}
- newDescribeCodeRepositoryResponse :: Int -> Text -> Text -> UTCTime -> UTCTime -> DescribeCodeRepositoryResponse
- describeCodeRepositoryResponse_gitConfig :: Lens' DescribeCodeRepositoryResponse (Maybe GitConfig)
- describeCodeRepositoryResponse_httpStatus :: Lens' DescribeCodeRepositoryResponse Int
- describeCodeRepositoryResponse_codeRepositoryName :: Lens' DescribeCodeRepositoryResponse Text
- describeCodeRepositoryResponse_codeRepositoryArn :: Lens' DescribeCodeRepositoryResponse Text
- describeCodeRepositoryResponse_creationTime :: Lens' DescribeCodeRepositoryResponse UTCTime
- describeCodeRepositoryResponse_lastModifiedTime :: Lens' DescribeCodeRepositoryResponse UTCTime
Creating a Request
data DescribeCodeRepository Source #
See: newDescribeCodeRepository
smart constructor.
DescribeCodeRepository' | |
|
Instances
newDescribeCodeRepository Source #
Create a value of DescribeCodeRepository
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:codeRepositoryName:DescribeCodeRepository'
, describeCodeRepository_codeRepositoryName
- The name of the Git repository to describe.
Request Lenses
describeCodeRepository_codeRepositoryName :: Lens' DescribeCodeRepository Text Source #
The name of the Git repository to describe.
Destructuring the Response
data DescribeCodeRepositoryResponse Source #
See: newDescribeCodeRepositoryResponse
smart constructor.
DescribeCodeRepositoryResponse' | |
|
Instances
newDescribeCodeRepositoryResponse Source #
Create a value of DescribeCodeRepositoryResponse
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:gitConfig:DescribeCodeRepositoryResponse'
, describeCodeRepositoryResponse_gitConfig
- Configuration details about the repository, including the URL where the
repository is located, the default branch, and the Amazon Resource Name
(ARN) of the Amazon Web Services Secrets Manager secret that contains
the credentials used to access the repository.
$sel:httpStatus:DescribeCodeRepositoryResponse'
, describeCodeRepositoryResponse_httpStatus
- The response's http status code.
$sel:codeRepositoryName:DescribeCodeRepository'
, describeCodeRepositoryResponse_codeRepositoryName
- The name of the Git repository.
$sel:codeRepositoryArn:DescribeCodeRepositoryResponse'
, describeCodeRepositoryResponse_codeRepositoryArn
- The Amazon Resource Name (ARN) of the Git repository.
$sel:creationTime:DescribeCodeRepositoryResponse'
, describeCodeRepositoryResponse_creationTime
- The date and time that the repository was created.
$sel:lastModifiedTime:DescribeCodeRepositoryResponse'
, describeCodeRepositoryResponse_lastModifiedTime
- The date and time that the repository was last changed.
Response Lenses
describeCodeRepositoryResponse_gitConfig :: Lens' DescribeCodeRepositoryResponse (Maybe GitConfig) Source #
Configuration details about the repository, including the URL where the repository is located, the default branch, and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.
describeCodeRepositoryResponse_httpStatus :: Lens' DescribeCodeRepositoryResponse Int Source #
The response's http status code.
describeCodeRepositoryResponse_codeRepositoryName :: Lens' DescribeCodeRepositoryResponse Text Source #
The name of the Git repository.
describeCodeRepositoryResponse_codeRepositoryArn :: Lens' DescribeCodeRepositoryResponse Text Source #
The Amazon Resource Name (ARN) of the Git repository.
describeCodeRepositoryResponse_creationTime :: Lens' DescribeCodeRepositoryResponse UTCTime Source #
The date and time that the repository was created.
describeCodeRepositoryResponse_lastModifiedTime :: Lens' DescribeCodeRepositoryResponse UTCTime Source #
The date and time that the repository was last changed.