| 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.CodeArtifact.ListPackageVersionAssets
Description
Returns a list of AssetSummary objects for assets in a package version.
This operation returns paginated results.
Synopsis
- data ListPackageVersionAssets = ListPackageVersionAssets' {
- domainOwner :: Maybe Text
- maxResults :: Maybe Natural
- namespace :: Maybe Text
- nextToken :: Maybe Text
- domain :: Text
- repository :: Text
- format :: PackageFormat
- package :: Text
- packageVersion :: Text
- newListPackageVersionAssets :: Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionAssets
- listPackageVersionAssets_domainOwner :: Lens' ListPackageVersionAssets (Maybe Text)
- listPackageVersionAssets_maxResults :: Lens' ListPackageVersionAssets (Maybe Natural)
- listPackageVersionAssets_namespace :: Lens' ListPackageVersionAssets (Maybe Text)
- listPackageVersionAssets_nextToken :: Lens' ListPackageVersionAssets (Maybe Text)
- listPackageVersionAssets_domain :: Lens' ListPackageVersionAssets Text
- listPackageVersionAssets_repository :: Lens' ListPackageVersionAssets Text
- listPackageVersionAssets_format :: Lens' ListPackageVersionAssets PackageFormat
- listPackageVersionAssets_package :: Lens' ListPackageVersionAssets Text
- listPackageVersionAssets_packageVersion :: Lens' ListPackageVersionAssets Text
- data ListPackageVersionAssetsResponse = ListPackageVersionAssetsResponse' {}
- newListPackageVersionAssetsResponse :: Int -> ListPackageVersionAssetsResponse
- listPackageVersionAssetsResponse_assets :: Lens' ListPackageVersionAssetsResponse (Maybe [AssetSummary])
- listPackageVersionAssetsResponse_format :: Lens' ListPackageVersionAssetsResponse (Maybe PackageFormat)
- listPackageVersionAssetsResponse_namespace :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
- listPackageVersionAssetsResponse_nextToken :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
- listPackageVersionAssetsResponse_package :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
- listPackageVersionAssetsResponse_version :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
- listPackageVersionAssetsResponse_versionRevision :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
- listPackageVersionAssetsResponse_httpStatus :: Lens' ListPackageVersionAssetsResponse Int
Creating a Request
data ListPackageVersionAssets Source #
See: newListPackageVersionAssets smart constructor.
Constructors
| ListPackageVersionAssets' | |
Fields
| |
Instances
newListPackageVersionAssets Source #
Arguments
| :: Text | |
| -> Text | |
| -> PackageFormat | |
| -> Text | |
| -> Text | |
| -> ListPackageVersionAssets |
Create a value of ListPackageVersionAssets 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:
ListPackageVersionAssets, listPackageVersionAssets_domainOwner - The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:maxResults:ListPackageVersionAssets', listPackageVersionAssets_maxResults - The maximum number of results to return per page.
ListPackageVersionAssets, listPackageVersionAssets_namespace - The namespace of the package version that contains the requested package
version assets. 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.
ListPackageVersionAssets, listPackageVersionAssets_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:ListPackageVersionAssets', listPackageVersionAssets_domain - The name of the domain that contains the repository associated with the
package version assets.
$sel:repository:ListPackageVersionAssets', listPackageVersionAssets_repository - The name of the repository that contains the package that contains the
requested package version assets.
ListPackageVersionAssets, listPackageVersionAssets_format - The format of the package that contains the requested package version
assets.
ListPackageVersionAssets, listPackageVersionAssets_package - The name of the package that contains the requested package version
assets.
$sel:packageVersion:ListPackageVersionAssets', listPackageVersionAssets_packageVersion - A string that contains the package version (for example, 3.5.2).
Request Lenses
listPackageVersionAssets_domainOwner :: Lens' ListPackageVersionAssets (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.
listPackageVersionAssets_maxResults :: Lens' ListPackageVersionAssets (Maybe Natural) Source #
The maximum number of results to return per page.
listPackageVersionAssets_namespace :: Lens' ListPackageVersionAssets (Maybe Text) Source #
The namespace of the package version that contains the requested package version assets. 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.
listPackageVersionAssets_nextToken :: Lens' ListPackageVersionAssets (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.
listPackageVersionAssets_domain :: Lens' ListPackageVersionAssets Text Source #
The name of the domain that contains the repository associated with the package version assets.
listPackageVersionAssets_repository :: Lens' ListPackageVersionAssets Text Source #
The name of the repository that contains the package that contains the requested package version assets.
listPackageVersionAssets_format :: Lens' ListPackageVersionAssets PackageFormat Source #
The format of the package that contains the requested package version assets.
listPackageVersionAssets_package :: Lens' ListPackageVersionAssets Text Source #
The name of the package that contains the requested package version assets.
listPackageVersionAssets_packageVersion :: Lens' ListPackageVersionAssets Text Source #
A string that contains the package version (for example, 3.5.2).
Destructuring the Response
data ListPackageVersionAssetsResponse Source #
See: newListPackageVersionAssetsResponse smart constructor.
Constructors
| ListPackageVersionAssetsResponse' | |
Fields
| |
Instances
newListPackageVersionAssetsResponse Source #
Create a value of ListPackageVersionAssetsResponse 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:assets:ListPackageVersionAssetsResponse', listPackageVersionAssetsResponse_assets - The returned list of
AssetSummary
objects.
ListPackageVersionAssets, listPackageVersionAssetsResponse_format - The format of the package that contains the requested package version
assets.
ListPackageVersionAssets, listPackageVersionAssetsResponse_namespace - The namespace of the package version that contains the requested package
version assets. 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.
ListPackageVersionAssets, listPackageVersionAssetsResponse_nextToken - If there are additional results, this is the token for the next set of
results.
ListPackageVersionAssets, listPackageVersionAssetsResponse_package - The name of the package that contains the requested package version
assets.
ListPackageVersionAssetsResponse, listPackageVersionAssetsResponse_version - The version of the package associated with the requested assets.
$sel:versionRevision:ListPackageVersionAssetsResponse', listPackageVersionAssetsResponse_versionRevision - The current revision associated with the package version.
$sel:httpStatus:ListPackageVersionAssetsResponse', listPackageVersionAssetsResponse_httpStatus - The response's http status code.
Response Lenses
listPackageVersionAssetsResponse_assets :: Lens' ListPackageVersionAssetsResponse (Maybe [AssetSummary]) Source #
The returned list of AssetSummary objects.
listPackageVersionAssetsResponse_format :: Lens' ListPackageVersionAssetsResponse (Maybe PackageFormat) Source #
The format of the package that contains the requested package version assets.
listPackageVersionAssetsResponse_namespace :: Lens' ListPackageVersionAssetsResponse (Maybe Text) Source #
The namespace of the package version that contains the requested package version assets. 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.
listPackageVersionAssetsResponse_nextToken :: Lens' ListPackageVersionAssetsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listPackageVersionAssetsResponse_package :: Lens' ListPackageVersionAssetsResponse (Maybe Text) Source #
The name of the package that contains the requested package version assets.
listPackageVersionAssetsResponse_version :: Lens' ListPackageVersionAssetsResponse (Maybe Text) Source #
The version of the package associated with the requested assets.
listPackageVersionAssetsResponse_versionRevision :: Lens' ListPackageVersionAssetsResponse (Maybe Text) Source #
The current revision associated with the package version.
listPackageVersionAssetsResponse_httpStatus :: Lens' ListPackageVersionAssetsResponse Int Source #
The response's http status code.