Learn R Programming

paws.compute (version 0.7.0)

ecrpublic: Amazon Elastic Container Registry Public

Description

Amazon Elastic Container Registry Public (Amazon ECR Public) is a managed container image registry service. Amazon ECR provides both public and private registries to host your container images. You can use the Docker CLI or your preferred client to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry for your Docker or Open Container Initiative (OCI) images. Amazon ECR supports public repositories with this API. For information about the Amazon ECR API for private repositories, see Amazon Elastic Container Registry API Reference.

Usage

ecrpublic(
  config = list(),
  credentials = list(),
  endpoint = NULL,
  region = NULL
)

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

  • credentials:

    • creds:

      • access_key_id: AWS access key ID

      • secret_access_key: AWS secret access key

      • session_token: AWS temporary session token

    • profile: The name of a profile to use. If not given, then the default profile is used.

    • anonymous: Set anonymous credentials.

  • endpoint: The complete URL to use for the constructed client.

  • region: The AWS Region used in instantiating the client.

  • close_connection: Immediately close all HTTP connections.

  • timeout: The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

  • s3_force_path_style: Set this to true to force the request to use path-style addressing, i.e. http://s3.amazonaws.com/BUCKET/KEY.

  • sts_regional_endpoint: Set sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html

credentials

Optional credentials shorthand for the config parameter

  • creds:

    • access_key_id: AWS access key ID

    • secret_access_key: AWS secret access key

    • session_token: AWS temporary session token

  • profile: The name of a profile to use. If not given, then the default profile is used.

  • anonymous: Set anonymous credentials.

endpoint

Optional shorthand for complete URL to use for the constructed client.

region

Optional shorthand for AWS Region used in instantiating the client.

Service syntax

svc <- ecrpublic(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string",
      anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical",
    sts_regional_endpoint = "string"
  ),
  credentials = list(
    creds = list(
      access_key_id = "string",
      secret_access_key = "string",
      session_token = "string"
    ),
    profile = "string",
    anonymous = "logical"
  ),
  endpoint = "string",
  region = "string"
)

Operations

batch_check_layer_availabilityChecks the availability of one or more image layers that are within a repository in a public registry
batch_delete_imageDeletes a list of specified images that are within a repository in a public registry
complete_layer_uploadInforms Amazon ECR that the image layer upload is complete for a specified public registry, repository name, and upload ID
create_repositoryCreates a repository in a public registry
delete_repositoryDeletes a repository in a public registry
delete_repository_policyDeletes the repository policy that's associated with the specified repository
describe_imagesReturns metadata that's related to the images in a repository in a public registry
describe_image_tagsReturns the image tag details for a repository in a public registry
describe_registriesReturns details for a public registry
describe_repositoriesDescribes repositories that are in a public registry
get_authorization_tokenRetrieves an authorization token
get_registry_catalog_dataRetrieves catalog metadata for a public registry
get_repository_catalog_dataRetrieve catalog metadata for a repository in a public registry
get_repository_policyRetrieves the repository policy for the specified repository
initiate_layer_uploadNotifies Amazon ECR that you intend to upload an image layer
list_tags_for_resourceList the tags for an Amazon ECR Public resource
put_imageCreates or updates the image manifest and tags that are associated with an image
put_registry_catalog_dataCreate or update the catalog data for a public registry
put_repository_catalog_dataCreates or updates the catalog data for a repository in a public registry
set_repository_policyApplies a repository policy to the specified public repository to control access permissions
tag_resourceAssociates the specified tags to a resource with the specified resourceArn
untag_resourceDeletes specified tags from a resource
upload_layer_partUploads an image layer part to Amazon ECR

Examples

Run this code
if (FALSE) {
svc <- ecrpublic()
svc$batch_check_layer_availability(
  Foo = 123
)
}

Run the code above in your browser using DataLab