| 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.CodeCommit.Types.Target
Description
Documentation
Returns information about a target for a pull request.
See: newTarget smart constructor.
Constructors
| Target' | |
Fields
| |
Instances
| ToJSON Target Source # | |
Defined in Amazonka.CodeCommit.Types.Target | |
| Generic Target Source # | |
| Read Target Source # | |
| Show Target Source # | |
| NFData Target Source # | |
Defined in Amazonka.CodeCommit.Types.Target | |
| Eq Target Source # | |
| Hashable 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" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" '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.