codeartifact

Implementation details for API codeartifact

Coverage Overview


AvailabilityTesting*
OperationImplementedImageInternal Test SuiteExternal Test SuiteTerraform ValidatedAWS ValidatedSnapshot TestedDetails
AssociateExternalConnection✔️pro✔️✔️✔️Show Tests
CopyPackageVersions✔️pro
CreateDomain✔️pro✔️✔️✔️Show Tests
CreatePackageGroup✔️pro
CreateRepository✔️pro✔️✔️✔️Show Tests
DeleteDomain✔️pro✔️✔️✔️Show Tests
DeleteDomainPermissionsPolicy✔️pro
DeletePackage✔️pro
DeletePackageGroup✔️pro
DeletePackageVersions✔️pro
DeleteRepository✔️pro✔️✔️✔️Show Tests
DeleteRepositoryPermissionsPolicy✔️pro
DescribeDomain✔️pro✔️✔️✔️Show Tests
DescribePackage✔️pro
DescribePackageGroup✔️pro
DescribePackageVersion✔️pro
DescribeRepository✔️pro✔️✔️✔️Show Tests
DisassociateExternalConnection✔️pro✔️✔️✔️Show Tests
DisposePackageVersions✔️pro
GetAssociatedPackageGroup✔️pro
GetAuthorizationToken✔️pro
GetDomainPermissionsPolicy✔️pro
GetPackageVersionAsset✔️pro
GetPackageVersionReadme✔️pro
GetRepositoryEndpoint✔️pro
GetRepositoryPermissionsPolicy✔️pro
ListAllowedRepositoriesForGroup✔️pro
ListAssociatedPackages✔️pro
ListDomains✔️pro✔️✔️✔️Show Tests
ListPackageGroups✔️pro
ListPackageVersionAssets✔️pro
ListPackageVersionDependencies✔️pro
ListPackageVersions✔️pro
ListPackages✔️pro
ListRepositories✔️pro✔️✔️✔️Show Tests
ListRepositoriesInDomain✔️pro✔️✔️✔️Show Tests
ListSubPackageGroups✔️pro
ListTagsForResource✔️pro✔️✔️✔️Show Tests
PublishPackageVersion✔️pro
PutDomainPermissionsPolicy✔️pro
PutPackageOriginConfiguration✔️pro
PutRepositoryPermissionsPolicy✔️pro
TagResource✔️pro✔️✔️✔️Show Tests
UntagResource✔️pro✔️✔️✔️Show Tests
UpdatePackageGroup✔️pro
UpdatePackageGroupOriginConfiguration✔️pro
UpdatePackageVersionsStatus✔️pro
UpdateRepository✔️pro✔️✔️✔️Show Tests

Terminology

  • Internal Test Suite: tested by LocalStack's internal integration test suite
  • External Test Suite: covered by an external integration test suite, that runs against LocalStack
  • Terraform Validated: operation tested with Terraform
  • AWS Validated: the integration test that includes this operation call was validated against AWS
  • Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same

Testing Details

This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.

How to read the test details?

For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the execution of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.

  • Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
  • Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
    • test name
    • status code returned (which is the expected one for the test case)
    • information about validation:
      • AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
      • Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS


AssociateExternalConnection

Parameters: domain, externalConnection, repository
  • LocalStack Pro
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 404 (DomainNotFoundException) AWS validated Snapshot Tested

CreateDomain

Parameters: domain
  • LocalStack Pro
    • test_domain_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_domain_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_error_deleting_domains_with_repositories LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_error_deleting_domains_with_repositories HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_and_domain_tagging LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_and_domain_tagging HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_domain_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_domain_crud_operations HTTP Status Code: 400 (RegexValidationException) AWS validated Snapshot Tested
    • test_domain_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_domain_crud_operations HTTP Status Code: 409 (ConflictException) AWS validated Snapshot Tested

CreateRepository

Parameters: domain, repository
  • LocalStack Pro
    • test_error_deleting_domains_with_repositories LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_error_deleting_domains_with_repositories HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_and_domain_tagging LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_and_domain_tagging HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 400 (RegexValidationException) AWS validated Snapshot Tested
Parameters: domain, repository, upstreams
  • LocalStack Pro
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 404 (RepositoryNotFoundException) AWS validated Snapshot Tested

DeleteDomain

Parameters: domain
  • LocalStack Pro
    • test_domain_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_domain_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_error_deleting_domains_with_repositories LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_error_deleting_domains_with_repositories HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_and_domain_tagging LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_and_domain_tagging HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_error_deleting_domains_with_repositories LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_error_deleting_domains_with_repositories HTTP Status Code: 409 (ConflictException) AWS validated Snapshot Tested

DeleteRepository

Parameters: domain, repository
  • LocalStack Pro
    • test_error_deleting_domains_with_repositories LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_error_deleting_domains_with_repositories HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_and_domain_tagging LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_and_domain_tagging HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 404 (DomainNotFoundException) AWS validated Snapshot Tested

DescribeDomain

Parameters: domain
  • LocalStack Pro
    • test_domain_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_domain_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_domain_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_domain_crud_operations HTTP Status Code: 404 (DomainNotFoundException) AWS validated Snapshot Tested

DescribeRepository

Parameters: domain, repository
  • LocalStack Pro
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 404 (RepositoryNotFoundException) AWS validated Snapshot Tested
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 404 (DomainNotFoundException) AWS validated Snapshot Tested

DisassociateExternalConnection

Parameters: domain, externalConnection, repository
  • LocalStack Pro
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 404 (ResourceNotFoundException) AWS validated Snapshot Tested
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 404 (DomainNotFoundException) AWS validated Snapshot Tested

ListDomains

Parameters: - (without any parameters)
  • LocalStack Pro
    • test_domain_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_domain_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested

ListRepositories

Parameters: - (without any parameters)
  • LocalStack Pro
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested

ListRepositoriesInDomain

Parameters: domain
  • LocalStack Pro
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested

ListTagsForResource

Parameters: resourceArn
  • LocalStack Pro
    • test_repository_and_domain_tagging LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_and_domain_tagging HTTP Status Code: 200 AWS validated Snapshot Tested

TagResource

Parameters: resourceArn, tags
  • LocalStack Pro
    • test_repository_and_domain_tagging LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_and_domain_tagging HTTP Status Code: 200 AWS validated Snapshot Tested

UntagResource

Parameters: resourceArn, tagKeys
  • LocalStack Pro
    • test_repository_and_domain_tagging LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_and_domain_tagging HTTP Status Code: 200 AWS validated Snapshot Tested

UpdateRepository

Parameters: description, domain, repository
  • LocalStack Pro
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: domain, repository
  • LocalStack Pro
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: domain, repository, upstreams
  • LocalStack Pro
    • test_repository_external_connection_and_upstreams LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_external_connection_and_upstreams HTTP Status Code: 400 (ValidationException) AWS validated Snapshot Tested
    • test_repository_crud_operations LocalStack Pro: tests/aws/services/codeartifact/test_codeartifact.py::TestCodeArtifact::test_repository_crud_operations HTTP Status Code: 404 (RepositoryNotFoundException) AWS validated Snapshot Tested