diff --git a/codegen/sdk-codegen/aws-models/codeartifact.json b/codegen/sdk-codegen/aws-models/codeartifact.json index 09c020f5532..3aef470d06a 100644 --- a/codegen/sdk-codegen/aws-models/codeartifact.json +++ b/codegen/sdk-codegen/aws-models/codeartifact.json @@ -250,6 +250,44 @@ "smithy.api#output": {} } }, + "com.amazonaws.codeartifact#AssociatedPackage": { + "type": "structure", + "members": { + "format": { + "target": "com.amazonaws.codeartifact#PackageFormat", + "traits": { + "smithy.api#documentation": "
A format that specifies the type of the associated package.
" + } + }, + "namespace": { + "target": "com.amazonaws.codeartifact#PackageNamespace", + "traits": { + "smithy.api#documentation": "The namespace of the associated package. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n The name of the associated package.\n
" + } + }, + "associationType": { + "target": "com.amazonaws.codeartifact#PackageGroupAssociationType", + "traits": { + "smithy.api#documentation": "Describes the strength of the association between the package and package group. A strong match can be thought of as an \n exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. \n For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior \n in the CodeArtifact User Guide.
" + } + } + }, + "traits": { + "smithy.api#documentation": "\n A package associated with a package group.\n
" + } + }, + "com.amazonaws.codeartifact#AssociatedPackageList": { + "type": "list", + "member": { + "target": "com.amazonaws.codeartifact#AssociatedPackage" + } + }, "com.amazonaws.codeartifact#AuthorizationTokenDurationSeconds": { "type": "long", "traits": { @@ -275,6 +313,9 @@ { "target": "com.amazonaws.codeartifact#CreateDomain" }, + { + "target": "com.amazonaws.codeartifact#CreatePackageGroup" + }, { "target": "com.amazonaws.codeartifact#CreateRepository" }, @@ -287,6 +328,9 @@ { "target": "com.amazonaws.codeartifact#DeletePackage" }, + { + "target": "com.amazonaws.codeartifact#DeletePackageGroup" + }, { "target": "com.amazonaws.codeartifact#DeletePackageVersions" }, @@ -302,6 +346,9 @@ { "target": "com.amazonaws.codeartifact#DescribePackage" }, + { + "target": "com.amazonaws.codeartifact#DescribePackageGroup" + }, { "target": "com.amazonaws.codeartifact#DescribePackageVersion" }, @@ -314,6 +361,9 @@ { "target": "com.amazonaws.codeartifact#DisposePackageVersions" }, + { + "target": "com.amazonaws.codeartifact#GetAssociatedPackageGroup" + }, { "target": "com.amazonaws.codeartifact#GetAuthorizationToken" }, @@ -332,9 +382,18 @@ { "target": "com.amazonaws.codeartifact#GetRepositoryPermissionsPolicy" }, + { + "target": "com.amazonaws.codeartifact#ListAllowedRepositoriesForGroup" + }, + { + "target": "com.amazonaws.codeartifact#ListAssociatedPackages" + }, { "target": "com.amazonaws.codeartifact#ListDomains" }, + { + "target": "com.amazonaws.codeartifact#ListPackageGroups" + }, { "target": "com.amazonaws.codeartifact#ListPackages" }, @@ -353,6 +412,9 @@ { "target": "com.amazonaws.codeartifact#ListRepositoriesInDomain" }, + { + "target": "com.amazonaws.codeartifact#ListSubPackageGroups" + }, { "target": "com.amazonaws.codeartifact#ListTagsForResource" }, @@ -374,6 +436,12 @@ { "target": "com.amazonaws.codeartifact#UntagResource" }, + { + "target": "com.amazonaws.codeartifact#UpdatePackageGroup" + }, + { + "target": "com.amazonaws.codeartifact#UpdatePackageGroupOriginConfiguration" + }, { "target": "com.amazonaws.codeartifact#UpdatePackageVersionsStatus" }, @@ -393,7 +461,7 @@ "name": "codeartifact" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "CodeArtifact is a fully managed artifact repository compatible with language-native\n package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to\n share packages with development teams and pull packages. Packages can be pulled from both\n public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact\n repository and another repository, which effectively merges their contents from the point of\n view of a package manager client.
\n\n CodeArtifact Components\n
\nUse the information in this guide to help you work with the following CodeArtifact components:
\n\n Repository: A CodeArtifact repository contains a set of package\n versions, each of which maps to a set of assets, or files. Repositories are\n polyglot, so a single repository can contain packages of any supported type. Each\n repository exposes endpoints for fetching and publishing packages using tools like the\n \n npm
\n CLI, the Maven CLI (\n mvn
\n ), Python CLIs (\n pip
\n and twine
), and NuGet CLIs (nuget
and dotnet
).
\n Domain: Repositories are aggregated into a higher-level entity known as a\n domain. All package assets and metadata are stored in the domain,\n but are consumed through repositories. A given package asset, such as a Maven JAR file, is\n stored once per domain, no matter how many repositories it's present in. All of the assets\n and metadata in a domain are encrypted with the same customer master key (CMK) stored in\n Key Management Service (KMS).
\nEach repository is a member of a single domain and can't be moved to a\n different domain.
\nThe domain allows organizational policy to be applied across multiple\n repositories, such as which accounts can access repositories in the domain, and\n which public repositories can be used as sources of packages.
\nAlthough an organization can have multiple domains, we recommend a single production\n domain that contains all published artifacts so that teams can find and share packages\n across their organization.
\n\n Package: A package is a bundle of software and the metadata required to\n resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, and NuGet package formats.
\nIn CodeArtifact, a package consists of:
\nA name (for example, webpack
is the name of a\n popular npm package)
An optional namespace (for example, @types
in @types/node
)
A set of versions (for example, 1.0.0
, 1.0.1
,\n 1.0.2
, etc.)
Package-level metadata (for example, npm tags)
\n\n Package version: A version of a package, such as @types/node 12.6.9
. The version number\n format and semantics vary for different package formats. For example, npm package versions\n must conform to the Semantic Versioning\n specification. In CodeArtifact, a package version consists of the version identifier,\n metadata at the package version level, and a set of assets.
\n Upstream repository: One repository is upstream of another when the package versions in\n it can be accessed from the repository endpoint of the downstream repository, effectively\n merging the contents of the two repositories from the point of view of a client. CodeArtifact\n allows creating an upstream relationship between two repositories.
\n\n Asset: An individual file stored in CodeArtifact associated with a package version, such as an npm\n .tgz
file or Maven POM and JAR files.
CodeArtifact supports these operations:
\n\n AssociateExternalConnection
: Adds an existing external \n connection to a repository.\n
\n CopyPackageVersions
: Copies package versions from one \n repository to another repository in the same domain.
\n CreateDomain
: Creates a domain
\n CreateRepository
: Creates a CodeArtifact repository in a domain.
\n DeleteDomain
: Deletes a domain. You cannot delete a domain that contains\n repositories.
\n DeleteDomainPermissionsPolicy
: Deletes the resource policy that is set on a domain.
\n DeletePackage
: Deletes a package and all associated package versions.
\n DeletePackageVersions
: Deletes versions of a package. After a package has\n been deleted, it can be republished, but its assets and metadata cannot be restored\n because they have been permanently removed from storage.
\n DeleteRepository
: Deletes a repository. \n
\n DeleteRepositoryPermissionsPolicy
: Deletes the resource policy that is set on a repository.
\n DescribeDomain
: Returns a DomainDescription
object that\n contains information about the requested domain.
\n DescribePackage
: Returns a PackageDescription\n object that contains details about a package.
\n DescribePackageVersion
: Returns a PackageVersionDescription\n object that contains details about a package version.
\n DescribeRepository
: Returns a RepositoryDescription
object\n that contains detailed information about the requested repository.
\n DisposePackageVersions
: Disposes versions of a package. A package version\n with the status Disposed
cannot be restored because they have been\n permanently removed from storage.
\n DisassociateExternalConnection
: Removes an existing external connection from a repository. \n
\n GetAuthorizationToken
: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed. \n The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.
\n GetDomainPermissionsPolicy
: Returns the policy of a resource\n that is attached to the specified domain.
\n GetPackageVersionAsset
: Returns the contents of an asset that is in a package version.
\n GetPackageVersionReadme
: Gets the readme file or descriptive text for a package version.
\n GetRepositoryEndpoint
: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each \n package format:\n
\n maven
\n
\n npm
\n
\n nuget
\n
\n pypi
\n
\n GetRepositoryPermissionsPolicy
: Returns the resource policy that is set on a repository. \n
\n ListDomains
: Returns a list of DomainSummary
objects. Each\n returned DomainSummary
object contains information about a domain.
\n ListPackages
: Lists the packages in a repository.
\n ListPackageVersionAssets
: Lists the assets for a given package version.
\n ListPackageVersionDependencies
: Returns a list of the direct dependencies for a\n package version.
\n ListPackageVersions
: Returns a list of package versions for a specified\n package in a repository.
\n ListRepositories
: Returns a list of repositories owned by the Amazon Web Services account that called this method.
\n ListRepositoriesInDomain
: Returns a list of the repositories in a domain.
\n PublishPackageVersion
: Creates a new package version containing one or more assets.
\n PutDomainPermissionsPolicy
: Attaches a resource policy to a domain.
\n PutPackageOriginConfiguration
: Sets the package origin configuration for a package, which determine \n how new versions of the package can be added to a specific repository.
\n PutRepositoryPermissionsPolicy
: Sets the resource policy on a repository\n that specifies permissions to access it.
\n UpdatePackageVersionsStatus
: Updates the status of one or more versions of a package.
\n UpdateRepository
: Updates the properties of a repository.
CodeArtifact is a fully managed artifact repository compatible with language-native\n package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to\n share packages with development teams and pull packages. Packages can be pulled from both\n public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact\n repository and another repository, which effectively merges their contents from the point of\n view of a package manager client.
\n\n CodeArtifact concepts\n
\n\n Repository: A CodeArtifact repository contains a set of package\n versions, each of which maps to a set of assets, or files. Repositories are\n polyglot, so a single repository can contain packages of any supported type. Each\n repository exposes endpoints for fetching and publishing packages using tools like the\n \n npm
\n CLI, the Maven CLI (\n mvn
\n ), Python CLIs (\n pip
\n and twine
), NuGet CLIs (nuget
and dotnet
), and \n the Swift package manager (\n swift
\n ).
\n Domain: Repositories are aggregated into a higher-level entity known as a\n domain. All package assets and metadata are stored in the domain,\n but are consumed through repositories. A given package asset, such as a Maven JAR file, is\n stored once per domain, no matter how many repositories it's present in. All of the assets\n and metadata in a domain are encrypted with the same customer master key (CMK) stored in\n Key Management Service (KMS).
\nEach repository is a member of a single domain and can't be moved to a\n different domain.
\nThe domain allows organizational policy to be applied across multiple\n repositories, such as which accounts can access repositories in the domain, and\n which public repositories can be used as sources of packages.
\nAlthough an organization can have multiple domains, we recommend a single production\n domain that contains all published artifacts so that teams can find and share packages\n across their organization.
\n\n Package: A package is a bundle of software and the metadata required to\n resolve dependencies and install the software. CodeArtifact supports npm, PyPI, Maven, NuGet, Swift, and generic package formats.
\nIn CodeArtifact, a package consists of:
\nA name (for example, webpack
is the name of a\n popular npm package)
An optional namespace (for example, @types
in @types/node
)
A set of versions (for example, 1.0.0
, 1.0.1
,\n 1.0.2
, etc.)
Package-level metadata (for example, npm tags)
\n\n Package group: A group of packages that match a specified definition. Package \n groups can be used to apply configuration to multiple packages that match a defined pattern using \n package format, package namespace, and package name. You can use package groups to more conveniently \n configure package origin controls for multiple packages. Package origin controls are used to block or allow ingestion or publishing \n of new package versions, which protects users from malicious actions known as dependency substitution attacks.
\n\n Package version: A version of a package, such as @types/node 12.6.9
. The version number\n format and semantics vary for different package formats. For example, npm package versions\n must conform to the Semantic Versioning\n specification. In CodeArtifact, a package version consists of the version identifier,\n metadata at the package version level, and a set of assets.
\n Upstream repository: One repository is upstream of another when the package versions in\n it can be accessed from the repository endpoint of the downstream repository, effectively\n merging the contents of the two repositories from the point of view of a client. CodeArtifact\n allows creating an upstream relationship between two repositories.
\n\n Asset: An individual file stored in CodeArtifact associated with a package version, such as an npm\n .tgz
file or Maven POM and JAR files.
\n CodeArtifact supported API operations\n
\n\n AssociateExternalConnection
: Adds an existing external \n connection to a repository.\n
\n CopyPackageVersions
: Copies package versions from one \n repository to another repository in the same domain.
\n CreateDomain
: Creates a domain.
\n CreatePackageGroup
: Creates a package group.
\n CreateRepository
: Creates a CodeArtifact repository in a domain.
\n DeleteDomain
: Deletes a domain. You cannot delete a domain that contains\n repositories.
\n DeleteDomainPermissionsPolicy
: Deletes the resource policy that is set on a domain.
\n DeletePackage
: Deletes a package and all associated package versions.
\n DeletePackageGroup
: Deletes a package group. Does not delete packages or package versions that are associated with a package group.
\n DeletePackageVersions
: Deletes versions of a package. After a package has\n been deleted, it can be republished, but its assets and metadata cannot be restored\n because they have been permanently removed from storage.
\n DeleteRepository
: Deletes a repository. \n
\n DeleteRepositoryPermissionsPolicy
: Deletes the resource policy that is set on a repository.
\n DescribeDomain
: Returns a DomainDescription
object that\n contains information about the requested domain.
\n DescribePackage
: Returns a PackageDescription\n object that contains details about a package.
\n DescribePackageGroup
: Returns a PackageGroup\n object that contains details about a package group.
\n DescribePackageVersion
: Returns a PackageVersionDescription\n object that contains details about a package version.
\n DescribeRepository
: Returns a RepositoryDescription
object\n that contains detailed information about the requested repository.
\n DisposePackageVersions
: Disposes versions of a package. A package version\n with the status Disposed
cannot be restored because they have been\n permanently removed from storage.
\n DisassociateExternalConnection
: Removes an existing external connection from a repository. \n
\n GetAssociatedPackageGroup
: Returns the most closely associated package group to the specified package.
\n GetAuthorizationToken
: Generates a temporary authorization token for accessing repositories in the domain. The token expires the authorization period has passed. \n The default authorization period is 12 hours and can be customized to any length with a maximum of 12 hours.
\n GetDomainPermissionsPolicy
: Returns the policy of a resource\n that is attached to the specified domain.
\n GetPackageVersionAsset
: Returns the contents of an asset that is in a package version.
\n GetPackageVersionReadme
: Gets the readme file or descriptive text for a package version.
\n GetRepositoryEndpoint
: Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each \n package format:\n
\n generic
\n
\n maven
\n
\n npm
\n
\n nuget
\n
\n pypi
\n
\n swift
\n
\n GetRepositoryPermissionsPolicy
: Returns the resource policy that is set on a repository. \n
\n ListAllowedRepositoriesForGroup
: Lists the allowed repositories for a package group that has origin configuration set to ALLOW_SPECIFIC_REPOSITORIES
.
\n ListAssociatedPackages
: Returns a list of packages associated with the requested package group.
\n ListDomains
: Returns a list of DomainSummary
objects. Each\n returned DomainSummary
object contains information about a domain.
\n ListPackages
: Lists the packages in a repository.
\n ListPackageGroups
: Returns a list of package groups in the requested domain.
\n ListPackageVersionAssets
: Lists the assets for a given package version.
\n ListPackageVersionDependencies
: Returns a list of the direct dependencies for a\n package version.
\n ListPackageVersions
: Returns a list of package versions for a specified\n package in a repository.
\n ListRepositories
: Returns a list of repositories owned by the Amazon Web Services account that called this method.
\n ListRepositoriesInDomain
: Returns a list of the repositories in a domain.
\n ListSubPackageGroups
: Returns a list of direct children of the specified package group.
\n PublishPackageVersion
: Creates a new package version containing one or more assets.
\n PutDomainPermissionsPolicy
: Attaches a resource policy to a domain.
\n PutPackageOriginConfiguration
: Sets the package origin configuration for a package, which determine \n how new versions of the package can be added to a specific repository.
\n PutRepositoryPermissionsPolicy
: Sets the resource policy on a repository\n that specifies permissions to access it.
\n UpdatePackageGroup
: Updates a package group. This API cannot be used to update a package group's origin configuration or pattern.
\n UpdatePackageGroupOriginConfiguration
: Updates the package origin configuration for a package group.
\n UpdatePackageVersionsStatus
: Updates the status of one or more versions of a package.
\n UpdateRepository
: Updates the properties of a repository.
The namespace of the package versions to be copied. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
. The namespace is required when copying Maven package versions.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the package versions to be copied. The package component that specifies its namespace depends on its type. For example:
\nThe namespace is required when copying package versions of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n Creates a package group. For more information about creating package groups, including example CLI commands, see Create a package group in the CodeArtifact User Guide.\n
", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/package-group", + "code": 200 + } + } + }, + "com.amazonaws.codeartifact#CreatePackageGroupRequest": { + "type": "structure", + "members": { + "domain": { + "target": "com.amazonaws.codeartifact#DomainName", + "traits": { + "smithy.api#documentation": "\n The name of the domain in which you want to create a package group.\n
", + "smithy.api#httpQuery": "domain", + "smithy.api#required": {} + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", + "smithy.api#httpQuery": "domain-owner" + } + }, + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupPattern", + "traits": { + "smithy.api#documentation": "The pattern of the package group to create. The pattern is also the identifier of the package group.
", + "smithy.api#required": {} + } + }, + "contactInfo": { + "target": "com.amazonaws.codeartifact#PackageGroupContactInfo", + "traits": { + "smithy.api#documentation": "\n The contact information for the created package group.\n
" + } + }, + "description": { + "target": "com.amazonaws.codeartifact#Description", + "traits": { + "smithy.api#documentation": "\n A description of the package group.\n
" + } + }, + "tags": { + "target": "com.amazonaws.codeartifact#TagList", + "traits": { + "smithy.api#documentation": "One or more tag key-value pairs for the package group.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codeartifact#CreatePackageGroupResult": { + "type": "structure", + "members": { + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupDescription", + "traits": { + "smithy.api#documentation": "\n Information about the created package group after processing the request.\n
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codeartifact#CreateRepository": { "type": "operation", "input": { @@ -1498,7 +1668,7 @@ "repository": { "target": "com.amazonaws.codeartifact#RepositoryName", "traits": { - "smithy.api#documentation": "The name of the repository to create.
", + "smithy.api#documentation": "The name of the repository to create.
", "smithy.api#httpQuery": "repository", "smithy.api#required": {} } @@ -1721,7 +1891,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the\n DeletePackageVersions API.
", + "smithy.api#documentation": "Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the\n DeletePackageVersions API.
", "smithy.api#http": { "method": "DELETE", "uri": "/v1/package", @@ -1729,6 +1899,92 @@ } } }, + "com.amazonaws.codeartifact#DeletePackageGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.codeartifact#DeletePackageGroupRequest" + }, + "output": { + "target": "com.amazonaws.codeartifact#DeletePackageGroupResult" + }, + "errors": [ + { + "target": "com.amazonaws.codeartifact#AccessDeniedException" + }, + { + "target": "com.amazonaws.codeartifact#ConflictException" + }, + { + "target": "com.amazonaws.codeartifact#InternalServerException" + }, + { + "target": "com.amazonaws.codeartifact#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.codeartifact#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.codeartifact#ThrottlingException" + }, + { + "target": "com.amazonaws.codeartifact#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes a package group. \n Deleting a package group does not delete packages or package versions associated with the package group. \n When a package group is deleted, the direct child package groups will become children of the package \n group's direct parent package group. Therefore, if any of the child groups are inheriting any settings \n from the parent, those settings could change.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/v1/package-group", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.codeartifact#DeletePackageGroupRequest": { + "type": "structure", + "members": { + "domain": { + "target": "com.amazonaws.codeartifact#DomainName", + "traits": { + "smithy.api#documentation": "\n The domain that contains the package group to be deleted.\n
", + "smithy.api#httpQuery": "domain", + "smithy.api#required": {} + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", + "smithy.api#httpQuery": "domain-owner" + } + }, + "packageGroup": { + "target": "com.amazonaws.codeartifact#String", + "traits": { + "smithy.api#documentation": "The pattern of the package group to be deleted.
", + "smithy.api#httpQuery": "package-group", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codeartifact#DeletePackageGroupResult": { + "type": "structure", + "members": { + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupDescription", + "traits": { + "smithy.api#documentation": "\n Information about the deleted package group after processing the request.\n
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codeartifact#DeletePackageRequest": { "type": "structure", "members": { @@ -1766,7 +2022,7 @@ "namespace": { "target": "com.amazonaws.codeartifact#PackageNamespace", "traits": { - "smithy.api#documentation": "The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:
\n\n The namespace of a Maven package is its groupId
. The namespace is required when deleting Maven package versions.\n
The namespace of an npm package is its scope
.
\n Python and NuGet packages do not contain corresponding components, packages of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:
\nThe namespace is required when deleting packages of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nThe namespace of the package versions to be deleted. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
. The namespace is required when deleting Maven package versions.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the package versions to be deleted. The package component that specifies its namespace depends on its type. For example:
\nThe namespace is required when deleting package versions of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nReturns a PackageGroupDescription object that \n contains information about the requested package group.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v1/package-group", + "code": 200 + } + } + }, + "com.amazonaws.codeartifact#DescribePackageGroupRequest": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.codeartifact#DomainName", "traits": { - "smithy.api#documentation": "The name of the domain that contains the repository that contains the package.
", + "smithy.api#documentation": "\n The name of the domain that contains the package group. \n
", "smithy.api#httpQuery": "domain", "smithy.api#required": {} } @@ -2209,14 +2499,59 @@ "smithy.api#httpQuery": "domain-owner" } }, - "repository": { - "target": "com.amazonaws.codeartifact#RepositoryName", + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupPattern", "traits": { - "smithy.api#documentation": "The name of the repository that contains the requested package.
", - "smithy.api#httpQuery": "repository", + "smithy.api#documentation": "The pattern of the requested package group.
", + "smithy.api#httpQuery": "package-group", "smithy.api#required": {} } - }, + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codeartifact#DescribePackageGroupResult": { + "type": "structure", + "members": { + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupDescription", + "traits": { + "smithy.api#documentation": "A PackageGroupDescription object \n that contains information about the requested package group.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.codeartifact#DescribePackageRequest": { + "type": "structure", + "members": { + "domain": { + "target": "com.amazonaws.codeartifact#DomainName", + "traits": { + "smithy.api#documentation": "The name of the domain that contains the repository that contains the package.
", + "smithy.api#httpQuery": "domain", + "smithy.api#required": {} + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", + "smithy.api#httpQuery": "domain-owner" + } + }, + "repository": { + "target": "com.amazonaws.codeartifact#RepositoryName", + "traits": { + "smithy.api#documentation": "The name of the repository that contains the requested package.
", + "smithy.api#httpQuery": "repository", + "smithy.api#required": {} + } + }, "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { @@ -2228,7 +2563,7 @@ "namespace": { "target": "com.amazonaws.codeartifact#PackageNamespace", "traits": { - "smithy.api#documentation": "The namespace of the requested package. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package is its groupId
. The namespace is required when requesting Maven packages.\n
\n The namespace of an npm package is its scope
.\n
\n Python and NuGet packages do not contain a corresponding component, packages \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:
\nThe namespace is required when requesting packages of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nThe namespace of the requested package version. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the requested package version. The package component that specifies its \n namespace depends on its type. For example:
\nThe namespace is required when requesting package versions of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nThe namespace of the package versions to be disposed. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the package versions to be disposed. The package component that specifies its \n namespace depends on its type. For example:
\nThe namespace is required when disposing package versions of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nInformation about how a package originally entered the CodeArtifact domain. For packages published directly to CodeArtifact, the entry point is the repository it was published to. \n For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external \n connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.
" + "smithy.api#documentation": "Information about how a package originally entered the CodeArtifact domain. For packages published directly to CodeArtifact, the entry point is the repository it was published to. \n For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external \n connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.
\nIf a package version exists in a repository and is updated, for example if a package of the same version is added \n with additional assets, the package version's DomainEntryPoint
will not change from the original package version's value.
Returns the most closely associated package group to the specified package. This API does not require that the package exist \n in any repository in the domain. As such, GetAssociatedPackageGroup
can be used to see which package group's origin configuration \n applies to a package before that package is in a repository. This can be helpful to check if public packages are blocked without ingesting them.
For information package group association and matching, see \n Package group \n definition syntax and matching behavior in the CodeArtifact User Guide.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v1/get-associated-package-group", + "code": 200 + } + } + }, + "com.amazonaws.codeartifact#GetAssociatedPackageGroupRequest": { + "type": "structure", + "members": { + "domain": { + "target": "com.amazonaws.codeartifact#DomainName", + "traits": { + "smithy.api#documentation": "\n The name of the domain that contains the package from which to get the associated package group.\n
", + "smithy.api#httpQuery": "domain", + "smithy.api#required": {} + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", + "smithy.api#httpQuery": "domain-owner" + } + }, + "format": { + "target": "com.amazonaws.codeartifact#PackageFormat", + "traits": { + "smithy.api#documentation": "\n The format of the package from which to get the associated package group.\n
", + "smithy.api#httpQuery": "format", + "smithy.api#required": {} + } + }, + "namespace": { + "target": "com.amazonaws.codeartifact#PackageNamespace", + "traits": { + "smithy.api#documentation": "The namespace of the package from which to get the associated package group. The package component that specifies its \n namespace depends on its type. For example:
\nThe namespace is required when getting associated package groups from packages of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n The package from which to get the associated package group.\n
", + "smithy.api#httpQuery": "package", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codeartifact#GetAssociatedPackageGroupResult": { + "type": "structure", + "members": { + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupDescription", + "traits": { + "smithy.api#documentation": "The package group that is associated with the requested package.
" + } + }, + "associationType": { + "target": "com.amazonaws.codeartifact#PackageGroupAssociationType", + "traits": { + "smithy.api#documentation": "Describes the strength of the association between the package and package group. A strong match is also known as an \n exact match, and a weak match is known as a relative match.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codeartifact#GetAuthorizationToken": { "type": "operation", "input": { @@ -2952,7 +3384,8 @@ } }, "traits": { - "smithy.api#output": {} + "smithy.api#output": {}, + "smithy.api#sensitive": {} } }, "com.amazonaws.codeartifact#GetDomainPermissionsPolicy": { @@ -3100,7 +3533,7 @@ "namespace": { "target": "com.amazonaws.codeartifact#PackageNamespace", "traits": { - "smithy.api#documentation": "The namespace of the package version with the requested asset file. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the package version with the requested asset file. The package component that specifies its \n namespace depends on its type. For example:
\nThe namespace is required when requesting assets from package versions of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nThe namespace of the package version with the requested readme file. The package version component that specifies its \n namespace depends on its type. For example:
\n The namespace of an npm package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package\n versions of those formats do not have a namespace.
\nThe namespace of the package version with the requested readme file. The package component that specifies its \n namespace depends on its type. For example:
\nThe namespace is required when requesting the readme from package versions of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nThe namespace of the package version with the requested readme file. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nThe namespace of the package version with the requested readme file. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each \n package format:\n
\n\n maven
\n
\n npm
\n
\n nuget
\n
\n pypi
\n
\n Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each \n package format:\n
\n\n generic
\n
\n maven
\n
\n npm
\n
\n nuget
\n
\n pypi
\n
\n swift
\n
Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes\n this call. Each returned DomainSummary
object contains information about a\n domain.
Lists the repositories in the added repositories list of the specified restriction type for a package group. For more information about restriction types \n and added repository lists, see Package group origin controls in the CodeArtifact User Guide.\n
", "smithy.api#http": { - "method": "POST", - "uri": "/v1/domains", + "method": "GET", + "uri": "/v1/package-group-allowed-repositories", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "domains", + "items": "allowedRepositories", "pageSize": "maxResults" } } }, - "com.amazonaws.codeartifact#ListDomainsMaxResults": { + "com.amazonaws.codeartifact#ListAllowedRepositoriesForGroupMaxResults": { "type": "integer", "traits": { "smithy.api#range": { @@ -3616,19 +4055,52 @@ } } }, - "com.amazonaws.codeartifact#ListDomainsRequest": { + "com.amazonaws.codeartifact#ListAllowedRepositoriesForGroupRequest": { "type": "structure", "members": { + "domain": { + "target": "com.amazonaws.codeartifact#DomainName", + "traits": { + "smithy.api#documentation": "\n The name of the domain that contains the package group from which to list allowed repositories.\n
", + "smithy.api#httpQuery": "domain", + "smithy.api#required": {} + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", + "smithy.api#httpQuery": "domain-owner" + } + }, + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupPattern", + "traits": { + "smithy.api#documentation": "The pattern of the package group from which to list allowed repositories.
", + "smithy.api#httpQuery": "package-group", + "smithy.api#required": {} + } + }, + "originRestrictionType": { + "target": "com.amazonaws.codeartifact#PackageGroupOriginRestrictionType", + "traits": { + "smithy.api#documentation": "The origin configuration restriction type of which to list allowed repositories.
", + "smithy.api#httpQuery": "originRestrictionType", + "smithy.api#required": {} + } + }, "maxResults": { - "target": "com.amazonaws.codeartifact#ListDomainsMaxResults", + "target": "com.amazonaws.codeartifact#ListAllowedRepositoriesForGroupMaxResults", "traits": { - "smithy.api#documentation": "\n The maximum number of results to return per page.\n
" + "smithy.api#documentation": "\n The maximum number of results to return per page.\n
", + "smithy.api#httpQuery": "max-results" } }, "nextToken": { "target": "com.amazonaws.codeartifact#PaginationToken", "traits": { - "smithy.api#documentation": "\n 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.\n
" + "smithy.api#documentation": "\n 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.\n
", + "smithy.api#httpQuery": "next-token" } } }, @@ -3636,13 +4108,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.codeartifact#ListDomainsResult": { + "com.amazonaws.codeartifact#ListAllowedRepositoriesForGroupResult": { "type": "structure", "members": { - "domains": { - "target": "com.amazonaws.codeartifact#DomainSummaryList", + "allowedRepositories": { + "target": "com.amazonaws.codeartifact#RepositoryNameList", "traits": { - "smithy.api#documentation": "\n The returned list of DomainSummary objects.\n
" + "smithy.api#documentation": "The list of allowed repositories for the package group and origin configuration restriction type.
" } }, "nextToken": { @@ -3656,13 +4128,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.codeartifact#ListPackageVersionAssets": { + "com.amazonaws.codeartifact#ListAssociatedPackages": { "type": "operation", "input": { - "target": "com.amazonaws.codeartifact#ListPackageVersionAssetsRequest" + "target": "com.amazonaws.codeartifact#ListAssociatedPackagesRequest" }, "output": { - "target": "com.amazonaws.codeartifact#ListPackageVersionAssetsResult" + "target": "com.amazonaws.codeartifact#ListAssociatedPackagesResult" }, "errors": [ { @@ -3674,44 +4146,32 @@ { "target": "com.amazonaws.codeartifact#ResourceNotFoundException" }, - { - "target": "com.amazonaws.codeartifact#ThrottlingException" - }, { "target": "com.amazonaws.codeartifact#ValidationException" } ], "traits": { - "smithy.api#documentation": "\n Returns a list of \n AssetSummary \n objects for assets in a package version.\n
", + "smithy.api#documentation": "Returns a list of packages associated with the requested package group. For information package group association and matching, see \n Package group \n definition syntax and matching behavior in the CodeArtifact User Guide.
", "smithy.api#http": { - "method": "POST", - "uri": "/v1/package/version/assets", + "method": "GET", + "uri": "/v1/list-associated-packages", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "assets", + "items": "packages", "pageSize": "maxResults" } } }, - "com.amazonaws.codeartifact#ListPackageVersionAssetsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 1000 - } - } - }, - "com.amazonaws.codeartifact#ListPackageVersionAssetsRequest": { + "com.amazonaws.codeartifact#ListAssociatedPackagesRequest": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.codeartifact#DomainName", "traits": { - "smithy.api#documentation": "\n The name of the domain that contains the repository associated with the package version assets.\n
", + "smithy.api#documentation": "\n The name of the domain that contains the package group from which to list associated packages.\n
", "smithy.api#httpQuery": "domain", "smithy.api#required": {} } @@ -3723,47 +4183,16 @@ "smithy.api#httpQuery": "domain-owner" } }, - "repository": { - "target": "com.amazonaws.codeartifact#RepositoryName", - "traits": { - "smithy.api#documentation": "\n The name of the repository that contains the package that contains the requested package version assets.\n
", - "smithy.api#httpQuery": "repository", - "smithy.api#required": {} - } - }, - "format": { - "target": "com.amazonaws.codeartifact#PackageFormat", - "traits": { - "smithy.api#documentation": "\n The format of the package that contains the requested package version assets.\n
", - "smithy.api#httpQuery": "format", - "smithy.api#required": {} - } - }, - "namespace": { - "target": "com.amazonaws.codeartifact#PackageNamespace", - "traits": { - "smithy.api#documentation": "The namespace of the package version that contains the requested package version assets. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
\n The name of the package that contains the requested package version assets.\n
", - "smithy.api#httpQuery": "package", - "smithy.api#required": {} - } - }, - "packageVersion": { - "target": "com.amazonaws.codeartifact#PackageVersion", + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupPattern", "traits": { - "smithy.api#documentation": "\n A string that contains the package version (for example, 3.5.2
).\n
\n The pattern of the package group from which to list associated packages.\n
", + "smithy.api#httpQuery": "package-group", "smithy.api#required": {} } }, "maxResults": { - "target": "com.amazonaws.codeartifact#ListPackageVersionAssetsMaxResults", + "target": "com.amazonaws.codeartifact#ListPackagesMaxResults", "traits": { "smithy.api#documentation": "\n The maximum number of results to return per page.\n
", "smithy.api#httpQuery": "max-results" @@ -3775,55 +4204,32 @@ "smithy.api#documentation": "\n 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.\n
", "smithy.api#httpQuery": "next-token" } + }, + "preview": { + "target": "com.amazonaws.codeartifact#BooleanOptional", + "traits": { + "smithy.api#documentation": "\n When this flag is included, ListAssociatedPackages
will return a list of packages that would be associated with a package \n group, even if it does not exist.\n
\n The format of the package that contains the requested package version assets.\n
" - } - }, - "namespace": { - "target": "com.amazonaws.codeartifact#PackageNamespace", + "packages": { + "target": "com.amazonaws.codeartifact#AssociatedPackageList", "traits": { - "smithy.api#documentation": "The namespace of the package version that contains the requested package version assets. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n The list of packages associated with the requested package group.\n
" } }, - "package": { - "target": "com.amazonaws.codeartifact#PackageName", + "nextToken": { + "target": "com.amazonaws.codeartifact#PaginationToken", "traits": { - "smithy.api#documentation": "\n The name of the package that contains the requested package version assets.\n
" - } - }, - "version": { - "target": "com.amazonaws.codeartifact#PackageVersion", - "traits": { - "smithy.api#documentation": "\n The version of the package associated with the requested assets.\n
" - } - }, - "versionRevision": { - "target": "com.amazonaws.codeartifact#PackageVersionRevision", - "traits": { - "smithy.api#documentation": "\n The current revision associated with the package version.\n
" - } - }, - "nextToken": { - "target": "com.amazonaws.codeartifact#PaginationToken", - "traits": { - "smithy.api#documentation": "\n If there are additional results, this is the token for the next set of results.\n
" - } - }, - "assets": { - "target": "com.amazonaws.codeartifact#AssetSummaryList", - "traits": { - "smithy.api#documentation": "\n The returned list of AssetSummary objects.\n
" + "smithy.api#documentation": "\n 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.\n
" } } }, @@ -3831,13 +4237,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.codeartifact#ListPackageVersionDependencies": { + "com.amazonaws.codeartifact#ListDomains": { "type": "operation", "input": { - "target": "com.amazonaws.codeartifact#ListPackageVersionDependenciesRequest" + "target": "com.amazonaws.codeartifact#ListDomainsRequest" }, "output": { - "target": "com.amazonaws.codeartifact#ListPackageVersionDependenciesResult" + "target": "com.amazonaws.codeartifact#ListDomainsResult" }, "errors": [ { @@ -3846,9 +4252,6 @@ { "target": "com.amazonaws.codeartifact#InternalServerException" }, - { - "target": "com.amazonaws.codeartifact#ResourceNotFoundException" - }, { "target": "com.amazonaws.codeartifact#ThrottlingException" }, @@ -3857,76 +4260,42 @@ } ], "traits": { - "smithy.api#documentation": "\n Returns the direct dependencies for a package version. The dependencies are returned as \n PackageDependency \n objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package \n format (for example, the package.json
file for npm packages and the pom.xml
file \n for Maven). Any package version dependencies that are not listed in the configuration file are not returned.\n
Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes\n this call. Each returned DomainSummary
object contains information about a\n domain.
\n The name of the domain that contains the repository that contains the requested package version dependencies.\n
", - "smithy.api#httpQuery": "domain", - "smithy.api#required": {} - } - }, - "domainOwner": { - "target": "com.amazonaws.codeartifact#AccountId", - "traits": { - "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", - "smithy.api#httpQuery": "domain-owner" - } - }, - "repository": { - "target": "com.amazonaws.codeartifact#RepositoryName", - "traits": { - "smithy.api#documentation": "\n The name of the repository that contains the requested package version.\n
", - "smithy.api#httpQuery": "repository", - "smithy.api#required": {} - } - }, - "format": { - "target": "com.amazonaws.codeartifact#PackageFormat", - "traits": { - "smithy.api#documentation": "\n The format of the package with the requested dependencies.\n
", - "smithy.api#httpQuery": "format", - "smithy.api#required": {} - } - }, - "namespace": { - "target": "com.amazonaws.codeartifact#PackageNamespace", - "traits": { - "smithy.api#documentation": "The namespace of the package version with the requested dependencies. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
\n The name of the package versions' package.\n
", - "smithy.api#httpQuery": "package", - "smithy.api#required": {} - } - }, - "packageVersion": { - "target": "com.amazonaws.codeartifact#PackageVersion", + "maxResults": { + "target": "com.amazonaws.codeartifact#ListDomainsMaxResults", "traits": { - "smithy.api#documentation": "\n A string that contains the package version (for example, 3.5.2
).\n
\n The maximum number of results to return per page.\n
" } }, "nextToken": { "target": "com.amazonaws.codeartifact#PaginationToken", "traits": { - "smithy.api#documentation": "\n 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.\n
", - "smithy.api#httpQuery": "next-token" + "smithy.api#documentation": "\n 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.\n
" } } }, @@ -3934,37 +4303,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.codeartifact#ListPackageVersionDependenciesResult": { + "com.amazonaws.codeartifact#ListDomainsResult": { "type": "structure", "members": { - "format": { - "target": "com.amazonaws.codeartifact#PackageFormat", - "traits": { - "smithy.api#documentation": "\n A format that specifies the type of the package that contains the returned dependencies.\n
" - } - }, - "namespace": { - "target": "com.amazonaws.codeartifact#PackageNamespace", - "traits": { - "smithy.api#documentation": "The namespace of the package version that contains the returned dependencies. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n The name of the package that contains the returned package versions dependencies.\n
" - } - }, - "version": { - "target": "com.amazonaws.codeartifact#PackageVersion", - "traits": { - "smithy.api#documentation": "\n The version of the package that is specified in the request.\n
" - } - }, - "versionRevision": { - "target": "com.amazonaws.codeartifact#PackageVersionRevision", + "domains": { + "target": "com.amazonaws.codeartifact#DomainSummaryList", "traits": { - "smithy.api#documentation": "\n The current revision associated with the package version.\n
" + "smithy.api#documentation": "\n The returned list of DomainSummary objects.\n
" } }, "nextToken": { @@ -3972,25 +4317,19 @@ "traits": { "smithy.api#documentation": "\n 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.\n
" } - }, - "dependencies": { - "target": "com.amazonaws.codeartifact#PackageDependencyList", - "traits": { - "smithy.api#documentation": "\n The returned list of PackageDependency objects.\n
" - } } }, "traits": { "smithy.api#output": {} } }, - "com.amazonaws.codeartifact#ListPackageVersions": { + "com.amazonaws.codeartifact#ListPackageGroups": { "type": "operation", "input": { - "target": "com.amazonaws.codeartifact#ListPackageVersionsRequest" + "target": "com.amazonaws.codeartifact#ListPackageGroupsRequest" }, "output": { - "target": "com.amazonaws.codeartifact#ListPackageVersionsResult" + "target": "com.amazonaws.codeartifact#ListPackageGroupsResult" }, "errors": [ { @@ -4010,21 +4349,21 @@ } ], "traits": { - "smithy.api#documentation": "\n Returns a list of \n PackageVersionSummary \n objects for package versions in a repository that match the request parameters. Package versions of all statuses will be returned by default when calling list-package-versions
with no --status
parameter.\n
Returns a list of package groups in the requested domain.
", "smithy.api#http": { "method": "POST", - "uri": "/v1/package/versions", + "uri": "/v1/package-groups", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "versions", + "items": "packageGroups", "pageSize": "maxResults" } } }, - "com.amazonaws.codeartifact#ListPackageVersionsMaxResults": { + "com.amazonaws.codeartifact#ListPackageGroupsMaxResults": { "type": "integer", "traits": { "smithy.api#range": { @@ -4033,13 +4372,13 @@ } } }, - "com.amazonaws.codeartifact#ListPackageVersionsRequest": { + "com.amazonaws.codeartifact#ListPackageGroupsRequest": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.codeartifact#DomainName", "traits": { - "smithy.api#documentation": "\n The name of the domain that contains the repository that contains the requested package versions.\n
", + "smithy.api#documentation": "\n The domain for which you want to list package groups.\n
", "smithy.api#httpQuery": "domain", "smithy.api#required": {} } @@ -4051,53 +4390,8 @@ "smithy.api#httpQuery": "domain-owner" } }, - "repository": { - "target": "com.amazonaws.codeartifact#RepositoryName", - "traits": { - "smithy.api#documentation": "\n The name of the repository that contains the requested package versions.\n
", - "smithy.api#httpQuery": "repository", - "smithy.api#required": {} - } - }, - "format": { - "target": "com.amazonaws.codeartifact#PackageFormat", - "traits": { - "smithy.api#documentation": "\n The format of the package versions you want to list.\n
", - "smithy.api#httpQuery": "format", - "smithy.api#required": {} - } - }, - "namespace": { - "target": "com.amazonaws.codeartifact#PackageNamespace", - "traits": { - "smithy.api#documentation": "The namespace of the package that contains the requested package versions. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package is its groupId
.\n
\n The namespace of an npm package is its scope
.\n
\n Python and NuGet packages do not contain a corresponding component, packages \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
\n The name of the package for which you want to request package versions.\n
", - "smithy.api#httpQuery": "package", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.codeartifact#PackageVersionStatus", - "traits": { - "smithy.api#documentation": "\n A string that filters the requested package versions by status.\n
", - "smithy.api#httpQuery": "status" - } - }, - "sortBy": { - "target": "com.amazonaws.codeartifact#PackageVersionSortType", - "traits": { - "smithy.api#documentation": "\n How to sort the requested list of package versions.\n
", - "smithy.api#httpQuery": "sortBy" - } - }, "maxResults": { - "target": "com.amazonaws.codeartifact#ListPackageVersionsMaxResults", + "target": "com.amazonaws.codeartifact#ListPackageGroupsMaxResults", "traits": { "smithy.api#documentation": "\n The maximum number of results to return per page.\n
", "smithy.api#httpQuery": "max-results" @@ -4110,11 +4404,11 @@ "smithy.api#httpQuery": "next-token" } }, - "originType": { - "target": "com.amazonaws.codeartifact#PackageVersionOriginType", + "prefix": { + "target": "com.amazonaws.codeartifact#PackageGroupPatternPrefix", "traits": { - "smithy.api#documentation": "The originType
used to filter package versions. \n Only package versions with the provided originType
will be returned.
\n A prefix for which to search package groups. When included, ListPackageGroups
will return only\n package groups with patterns that match the prefix.\n
\n The default package version to display. This depends on the package format:\n
\n\n For Maven and PyPI packages, it's the most recently published package version.\n
\n\n For npm packages, it's the version referenced by the\n latest
tag. If the latest
tag is not set, it's the most recently published package version.\n
\n A format of the package.\n
" - } - }, - "namespace": { - "target": "com.amazonaws.codeartifact#PackageNamespace", - "traits": { - "smithy.api#documentation": "The namespace of the package that contains the requested package versions. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package is its groupId
.\n
\n The namespace of an npm package is its scope
.\n
\n Python and NuGet packages do not contain a corresponding component, packages \n of those formats do not have a namespace.\n
\n\n The name of the package.\n
" - } - }, - "versions": { - "target": "com.amazonaws.codeartifact#PackageVersionSummaryList", + "packageGroups": { + "target": "com.amazonaws.codeartifact#PackageGroupSummaryList", "traits": { - "smithy.api#documentation": "\n The returned list of \n PackageVersionSummary \n objects.\n
" + "smithy.api#documentation": "\n The list of package groups in the requested domain.\n
" } }, "nextToken": { "target": "com.amazonaws.codeartifact#PaginationToken", "traits": { - "smithy.api#documentation": "\n If there are additional results, this is the token for the next set of results.\n
" + "smithy.api#documentation": "\n 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.\n
" } } }, @@ -4166,13 +4436,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.codeartifact#ListPackages": { + "com.amazonaws.codeartifact#ListPackageVersionAssets": { "type": "operation", "input": { - "target": "com.amazonaws.codeartifact#ListPackagesRequest" + "target": "com.amazonaws.codeartifact#ListPackageVersionAssetsRequest" }, "output": { - "target": "com.amazonaws.codeartifact#ListPackagesResult" + "target": "com.amazonaws.codeartifact#ListPackageVersionAssetsResult" }, "errors": [ { @@ -4192,21 +4462,21 @@ } ], "traits": { - "smithy.api#documentation": "\n Returns a list of \n PackageSummary \n objects for packages in a repository that match the request parameters.\n
", + "smithy.api#documentation": "\n Returns a list of \n AssetSummary \n objects for assets in a package version.\n
", "smithy.api#http": { "method": "POST", - "uri": "/v1/packages", + "uri": "/v1/package/version/assets", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "packages", + "items": "assets", "pageSize": "maxResults" } } }, - "com.amazonaws.codeartifact#ListPackagesMaxResults": { + "com.amazonaws.codeartifact#ListPackageVersionAssetsMaxResults": { "type": "integer", "traits": { "smithy.api#range": { @@ -4215,13 +4485,13 @@ } } }, - "com.amazonaws.codeartifact#ListPackagesRequest": { + "com.amazonaws.codeartifact#ListPackageVersionAssetsRequest": { "type": "structure", "members": { "domain": { "target": "com.amazonaws.codeartifact#DomainName", "traits": { - "smithy.api#documentation": "\n The name of the domain that contains the repository that contains the requested packages.\n
", + "smithy.api#documentation": "\n The name of the domain that contains the repository associated with the package version assets.\n
", "smithy.api#httpQuery": "domain", "smithy.api#required": {} } @@ -4236,7 +4506,7 @@ "repository": { "target": "com.amazonaws.codeartifact#RepositoryName", "traits": { - "smithy.api#documentation": "\n The name of the repository that contains the requested packages.\n
", + "smithy.api#documentation": "\n The name of the repository that contains the package that contains the requested package version assets.\n
", "smithy.api#httpQuery": "repository", "smithy.api#required": {} } @@ -4244,26 +4514,36 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "The format used to filter requested packages. Only packages from the provided format will be returned.
", - "smithy.api#httpQuery": "format" + "smithy.api#documentation": "\n The format of the package that contains the requested package version assets.\n
", + "smithy.api#httpQuery": "format", + "smithy.api#required": {} } }, "namespace": { "target": "com.amazonaws.codeartifact#PackageNamespace", "traits": { - "smithy.api#documentation": "The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace
and not --namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
\n\n The namespace of a Maven package is its groupId
.\n
\n The namespace of an npm package is its scope
.\n
\n Python and NuGet packages do not contain a corresponding component, packages \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the package version that contains the requested package version assets. The package component that specifies its \n namespace depends on its type. For example:
\nThe namespace is required requesting assets from package versions of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n A prefix used to filter requested packages. Only packages with names that start with \n packagePrefix
are returned.\n
\n The name of the package that contains the requested package version assets.\n
", + "smithy.api#httpQuery": "package", + "smithy.api#required": {} + } + }, + "packageVersion": { + "target": "com.amazonaws.codeartifact#PackageVersion", + "traits": { + "smithy.api#documentation": "\n A string that contains the package version (for example, 3.5.2
).\n
\n The maximum number of results to return per page.\n
", "smithy.api#httpQuery": "max-results" @@ -4275,33 +4555,43 @@ "smithy.api#documentation": "\n 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.\n
", "smithy.api#httpQuery": "next-token" } - }, - "publish": { - "target": "com.amazonaws.codeartifact#AllowPublish", - "traits": { - "smithy.api#documentation": "The value of the Publish
package origin control restriction used to filter requested packages. \n Only packages with the provided restriction are returned. \n For more information, see PackageOriginRestrictions.
The value of the Upstream
package origin control restriction used to filter requested packages. \n Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
\n The list of returned PackageSummary \n objects.\n
" + "smithy.api#documentation": "\n The format of the package that contains the requested package version assets.\n
" + } + }, + "namespace": { + "target": "com.amazonaws.codeartifact#PackageNamespace", + "traits": { + "smithy.api#documentation": "The namespace of the package version that contains the requested package version assets. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n The name of the package that contains the requested package version assets.\n
" + } + }, + "version": { + "target": "com.amazonaws.codeartifact#PackageVersion", + "traits": { + "smithy.api#documentation": "\n The version of the package associated with the requested assets.\n
" + } + }, + "versionRevision": { + "target": "com.amazonaws.codeartifact#PackageVersionRevision", + "traits": { + "smithy.api#documentation": "\n The current revision associated with the package version.\n
" } }, "nextToken": { @@ -4309,56 +4599,25 @@ "traits": { "smithy.api#documentation": "\n If there are additional results, this is the token for the next set of results.\n
" } + }, + "assets": { + "target": "com.amazonaws.codeartifact#AssetSummaryList", + "traits": { + "smithy.api#documentation": "\n The returned list of AssetSummary objects.\n
" + } } }, "traits": { "smithy.api#output": {} } }, - "com.amazonaws.codeartifact#ListRepositories": { - "type": "operation", - "input": { - "target": "com.amazonaws.codeartifact#ListRepositoriesRequest" - }, - "output": { - "target": "com.amazonaws.codeartifact#ListRepositoriesResult" - }, - "errors": [ - { - "target": "com.amazonaws.codeartifact#AccessDeniedException" - }, - { - "target": "com.amazonaws.codeartifact#InternalServerException" - }, - { - "target": "com.amazonaws.codeartifact#ThrottlingException" - }, - { - "target": "com.amazonaws.codeartifact#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "\n Returns a list of \n RepositorySummary \n objects. Each RepositorySummary
contains information about a repository in the specified Amazon Web Services account and that matches the input \n parameters.\n
\n Returns a list of \n RepositorySummary \n objects. Each RepositorySummary
contains information about a repository in the specified domain and that matches the input \n parameters.\n
\n Returns the direct dependencies for a package version. The dependencies are returned as \n PackageDependency \n objects. CodeArtifact extracts the dependencies for a package version from the metadata file for the package \n format (for example, the package.json
file for npm packages and the pom.xml
file \n for Maven). Any package version dependencies that are not listed in the configuration file are not returned.\n
\n The name of the domain that contains the returned list of repositories.\n
", + "smithy.api#documentation": "\n The name of the domain that contains the repository that contains the requested package version dependencies.\n
", "smithy.api#httpQuery": "domain", "smithy.api#required": {} } @@ -4419,25 +4663,43 @@ "smithy.api#httpQuery": "domain-owner" } }, - "administratorAccount": { - "target": "com.amazonaws.codeartifact#AccountId", + "repository": { + "target": "com.amazonaws.codeartifact#RepositoryName", "traits": { - "smithy.api#documentation": "\n Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.\n
", - "smithy.api#httpQuery": "administrator-account" + "smithy.api#documentation": "\n The name of the repository that contains the requested package version.\n
", + "smithy.api#httpQuery": "repository", + "smithy.api#required": {} } }, - "repositoryPrefix": { - "target": "com.amazonaws.codeartifact#RepositoryName", + "format": { + "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "\n A prefix used to filter returned repositories. Only repositories with names that start with \n repositoryPrefix
are returned.\n
\n The format of the package with the requested dependencies.\n
", + "smithy.api#httpQuery": "format", + "smithy.api#required": {} } }, - "maxResults": { - "target": "com.amazonaws.codeartifact#ListRepositoriesInDomainMaxResults", + "namespace": { + "target": "com.amazonaws.codeartifact#PackageNamespace", "traits": { - "smithy.api#documentation": "\n The maximum number of results to return per page.\n
", - "smithy.api#httpQuery": "max-results" + "smithy.api#documentation": "The namespace of the package version with the requested dependencies. The package component that specifies its \n namespace depends on its type. For example:
\nThe namespace is required when listing dependencies from package versions of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n The name of the package versions' package.\n
", + "smithy.api#httpQuery": "package", + "smithy.api#required": {} + } + }, + "packageVersion": { + "target": "com.amazonaws.codeartifact#PackageVersion", + "traits": { + "smithy.api#documentation": "\n A string that contains the package version (for example, 3.5.2
).\n
\n The returned list of repositories.\n
" + "smithy.api#documentation": "\n A format that specifies the type of the package that contains the returned dependencies.\n
" } }, - "nextToken": { - "target": "com.amazonaws.codeartifact#PaginationToken", - "traits": { - "smithy.api#documentation": "\n If there are additional results, this is the token for the next set of results.\n
" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.codeartifact#ListRepositoriesMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 1000 - } - } - }, - "com.amazonaws.codeartifact#ListRepositoriesRequest": { - "type": "structure", - "members": { - "repositoryPrefix": { - "target": "com.amazonaws.codeartifact#RepositoryName", + "namespace": { + "target": "com.amazonaws.codeartifact#PackageNamespace", "traits": { - "smithy.api#documentation": " A prefix used to filter returned repositories. Only repositories with names that start\n with repositoryPrefix
are returned.
The namespace of the package version that contains the returned dependencies. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n The maximum number of results to return per page.\n
", - "smithy.api#httpQuery": "max-results" + "smithy.api#documentation": "\n The name of the package that contains the returned package versions dependencies.\n
" } }, - "nextToken": { - "target": "com.amazonaws.codeartifact#PaginationToken", + "version": { + "target": "com.amazonaws.codeartifact#PackageVersion", "traits": { - "smithy.api#documentation": "\n 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.\n
", - "smithy.api#httpQuery": "next-token" + "smithy.api#documentation": "\n The version of the package that is specified in the request.\n
" } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.codeartifact#ListRepositoriesResult": { - "type": "structure", - "members": { - "repositories": { - "target": "com.amazonaws.codeartifact#RepositorySummaryList", + }, + "versionRevision": { + "target": "com.amazonaws.codeartifact#PackageVersionRevision", "traits": { - "smithy.api#documentation": "\n The returned list of RepositorySummary \n objects.\n
" + "smithy.api#documentation": "\n The current revision associated with the package version.\n
" } }, "nextToken": { "target": "com.amazonaws.codeartifact#PaginationToken", "traits": { - "smithy.api#documentation": "\n If there are additional results, this is the token for the next set of results.\n
" + "smithy.api#documentation": "\n 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.\n
" + } + }, + "dependencies": { + "target": "com.amazonaws.codeartifact#PackageDependencyList", + "traits": { + "smithy.api#documentation": "\n The returned list of PackageDependency objects.\n
" } } }, @@ -4530,20 +4764,23 @@ "smithy.api#output": {} } }, - "com.amazonaws.codeartifact#ListTagsForResource": { + "com.amazonaws.codeartifact#ListPackageVersions": { "type": "operation", "input": { - "target": "com.amazonaws.codeartifact#ListTagsForResourceRequest" + "target": "com.amazonaws.codeartifact#ListPackageVersionsRequest" }, "output": { - "target": "com.amazonaws.codeartifact#ListTagsForResourceResult" + "target": "com.amazonaws.codeartifact#ListPackageVersionsResult" }, "errors": [ { "target": "com.amazonaws.codeartifact#AccessDeniedException" }, { - "target": "com.amazonaws.codeartifact#ResourceNotFoundException" + "target": "com.amazonaws.codeartifact#InternalServerException" + }, + { + "target": "com.amazonaws.codeartifact#ResourceNotFoundException" }, { "target": "com.amazonaws.codeartifact#ThrottlingException" @@ -4553,37 +4790,155 @@ } ], "traits": { - "smithy.api#documentation": "Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.
", + "smithy.api#documentation": "\n Returns a list of \n PackageVersionSummary \n objects for package versions in a repository that match the request parameters. Package versions of all statuses will be returned by default when calling list-package-versions
with no --status
parameter.\n
The Amazon Resource Name (ARN) of the resource to get tags for.
", - "smithy.api#httpQuery": "resourceArn", + "smithy.api#documentation": "\n The name of the domain that contains the repository that contains the requested package versions.\n
", + "smithy.api#httpQuery": "domain", + "smithy.api#required": {} + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", + "smithy.api#httpQuery": "domain-owner" + } + }, + "repository": { + "target": "com.amazonaws.codeartifact#RepositoryName", + "traits": { + "smithy.api#documentation": "\n The name of the repository that contains the requested package versions.\n
", + "smithy.api#httpQuery": "repository", + "smithy.api#required": {} + } + }, + "format": { + "target": "com.amazonaws.codeartifact#PackageFormat", + "traits": { + "smithy.api#documentation": "\n The format of the package versions you want to list.\n
", + "smithy.api#httpQuery": "format", + "smithy.api#required": {} + } + }, + "namespace": { + "target": "com.amazonaws.codeartifact#PackageNamespace", + "traits": { + "smithy.api#documentation": "The namespace of the package that contains the requested package versions. The package component that specifies its \n namespace depends on its type. For example:
\nThe namespace is required when deleting package versions of the following formats:
\nMaven
\nSwift
\ngeneric
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n The name of the package for which you want to request package versions.\n
", + "smithy.api#httpQuery": "package", "smithy.api#required": {} } + }, + "status": { + "target": "com.amazonaws.codeartifact#PackageVersionStatus", + "traits": { + "smithy.api#documentation": "\n A string that filters the requested package versions by status.\n
", + "smithy.api#httpQuery": "status" + } + }, + "sortBy": { + "target": "com.amazonaws.codeartifact#PackageVersionSortType", + "traits": { + "smithy.api#documentation": "\n How to sort the requested list of package versions.\n
", + "smithy.api#httpQuery": "sortBy" + } + }, + "maxResults": { + "target": "com.amazonaws.codeartifact#ListPackageVersionsMaxResults", + "traits": { + "smithy.api#documentation": "\n The maximum number of results to return per page.\n
", + "smithy.api#httpQuery": "max-results" + } + }, + "nextToken": { + "target": "com.amazonaws.codeartifact#PaginationToken", + "traits": { + "smithy.api#documentation": "\n 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.\n
", + "smithy.api#httpQuery": "next-token" + } + }, + "originType": { + "target": "com.amazonaws.codeartifact#PackageVersionOriginType", + "traits": { + "smithy.api#documentation": "The originType
used to filter package versions. \n Only package versions with the provided originType
will be returned.
A list of tag key and value pairs associated with the specified resource.
" + "smithy.api#documentation": "\n The default package version to display. This depends on the package format:\n
\n\n For Maven and PyPI packages, it's the most recently published package version.\n
\n\n For npm packages, it's the version referenced by the\n latest
tag. If the latest
tag is not set, it's the most recently published package version.\n
\n A format of the package.\n
" + } + }, + "namespace": { + "target": "com.amazonaws.codeartifact#PackageNamespace", + "traits": { + "smithy.api#documentation": "The namespace of the package that contains the requested package versions. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n The name of the package.\n
" + } + }, + "versions": { + "target": "com.amazonaws.codeartifact#PackageVersionSummaryList", + "traits": { + "smithy.api#documentation": "\n The returned list of \n PackageVersionSummary \n objects.\n
" + } + }, + "nextToken": { + "target": "com.amazonaws.codeartifact#PaginationToken", + "traits": { + "smithy.api#documentation": "\n If there are additional results, this is the token for the next set of results.\n
" } } }, @@ -4591,124 +4946,1028 @@ "smithy.api#output": {} } }, - "com.amazonaws.codeartifact#Long": { - "type": "long", + "com.amazonaws.codeartifact#ListPackages": { + "type": "operation", + "input": { + "target": "com.amazonaws.codeartifact#ListPackagesRequest" + }, + "output": { + "target": "com.amazonaws.codeartifact#ListPackagesResult" + }, + "errors": [ + { + "target": "com.amazonaws.codeartifact#AccessDeniedException" + }, + { + "target": "com.amazonaws.codeartifact#InternalServerException" + }, + { + "target": "com.amazonaws.codeartifact#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.codeartifact#ThrottlingException" + }, + { + "target": "com.amazonaws.codeartifact#ValidationException" + } + ], "traits": { - "smithy.api#default": 0 + "smithy.api#documentation": "\n Returns a list of \n PackageSummary \n objects for packages in a repository that match the request parameters.\n
", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/packages", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "packages", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.codeartifact#ListPackagesMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.codeartifact#ListPackagesRequest": { + "type": "structure", + "members": { + "domain": { + "target": "com.amazonaws.codeartifact#DomainName", + "traits": { + "smithy.api#documentation": "\n The name of the domain that contains the repository that contains the requested packages.\n
", + "smithy.api#httpQuery": "domain", + "smithy.api#required": {} + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", + "smithy.api#httpQuery": "domain-owner" + } + }, + "repository": { + "target": "com.amazonaws.codeartifact#RepositoryName", + "traits": { + "smithy.api#documentation": "\n The name of the repository that contains the requested packages.\n
", + "smithy.api#httpQuery": "repository", + "smithy.api#required": {} + } + }, + "format": { + "target": "com.amazonaws.codeartifact#PackageFormat", + "traits": { + "smithy.api#documentation": "The format used to filter requested packages. Only packages from the provided format will be returned.
", + "smithy.api#httpQuery": "format" + } + }, + "namespace": { + "target": "com.amazonaws.codeartifact#PackageNamespace", + "traits": { + "smithy.api#documentation": "The namespace prefix used to filter requested packages. \n Only packages with a namespace that starts with the provided string value are returned. \n Note that although this option is called --namespace
and not --namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n A prefix used to filter requested packages. Only packages with names that start with \n packagePrefix
are returned.\n
\n The maximum number of results to return per page.\n
", + "smithy.api#httpQuery": "max-results" + } + }, + "nextToken": { + "target": "com.amazonaws.codeartifact#PaginationToken", + "traits": { + "smithy.api#documentation": "\n 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.\n
", + "smithy.api#httpQuery": "next-token" + } + }, + "publish": { + "target": "com.amazonaws.codeartifact#AllowPublish", + "traits": { + "smithy.api#documentation": "The value of the Publish
package origin control restriction used to filter requested packages. \n Only packages with the provided restriction are returned. \n For more information, see PackageOriginRestrictions.
The value of the Upstream
package origin control restriction used to filter requested packages. \n Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
\n The list of returned PackageSummary \n objects.\n
" + } + }, + "nextToken": { + "target": "com.amazonaws.codeartifact#PaginationToken", + "traits": { + "smithy.api#documentation": "\n If there are additional results, this is the token for the next set of results.\n
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.codeartifact#ListRepositories": { + "type": "operation", + "input": { + "target": "com.amazonaws.codeartifact#ListRepositoriesRequest" + }, + "output": { + "target": "com.amazonaws.codeartifact#ListRepositoriesResult" + }, + "errors": [ + { + "target": "com.amazonaws.codeartifact#AccessDeniedException" + }, + { + "target": "com.amazonaws.codeartifact#InternalServerException" + }, + { + "target": "com.amazonaws.codeartifact#ThrottlingException" + }, + { + "target": "com.amazonaws.codeartifact#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "\n Returns a list of \n RepositorySummary \n objects. Each RepositorySummary
contains information about a repository in the specified Amazon Web Services account and that matches the input \n parameters.\n
\n Returns a list of \n RepositorySummary \n objects. Each RepositorySummary
contains information about a repository in the specified domain and that matches the input \n parameters.\n
\n The name of the domain that contains the returned list of repositories.\n
", + "smithy.api#httpQuery": "domain", + "smithy.api#required": {} + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", + "smithy.api#httpQuery": "domain-owner" + } + }, + "administratorAccount": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.\n
", + "smithy.api#httpQuery": "administrator-account" + } + }, + "repositoryPrefix": { + "target": "com.amazonaws.codeartifact#RepositoryName", + "traits": { + "smithy.api#documentation": "\n A prefix used to filter returned repositories. Only repositories with names that start with \n repositoryPrefix
are returned.\n
\n The maximum number of results to return per page.\n
", + "smithy.api#httpQuery": "max-results" + } + }, + "nextToken": { + "target": "com.amazonaws.codeartifact#PaginationToken", + "traits": { + "smithy.api#documentation": "\n 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.\n
", + "smithy.api#httpQuery": "next-token" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codeartifact#ListRepositoriesInDomainResult": { + "type": "structure", + "members": { + "repositories": { + "target": "com.amazonaws.codeartifact#RepositorySummaryList", + "traits": { + "smithy.api#documentation": "\n The returned list of repositories.\n
" + } + }, + "nextToken": { + "target": "com.amazonaws.codeartifact#PaginationToken", + "traits": { + "smithy.api#documentation": "\n If there are additional results, this is the token for the next set of results.\n
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.codeartifact#ListRepositoriesMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.codeartifact#ListRepositoriesRequest": { + "type": "structure", + "members": { + "repositoryPrefix": { + "target": "com.amazonaws.codeartifact#RepositoryName", + "traits": { + "smithy.api#documentation": " A prefix used to filter returned repositories. Only repositories with names that start\n with repositoryPrefix
are returned.
\n The maximum number of results to return per page.\n
", + "smithy.api#httpQuery": "max-results" + } + }, + "nextToken": { + "target": "com.amazonaws.codeartifact#PaginationToken", + "traits": { + "smithy.api#documentation": "\n 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.\n
", + "smithy.api#httpQuery": "next-token" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codeartifact#ListRepositoriesResult": { + "type": "structure", + "members": { + "repositories": { + "target": "com.amazonaws.codeartifact#RepositorySummaryList", + "traits": { + "smithy.api#documentation": "\n The returned list of RepositorySummary \n objects.\n
" + } + }, + "nextToken": { + "target": "com.amazonaws.codeartifact#PaginationToken", + "traits": { + "smithy.api#documentation": "\n If there are additional results, this is the token for the next set of results.\n
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.codeartifact#ListSubPackageGroups": { + "type": "operation", + "input": { + "target": "com.amazonaws.codeartifact#ListSubPackageGroupsRequest" + }, + "output": { + "target": "com.amazonaws.codeartifact#ListSubPackageGroupsResult" + }, + "errors": [ + { + "target": "com.amazonaws.codeartifact#AccessDeniedException" + }, + { + "target": "com.amazonaws.codeartifact#InternalServerException" + }, + { + "target": "com.amazonaws.codeartifact#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.codeartifact#ThrottlingException" + }, + { + "target": "com.amazonaws.codeartifact#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a list of direct children of the specified package group.
\nFor information package group hierarchy, see \n Package group \n definition syntax and matching behavior in the CodeArtifact User Guide.
", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/package-groups/sub-groups", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "packageGroups", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.codeartifact#ListSubPackageGroupsRequest": { + "type": "structure", + "members": { + "domain": { + "target": "com.amazonaws.codeartifact#DomainName", + "traits": { + "smithy.api#documentation": "\n The name of the domain which contains the package group from which to list sub package groups.\n
", + "smithy.api#httpQuery": "domain", + "smithy.api#required": {} + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", + "smithy.api#httpQuery": "domain-owner" + } + }, + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupPattern", + "traits": { + "smithy.api#documentation": "\n The pattern of the package group from which to list sub package groups.\n
", + "smithy.api#httpQuery": "package-group", + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.codeartifact#ListPackageGroupsMaxResults", + "traits": { + "smithy.api#documentation": "\n The maximum number of results to return per page.\n
", + "smithy.api#httpQuery": "max-results" + } + }, + "nextToken": { + "target": "com.amazonaws.codeartifact#PaginationToken", + "traits": { + "smithy.api#documentation": "\n 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.\n
", + "smithy.api#httpQuery": "next-token" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codeartifact#ListSubPackageGroupsResult": { + "type": "structure", + "members": { + "packageGroups": { + "target": "com.amazonaws.codeartifact#PackageGroupSummaryList", + "traits": { + "smithy.api#documentation": "\n A list of sub package groups for the requested package group.\n
" + } + }, + "nextToken": { + "target": "com.amazonaws.codeartifact#PaginationToken", + "traits": { + "smithy.api#documentation": "\n If there are additional results, this is the token for the next set of results.\n
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.codeartifact#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.codeartifact#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.codeartifact#ListTagsForResourceResult" + }, + "errors": [ + { + "target": "com.amazonaws.codeartifact#AccessDeniedException" + }, + { + "target": "com.amazonaws.codeartifact#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.codeartifact#ThrottlingException" + }, + { + "target": "com.amazonaws.codeartifact#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.
", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/tags", + "code": 200 + } + } + }, + "com.amazonaws.codeartifact#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.codeartifact#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource to get tags for.
", + "smithy.api#httpQuery": "resourceArn", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codeartifact#ListTagsForResourceResult": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.codeartifact#TagList", + "traits": { + "smithy.api#documentation": "A list of tag key and value pairs associated with the specified resource.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.codeartifact#Long": { + "type": "long", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.codeartifact#LongOptional": { + "type": "long" + }, + "com.amazonaws.codeartifact#OriginRestrictions": { + "type": "map", + "key": { + "target": "com.amazonaws.codeartifact#PackageGroupOriginRestrictionType" + }, + "value": { + "target": "com.amazonaws.codeartifact#PackageGroupOriginRestrictionMode" + } + }, + "com.amazonaws.codeartifact#PackageDependency": { + "type": "structure", + "members": { + "namespace": { + "target": "com.amazonaws.codeartifact#PackageNamespace", + "traits": { + "smithy.api#documentation": "The namespace of the package that this package depends on. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n\n The name of the package that this package depends on.\n
" + } + }, + "dependencyType": { + "target": "com.amazonaws.codeartifact#String", + "traits": { + "smithy.api#documentation": "The type of a package dependency. The possible values depend on the package type.
\nnpm: regular
, dev
, peer
, optional
\n
maven: optional
, parent
, compile
, runtime
, test
, system
, provided
.
Note that parent
is not a regular Maven dependency type; instead this is extracted from the
element if one is defined in the package version's POM file.
nuget: The dependencyType
field is never set for NuGet packages.
pypi: Requires-Dist
\n
\n The required version, or version range, of the package that this package depends on. The version format\n is specific to the package type. For example, the following are possible valid required versions: 1.2.3
,\n ^2.3.4
, or 4.x
.\n
\n Details about a package dependency.\n
" + } + }, + "com.amazonaws.codeartifact#PackageDependencyList": { + "type": "list", + "member": { + "target": "com.amazonaws.codeartifact#PackageDependency" + } + }, + "com.amazonaws.codeartifact#PackageDescription": { + "type": "structure", + "members": { + "format": { + "target": "com.amazonaws.codeartifact#PackageFormat", + "traits": { + "smithy.api#documentation": "A format that specifies the type of the package.
" + } + }, + "namespace": { + "target": "com.amazonaws.codeartifact#PackageNamespace", + "traits": { + "smithy.api#documentation": "The namespace of the package. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nThe name of the package.
" + } + }, + "originConfiguration": { + "target": "com.amazonaws.codeartifact#PackageOriginConfiguration", + "traits": { + "smithy.api#documentation": "The package origin configuration for the package.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Details about a package.
" + } + }, + "com.amazonaws.codeartifact#PackageFormat": { + "type": "enum", + "members": { + "NPM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "npm" + } + }, + "PYPI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pypi" + } + }, + "MAVEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "maven" + } + }, + "NUGET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nuget" + } + }, + "GENERIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "generic" + } + }, + "SWIFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "swift" + } + } + } + }, + "com.amazonaws.codeartifact#PackageGroupAllowedRepository": { + "type": "structure", + "members": { + "repositoryName": { + "target": "com.amazonaws.codeartifact#RepositoryName", + "traits": { + "smithy.api#documentation": "\n The name of the allowed repository.\n
" + } + }, + "originRestrictionType": { + "target": "com.amazonaws.codeartifact#PackageGroupOriginRestrictionType", + "traits": { + "smithy.api#documentation": "The origin configuration restriction type of the allowed repository.
" + } + } + }, + "traits": { + "smithy.api#documentation": "\n Details about an allowed repository for a package group, including its name and origin configuration.\n
" + } + }, + "com.amazonaws.codeartifact#PackageGroupAllowedRepositoryList": { + "type": "list", + "member": { + "target": "com.amazonaws.codeartifact#PackageGroupAllowedRepository" + } + }, + "com.amazonaws.codeartifact#PackageGroupAllowedRepositoryUpdate": { + "type": "map", + "key": { + "target": "com.amazonaws.codeartifact#PackageGroupAllowedRepositoryUpdateType" + }, + "value": { + "target": "com.amazonaws.codeartifact#RepositoryNameList" + } + }, + "com.amazonaws.codeartifact#PackageGroupAllowedRepositoryUpdateType": { + "type": "enum", + "members": { + "ADDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADDED" + } + }, + "REMOVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REMOVED" + } + } + } + }, + "com.amazonaws.codeartifact#PackageGroupAllowedRepositoryUpdates": { + "type": "map", + "key": { + "target": "com.amazonaws.codeartifact#PackageGroupOriginRestrictionType" + }, + "value": { + "target": "com.amazonaws.codeartifact#PackageGroupAllowedRepositoryUpdate" + } + }, + "com.amazonaws.codeartifact#PackageGroupAssociationType": { + "type": "enum", + "members": { + "STRONG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRONG" + } + }, + "WEAK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WEAK" + } + } + } + }, + "com.amazonaws.codeartifact#PackageGroupContactInfo": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1000 + }, + "smithy.api#pattern": "^\\P{C}*$" + } + }, + "com.amazonaws.codeartifact#PackageGroupDescription": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.codeartifact#Arn", + "traits": { + "smithy.api#documentation": "\n The ARN of the package group.\n
" + } + }, + "pattern": { + "target": "com.amazonaws.codeartifact#PackageGroupPattern", + "traits": { + "smithy.api#documentation": "\n The pattern of the package group. The pattern determines which packages are associated with the package group.\n
" + } + }, + "domainName": { + "target": "com.amazonaws.codeartifact#DomainName", + "traits": { + "smithy.api#documentation": "\n The name of the domain that contains the package group.\n
" + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
" + } + }, + "createdTime": { + "target": "com.amazonaws.codeartifact#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp that represents the date and time the package group was created.
" + } + }, + "contactInfo": { + "target": "com.amazonaws.codeartifact#PackageGroupContactInfo", + "traits": { + "smithy.api#documentation": "\n The contact information of the package group.\n
" + } + }, + "description": { + "target": "com.amazonaws.codeartifact#Description", + "traits": { + "smithy.api#documentation": "\n The description of the package group.\n
" + } + }, + "originConfiguration": { + "target": "com.amazonaws.codeartifact#PackageGroupOriginConfiguration", + "traits": { + "smithy.api#documentation": "The package group origin configuration that determines how package versions can enter repositories.
" + } + }, + "parent": { + "target": "com.amazonaws.codeartifact#PackageGroupReference", + "traits": { + "smithy.api#documentation": "\n The direct parent package group of the package group.\n
" + } + } + }, + "traits": { + "smithy.api#documentation": "\n The description of the package group.\n
" + } + }, + "com.amazonaws.codeartifact#PackageGroupOriginConfiguration": { + "type": "structure", + "members": { + "restrictions": { + "target": "com.amazonaws.codeartifact#PackageGroupOriginRestrictions", + "traits": { + "smithy.api#documentation": "The origin configuration settings that determine how package versions can enter repositories.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The package group origin configuration that determines how package versions can enter repositories.
" + } + }, + "com.amazonaws.codeartifact#PackageGroupOriginRestriction": { + "type": "structure", + "members": { + "mode": { + "target": "com.amazonaws.codeartifact#PackageGroupOriginRestrictionMode", + "traits": { + "smithy.api#documentation": "The package group origin restriction setting. If the value of mode
is ALLOW
, \n ALLOW_SPECIFIC_REPOSITORIES
, or BLOCK
, then the value of effectiveMode
\n is the same. Otherwise, when the value is INHERIT
, then the value of effectiveMode
is the value of \n mode
of the first parent group which does not have a value of INHERIT
.
The effective package group origin restriction setting. If the value of mode
is ALLOW
, \n ALLOW_SPECIFIC_REPOSITORIES
, or BLOCK
, then the value of effectiveMode
\n is the same. Otherwise, when the value of mode
is INHERIT
, then the value of effectiveMode
is the value of \n mode
of the first parent group which does not have a value of INHERIT
.
The parent package group that the package group origin restrictions are inherited from.
" + } + }, + "repositoriesCount": { + "target": "com.amazonaws.codeartifact#LongOptional", + "traits": { + "smithy.api#documentation": "The number of repositories in the allowed repository list.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains information about the configured restrictions of the origin controls of a package group.
" + } + }, + "com.amazonaws.codeartifact#PackageGroupOriginRestrictionMode": { + "type": "enum", + "members": { + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW" + } + }, + "ALLOW_SPECIFIC_REPOSITORIES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW_SPECIFIC_REPOSITORIES" + } + }, + "BLOCK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BLOCK" + } + }, + "INHERIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INHERIT" + } + } + } + }, + "com.amazonaws.codeartifact#PackageGroupOriginRestrictionType": { + "type": "enum", + "members": { + "EXTERNAL_UPSTREAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXTERNAL_UPSTREAM" + } + }, + "INTERNAL_UPSTREAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_UPSTREAM" + } + }, + "PUBLISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PUBLISH" + } + } + } + }, + "com.amazonaws.codeartifact#PackageGroupOriginRestrictions": { + "type": "map", + "key": { + "target": "com.amazonaws.codeartifact#PackageGroupOriginRestrictionType" + }, + "value": { + "target": "com.amazonaws.codeartifact#PackageGroupOriginRestriction" + } + }, + "com.amazonaws.codeartifact#PackageGroupPattern": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 520 + }, + "smithy.api#pattern": "^[^\\p{C}\\p{IsWhitespace}]+$" } }, - "com.amazonaws.codeartifact#LongOptional": { - "type": "long" + "com.amazonaws.codeartifact#PackageGroupPatternPrefix": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 520 + }, + "smithy.api#pattern": "^\\P{C}*$" + } }, - "com.amazonaws.codeartifact#PackageDependency": { + "com.amazonaws.codeartifact#PackageGroupReference": { "type": "structure", "members": { - "namespace": { - "target": "com.amazonaws.codeartifact#PackageNamespace", - "traits": { - "smithy.api#documentation": "The namespace of the package that this package depends on. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package is its groupId
.\n
\n The namespace of an npm package is its scope
.\n
\n Python and NuGet packages do not contain a corresponding component, packages \n of those formats do not have a namespace.\n
\n\n The name of the package that this package depends on.\n
" - } - }, - "dependencyType": { - "target": "com.amazonaws.codeartifact#String", + "arn": { + "target": "com.amazonaws.codeartifact#Arn", "traits": { - "smithy.api#documentation": "The type of a package dependency. The possible values depend on the package type.
\nnpm: regular
, dev
, peer
, optional
\n
maven: optional
, parent
, compile
, runtime
, test
, system
, provided
.
Note that parent
is not a regular Maven dependency type; instead this is extracted from the
element if one is defined in the package version's POM file.
nuget: The dependencyType
field is never set for NuGet packages.
pypi: Requires-Dist
\n
\n The ARN of the package group.\n
" } }, - "versionRequirement": { - "target": "com.amazonaws.codeartifact#String", + "pattern": { + "target": "com.amazonaws.codeartifact#PackageGroupPattern", "traits": { - "smithy.api#documentation": "\n The required version, or version range, of the package that this package depends on. The version format\n is specific to the package type. For example, the following are possible valid required versions: 1.2.3
,\n ^2.3.4
, or 4.x
.\n
\n The pattern of the package group. The pattern determines which packages are associated with the package group, and is \n also the identifier of the package group.\n
" } } }, "traits": { - "smithy.api#documentation": "\n Details about a package dependency.\n
" - } - }, - "com.amazonaws.codeartifact#PackageDependencyList": { - "type": "list", - "member": { - "target": "com.amazonaws.codeartifact#PackageDependency" + "smithy.api#documentation": "Information about the identifiers of a package group.
" } }, - "com.amazonaws.codeartifact#PackageDescription": { + "com.amazonaws.codeartifact#PackageGroupSummary": { "type": "structure", "members": { - "format": { - "target": "com.amazonaws.codeartifact#PackageFormat", + "arn": { + "target": "com.amazonaws.codeartifact#Arn", "traits": { - "smithy.api#documentation": "A format that specifies the type of the package.
" + "smithy.api#documentation": "\n The ARN of the package group.\n
" } }, - "namespace": { - "target": "com.amazonaws.codeartifact#PackageNamespace", + "pattern": { + "target": "com.amazonaws.codeartifact#PackageGroupPattern", "traits": { - "smithy.api#documentation": "The namespace of the package. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package is its groupId
.\n
\n The namespace of an npm package is its scope
.\n
\n Python and NuGet packages do not contain a corresponding component, packages \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
\n The pattern of the package group. The pattern determines which packages are associated with the package group.\n
" } }, - "name": { - "target": "com.amazonaws.codeartifact#PackageName", + "domainName": { + "target": "com.amazonaws.codeartifact#DomainName", "traits": { - "smithy.api#documentation": "The name of the package.
" + "smithy.api#documentation": "\n The domain that contains the package group.\n
" } }, - "originConfiguration": { - "target": "com.amazonaws.codeartifact#PackageOriginConfiguration", - "traits": { - "smithy.api#documentation": "The package origin configuration for the package.
" - } - } - }, - "traits": { - "smithy.api#documentation": "Details about a package.
" - } - }, - "com.amazonaws.codeartifact#PackageFormat": { - "type": "enum", - "members": { - "NPM": { - "target": "smithy.api#Unit", + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#enumValue": "npm" + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
" } }, - "PYPI": { - "target": "smithy.api#Unit", + "createdTime": { + "target": "com.amazonaws.codeartifact#Timestamp", "traits": { - "smithy.api#enumValue": "pypi" + "smithy.api#documentation": "A timestamp that represents the date and time the repository was created.
" } }, - "MAVEN": { - "target": "smithy.api#Unit", + "contactInfo": { + "target": "com.amazonaws.codeartifact#PackageGroupContactInfo", "traits": { - "smithy.api#enumValue": "maven" + "smithy.api#documentation": "\n The contact information of the package group.\n
" } }, - "NUGET": { - "target": "smithy.api#Unit", + "description": { + "target": "com.amazonaws.codeartifact#Description", "traits": { - "smithy.api#enumValue": "nuget" + "smithy.api#documentation": "\n The description of the package group.\n
" } }, - "GENERIC": { - "target": "smithy.api#Unit", + "originConfiguration": { + "target": "com.amazonaws.codeartifact#PackageGroupOriginConfiguration", "traits": { - "smithy.api#enumValue": "generic" + "smithy.api#documentation": "Details about the package origin configuration of a package group.
" } }, - "SWIFT": { - "target": "smithy.api#Unit", + "parent": { + "target": "com.amazonaws.codeartifact#PackageGroupReference", "traits": { - "smithy.api#enumValue": "swift" + "smithy.api#documentation": "\n The direct parent package group of the package group.\n
" } } + }, + "traits": { + "smithy.api#documentation": "Details about a package group.
" + } + }, + "com.amazonaws.codeartifact#PackageGroupSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.codeartifact#PackageGroupSummary" } }, "com.amazonaws.codeartifact#PackageName": { @@ -4779,7 +6038,7 @@ "namespace": { "target": "com.amazonaws.codeartifact#PackageNamespace", "traits": { - "smithy.api#documentation": "The namespace of the package. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package is its groupId
.\n
\n The namespace of an npm package is its scope
.\n
\n Python and NuGet packages do not contain a corresponding component, packages \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the package. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nThe namespace of the package version. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the package version. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nCreates a new package version containing one or more assets (or files).
\nThe unfinished
flag can be used to keep the package version in the\n Unfinished
state until all of its assets have been uploaded (see Package version status in the CodeArtifact user guide). To set\n the package version’s status to Published
, omit the unfinished
flag\n when uploading the final asset, or set the status using UpdatePackageVersionStatus. Once a package version’s status is set to\n Published
, it cannot change back to Unfinished
.
Only generic packages can be published using this API. For more information, see Using generic\n packages in the CodeArtifact User Guide.
\nCreates a new package version containing one or more assets (or files).
\nThe unfinished
flag can be used to keep the package version in the\n Unfinished
state until all of its assets have been uploaded (see Package version status in the CodeArtifact user guide). To set\n the package version’s status to Published
, omit the unfinished
flag\n when uploading the final asset, or set the status using UpdatePackageVersionStatus. Once a package version’s status is set to\n Published
, it cannot change back to Unfinished
.
Only generic packages can be published using this API. For more information, see Using generic\n packages in the CodeArtifact User Guide.
\nThe name of the asset to publish. Asset names can include Unicode letters and numbers, and\n the following special characters: ~ ! @ ^ & ( ) - ` _ + [ ] { } ; , .\n `
\n
The name of the asset to publish. Asset names can include Unicode letters and numbers, and\n the following special characters: ~ ! @ ^ & ( ) - ` _ + [ ] { } ; , .\n `
\n
The SHA256 hash of the assetContent
to publish. This value must be calculated\n by the caller and provided with the request (see Publishing a generic package in the CodeArtifact User\n Guide).
This value is used as an integrity check to verify that the assetContent
has\n not changed after it was originally sent.
The SHA256 hash of the assetContent
to publish. This value must be calculated\n by the caller and provided with the request (see Publishing a generic package in the CodeArtifact User\n Guide).
This value is used as an integrity check to verify that the assetContent
has\n not changed after it was originally sent.
Specifies whether the package version should remain in the unfinished
\n state. If omitted, the package version status will be set to Published
(see\n Package version status in the CodeArtifact User Guide).
Valid values: unfinished
\n
Specifies whether the package version should remain in the unfinished
\n state. If omitted, the package version status will be set to Published
(see\n Package version status in the CodeArtifact User Guide).
Valid values: unfinished
\n
The namespace of the package to be updated. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package is its groupId
.\n
\n The namespace of an npm package is its scope
.\n
\n Python and NuGet packages do not contain a corresponding component, packages \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the package to be updated. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\nUpdates a package group. This API cannot be used to update a package group's origin configuration or pattern. To update a \n package group's origin configuration, use UpdatePackageGroupOriginConfiguration.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/v1/package-group", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.codeartifact#UpdatePackageGroupOriginConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.codeartifact#UpdatePackageGroupOriginConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.codeartifact#UpdatePackageGroupOriginConfigurationResult" + }, + "errors": [ + { + "target": "com.amazonaws.codeartifact#AccessDeniedException" + }, + { + "target": "com.amazonaws.codeartifact#InternalServerException" + }, + { + "target": "com.amazonaws.codeartifact#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.codeartifact#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.codeartifact#ThrottlingException" + }, + { + "target": "com.amazonaws.codeartifact#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the package origin configuration for a package group.
\nThe package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct \n publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. \n For more information about package group origin controls and configuration, see \n Package group origin controls \n in the CodeArtifact User Guide.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/v1/package-group-origin-configuration", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.codeartifact#UpdatePackageGroupOriginConfigurationRequest": { + "type": "structure", + "members": { + "domain": { + "target": "com.amazonaws.codeartifact#DomainName", + "traits": { + "smithy.api#documentation": "\n The name of the domain which contains the package group for which to update the origin configuration.\n
", + "smithy.api#httpQuery": "domain", + "smithy.api#required": {} + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", + "smithy.api#httpQuery": "domain-owner" + } + }, + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupPattern", + "traits": { + "smithy.api#documentation": "\n The pattern of the package group for which to update the origin configuration.\n
", + "smithy.api#httpQuery": "package-group", + "smithy.api#required": {} + } + }, + "restrictions": { + "target": "com.amazonaws.codeartifact#OriginRestrictions", + "traits": { + "smithy.api#documentation": "\n The origin configuration settings that determine how package versions can enter repositories.\n
" + } + }, + "addAllowedRepositories": { + "target": "com.amazonaws.codeartifact#PackageGroupAllowedRepositoryList", + "traits": { + "smithy.api#documentation": "The repository name and restrictions to add to the allowed repository list of the specified package group.
" + } + }, + "removeAllowedRepositories": { + "target": "com.amazonaws.codeartifact#PackageGroupAllowedRepositoryList", + "traits": { + "smithy.api#documentation": "The repository name and restrictions to remove from the allowed repository list of the specified package group.
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codeartifact#UpdatePackageGroupOriginConfigurationResult": { + "type": "structure", + "members": { + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupDescription", + "traits": { + "smithy.api#documentation": "\n The package group and information about it after processing the request.\n
" + } + }, + "allowedRepositoryUpdates": { + "target": "com.amazonaws.codeartifact#PackageGroupAllowedRepositoryUpdates", + "traits": { + "smithy.api#documentation": "Information about the updated allowed repositories after processing the request.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.codeartifact#UpdatePackageGroupRequest": { + "type": "structure", + "members": { + "domain": { + "target": "com.amazonaws.codeartifact#DomainName", + "traits": { + "smithy.api#documentation": "\n The name of the domain which contains the package group to be updated.\n
", + "smithy.api#httpQuery": "domain", + "smithy.api#required": {} + } + }, + "domainOwner": { + "target": "com.amazonaws.codeartifact#AccountId", + "traits": { + "smithy.api#documentation": "\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n
", + "smithy.api#httpQuery": "domain-owner" + } + }, + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupPattern", + "traits": { + "smithy.api#documentation": "\n The pattern of the package group to be updated.\n
", + "smithy.api#required": {} + } + }, + "contactInfo": { + "target": "com.amazonaws.codeartifact#PackageGroupContactInfo", + "traits": { + "smithy.api#documentation": "\n Contact information which you want to update the requested package group with.\n
" + } + }, + "description": { + "target": "com.amazonaws.codeartifact#Description", + "traits": { + "smithy.api#documentation": "\n The description you want to update the requested package group with.\n
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codeartifact#UpdatePackageGroupResult": { + "type": "structure", + "members": { + "packageGroup": { + "target": "com.amazonaws.codeartifact#PackageGroupDescription", + "traits": { + "smithy.api#documentation": "\n The package group and information about it after the request has been processed.\n
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codeartifact#UpdatePackageVersionsStatus": { "type": "operation", "input": { @@ -6267,7 +7733,7 @@ "namespace": { "target": "com.amazonaws.codeartifact#PackageNamespace", "traits": { - "smithy.api#documentation": "The namespace of the package version to be updated. The package version component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm package version is its scope
.\n
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n The namespace of a generic package is its namespace
.
The namespace of the package version to be updated. The package component that specifies its \n namespace depends on its type. For example:
\n\n The namespace of a Maven package version is its groupId
.\n
\n The namespace of an npm or Swift package version is its scope
.\n
The namespace of a generic package is its namespace
.
\n Python and NuGet package versions do not contain a corresponding component, package versions \n of those formats do not have a namespace.\n
\n