amazonka-codeartifact-2.0: Amazon CodeArtifact SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeArtifact.ListPackageVersionDependencies

Description

Returns the direct dependencies for a package version. The dependencies are returned as PackageDependency objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package format (for example, the package.json file for npm packages and the pom.xml file for Maven). Any package version dependencies that are not listed in the configuration file are not returned.

Synopsis

Creating a Request

data ListPackageVersionDependencies Source #

See: newListPackageVersionDependencies smart constructor.

Constructors

ListPackageVersionDependencies' 

Fields

  • domainOwner :: Maybe Text

    The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

  • namespace :: Maybe Text

    The namespace of the package version with the requested dependencies. The package version component that specifies its namespace depends on its type. For example:

    • The namespace of a Maven package version is its groupId.
    • The namespace of an npm package version is its scope.
    • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
  • nextToken :: Maybe Text

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • domain :: Text

    The name of the domain that contains the repository that contains the requested package version dependencies.

  • repository :: Text

    The name of the repository that contains the requested package version.

  • format :: PackageFormat

    The format of the package with the requested dependencies.

  • package :: Text

    The name of the package versions' package.

  • packageVersion :: Text

    A string that contains the package version (for example, 3.5.2).

Instances

Instances details
ToJSON ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

ToHeaders ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

ToPath ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

ToQuery ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

AWSRequest ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

Generic ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

Associated Types

type Rep ListPackageVersionDependencies :: Type -> Type #

Read ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

Show ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

NFData ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

Eq ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

Hashable ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

type AWSResponse ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

type Rep ListPackageVersionDependencies Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

type Rep ListPackageVersionDependencies = D1 ('MetaData "ListPackageVersionDependencies" "Amazonka.CodeArtifact.ListPackageVersionDependencies" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" 'False) (C1 ('MetaCons "ListPackageVersionDependencies'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "domainOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PackageFormat)) :*: (S1 ('MetaSel ('Just "package") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "packageVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListPackageVersionDependencies Source #

Create a value of ListPackageVersionDependencies 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:

ListPackageVersionDependencies, listPackageVersionDependencies_domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

ListPackageVersionDependencies, listPackageVersionDependencies_namespace - The namespace of the package version with the requested dependencies. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.
  • The namespace of an npm package version is its scope.
  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

ListPackageVersionDependencies, listPackageVersionDependencies_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

$sel:domain:ListPackageVersionDependencies', listPackageVersionDependencies_domain - The name of the domain that contains the repository that contains the requested package version dependencies.

$sel:repository:ListPackageVersionDependencies', listPackageVersionDependencies_repository - The name of the repository that contains the requested package version.

ListPackageVersionDependencies, listPackageVersionDependencies_format - The format of the package with the requested dependencies.

ListPackageVersionDependencies, listPackageVersionDependencies_package - The name of the package versions' package.

$sel:packageVersion:ListPackageVersionDependencies', listPackageVersionDependencies_packageVersion - A string that contains the package version (for example, 3.5.2).

Request Lenses

listPackageVersionDependencies_domainOwner :: Lens' ListPackageVersionDependencies (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.

listPackageVersionDependencies_namespace :: Lens' ListPackageVersionDependencies (Maybe Text) Source #

The namespace of the package version with the requested dependencies. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.
  • The namespace of an npm package version is its scope.
  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

listPackageVersionDependencies_nextToken :: Lens' ListPackageVersionDependencies (Maybe Text) Source #

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

listPackageVersionDependencies_domain :: Lens' ListPackageVersionDependencies Text Source #

The name of the domain that contains the repository that contains the requested package version dependencies.

listPackageVersionDependencies_repository :: Lens' ListPackageVersionDependencies Text Source #

The name of the repository that contains the requested package version.

listPackageVersionDependencies_format :: Lens' ListPackageVersionDependencies PackageFormat Source #

The format of the package with the requested dependencies.

listPackageVersionDependencies_packageVersion :: Lens' ListPackageVersionDependencies Text Source #

A string that contains the package version (for example, 3.5.2).

Destructuring the Response

data ListPackageVersionDependenciesResponse Source #

Constructors

ListPackageVersionDependenciesResponse' 

Fields

  • dependencies :: Maybe [PackageDependency]

    The returned list of PackageDependency objects.

  • format :: Maybe PackageFormat

    A format that specifies the type of the package that contains the returned dependencies.

  • namespace :: Maybe Text

    The namespace of the package version that contains the returned dependencies. The package version component that specifies its namespace depends on its type. For example:

    • The namespace of a Maven package version is its groupId.
    • The namespace of an npm package version is its scope.
    • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
  • nextToken :: Maybe Text

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • package :: Maybe Text

    The name of the package that contains the returned package versions dependencies.

  • version :: Maybe Text

    The version of the package that is specified in the request.

  • versionRevision :: Maybe Text

    The current revision associated with the package version.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListPackageVersionDependenciesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

Read ListPackageVersionDependenciesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

Show ListPackageVersionDependenciesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

NFData ListPackageVersionDependenciesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

Eq ListPackageVersionDependenciesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

type Rep ListPackageVersionDependenciesResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.ListPackageVersionDependencies

type Rep ListPackageVersionDependenciesResponse = D1 ('MetaData "ListPackageVersionDependenciesResponse" "Amazonka.CodeArtifact.ListPackageVersionDependencies" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" 'False) (C1 ('MetaCons "ListPackageVersionDependenciesResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PackageDependency])) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PackageFormat))) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "package") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "versionRevision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newListPackageVersionDependenciesResponse Source #

Create a value of ListPackageVersionDependenciesResponse 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:dependencies:ListPackageVersionDependenciesResponse', listPackageVersionDependenciesResponse_dependencies - The returned list of PackageDependency objects.

ListPackageVersionDependencies, listPackageVersionDependenciesResponse_format - A format that specifies the type of the package that contains the returned dependencies.

ListPackageVersionDependencies, listPackageVersionDependenciesResponse_namespace - The namespace of the package version that contains the returned dependencies. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.
  • The namespace of an npm package version is its scope.
  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

ListPackageVersionDependencies, listPackageVersionDependenciesResponse_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

ListPackageVersionDependencies, listPackageVersionDependenciesResponse_package - The name of the package that contains the returned package versions dependencies.

ListPackageVersionDependenciesResponse, listPackageVersionDependenciesResponse_version - The version of the package that is specified in the request.

$sel:versionRevision:ListPackageVersionDependenciesResponse', listPackageVersionDependenciesResponse_versionRevision - The current revision associated with the package version.

$sel:httpStatus:ListPackageVersionDependenciesResponse', listPackageVersionDependenciesResponse_httpStatus - The response's http status code.

Response Lenses

listPackageVersionDependenciesResponse_format :: Lens' ListPackageVersionDependenciesResponse (Maybe PackageFormat) Source #

A format that specifies the type of the package that contains the returned dependencies.

listPackageVersionDependenciesResponse_namespace :: Lens' ListPackageVersionDependenciesResponse (Maybe Text) Source #

The namespace of the package version that contains the returned dependencies. The package version component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.
  • The namespace of an npm package version is its scope.
  • Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

listPackageVersionDependenciesResponse_nextToken :: Lens' ListPackageVersionDependenciesResponse (Maybe Text) Source #

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

listPackageVersionDependenciesResponse_package :: Lens' ListPackageVersionDependenciesResponse (Maybe Text) Source #

The name of the package that contains the returned package versions dependencies.

listPackageVersionDependenciesResponse_version :: Lens' ListPackageVersionDependenciesResponse (Maybe Text) Source #

The version of the package that is specified in the request.