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 |
Documentation
Returns information about a target for a pull request.
See: newTarget
smart constructor.
Target' | |
|
Instances
Eq Target Source # | |
Read Target Source # | |
Show Target Source # | |
Generic Target Source # | |
NFData Target Source # | |
Defined in Amazonka.CodeCommit.Types.Target | |
Hashable Target Source # | |
Defined in Amazonka.CodeCommit.Types.Target | |
ToJSON Target Source # | |
Defined in Amazonka.CodeCommit.Types.Target | |
type Rep Target Source # | |
Defined in Amazonka.CodeCommit.Types.Target type Rep Target = D1 ('MetaData "Target" "Amazonka.CodeCommit.Types.Target" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "Target'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sourceReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Target
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:destinationReference:Target'
, target_destinationReference
- The branch of the repository where the pull request changes are merged.
Also known as the destination branch.
$sel:repositoryName:Target'
, target_repositoryName
- The name of the repository that contains the pull request.
$sel:sourceReference:Target'
, target_sourceReference
- The branch of the repository that contains the changes for the pull
request. Also known as the source branch.
target_destinationReference :: Lens' Target (Maybe Text) Source #
The branch of the repository where the pull request changes are merged. Also known as the destination branch.