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 RepositoryAssociation object that contains information about the requested repository association.
Synopsis
- data DescribeRepositoryAssociation = DescribeRepositoryAssociation' {}
- newDescribeRepositoryAssociation :: Text -> DescribeRepositoryAssociation
- describeRepositoryAssociation_associationArn :: Lens' DescribeRepositoryAssociation Text
- data DescribeRepositoryAssociationResponse = DescribeRepositoryAssociationResponse' {}
- newDescribeRepositoryAssociationResponse :: Int -> DescribeRepositoryAssociationResponse
- describeRepositoryAssociationResponse_repositoryAssociation :: Lens' DescribeRepositoryAssociationResponse (Maybe RepositoryAssociation)
- describeRepositoryAssociationResponse_tags :: Lens' DescribeRepositoryAssociationResponse (Maybe (HashMap Text Text))
- describeRepositoryAssociationResponse_httpStatus :: Lens' DescribeRepositoryAssociationResponse Int
Creating a Request
data DescribeRepositoryAssociation Source #
See: newDescribeRepositoryAssociation
smart constructor.
DescribeRepositoryAssociation' | |
|
Instances
newDescribeRepositoryAssociation Source #
Create a value of DescribeRepositoryAssociation
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:associationArn:DescribeRepositoryAssociation'
, describeRepositoryAssociation_associationArn
- The Amazon Resource Name (ARN) of the
RepositoryAssociation
object. You can retrieve this ARN by calling
ListRepositoryAssociations
.
Request Lenses
describeRepositoryAssociation_associationArn :: Lens' DescribeRepositoryAssociation Text Source #
The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations .
Destructuring the Response
data DescribeRepositoryAssociationResponse Source #
See: newDescribeRepositoryAssociationResponse
smart constructor.
DescribeRepositoryAssociationResponse' | |
|
Instances
newDescribeRepositoryAssociationResponse Source #
Create a value of DescribeRepositoryAssociationResponse
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:repositoryAssociation:DescribeRepositoryAssociationResponse'
, describeRepositoryAssociationResponse_repositoryAssociation
- Information about the repository association.
$sel:tags:DescribeRepositoryAssociationResponse'
, describeRepositoryAssociationResponse_tags
- An array of key-value pairs used to tag an associated repository. A tag
is a custom attribute label with two parts:
- A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case sensitive. - An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
$sel:httpStatus:DescribeRepositoryAssociationResponse'
, describeRepositoryAssociationResponse_httpStatus
- The response's http status code.
Response Lenses
describeRepositoryAssociationResponse_repositoryAssociation :: Lens' DescribeRepositoryAssociationResponse (Maybe RepositoryAssociation) Source #
Information about the repository association.
describeRepositoryAssociationResponse_tags :: Lens' DescribeRepositoryAssociationResponse (Maybe (HashMap Text Text)) Source #
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
- A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case sensitive. - An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
describeRepositoryAssociationResponse_httpStatus :: Lens' DescribeRepositoryAssociationResponse Int Source #
The response's http status code.