Documentation
¶
Overview ¶
Package ecr provides the API client, operations, and parameter types for Amazon Elastic Container Registry.
Amazon Elastic Container Registry ¶
Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the familiar Docker CLI, or their 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 private repositories with resource-based permissions using IAM so that specific users or Amazon EC2 instances can access repositories and images.
Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpointsin the Amazon Web Services General Reference.
Index ¶
- Constants
- Variables
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type BatchCheckLayerAvailabilityInput
- type BatchCheckLayerAvailabilityOutput
- type BatchDeleteImageInput
- type BatchDeleteImageOutput
- type BatchGetImageInput
- type BatchGetImageOutput
- type BatchGetRepositoryScanningConfigurationInput
- type BatchGetRepositoryScanningConfigurationOutput
- type Client
- func (c *Client) BatchCheckLayerAvailability(ctx context.Context, params *BatchCheckLayerAvailabilityInput, ...) (*BatchCheckLayerAvailabilityOutput, error)
- func (c *Client) BatchDeleteImage(ctx context.Context, params *BatchDeleteImageInput, optFns ...func(*Options)) (*BatchDeleteImageOutput, error)
- func (c *Client) BatchGetImage(ctx context.Context, params *BatchGetImageInput, optFns ...func(*Options)) (*BatchGetImageOutput, error)
- func (c *Client) BatchGetRepositoryScanningConfiguration(ctx context.Context, params *BatchGetRepositoryScanningConfigurationInput, ...) (*BatchGetRepositoryScanningConfigurationOutput, error)
- func (c *Client) CompleteLayerUpload(ctx context.Context, params *CompleteLayerUploadInput, ...) (*CompleteLayerUploadOutput, error)
- func (c *Client) CreatePullThroughCacheRule(ctx context.Context, params *CreatePullThroughCacheRuleInput, ...) (*CreatePullThroughCacheRuleOutput, error)
- func (c *Client) CreateRepository(ctx context.Context, params *CreateRepositoryInput, optFns ...func(*Options)) (*CreateRepositoryOutput, error)
- func (c *Client) CreateRepositoryCreationTemplate(ctx context.Context, params *CreateRepositoryCreationTemplateInput, ...) (*CreateRepositoryCreationTemplateOutput, error)
- func (c *Client) DeleteLifecyclePolicy(ctx context.Context, params *DeleteLifecyclePolicyInput, ...) (*DeleteLifecyclePolicyOutput, error)
- func (c *Client) DeletePullThroughCacheRule(ctx context.Context, params *DeletePullThroughCacheRuleInput, ...) (*DeletePullThroughCacheRuleOutput, error)
- func (c *Client) DeleteRegistryPolicy(ctx context.Context, params *DeleteRegistryPolicyInput, ...) (*DeleteRegistryPolicyOutput, error)
- func (c *Client) DeleteRepository(ctx context.Context, params *DeleteRepositoryInput, optFns ...func(*Options)) (*DeleteRepositoryOutput, error)
- func (c *Client) DeleteRepositoryCreationTemplate(ctx context.Context, params *DeleteRepositoryCreationTemplateInput, ...) (*DeleteRepositoryCreationTemplateOutput, error)
- func (c *Client) DeleteRepositoryPolicy(ctx context.Context, params *DeleteRepositoryPolicyInput, ...) (*DeleteRepositoryPolicyOutput, error)
- func (c *Client) DeleteSigningConfiguration(ctx context.Context, params *DeleteSigningConfigurationInput, ...) (*DeleteSigningConfigurationOutput, error)
- func (c *Client) DeregisterPullTimeUpdateExclusion(ctx context.Context, params *DeregisterPullTimeUpdateExclusionInput, ...) (*DeregisterPullTimeUpdateExclusionOutput, error)
- func (c *Client) DescribeImageReplicationStatus(ctx context.Context, params *DescribeImageReplicationStatusInput, ...) (*DescribeImageReplicationStatusOutput, error)
- func (c *Client) DescribeImageScanFindings(ctx context.Context, params *DescribeImageScanFindingsInput, ...) (*DescribeImageScanFindingsOutput, error)
- func (c *Client) DescribeImageSigningStatus(ctx context.Context, params *DescribeImageSigningStatusInput, ...) (*DescribeImageSigningStatusOutput, error)
- func (c *Client) DescribeImages(ctx context.Context, params *DescribeImagesInput, optFns ...func(*Options)) (*DescribeImagesOutput, error)
- func (c *Client) DescribePullThroughCacheRules(ctx context.Context, params *DescribePullThroughCacheRulesInput, ...) (*DescribePullThroughCacheRulesOutput, error)
- func (c *Client) DescribeRegistry(ctx context.Context, params *DescribeRegistryInput, optFns ...func(*Options)) (*DescribeRegistryOutput, error)
- func (c *Client) DescribeReplicationBackfillResults(ctx context.Context, params *DescribeReplicationBackfillResultsInput, ...) (*DescribeReplicationBackfillResultsOutput, error)
- func (c *Client) DescribeRepositories(ctx context.Context, params *DescribeRepositoriesInput, ...) (*DescribeRepositoriesOutput, error)
- func (c *Client) DescribeRepositoryCreationTemplates(ctx context.Context, params *DescribeRepositoryCreationTemplatesInput, ...) (*DescribeRepositoryCreationTemplatesOutput, error)
- func (c *Client) GetAccountSetting(ctx context.Context, params *GetAccountSettingInput, optFns ...func(*Options)) (*GetAccountSettingOutput, error)
- func (c *Client) GetAuthorizationToken(ctx context.Context, params *GetAuthorizationTokenInput, ...) (*GetAuthorizationTokenOutput, error)
- func (c *Client) GetDownloadUrlForLayer(ctx context.Context, params *GetDownloadUrlForLayerInput, ...) (*GetDownloadUrlForLayerOutput, error)
- func (c *Client) GetLifecyclePolicy(ctx context.Context, params *GetLifecyclePolicyInput, optFns ...func(*Options)) (*GetLifecyclePolicyOutput, error)
- func (c *Client) GetLifecyclePolicyPreview(ctx context.Context, params *GetLifecyclePolicyPreviewInput, ...) (*GetLifecyclePolicyPreviewOutput, error)
- func (c *Client) GetRegistryPolicy(ctx context.Context, params *GetRegistryPolicyInput, optFns ...func(*Options)) (*GetRegistryPolicyOutput, error)
- func (c *Client) GetRegistryScanningConfiguration(ctx context.Context, params *GetRegistryScanningConfigurationInput, ...) (*GetRegistryScanningConfigurationOutput, error)
- func (c *Client) GetRepositoryPolicy(ctx context.Context, params *GetRepositoryPolicyInput, ...) (*GetRepositoryPolicyOutput, error)
- func (c *Client) GetSigningConfiguration(ctx context.Context, params *GetSigningConfigurationInput, ...) (*GetSigningConfigurationOutput, error)
- func (c *Client) InitiateLayerUpload(ctx context.Context, params *InitiateLayerUploadInput, ...) (*InitiateLayerUploadOutput, error)
- func (c *Client) ListImageReferrers(ctx context.Context, params *ListImageReferrersInput, optFns ...func(*Options)) (*ListImageReferrersOutput, error)
- func (c *Client) ListImages(ctx context.Context, params *ListImagesInput, optFns ...func(*Options)) (*ListImagesOutput, error)
- func (c *Client) ListPullTimeUpdateExclusions(ctx context.Context, params *ListPullTimeUpdateExclusionsInput, ...) (*ListPullTimeUpdateExclusionsOutput, error)
- func (c *Client) ListReplicationBackfills(ctx context.Context, params *ListReplicationBackfillsInput, ...) (*ListReplicationBackfillsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) Options() Options
- func (c *Client) PutAccountSetting(ctx context.Context, params *PutAccountSettingInput, optFns ...func(*Options)) (*PutAccountSettingOutput, error)
- func (c *Client) PutImage(ctx context.Context, params *PutImageInput, optFns ...func(*Options)) (*PutImageOutput, error)
- func (c *Client) PutImageScanningConfiguration(ctx context.Context, params *PutImageScanningConfigurationInput, ...) (*PutImageScanningConfigurationOutput, error)
- func (c *Client) PutImageTagMutability(ctx context.Context, params *PutImageTagMutabilityInput, ...) (*PutImageTagMutabilityOutput, error)
- func (c *Client) PutLifecyclePolicy(ctx context.Context, params *PutLifecyclePolicyInput, optFns ...func(*Options)) (*PutLifecyclePolicyOutput, error)
- func (c *Client) PutRegistryPolicy(ctx context.Context, params *PutRegistryPolicyInput, optFns ...func(*Options)) (*PutRegistryPolicyOutput, error)
- func (c *Client) PutRegistryScanningConfiguration(ctx context.Context, params *PutRegistryScanningConfigurationInput, ...) (*PutRegistryScanningConfigurationOutput, error)
- func (c *Client) PutReplicationConfiguration(ctx context.Context, params *PutReplicationConfigurationInput, ...) (*PutReplicationConfigurationOutput, error)
- func (c *Client) PutSigningConfiguration(ctx context.Context, params *PutSigningConfigurationInput, ...) (*PutSigningConfigurationOutput, error)
- func (c *Client) RegisterPullTimeUpdateExclusion(ctx context.Context, params *RegisterPullTimeUpdateExclusionInput, ...) (*RegisterPullTimeUpdateExclusionOutput, error)
- func (c *Client) SetRepositoryPolicy(ctx context.Context, params *SetRepositoryPolicyInput, ...) (*SetRepositoryPolicyOutput, error)
- func (c *Client) StartImageScan(ctx context.Context, params *StartImageScanInput, optFns ...func(*Options)) (*StartImageScanOutput, error)
- func (c *Client) StartLifecyclePolicyPreview(ctx context.Context, params *StartLifecyclePolicyPreviewInput, ...) (*StartLifecyclePolicyPreviewOutput, error)
- func (c *Client) StartReplicationBackfill(ctx context.Context, params *StartReplicationBackfillInput, ...) (*StartReplicationBackfillOutput, error)
- func (c *Client) StopReplicationBackfill(ctx context.Context, params *StopReplicationBackfillInput, ...) (*StopReplicationBackfillOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateImageStorageClass(ctx context.Context, params *UpdateImageStorageClassInput, ...) (*UpdateImageStorageClassOutput, error)
- func (c *Client) UpdatePullThroughCacheRule(ctx context.Context, params *UpdatePullThroughCacheRuleInput, ...) (*UpdatePullThroughCacheRuleOutput, error)
- func (c *Client) UpdateRepositoryCreationTemplate(ctx context.Context, params *UpdateRepositoryCreationTemplateInput, ...) (*UpdateRepositoryCreationTemplateOutput, error)
- func (c *Client) UploadLayerPart(ctx context.Context, params *UploadLayerPartInput, optFns ...func(*Options)) (*UploadLayerPartOutput, error)
- func (c *Client) ValidatePullThroughCacheRule(ctx context.Context, params *ValidatePullThroughCacheRuleInput, ...) (*ValidatePullThroughCacheRuleOutput, error)
- type CompleteLayerUploadInput
- type CompleteLayerUploadOutput
- type CreatePullThroughCacheRuleInput
- type CreatePullThroughCacheRuleOutput
- type CreateRepositoryCreationTemplateInput
- type CreateRepositoryCreationTemplateOutput
- type CreateRepositoryInput
- type CreateRepositoryOutput
- type DeleteLifecyclePolicyInput
- type DeleteLifecyclePolicyOutput
- type DeletePullThroughCacheRuleInput
- type DeletePullThroughCacheRuleOutput
- type DeleteRegistryPolicyInput
- type DeleteRegistryPolicyOutput
- type DeleteRepositoryCreationTemplateInput
- type DeleteRepositoryCreationTemplateOutput
- type DeleteRepositoryInput
- type DeleteRepositoryOutput
- type DeleteRepositoryPolicyInput
- type DeleteRepositoryPolicyOutput
- type DeleteSigningConfigurationInput
- type DeleteSigningConfigurationOutput
- type DeregisterPullTimeUpdateExclusionInput
- type DeregisterPullTimeUpdateExclusionOutput
- type DescribeImageReplicationStatusInput
- type DescribeImageReplicationStatusOutput
- type DescribeImageScanFindingsAPIClient
- type DescribeImageScanFindingsInput
- type DescribeImageScanFindingsOutput
- type DescribeImageScanFindingsPaginator
- type DescribeImageScanFindingsPaginatorOptions
- type DescribeImageSigningStatusInput
- type DescribeImageSigningStatusOutput
- type DescribeImagesAPIClient
- type DescribeImagesInput
- type DescribeImagesOutput
- type DescribeImagesPaginator
- type DescribeImagesPaginatorOptions
- type DescribePullThroughCacheRulesAPIClient
- type DescribePullThroughCacheRulesInput
- type DescribePullThroughCacheRulesOutput
- type DescribePullThroughCacheRulesPaginator
- type DescribePullThroughCacheRulesPaginatorOptions
- type DescribeRegistryInput
- type DescribeRegistryOutput
- type DescribeReplicationBackfillResultsAPIClient
- type DescribeReplicationBackfillResultsInput
- type DescribeReplicationBackfillResultsOutput
- type DescribeReplicationBackfillResultsPaginator
- type DescribeReplicationBackfillResultsPaginatorOptions
- type DescribeRepositoriesAPIClient
- type DescribeRepositoriesInput
- type DescribeRepositoriesOutput
- type DescribeRepositoriesPaginator
- type DescribeRepositoriesPaginatorOptions
- type DescribeRepositoryCreationTemplatesAPIClient
- type DescribeRepositoryCreationTemplatesInput
- type DescribeRepositoryCreationTemplatesOutput
- type DescribeRepositoryCreationTemplatesPaginator
- type DescribeRepositoryCreationTemplatesPaginatorOptions
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetAccountSettingInput
- type GetAccountSettingOutput
- type GetAuthorizationTokenInput
- type GetAuthorizationTokenOutput
- type GetDownloadUrlForLayerInput
- type GetDownloadUrlForLayerOutput
- type GetLifecyclePolicyInput
- type GetLifecyclePolicyOutput
- type GetLifecyclePolicyPreviewAPIClient
- type GetLifecyclePolicyPreviewInput
- type GetLifecyclePolicyPreviewOutput
- type GetLifecyclePolicyPreviewPaginator
- type GetLifecyclePolicyPreviewPaginatorOptions
- type GetRegistryPolicyInput
- type GetRegistryPolicyOutput
- type GetRegistryScanningConfigurationInput
- type GetRegistryScanningConfigurationOutput
- type GetRepositoryPolicyInput
- type GetRepositoryPolicyOutput
- type GetSigningConfigurationInput
- type GetSigningConfigurationOutput
- type HTTPClient
- type HTTPSignerV4
- type ImageScanCompleteWaiter
- type ImageScanCompleteWaiterOptions
- type InitiateLayerUploadInput
- type InitiateLayerUploadOutput
- type LifecyclePolicyPreviewCompleteWaiter
- type LifecyclePolicyPreviewCompleteWaiterOptions
- type ListImageReferrersInput
- type ListImageReferrersOutput
- type ListImagesAPIClient
- type ListImagesInput
- type ListImagesOutput
- type ListImagesPaginator
- type ListImagesPaginatorOptions
- type ListPullTimeUpdateExclusionsInput
- type ListPullTimeUpdateExclusionsOutput
- type ListReplicationBackfillsAPIClient
- type ListReplicationBackfillsInput
- type ListReplicationBackfillsOutput
- type ListReplicationBackfillsPaginator
- type ListReplicationBackfillsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type PutAccountSettingInput
- type PutAccountSettingOutput
- type PutImageInput
- type PutImageOutput
- type PutImageScanningConfigurationInput
- type PutImageScanningConfigurationOutput
- type PutImageTagMutabilityInput
- type PutImageTagMutabilityOutput
- type PutLifecyclePolicyInput
- type PutLifecyclePolicyOutput
- type PutRegistryPolicyInput
- type PutRegistryPolicyOutput
- type PutRegistryScanningConfigurationInput
- type PutRegistryScanningConfigurationOutput
- type PutReplicationConfigurationInput
- type PutReplicationConfigurationOutput
- type PutSigningConfigurationInput
- type PutSigningConfigurationOutput
- type RegisterPullTimeUpdateExclusionInput
- type RegisterPullTimeUpdateExclusionOutput
- type ResolveEndpoint
- type SetRepositoryPolicyInput
- type SetRepositoryPolicyOutput
- type StartImageScanInput
- type StartImageScanOutput
- type StartLifecyclePolicyPreviewInput
- type StartLifecyclePolicyPreviewOutput
- type StartReplicationBackfillInput
- type StartReplicationBackfillOutput
- type StopReplicationBackfillInput
- type StopReplicationBackfillOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateImageStorageClassInput
- type UpdateImageStorageClassOutput
- type UpdatePullThroughCacheRuleInput
- type UpdatePullThroughCacheRuleOutput
- type UpdateRepositoryCreationTemplateInput
- type UpdateRepositoryCreationTemplateOutput
- type UploadLayerPartInput
- type UploadLayerPartOutput
- type ValidatePullThroughCacheRuleInput
- type ValidatePullThroughCacheRuleOutput
Constants ¶
const ServiceAPIVersion = "2015-09-21"
const ServiceID = "ECR"
Variables ¶
var TypeRegistry = &smithy.TypeRegistry{ Entries: map[string]*smithy.TypeRegistryEntry{ "com.amazonaws.ecr#BlockedByOrganizationPolicyException": { Schema: schemas.BlockedByOrganizationPolicyException, New: func() any { return &types.BlockedByOrganizationPolicyException{} }, }, "com.amazonaws.ecr#EmptyUploadException": { Schema: schemas.EmptyUploadException, New: func() any { return &types.EmptyUploadException{} }, }, "com.amazonaws.ecr#ExclusionAlreadyExistsException": { Schema: schemas.ExclusionAlreadyExistsException, New: func() any { return &types.ExclusionAlreadyExistsException{} }, }, "com.amazonaws.ecr#ExclusionNotFoundException": { Schema: schemas.ExclusionNotFoundException, New: func() any { return &types.ExclusionNotFoundException{} }, }, "com.amazonaws.ecr#ImageAlreadyExistsException": { Schema: schemas.ImageAlreadyExistsException, New: func() any { return &types.ImageAlreadyExistsException{} }, }, "com.amazonaws.ecr#ImageArchivedException": { Schema: schemas.ImageArchivedException, New: func() any { return &types.ImageArchivedException{} }, }, "com.amazonaws.ecr#ImageDigestDoesNotMatchException": { Schema: schemas.ImageDigestDoesNotMatchException, New: func() any { return &types.ImageDigestDoesNotMatchException{} }, }, "com.amazonaws.ecr#ImageNotFoundException": { Schema: schemas.ImageNotFoundException, New: func() any { return &types.ImageNotFoundException{} }, }, "com.amazonaws.ecr#ImageStorageClassUpdateNotSupportedException": { Schema: schemas.ImageStorageClassUpdateNotSupportedException, New: func() any { return &types.ImageStorageClassUpdateNotSupportedException{} }, }, "com.amazonaws.ecr#ImageTagAlreadyExistsException": { Schema: schemas.ImageTagAlreadyExistsException, New: func() any { return &types.ImageTagAlreadyExistsException{} }, }, "com.amazonaws.ecr#InvalidLayerException": { Schema: schemas.InvalidLayerException, New: func() any { return &types.InvalidLayerException{} }, }, "com.amazonaws.ecr#InvalidLayerPartException": { Schema: schemas.InvalidLayerPartException, New: func() any { return &types.InvalidLayerPartException{} }, }, "com.amazonaws.ecr#InvalidParameterException": { Schema: schemas.InvalidParameterException, New: func() any { return &types.InvalidParameterException{} }, }, "com.amazonaws.ecr#InvalidTagParameterException": { Schema: schemas.InvalidTagParameterException, New: func() any { return &types.InvalidTagParameterException{} }, }, "com.amazonaws.ecr#KmsException": { Schema: schemas.KmsException, New: func() any { return &types.KmsException{} }, }, "com.amazonaws.ecr#LayerAlreadyExistsException": { Schema: schemas.LayerAlreadyExistsException, New: func() any { return &types.LayerAlreadyExistsException{} }, }, "com.amazonaws.ecr#LayerInaccessibleException": { Schema: schemas.LayerInaccessibleException, New: func() any { return &types.LayerInaccessibleException{} }, }, "com.amazonaws.ecr#LayerPartTooSmallException": { Schema: schemas.LayerPartTooSmallException, New: func() any { return &types.LayerPartTooSmallException{} }, }, "com.amazonaws.ecr#LayersNotFoundException": { Schema: schemas.LayersNotFoundException, New: func() any { return &types.LayersNotFoundException{} }, }, "com.amazonaws.ecr#LifecyclePolicyNotFoundException": { Schema: schemas.LifecyclePolicyNotFoundException, New: func() any { return &types.LifecyclePolicyNotFoundException{} }, }, "com.amazonaws.ecr#LifecyclePolicyPreviewInProgressException": { Schema: schemas.LifecyclePolicyPreviewInProgressException, New: func() any { return &types.LifecyclePolicyPreviewInProgressException{} }, }, "com.amazonaws.ecr#LifecyclePolicyPreviewNotFoundException": { Schema: schemas.LifecyclePolicyPreviewNotFoundException, New: func() any { return &types.LifecyclePolicyPreviewNotFoundException{} }, }, "com.amazonaws.ecr#LimitExceededException": { Schema: schemas.LimitExceededException, New: func() any { return &types.LimitExceededException{} }, }, "com.amazonaws.ecr#PullThroughCacheRuleAlreadyExistsException": { Schema: schemas.PullThroughCacheRuleAlreadyExistsException, New: func() any { return &types.PullThroughCacheRuleAlreadyExistsException{} }, }, "com.amazonaws.ecr#PullThroughCacheRuleNotFoundException": { Schema: schemas.PullThroughCacheRuleNotFoundException, New: func() any { return &types.PullThroughCacheRuleNotFoundException{} }, }, "com.amazonaws.ecr#ReferencedImagesNotFoundException": { Schema: schemas.ReferencedImagesNotFoundException, New: func() any { return &types.ReferencedImagesNotFoundException{} }, }, "com.amazonaws.ecr#RegistryPolicyNotFoundException": { Schema: schemas.RegistryPolicyNotFoundException, New: func() any { return &types.RegistryPolicyNotFoundException{} }, }, "com.amazonaws.ecr#ReplicationBackfillInProgressException": { Schema: schemas.ReplicationBackfillInProgressException, New: func() any { return &types.ReplicationBackfillInProgressException{} }, }, "com.amazonaws.ecr#ReplicationBackfillInvalidStatusException": { Schema: schemas.ReplicationBackfillInvalidStatusException, New: func() any { return &types.ReplicationBackfillInvalidStatusException{} }, }, "com.amazonaws.ecr#ReplicationBackfillNotFoundException": { Schema: schemas.ReplicationBackfillNotFoundException, New: func() any { return &types.ReplicationBackfillNotFoundException{} }, }, "com.amazonaws.ecr#RepositoryAlreadyExistsException": { Schema: schemas.RepositoryAlreadyExistsException, New: func() any { return &types.RepositoryAlreadyExistsException{} }, }, "com.amazonaws.ecr#RepositoryNotEmptyException": { Schema: schemas.RepositoryNotEmptyException, New: func() any { return &types.RepositoryNotEmptyException{} }, }, "com.amazonaws.ecr#RepositoryNotFoundException": { Schema: schemas.RepositoryNotFoundException, New: func() any { return &types.RepositoryNotFoundException{} }, }, "com.amazonaws.ecr#RepositoryPolicyNotFoundException": { Schema: schemas.RepositoryPolicyNotFoundException, New: func() any { return &types.RepositoryPolicyNotFoundException{} }, }, "com.amazonaws.ecr#ScanNotFoundException": { Schema: schemas.ScanNotFoundException, New: func() any { return &types.ScanNotFoundException{} }, }, "com.amazonaws.ecr#SecretNotFoundException": { Schema: schemas.SecretNotFoundException, New: func() any { return &types.SecretNotFoundException{} }, }, "com.amazonaws.ecr#ServerException": { Schema: schemas.ServerException, New: func() any { return &types.ServerException{} }, }, "com.amazonaws.ecr#SigningConfigurationNotFoundException": { Schema: schemas.SigningConfigurationNotFoundException, New: func() any { return &types.SigningConfigurationNotFoundException{} }, }, "com.amazonaws.ecr#TemplateAlreadyExistsException": { Schema: schemas.TemplateAlreadyExistsException, New: func() any { return &types.TemplateAlreadyExistsException{} }, }, "com.amazonaws.ecr#TemplateNotFoundException": { Schema: schemas.TemplateNotFoundException, New: func() any { return &types.TemplateNotFoundException{} }, }, "com.amazonaws.ecr#TooManyTagsException": { Schema: schemas.TooManyTagsException, New: func() any { return &types.TooManyTagsException{} }, }, "com.amazonaws.ecr#UnableToAccessSecretException": { Schema: schemas.UnableToAccessSecretException, New: func() any { return &types.UnableToAccessSecretException{} }, }, "com.amazonaws.ecr#UnableToDecryptSecretValueException": { Schema: schemas.UnableToDecryptSecretValueException, New: func() any { return &types.UnableToDecryptSecretValueException{} }, }, "com.amazonaws.ecr#UnableToGetUpstreamImageException": { Schema: schemas.UnableToGetUpstreamImageException, New: func() any { return &types.UnableToGetUpstreamImageException{} }, }, "com.amazonaws.ecr#UnableToGetUpstreamLayerException": { Schema: schemas.UnableToGetUpstreamLayerException, New: func() any { return &types.UnableToGetUpstreamLayerException{} }, }, "com.amazonaws.ecr#UnableToListUpstreamImageReferrersException": { Schema: schemas.UnableToListUpstreamImageReferrersException, New: func() any { return &types.UnableToListUpstreamImageReferrersException{} }, }, "com.amazonaws.ecr#UnsupportedImageTypeException": { Schema: schemas.UnsupportedImageTypeException, New: func() any { return &types.UnsupportedImageTypeException{} }, }, "com.amazonaws.ecr#UnsupportedUpstreamRegistryException": { Schema: schemas.UnsupportedUpstreamRegistryException, New: func() any { return &types.UnsupportedUpstreamRegistryException{} }, }, "com.amazonaws.ecr#UploadNotFoundException": { Schema: schemas.UploadNotFoundException, New: func() any { return &types.UploadNotFoundException{} }, }, "com.amazonaws.ecr#ValidationException": { Schema: schemas.ValidationException, New: func() any { return &types.ValidationException{} }, }, }, }
TypeRegistry is the type registry for this service.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.19.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.22.2
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.22.2
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶ added in v1.22.2
type AuthResolverParameters struct {
// The name of the operation being invoked.
Operation string
// The region in which the operation is being invoked.
Region string
}
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.22.2
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type BatchCheckLayerAvailabilityInput ¶
type BatchCheckLayerAvailabilityInput struct {
// The digests of the image layers to check.
//
// This member is required.
LayerDigests []string
// The name of the repository that is associated with the image layers to check.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry that contains
// the image layers to check. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*BatchCheckLayerAvailabilityInput) Serialize ¶ added in v1.66.0
func (v *BatchCheckLayerAvailabilityInput) Serialize(s smithy.ShapeSerializer)
func (*BatchCheckLayerAvailabilityInput) SerializeMembers ¶ added in v1.66.0
func (v *BatchCheckLayerAvailabilityInput) SerializeMembers(s smithy.ShapeSerializer)
type BatchCheckLayerAvailabilityOutput ¶
type BatchCheckLayerAvailabilityOutput struct {
// Any failures associated with the call.
Failures []types.LayerFailure
// A list of image layer objects corresponding to the image layer references in
// the request.
Layers []types.Layer
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*BatchCheckLayerAvailabilityOutput) Deserialize ¶ added in v1.66.0
func (v *BatchCheckLayerAvailabilityOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*BatchCheckLayerAvailabilityOutput) Serialize ¶ added in v1.66.0
func (v *BatchCheckLayerAvailabilityOutput) Serialize(s smithy.ShapeSerializer)
func (*BatchCheckLayerAvailabilityOutput) SerializeMembers ¶ added in v1.66.0
func (v *BatchCheckLayerAvailabilityOutput) SerializeMembers(s smithy.ShapeSerializer)
type BatchDeleteImageInput ¶
type BatchDeleteImageInput struct {
// A list of image ID references that correspond to images to delete. The format
// of the imageIds reference is imageTag=tag or imageDigest=digest .
//
// This member is required.
ImageIds []types.ImageIdentifier
// The repository that contains the image to delete.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry that contains
// the image to delete. If you do not specify a registry, the default registry is
// assumed.
RegistryId *string
// contains filtered or unexported fields
}
Deletes specified images within a specified repository. Images are specified with either the imageTag or imageDigest .
func (*BatchDeleteImageInput) Serialize ¶ added in v1.66.0
func (v *BatchDeleteImageInput) Serialize(s smithy.ShapeSerializer)
func (*BatchDeleteImageInput) SerializeMembers ¶ added in v1.66.0
func (v *BatchDeleteImageInput) SerializeMembers(s smithy.ShapeSerializer)
type BatchDeleteImageOutput ¶
type BatchDeleteImageOutput struct {
// Any failures associated with the call.
Failures []types.ImageFailure
// The image IDs of the deleted images.
ImageIds []types.ImageIdentifier
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*BatchDeleteImageOutput) Deserialize ¶ added in v1.66.0
func (v *BatchDeleteImageOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*BatchDeleteImageOutput) Serialize ¶ added in v1.66.0
func (v *BatchDeleteImageOutput) Serialize(s smithy.ShapeSerializer)
func (*BatchDeleteImageOutput) SerializeMembers ¶ added in v1.66.0
func (v *BatchDeleteImageOutput) SerializeMembers(s smithy.ShapeSerializer)
type BatchGetImageInput ¶
type BatchGetImageInput struct {
// A list of image ID references that correspond to images to describe. The format
// of the imageIds reference is imageTag=tag or imageDigest=digest .
//
// This member is required.
ImageIds []types.ImageIdentifier
// The repository that contains the images to describe.
//
// This member is required.
RepositoryName *string
// The accepted media types for the request.
//
// Valid values: application/vnd.docker.distribution.manifest.v1+json |
// application/vnd.docker.distribution.manifest.v2+json |
// application/vnd.oci.image.manifest.v1+json
AcceptedMediaTypes []string
// The Amazon Web Services account ID associated with the registry that contains
// the images to describe. If you do not specify a registry, the default registry
// is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*BatchGetImageInput) Serialize ¶ added in v1.66.0
func (v *BatchGetImageInput) Serialize(s smithy.ShapeSerializer)
func (*BatchGetImageInput) SerializeMembers ¶ added in v1.66.0
func (v *BatchGetImageInput) SerializeMembers(s smithy.ShapeSerializer)
type BatchGetImageOutput ¶
type BatchGetImageOutput struct {
// Any failures associated with the call.
Failures []types.ImageFailure
// A list of image objects corresponding to the image references in the request.
Images []types.Image
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*BatchGetImageOutput) Deserialize ¶ added in v1.66.0
func (v *BatchGetImageOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*BatchGetImageOutput) Serialize ¶ added in v1.66.0
func (v *BatchGetImageOutput) Serialize(s smithy.ShapeSerializer)
func (*BatchGetImageOutput) SerializeMembers ¶ added in v1.66.0
func (v *BatchGetImageOutput) SerializeMembers(s smithy.ShapeSerializer)
type BatchGetRepositoryScanningConfigurationInput ¶ added in v1.11.0
type BatchGetRepositoryScanningConfigurationInput struct {
// One or more repository names to get the scanning configuration for.
//
// This member is required.
RepositoryNames []string
// contains filtered or unexported fields
}
func (*BatchGetRepositoryScanningConfigurationInput) Serialize ¶ added in v1.66.0
func (v *BatchGetRepositoryScanningConfigurationInput) Serialize(s smithy.ShapeSerializer)
func (*BatchGetRepositoryScanningConfigurationInput) SerializeMembers ¶ added in v1.66.0
func (v *BatchGetRepositoryScanningConfigurationInput) SerializeMembers(s smithy.ShapeSerializer)
type BatchGetRepositoryScanningConfigurationOutput ¶ added in v1.11.0
type BatchGetRepositoryScanningConfigurationOutput struct {
// Any failures associated with the call.
Failures []types.RepositoryScanningConfigurationFailure
// The scanning configuration for the requested repositories.
ScanningConfigurations []types.RepositoryScanningConfiguration
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*BatchGetRepositoryScanningConfigurationOutput) Deserialize ¶ added in v1.66.0
func (v *BatchGetRepositoryScanningConfigurationOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*BatchGetRepositoryScanningConfigurationOutput) Serialize ¶ added in v1.66.0
func (v *BatchGetRepositoryScanningConfigurationOutput) Serialize(s smithy.ShapeSerializer)
func (*BatchGetRepositoryScanningConfigurationOutput) SerializeMembers ¶ added in v1.66.0
func (v *BatchGetRepositoryScanningConfigurationOutput) SerializeMembers(s smithy.ShapeSerializer)
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon Elastic Container Registry.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) BatchCheckLayerAvailability ¶
func (c *Client) BatchCheckLayerAvailability(ctx context.Context, params *BatchCheckLayerAvailabilityInput, optFns ...func(*Options)) (*BatchCheckLayerAvailabilityOutput, error)
Checks the availability of one or more image layers in a repository.
When an image is pushed to a repository, each image layer is checked to verify if it has been uploaded before. If it has been uploaded, then the image layer is skipped.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
func (*Client) BatchDeleteImage ¶
func (c *Client) BatchDeleteImage(ctx context.Context, params *BatchDeleteImageInput, optFns ...func(*Options)) (*BatchDeleteImageOutput, error)
Deletes a list of specified images within a repository. Images are specified with either an imageTag or imageDigest .
You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository.
You can completely delete an image (and all of its tags) by specifying the image's digest in your request.
func (*Client) BatchGetImage ¶
func (c *Client) BatchGetImage(ctx context.Context, params *BatchGetImageInput, optFns ...func(*Options)) (*BatchGetImageOutput, error)
Gets detailed information for an image. Images are specified with either an imageTag or imageDigest .
When an image is pulled, the BatchGetImage API is called once to retrieve the image manifest.
func (*Client) BatchGetRepositoryScanningConfiguration ¶ added in v1.11.0
func (c *Client) BatchGetRepositoryScanningConfiguration(ctx context.Context, params *BatchGetRepositoryScanningConfigurationInput, optFns ...func(*Options)) (*BatchGetRepositoryScanningConfigurationOutput, error)
Gets the scanning configuration for one or more repositories.
func (*Client) CompleteLayerUpload ¶
func (c *Client) CompleteLayerUpload(ctx context.Context, params *CompleteLayerUploadInput, optFns ...func(*Options)) (*CompleteLayerUploadOutput, error)
Informs Amazon ECR that the image layer upload has completed for a specified registry, repository name, and upload ID. You can optionally provide a sha256 digest of the image layer for data validation purposes.
When an image is pushed, the CompleteLayerUpload API is called once per each new image layer to verify that the upload has completed.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
func (*Client) CreatePullThroughCacheRule ¶ added in v1.11.0
func (c *Client) CreatePullThroughCacheRule(ctx context.Context, params *CreatePullThroughCacheRuleInput, optFns ...func(*Options)) (*CreatePullThroughCacheRuleOutput, error)
Creates a pull through cache rule. A pull through cache rule provides a way to cache images from an upstream registry source in your Amazon ECR private registry. For more information, see Using pull through cache rulesin the Amazon Elastic Container Registry User Guide.
func (*Client) CreateRepository ¶
func (c *Client) CreateRepository(ctx context.Context, params *CreateRepositoryInput, optFns ...func(*Options)) (*CreateRepositoryOutput, error)
Creates a repository. For more information, see Amazon ECR repositories in the Amazon Elastic Container Registry User Guide.
func (*Client) CreateRepositoryCreationTemplate ¶ added in v1.31.0
func (c *Client) CreateRepositoryCreationTemplate(ctx context.Context, params *CreateRepositoryCreationTemplateInput, optFns ...func(*Options)) (*CreateRepositoryCreationTemplateOutput, error)
Creates a repository creation template. This template is used to define the settings for repositories created by Amazon ECR on your behalf. For example, repositories created through pull through cache actions. For more information, see Private repository creation templatesin the Amazon Elastic Container Registry User Guide.
func (*Client) DeleteLifecyclePolicy ¶
func (c *Client) DeleteLifecyclePolicy(ctx context.Context, params *DeleteLifecyclePolicyInput, optFns ...func(*Options)) (*DeleteLifecyclePolicyOutput, error)
Deletes the lifecycle policy associated with the specified repository.
func (*Client) DeletePullThroughCacheRule ¶ added in v1.11.0
func (c *Client) DeletePullThroughCacheRule(ctx context.Context, params *DeletePullThroughCacheRuleInput, optFns ...func(*Options)) (*DeletePullThroughCacheRuleOutput, error)
Deletes a pull through cache rule.
func (*Client) DeleteRegistryPolicy ¶ added in v0.31.0
func (c *Client) DeleteRegistryPolicy(ctx context.Context, params *DeleteRegistryPolicyInput, optFns ...func(*Options)) (*DeleteRegistryPolicyOutput, error)
Deletes the registry permissions policy.
func (*Client) DeleteRepository ¶
func (c *Client) DeleteRepository(ctx context.Context, params *DeleteRepositoryInput, optFns ...func(*Options)) (*DeleteRepositoryOutput, error)
Deletes a repository. If the repository isn't empty, you must either delete the contents of the repository or use the force option to delete the repository and have Amazon ECR delete all of its contents on your behalf.
func (*Client) DeleteRepositoryCreationTemplate ¶ added in v1.31.0
func (c *Client) DeleteRepositoryCreationTemplate(ctx context.Context, params *DeleteRepositoryCreationTemplateInput, optFns ...func(*Options)) (*DeleteRepositoryCreationTemplateOutput, error)
Deletes a repository creation template.
func (*Client) DeleteRepositoryPolicy ¶
func (c *Client) DeleteRepositoryPolicy(ctx context.Context, params *DeleteRepositoryPolicyInput, optFns ...func(*Options)) (*DeleteRepositoryPolicyOutput, error)
Deletes the repository policy associated with the specified repository.
func (*Client) DeleteSigningConfiguration ¶ added in v1.54.0
func (c *Client) DeleteSigningConfiguration(ctx context.Context, params *DeleteSigningConfigurationInput, optFns ...func(*Options)) (*DeleteSigningConfigurationOutput, error)
Deletes the registry's signing configuration. Images pushed after deletion of the signing configuration will no longer be automatically signed.
For more information, see Managed signing in the Amazon Elastic Container Registry User Guide.
Deleting the signing configuration does not affect existing image signatures.
func (*Client) DeregisterPullTimeUpdateExclusion ¶ added in v1.53.0
func (c *Client) DeregisterPullTimeUpdateExclusion(ctx context.Context, params *DeregisterPullTimeUpdateExclusionInput, optFns ...func(*Options)) (*DeregisterPullTimeUpdateExclusionOutput, error)
Removes a principal from the pull time update exclusion list for a registry. Once removed, Amazon ECR will resume updating the pull time if the specified principal pulls an image.
func (*Client) DescribeImageReplicationStatus ¶ added in v1.7.0
func (c *Client) DescribeImageReplicationStatus(ctx context.Context, params *DescribeImageReplicationStatusInput, optFns ...func(*Options)) (*DescribeImageReplicationStatusOutput, error)
Returns the replication status for a specified image.
func (*Client) DescribeImageScanFindings ¶
func (c *Client) DescribeImageScanFindings(ctx context.Context, params *DescribeImageScanFindingsInput, optFns ...func(*Options)) (*DescribeImageScanFindingsOutput, error)
Returns the scan findings for the specified image.
func (*Client) DescribeImageSigningStatus ¶ added in v1.54.0
func (c *Client) DescribeImageSigningStatus(ctx context.Context, params *DescribeImageSigningStatusInput, optFns ...func(*Options)) (*DescribeImageSigningStatusOutput, error)
Returns the signing status for a specified image. If the image matched signing rules that reference different signing profiles, a status is returned for each profile.
For more information, see Managed signing in the Amazon Elastic Container Registry User Guide.
func (*Client) DescribeImages ¶
func (c *Client) DescribeImages(ctx context.Context, params *DescribeImagesInput, optFns ...func(*Options)) (*DescribeImagesOutput, error)
Returns metadata about the images in a repository.
Starting with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size. Therefore, Docker might return a larger image than the image shown in the Amazon Web Services Management Console.
The new version of Amazon ECR Basic Scanning doesn't use the ImageDetail$imageScanFindingsSummary and ImageDetail$imageScanStatus attributes from the API response to return scan results. Use the DescribeImageScanFindingsAPI instead. For more information about Amazon Web Services native basic scanning, see Scan images for software vulnerabilities in Amazon ECR.
func (*Client) DescribePullThroughCacheRules ¶ added in v1.11.0
func (c *Client) DescribePullThroughCacheRules(ctx context.Context, params *DescribePullThroughCacheRulesInput, optFns ...func(*Options)) (*DescribePullThroughCacheRulesOutput, error)
Returns the pull through cache rules for a registry.
func (*Client) DescribeRegistry ¶ added in v0.31.0
func (c *Client) DescribeRegistry(ctx context.Context, params *DescribeRegistryInput, optFns ...func(*Options)) (*DescribeRegistryOutput, error)
Describes the settings for a registry. The replication configuration for a repository can be created or updated with the PutReplicationConfigurationAPI action.
func (*Client) DescribeReplicationBackfillResults ¶ added in v1.67.0
func (c *Client) DescribeReplicationBackfillResults(ctx context.Context, params *DescribeReplicationBackfillResultsInput, optFns ...func(*Options)) (*DescribeReplicationBackfillResultsOutput, error)
Returns the status, progress, and per-image results for a replication backfill. The backfill to describe is identified by the replicationBackfillId returned by the StartReplicationBackfilloperation.
The per-image results are available only after the replication backfill reaches a terminal status.
func (*Client) DescribeRepositories ¶
func (c *Client) DescribeRepositories(ctx context.Context, params *DescribeRepositoriesInput, optFns ...func(*Options)) (*DescribeRepositoriesOutput, error)
Describes image repositories in a registry.
func (*Client) DescribeRepositoryCreationTemplates ¶ added in v1.31.0
func (c *Client) DescribeRepositoryCreationTemplates(ctx context.Context, params *DescribeRepositoryCreationTemplatesInput, optFns ...func(*Options)) (*DescribeRepositoryCreationTemplatesOutput, error)
Returns details about the repository creation templates in a registry. The prefixes request parameter can be used to return the details for a specific repository creation template.
func (*Client) GetAccountSetting ¶ added in v1.32.0
func (c *Client) GetAccountSetting(ctx context.Context, params *GetAccountSettingInput, optFns ...func(*Options)) (*GetAccountSettingOutput, error)
Retrieves the account setting value for the specified setting name.
func (*Client) GetAuthorizationToken ¶
func (c *Client) GetAuthorizationToken(ctx context.Context, params *GetAuthorizationTokenInput, optFns ...func(*Options)) (*GetAuthorizationTokenOutput, error)
Retrieves an authorization token. An authorization token represents your IAM authentication credentials and can be used to access any Amazon ECR registry that your IAM principal has access to. The authorization token is valid for 12 hours.
The authorizationToken returned is a base64 encoded string that can be decoded and used in a docker login command to authenticate to a registry. The CLI offers an get-login-password command that simplifies the login process. For more information, see Registry authenticationin the Amazon Elastic Container Registry User Guide.
func (*Client) GetDownloadUrlForLayer ¶
func (c *Client) GetDownloadUrlForLayer(ctx context.Context, params *GetDownloadUrlForLayerInput, optFns ...func(*Options)) (*GetDownloadUrlForLayerOutput, error)
Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image.
When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer that is not already cached.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
func (*Client) GetLifecyclePolicy ¶
func (c *Client) GetLifecyclePolicy(ctx context.Context, params *GetLifecyclePolicyInput, optFns ...func(*Options)) (*GetLifecyclePolicyOutput, error)
Retrieves the lifecycle policy for the specified repository.
func (*Client) GetLifecyclePolicyPreview ¶
func (c *Client) GetLifecyclePolicyPreview(ctx context.Context, params *GetLifecyclePolicyPreviewInput, optFns ...func(*Options)) (*GetLifecyclePolicyPreviewOutput, error)
Retrieves the results of the lifecycle policy preview request for the specified repository.
func (*Client) GetRegistryPolicy ¶ added in v0.31.0
func (c *Client) GetRegistryPolicy(ctx context.Context, params *GetRegistryPolicyInput, optFns ...func(*Options)) (*GetRegistryPolicyOutput, error)
Retrieves the permissions policy for a registry.
func (*Client) GetRegistryScanningConfiguration ¶ added in v1.11.0
func (c *Client) GetRegistryScanningConfiguration(ctx context.Context, params *GetRegistryScanningConfigurationInput, optFns ...func(*Options)) (*GetRegistryScanningConfigurationOutput, error)
Retrieves the scanning configuration for a registry.
func (*Client) GetRepositoryPolicy ¶
func (c *Client) GetRepositoryPolicy(ctx context.Context, params *GetRepositoryPolicyInput, optFns ...func(*Options)) (*GetRepositoryPolicyOutput, error)
Retrieves the repository policy for the specified repository.
func (*Client) GetSigningConfiguration ¶ added in v1.54.0
func (c *Client) GetSigningConfiguration(ctx context.Context, params *GetSigningConfigurationInput, optFns ...func(*Options)) (*GetSigningConfigurationOutput, error)
Retrieves the registry's signing configuration, which defines rules for automatically signing images using Amazon Web Services Signer.
For more information, see Managed signing in the Amazon Elastic Container Registry User Guide.
func (*Client) InitiateLayerUpload ¶
func (c *Client) InitiateLayerUpload(ctx context.Context, params *InitiateLayerUploadInput, optFns ...func(*Options)) (*InitiateLayerUploadOutput, error)
Notifies Amazon ECR that you intend to upload an image layer.
When an image is pushed, the InitiateLayerUpload API is called once per image layer that has not already been uploaded. Whether or not an image layer has been uploaded is determined by the BatchCheckLayerAvailability API action.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
func (*Client) ListImageReferrers ¶ added in v1.53.0
func (c *Client) ListImageReferrers(ctx context.Context, params *ListImageReferrersInput, optFns ...func(*Options)) (*ListImageReferrersOutput, error)
Lists the artifacts associated with a specified subject image.
The IAM principal invoking this operation must have the ecr:BatchGetImage permission.
func (*Client) ListImages ¶
func (c *Client) ListImages(ctx context.Context, params *ListImagesInput, optFns ...func(*Options)) (*ListImagesOutput, error)
Lists all the image IDs for the specified repository.
You can filter images based on whether or not they are tagged by using the tagStatus filter and specifying either TAGGED , UNTAGGED or ANY . For example, you can filter your results to return only UNTAGGED images and then pipe that result to a BatchDeleteImageoperation to delete them. Or, you can filter your results to return only TAGGED images to list all of the tags in your repository.
func (*Client) ListPullTimeUpdateExclusions ¶ added in v1.53.0
func (c *Client) ListPullTimeUpdateExclusions(ctx context.Context, params *ListPullTimeUpdateExclusionsInput, optFns ...func(*Options)) (*ListPullTimeUpdateExclusionsOutput, error)
Lists the IAM principals that are excluded from having their image pull times recorded.
func (*Client) ListReplicationBackfills ¶ added in v1.67.0
func (c *Client) ListReplicationBackfills(ctx context.Context, params *ListReplicationBackfillsInput, optFns ...func(*Options)) (*ListReplicationBackfillsOutput, error)
Lists the replication backfills for a registry, including their status and progress.
Replication backfills that have reached a terminal status are retained for 90 days after they end, after which they are no longer returned.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
List the tags for an Amazon ECR resource.
func (*Client) Options ¶ added in v1.24.0
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) PutAccountSetting ¶ added in v1.32.0
func (c *Client) PutAccountSetting(ctx context.Context, params *PutAccountSettingInput, optFns ...func(*Options)) (*PutAccountSettingOutput, error)
Allows you to change the basic scan type version or registry policy scope.
func (*Client) PutImage ¶
func (c *Client) PutImage(ctx context.Context, params *PutImageInput, optFns ...func(*Options)) (*PutImageOutput, error)
Creates or updates the image manifest and tags associated with an image.
When an image is pushed and all new image layers have been uploaded, the PutImage API is called once to create or update the image manifest and the tags associated with the image.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
func (*Client) PutImageScanningConfiguration ¶
func (c *Client) PutImageScanningConfiguration(ctx context.Context, params *PutImageScanningConfigurationInput, optFns ...func(*Options)) (*PutImageScanningConfigurationOutput, error)
The PutImageScanningConfiguration API is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see PutRegistryScanningConfiguration.
Updates the image scanning configuration for the specified repository.
func (*Client) PutImageTagMutability ¶
func (c *Client) PutImageTagMutability(ctx context.Context, params *PutImageTagMutabilityInput, optFns ...func(*Options)) (*PutImageTagMutabilityOutput, error)
Updates the image tag mutability settings for the specified repository. For more information, see Image tag mutabilityin the Amazon Elastic Container Registry User Guide.
func (*Client) PutLifecyclePolicy ¶
func (c *Client) PutLifecyclePolicy(ctx context.Context, params *PutLifecyclePolicyInput, optFns ...func(*Options)) (*PutLifecyclePolicyOutput, error)
Creates or updates the lifecycle policy for the specified repository. For more information, see Lifecycle policy template.
func (*Client) PutRegistryPolicy ¶ added in v0.31.0
func (c *Client) PutRegistryPolicy(ctx context.Context, params *PutRegistryPolicyInput, optFns ...func(*Options)) (*PutRegistryPolicyOutput, error)
Creates or updates the permissions policy for your registry.
A registry policy is used to specify permissions for another Amazon Web Services account and is used when configuring cross-account replication. For more information, see Registry permissionsin the Amazon Elastic Container Registry User Guide.
func (*Client) PutRegistryScanningConfiguration ¶ added in v1.11.0
func (c *Client) PutRegistryScanningConfiguration(ctx context.Context, params *PutRegistryScanningConfigurationInput, optFns ...func(*Options)) (*PutRegistryScanningConfigurationOutput, error)
Creates or updates the scanning configuration for your private registry.
func (*Client) PutReplicationConfiguration ¶ added in v0.31.0
func (c *Client) PutReplicationConfiguration(ctx context.Context, params *PutReplicationConfigurationInput, optFns ...func(*Options)) (*PutReplicationConfigurationOutput, error)
Creates or updates the replication configuration for a registry. The existing replication configuration for a repository can be retrieved with the DescribeRegistryAPI action. The first time the PutReplicationConfiguration API is called, a service-linked IAM role is created in your account for the replication process. For more information, see Using service-linked roles for Amazon ECRin the Amazon Elastic Container Registry User Guide. For more information on the custom role for replication, see Creating an IAM role for replication.
When configuring cross-account replication, the destination account must grant the source account permission to replicate. This permission is controlled using a registry permissions policy. For more information, see PutRegistryPolicy.
func (*Client) PutSigningConfiguration ¶ added in v1.54.0
func (c *Client) PutSigningConfiguration(ctx context.Context, params *PutSigningConfigurationInput, optFns ...func(*Options)) (*PutSigningConfigurationOutput, error)
Creates or updates the registry's signing configuration, which defines rules for automatically signing images with Amazon Web Services Signer.
For more information, see Managed signing in the Amazon Elastic Container Registry User Guide.
To successfully generate a signature, the IAM principal pushing images must have permission to sign payloads with the Amazon Web Services Signer signing profile referenced in the signing configuration.
func (*Client) RegisterPullTimeUpdateExclusion ¶ added in v1.53.0
func (c *Client) RegisterPullTimeUpdateExclusion(ctx context.Context, params *RegisterPullTimeUpdateExclusionInput, optFns ...func(*Options)) (*RegisterPullTimeUpdateExclusionOutput, error)
Adds an IAM principal to the pull time update exclusion list for a registry. Amazon ECR will not record the pull time if an excluded principal pulls an image.
func (*Client) SetRepositoryPolicy ¶
func (c *Client) SetRepositoryPolicy(ctx context.Context, params *SetRepositoryPolicyInput, optFns ...func(*Options)) (*SetRepositoryPolicyOutput, error)
Applies a repository policy to the specified repository to control access permissions. For more information, see Amazon ECR Repository policiesin the Amazon Elastic Container Registry User Guide.
func (*Client) StartImageScan ¶
func (c *Client) StartImageScan(ctx context.Context, params *StartImageScanInput, optFns ...func(*Options)) (*StartImageScanOutput, error)
Starts a basic image vulnerability scan.
A basic image scan can only be started once per 24 hours on an individual image. This limit includes if an image was scanned on initial push. You can start up to 100,000 basic scans per 24 hours. This limit includes both scans on initial push and scans initiated by the StartImageScan API. For more information, see Basic scanningin the Amazon Elastic Container Registry User Guide.
func (*Client) StartLifecyclePolicyPreview ¶
func (c *Client) StartLifecyclePolicyPreview(ctx context.Context, params *StartLifecyclePolicyPreviewInput, optFns ...func(*Options)) (*StartLifecyclePolicyPreviewOutput, error)
Starts a preview of a lifecycle policy for the specified repository. This allows you to see the results before associating the lifecycle policy with the repository.
func (*Client) StartReplicationBackfill ¶ added in v1.67.0
func (c *Client) StartReplicationBackfill(ctx context.Context, params *StartReplicationBackfillInput, optFns ...func(*Options)) (*StartReplicationBackfillOutput, error)
Starts a replication backfill for a registry. A replication backfill replicates a registry's existing images that match its replication configuration to the specified destination. Use the DescribeReplicationBackfillResultsoperation to monitor the progress of a replication backfill, and to retrieve its per-image results after it reaches a terminal status.
The destination must already be configured in the registry's replication configuration.
Only one replication backfill can be in progress for a given destination Region at a time. Starting a replication backfill for a destination Region that already has one in progress fails with a ReplicationBackfillInProgressException . In addition, a registry can have at most 10 replication backfills in progress at once. Starting a replication backfill that would exceed this limit fails with a LimitExceededException .
func (*Client) StopReplicationBackfill ¶ added in v1.67.0
func (c *Client) StopReplicationBackfill(ctx context.Context, params *StopReplicationBackfillInput, optFns ...func(*Options)) (*StopReplicationBackfillOutput, error)
Stops an in progress replication backfill for a registry. The backfill to stop is identified by the replicationBackfillId returned by the StartReplicationBackfill operation.
Images that have already been replicated are not affected, and replications that are already in progress continue to completion.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds specified tags to a resource with the specified ARN. Existing tags on a resource are not changed if they are not specified in the request parameters.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Deletes specified tags from a resource.
func (*Client) UpdateImageStorageClass ¶ added in v1.53.0
func (c *Client) UpdateImageStorageClass(ctx context.Context, params *UpdateImageStorageClassInput, optFns ...func(*Options)) (*UpdateImageStorageClassOutput, error)
Transitions an image between storage classes. You can transition images from Amazon ECR standard storage class to Amazon ECR archival storage class for long-term storage, or restore archived images back to Amazon ECR standard.
func (*Client) UpdatePullThroughCacheRule ¶ added in v1.23.0
func (c *Client) UpdatePullThroughCacheRule(ctx context.Context, params *UpdatePullThroughCacheRuleInput, optFns ...func(*Options)) (*UpdatePullThroughCacheRuleOutput, error)
Updates an existing pull through cache rule.
func (*Client) UpdateRepositoryCreationTemplate ¶ added in v1.31.0
func (c *Client) UpdateRepositoryCreationTemplate(ctx context.Context, params *UpdateRepositoryCreationTemplateInput, optFns ...func(*Options)) (*UpdateRepositoryCreationTemplateOutput, error)
Updates an existing repository creation template.
func (*Client) UploadLayerPart ¶
func (c *Client) UploadLayerPart(ctx context.Context, params *UploadLayerPartInput, optFns ...func(*Options)) (*UploadLayerPartOutput, error)
Uploads an image layer part to Amazon ECR.
When an image is pushed, each new image layer is uploaded in parts. The maximum size of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API is called once per each new image layer part.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
func (*Client) ValidatePullThroughCacheRule ¶ added in v1.23.0
func (c *Client) ValidatePullThroughCacheRule(ctx context.Context, params *ValidatePullThroughCacheRuleInput, optFns ...func(*Options)) (*ValidatePullThroughCacheRuleOutput, error)
Validates an existing pull through cache rule for an upstream registry that requires authentication. This will retrieve the contents of the Amazon Web Services Secrets Manager secret, verify the syntax, and then validate that authentication to the upstream registry is successful.
type CompleteLayerUploadInput ¶
type CompleteLayerUploadInput struct {
// The sha256 digest of the image layer.
//
// This member is required.
LayerDigests []string
// The name of the repository to associate with the image layer.
//
// This member is required.
RepositoryName *string
// The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
//
// This member is required.
UploadId *string
// The Amazon Web Services account ID associated with the registry to which to
// upload layers. If you do not specify a registry, the default registry is
// assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*CompleteLayerUploadInput) Serialize ¶ added in v1.66.0
func (v *CompleteLayerUploadInput) Serialize(s smithy.ShapeSerializer)
func (*CompleteLayerUploadInput) SerializeMembers ¶ added in v1.66.0
func (v *CompleteLayerUploadInput) SerializeMembers(s smithy.ShapeSerializer)
type CompleteLayerUploadOutput ¶
type CompleteLayerUploadOutput struct {
// The sha256 digest of the image layer.
LayerDigest *string
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// The upload ID associated with the layer.
UploadId *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*CompleteLayerUploadOutput) Deserialize ¶ added in v1.66.0
func (v *CompleteLayerUploadOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*CompleteLayerUploadOutput) Serialize ¶ added in v1.66.0
func (v *CompleteLayerUploadOutput) Serialize(s smithy.ShapeSerializer)
func (*CompleteLayerUploadOutput) SerializeMembers ¶ added in v1.66.0
func (v *CompleteLayerUploadOutput) SerializeMembers(s smithy.ShapeSerializer)
type CreatePullThroughCacheRuleInput ¶ added in v1.11.0
type CreatePullThroughCacheRuleInput struct {
// The repository name prefix to use when caching images from the source registry.
//
// There is always an assumed / applied to the end of the prefix. If you specify
// ecr-public as the prefix, Amazon ECR treats that as ecr-public/ .
//
// This member is required.
EcrRepositoryPrefix *string
// The registry URL of the upstream public registry to use as the source for the
// pull through cache rule. The following is the syntax to use for each supported
// upstream registry.
//
// - Amazon ECR ( ecr ) – .dkr.ecr..amazonaws.com
//
// - Amazon ECR Public ( ecr-public ) – public.ecr.aws
//
// - Docker Hub ( docker-hub ) – registry-1.docker.io
//
// - GitHub Container Registry ( github-container-registry ) – ghcr.io
//
// - GitLab Container Registry ( gitlab-container-registry ) –
// registry.gitlab.com
//
// - Kubernetes ( k8s ) – registry.k8s.io
//
// - Microsoft Azure Container Registry ( azure-container-registry ) –
// .azurecr.io
//
// - Quay ( quay ) – quay.io
//
// This member is required.
UpstreamRegistryUrl *string
// The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
// secret that identifies the credentials to authenticate to the upstream registry.
CredentialArn *string
// Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to
// authenticate to the ECR upstream registry. This role must be in the same account
// as the registry that you are configuring.
CustomRoleArn *string
// The Amazon Web Services account ID associated with the registry to create the
// pull through cache rule for. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// The name of the upstream registry.
UpstreamRegistry types.UpstreamRegistry
// The repository name prefix of the upstream registry to match with the upstream
// repository name. When this field isn't specified, Amazon ECR will use the ROOT .
UpstreamRepositoryPrefix *string
// contains filtered or unexported fields
}
func (*CreatePullThroughCacheRuleInput) Serialize ¶ added in v1.66.0
func (v *CreatePullThroughCacheRuleInput) Serialize(s smithy.ShapeSerializer)
func (*CreatePullThroughCacheRuleInput) SerializeMembers ¶ added in v1.66.0
func (v *CreatePullThroughCacheRuleInput) SerializeMembers(s smithy.ShapeSerializer)
type CreatePullThroughCacheRuleOutput ¶ added in v1.11.0
type CreatePullThroughCacheRuleOutput struct {
// The date and time, in JavaScript date format, when the pull through cache rule
// was created.
CreatedAt *time.Time
// The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
// secret associated with the pull through cache rule.
CredentialArn *string
// The ARN of the IAM role associated with the pull through cache rule.
CustomRoleArn *string
// The Amazon ECR repository prefix associated with the pull through cache rule.
EcrRepositoryPrefix *string
// The registry ID associated with the request.
RegistryId *string
// The name of the upstream registry associated with the pull through cache rule.
UpstreamRegistry types.UpstreamRegistry
// The upstream registry URL associated with the pull through cache rule.
UpstreamRegistryUrl *string
// The upstream repository prefix associated with the pull through cache rule.
UpstreamRepositoryPrefix *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*CreatePullThroughCacheRuleOutput) Deserialize ¶ added in v1.66.0
func (v *CreatePullThroughCacheRuleOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*CreatePullThroughCacheRuleOutput) Serialize ¶ added in v1.66.0
func (v *CreatePullThroughCacheRuleOutput) Serialize(s smithy.ShapeSerializer)
func (*CreatePullThroughCacheRuleOutput) SerializeMembers ¶ added in v1.66.0
func (v *CreatePullThroughCacheRuleOutput) SerializeMembers(s smithy.ShapeSerializer)
type CreateRepositoryCreationTemplateInput ¶ added in v1.31.0
type CreateRepositoryCreationTemplateInput struct {
// A list of enumerable strings representing the Amazon ECR repository creation
// scenarios that this template will apply towards. The supported scenarios are
// PULL_THROUGH_CACHE , REPLICATION , and CREATE_ON_PUSH
//
// This member is required.
AppliedFor []types.RCTAppliedFor
// The repository namespace prefix to associate with the template. All
// repositories created using this namespace prefix will have the settings defined
// in this template applied. For example, a prefix of prod would apply to all
// repositories beginning with prod/ . Similarly, a prefix of prod/team would
// apply to all repositories beginning with prod/team/ .
//
// To apply a template to all repositories in your registry that don't have an
// associated creation template, you can use ROOT as the prefix.
//
// There is always an assumed / applied to the end of the prefix. If you specify
// ecr-public as the prefix, Amazon ECR treats that as ecr-public/ . When using a
// pull through cache rule, the repository prefix you specify during rule creation
// is what you should specify as your repository creation template prefix as well.
//
// This member is required.
Prefix *string
// The ARN of the role to be assumed by Amazon ECR. This role must be in the same
// account as the registry that you are configuring. Amazon ECR will assume your
// supplied role when the customRoleArn is specified. When this field isn't
// specified, Amazon ECR will use the service-linked role for the repository
// creation template.
CustomRoleArn *string
// A description for the repository creation template.
Description *string
// The encryption configuration to use for repositories created using the template.
EncryptionConfiguration *types.EncryptionConfigurationForRepositoryCreationTemplate
// The tag mutability setting for the repository. If this parameter is omitted,
// the default setting of MUTABLE will be used which will allow image tags to be
// overwritten. If IMMUTABLE is specified, all image tags within the repository
// will be immutable which will prevent them from being overwritten.
ImageTagMutability types.ImageTagMutability
// A list of filters that specify which image tags should be excluded from the
// repository creation template's image tag mutability setting.
ImageTagMutabilityExclusionFilters []types.ImageTagMutabilityExclusionFilter
// The lifecycle policy to use for repositories created using the template.
LifecyclePolicy *string
// The repository policy to apply to repositories created using the template. A
// repository policy is a permissions policy associated with a repository to
// control access permissions.
RepositoryPolicy *string
// The metadata to apply to the repository to help you categorize and organize.
// Each tag consists of a key and an optional value, both of which you define. Tag
// keys can have a maximum character length of 128 characters, and tag values can
// have a maximum length of 256 characters.
ResourceTags []types.Tag
// contains filtered or unexported fields
}
func (*CreateRepositoryCreationTemplateInput) Serialize ¶ added in v1.66.0
func (v *CreateRepositoryCreationTemplateInput) Serialize(s smithy.ShapeSerializer)
func (*CreateRepositoryCreationTemplateInput) SerializeMembers ¶ added in v1.66.0
func (v *CreateRepositoryCreationTemplateInput) SerializeMembers(s smithy.ShapeSerializer)
type CreateRepositoryCreationTemplateOutput ¶ added in v1.31.0
type CreateRepositoryCreationTemplateOutput struct {
// The registry ID associated with the request.
RegistryId *string
// The details of the repository creation template associated with the request.
RepositoryCreationTemplate *types.RepositoryCreationTemplate
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*CreateRepositoryCreationTemplateOutput) Deserialize ¶ added in v1.66.0
func (v *CreateRepositoryCreationTemplateOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*CreateRepositoryCreationTemplateOutput) Serialize ¶ added in v1.66.0
func (v *CreateRepositoryCreationTemplateOutput) Serialize(s smithy.ShapeSerializer)
func (*CreateRepositoryCreationTemplateOutput) SerializeMembers ¶ added in v1.66.0
func (v *CreateRepositoryCreationTemplateOutput) SerializeMembers(s smithy.ShapeSerializer)
type CreateRepositoryInput ¶
type CreateRepositoryInput struct {
// The name to use for the repository. The repository name may be specified on its
// own (such as nginx-web-app ) or it can be prepended with a namespace to group
// the repository into a category (such as project-a/nginx-web-app ).
//
// The repository name must start with a letter and can only contain lowercase
// letters, numbers, hyphens, underscores, and forward slashes.
//
// This member is required.
RepositoryName *string
// The encryption configuration for the repository. This determines how the
// contents of your repository are encrypted at rest.
EncryptionConfiguration *types.EncryptionConfiguration
// The imageScanningConfiguration parameter is being deprecated, in favor of
// specifying the image scanning configuration at the registry level. For more
// information, see PutRegistryScanningConfiguration .
//
// The image scanning configuration for the repository. This determines whether
// images are scanned for known vulnerabilities after being pushed to the
// repository.
ImageScanningConfiguration *types.ImageScanningConfiguration
// The tag mutability setting for the repository. If this parameter is omitted,
// the default setting of MUTABLE will be used which will allow image tags to be
// overwritten. If IMMUTABLE is specified, all image tags within the repository
// will be immutable which will prevent them from being overwritten.
ImageTagMutability types.ImageTagMutability
// A list of filters that specify which image tags should be excluded from the
// repository's image tag mutability setting.
ImageTagMutabilityExclusionFilters []types.ImageTagMutabilityExclusionFilter
// The Amazon Web Services account ID associated with the registry to create the
// repository. If you do not specify a registry, the default registry is assumed.
RegistryId *string
// The metadata that you apply to the repository to help you categorize and
// organize them. Each tag consists of a key and an optional value, both of which
// you define. Tag keys can have a maximum character length of 128 characters, and
// tag values can have a maximum length of 256 characters.
Tags []types.Tag
// contains filtered or unexported fields
}
func (*CreateRepositoryInput) Serialize ¶ added in v1.66.0
func (v *CreateRepositoryInput) Serialize(s smithy.ShapeSerializer)
func (*CreateRepositoryInput) SerializeMembers ¶ added in v1.66.0
func (v *CreateRepositoryInput) SerializeMembers(s smithy.ShapeSerializer)
type CreateRepositoryOutput ¶
type CreateRepositoryOutput struct {
// The repository that was created.
Repository *types.Repository
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*CreateRepositoryOutput) Deserialize ¶ added in v1.66.0
func (v *CreateRepositoryOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*CreateRepositoryOutput) Serialize ¶ added in v1.66.0
func (v *CreateRepositoryOutput) Serialize(s smithy.ShapeSerializer)
func (*CreateRepositoryOutput) SerializeMembers ¶ added in v1.66.0
func (v *CreateRepositoryOutput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteLifecyclePolicyInput ¶
type DeleteLifecyclePolicyInput struct {
// The name of the repository.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository. If you do not specify a registry, the default registry is
// assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*DeleteLifecyclePolicyInput) Serialize ¶ added in v1.66.0
func (v *DeleteLifecyclePolicyInput) Serialize(s smithy.ShapeSerializer)
func (*DeleteLifecyclePolicyInput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteLifecyclePolicyInput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteLifecyclePolicyOutput ¶
type DeleteLifecyclePolicyOutput struct {
// The time stamp of the last time that the lifecycle policy was run.
LastEvaluatedAt *time.Time
// The JSON lifecycle policy text.
LifecyclePolicyText *string
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DeleteLifecyclePolicyOutput) Deserialize ¶ added in v1.66.0
func (v *DeleteLifecyclePolicyOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DeleteLifecyclePolicyOutput) Serialize ¶ added in v1.66.0
func (v *DeleteLifecyclePolicyOutput) Serialize(s smithy.ShapeSerializer)
func (*DeleteLifecyclePolicyOutput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteLifecyclePolicyOutput) SerializeMembers(s smithy.ShapeSerializer)
type DeletePullThroughCacheRuleInput ¶ added in v1.11.0
type DeletePullThroughCacheRuleInput struct {
// The Amazon ECR repository prefix associated with the pull through cache rule to
// delete.
//
// This member is required.
EcrRepositoryPrefix *string
// The Amazon Web Services account ID associated with the registry that contains
// the pull through cache rule. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*DeletePullThroughCacheRuleInput) Serialize ¶ added in v1.66.0
func (v *DeletePullThroughCacheRuleInput) Serialize(s smithy.ShapeSerializer)
func (*DeletePullThroughCacheRuleInput) SerializeMembers ¶ added in v1.66.0
func (v *DeletePullThroughCacheRuleInput) SerializeMembers(s smithy.ShapeSerializer)
type DeletePullThroughCacheRuleOutput ¶ added in v1.11.0
type DeletePullThroughCacheRuleOutput struct {
// The timestamp associated with the pull through cache rule.
CreatedAt *time.Time
// The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
// secret associated with the pull through cache rule.
CredentialArn *string
// The ARN of the IAM role associated with the pull through cache rule.
CustomRoleArn *string
// The Amazon ECR repository prefix associated with the request.
EcrRepositoryPrefix *string
// The registry ID associated with the request.
RegistryId *string
// The upstream registry URL associated with the pull through cache rule.
UpstreamRegistryUrl *string
// The upstream repository prefix associated with the pull through cache rule.
UpstreamRepositoryPrefix *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DeletePullThroughCacheRuleOutput) Deserialize ¶ added in v1.66.0
func (v *DeletePullThroughCacheRuleOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DeletePullThroughCacheRuleOutput) Serialize ¶ added in v1.66.0
func (v *DeletePullThroughCacheRuleOutput) Serialize(s smithy.ShapeSerializer)
func (*DeletePullThroughCacheRuleOutput) SerializeMembers ¶ added in v1.66.0
func (v *DeletePullThroughCacheRuleOutput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteRegistryPolicyInput ¶ added in v0.31.0
type DeleteRegistryPolicyInput struct {
// contains filtered or unexported fields
}
func (*DeleteRegistryPolicyInput) Serialize ¶ added in v1.66.0
func (v *DeleteRegistryPolicyInput) Serialize(s smithy.ShapeSerializer)
func (*DeleteRegistryPolicyInput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteRegistryPolicyInput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteRegistryPolicyOutput ¶ added in v0.31.0
type DeleteRegistryPolicyOutput struct {
// The contents of the registry permissions policy that was deleted.
PolicyText *string
// The registry ID associated with the request.
RegistryId *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DeleteRegistryPolicyOutput) Deserialize ¶ added in v1.66.0
func (v *DeleteRegistryPolicyOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DeleteRegistryPolicyOutput) Serialize ¶ added in v1.66.0
func (v *DeleteRegistryPolicyOutput) Serialize(s smithy.ShapeSerializer)
func (*DeleteRegistryPolicyOutput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteRegistryPolicyOutput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteRepositoryCreationTemplateInput ¶ added in v1.31.0
type DeleteRepositoryCreationTemplateInput struct {
// The repository namespace prefix associated with the repository creation
// template.
//
// This member is required.
Prefix *string
// contains filtered or unexported fields
}
func (*DeleteRepositoryCreationTemplateInput) Serialize ¶ added in v1.66.0
func (v *DeleteRepositoryCreationTemplateInput) Serialize(s smithy.ShapeSerializer)
func (*DeleteRepositoryCreationTemplateInput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteRepositoryCreationTemplateInput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteRepositoryCreationTemplateOutput ¶ added in v1.31.0
type DeleteRepositoryCreationTemplateOutput struct {
// The registry ID associated with the request.
RegistryId *string
// The details of the repository creation template that was deleted.
RepositoryCreationTemplate *types.RepositoryCreationTemplate
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DeleteRepositoryCreationTemplateOutput) Deserialize ¶ added in v1.66.0
func (v *DeleteRepositoryCreationTemplateOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DeleteRepositoryCreationTemplateOutput) Serialize ¶ added in v1.66.0
func (v *DeleteRepositoryCreationTemplateOutput) Serialize(s smithy.ShapeSerializer)
func (*DeleteRepositoryCreationTemplateOutput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteRepositoryCreationTemplateOutput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteRepositoryInput ¶
type DeleteRepositoryInput struct {
// The name of the repository to delete.
//
// This member is required.
RepositoryName *string
// If true, deleting the repository force deletes the contents of the repository.
// If false, the repository must be empty before attempting to delete it.
Force bool
// The Amazon Web Services account ID associated with the registry that contains
// the repository to delete. If you do not specify a registry, the default registry
// is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*DeleteRepositoryInput) Serialize ¶ added in v1.66.0
func (v *DeleteRepositoryInput) Serialize(s smithy.ShapeSerializer)
func (*DeleteRepositoryInput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteRepositoryInput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteRepositoryOutput ¶
type DeleteRepositoryOutput struct {
// The repository that was deleted.
Repository *types.Repository
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DeleteRepositoryOutput) Deserialize ¶ added in v1.66.0
func (v *DeleteRepositoryOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DeleteRepositoryOutput) Serialize ¶ added in v1.66.0
func (v *DeleteRepositoryOutput) Serialize(s smithy.ShapeSerializer)
func (*DeleteRepositoryOutput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteRepositoryOutput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteRepositoryPolicyInput ¶
type DeleteRepositoryPolicyInput struct {
// The name of the repository that is associated with the repository policy to
// delete.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository policy to delete. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*DeleteRepositoryPolicyInput) Serialize ¶ added in v1.66.0
func (v *DeleteRepositoryPolicyInput) Serialize(s smithy.ShapeSerializer)
func (*DeleteRepositoryPolicyInput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteRepositoryPolicyInput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteRepositoryPolicyOutput ¶
type DeleteRepositoryPolicyOutput struct {
// The JSON repository policy that was deleted from the repository.
PolicyText *string
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DeleteRepositoryPolicyOutput) Deserialize ¶ added in v1.66.0
func (v *DeleteRepositoryPolicyOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DeleteRepositoryPolicyOutput) Serialize ¶ added in v1.66.0
func (v *DeleteRepositoryPolicyOutput) Serialize(s smithy.ShapeSerializer)
func (*DeleteRepositoryPolicyOutput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteRepositoryPolicyOutput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteSigningConfigurationInput ¶ added in v1.54.0
type DeleteSigningConfigurationInput struct {
// contains filtered or unexported fields
}
func (*DeleteSigningConfigurationInput) Serialize ¶ added in v1.66.0
func (v *DeleteSigningConfigurationInput) Serialize(s smithy.ShapeSerializer)
func (*DeleteSigningConfigurationInput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteSigningConfigurationInput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteSigningConfigurationOutput ¶ added in v1.54.0
type DeleteSigningConfigurationOutput struct {
// The Amazon Web Services account ID associated with the registry.
RegistryId *string
// The registry's deleted signing configuration.
SigningConfiguration *types.SigningConfiguration
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DeleteSigningConfigurationOutput) Deserialize ¶ added in v1.66.0
func (v *DeleteSigningConfigurationOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DeleteSigningConfigurationOutput) Serialize ¶ added in v1.66.0
func (v *DeleteSigningConfigurationOutput) Serialize(s smithy.ShapeSerializer)
func (*DeleteSigningConfigurationOutput) SerializeMembers ¶ added in v1.66.0
func (v *DeleteSigningConfigurationOutput) SerializeMembers(s smithy.ShapeSerializer)
type DeregisterPullTimeUpdateExclusionInput ¶ added in v1.53.0
type DeregisterPullTimeUpdateExclusionInput struct {
// The ARN of the IAM principal to remove from the pull time update exclusion list.
//
// This member is required.
PrincipalArn *string
// contains filtered or unexported fields
}
func (*DeregisterPullTimeUpdateExclusionInput) Serialize ¶ added in v1.66.0
func (v *DeregisterPullTimeUpdateExclusionInput) Serialize(s smithy.ShapeSerializer)
func (*DeregisterPullTimeUpdateExclusionInput) SerializeMembers ¶ added in v1.66.0
func (v *DeregisterPullTimeUpdateExclusionInput) SerializeMembers(s smithy.ShapeSerializer)
type DeregisterPullTimeUpdateExclusionOutput ¶ added in v1.53.0
type DeregisterPullTimeUpdateExclusionOutput struct {
// The ARN of the IAM principal that was removed from the pull time update
// exclusion list.
PrincipalArn *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DeregisterPullTimeUpdateExclusionOutput) Deserialize ¶ added in v1.66.0
func (v *DeregisterPullTimeUpdateExclusionOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DeregisterPullTimeUpdateExclusionOutput) Serialize ¶ added in v1.66.0
func (v *DeregisterPullTimeUpdateExclusionOutput) Serialize(s smithy.ShapeSerializer)
func (*DeregisterPullTimeUpdateExclusionOutput) SerializeMembers ¶ added in v1.66.0
func (v *DeregisterPullTimeUpdateExclusionOutput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeImageReplicationStatusInput ¶ added in v1.7.0
type DescribeImageReplicationStatusInput struct {
// An object with identifying information for an image in an Amazon ECR repository.
//
// This member is required.
ImageId *types.ImageIdentifier
// The name of the repository that the image is in.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry. If you do not
// specify a registry, the default registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*DescribeImageReplicationStatusInput) Serialize ¶ added in v1.66.0
func (v *DescribeImageReplicationStatusInput) Serialize(s smithy.ShapeSerializer)
func (*DescribeImageReplicationStatusInput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeImageReplicationStatusInput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeImageReplicationStatusOutput ¶ added in v1.7.0
type DescribeImageReplicationStatusOutput struct {
// An object with identifying information for an image in an Amazon ECR repository.
ImageId *types.ImageIdentifier
// The replication status details for the images in the specified repository.
ReplicationStatuses []types.ImageReplicationStatus
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DescribeImageReplicationStatusOutput) Deserialize ¶ added in v1.66.0
func (v *DescribeImageReplicationStatusOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DescribeImageReplicationStatusOutput) Serialize ¶ added in v1.66.0
func (v *DescribeImageReplicationStatusOutput) Serialize(s smithy.ShapeSerializer)
func (*DescribeImageReplicationStatusOutput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeImageReplicationStatusOutput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeImageScanFindingsAPIClient ¶ added in v0.30.0
type DescribeImageScanFindingsAPIClient interface {
DescribeImageScanFindings(context.Context, *DescribeImageScanFindingsInput, ...func(*Options)) (*DescribeImageScanFindingsOutput, error)
}
DescribeImageScanFindingsAPIClient is a client that implements the DescribeImageScanFindings operation.
type DescribeImageScanFindingsInput ¶
type DescribeImageScanFindingsInput struct {
// An object with identifying information for an image in an Amazon ECR repository.
//
// This member is required.
ImageId *types.ImageIdentifier
// The repository for the image for which to describe the scan findings.
//
// This member is required.
RepositoryName *string
// The maximum number of image scan results returned by DescribeImageScanFindings
// in paginated output. When this parameter is used, DescribeImageScanFindings
// only returns maxResults results in a single page along with a nextToken
// response element. The remaining results of the initial request can be seen by
// sending another DescribeImageScanFindings request with the returned nextToken
// value. This value can be between 1 and 1000. If this parameter is not used, then
// DescribeImageScanFindings returns up to 100 results and a nextToken value, if
// applicable.
MaxResults *int32
// The nextToken value returned from a previous paginated DescribeImageScanFindings
// request where maxResults was used and the results exceeded the value of that
// parameter. Pagination continues from the end of the previous results that
// returned the nextToken value. This value is null when there are no more results
// to return.
NextToken *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository in which to describe the image scan findings for. If you do not
// specify a registry, the default registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*DescribeImageScanFindingsInput) Serialize ¶ added in v1.66.0
func (v *DescribeImageScanFindingsInput) Serialize(s smithy.ShapeSerializer)
func (*DescribeImageScanFindingsInput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeImageScanFindingsInput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeImageScanFindingsOutput ¶
type DescribeImageScanFindingsOutput struct {
// An object with identifying information for an image in an Amazon ECR repository.
ImageId *types.ImageIdentifier
// The information contained in the image scan findings.
ImageScanFindings *types.ImageScanFindings
// The current state of the scan.
ImageScanStatus *types.ImageScanStatus
// The nextToken value to include in a future DescribeImageScanFindings request.
// When the results of a DescribeImageScanFindings request exceed maxResults , this
// value can be used to retrieve the next page of results. This value is null when
// there are no more results to return.
NextToken *string
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DescribeImageScanFindingsOutput) Deserialize ¶ added in v1.66.0
func (v *DescribeImageScanFindingsOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DescribeImageScanFindingsOutput) Serialize ¶ added in v1.66.0
func (v *DescribeImageScanFindingsOutput) Serialize(s smithy.ShapeSerializer)
func (*DescribeImageScanFindingsOutput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeImageScanFindingsOutput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeImageScanFindingsPaginator ¶ added in v0.30.0
type DescribeImageScanFindingsPaginator struct {
// contains filtered or unexported fields
}
DescribeImageScanFindingsPaginator is a paginator for DescribeImageScanFindings
func NewDescribeImageScanFindingsPaginator ¶ added in v0.30.0
func NewDescribeImageScanFindingsPaginator(client DescribeImageScanFindingsAPIClient, params *DescribeImageScanFindingsInput, optFns ...func(*DescribeImageScanFindingsPaginatorOptions)) *DescribeImageScanFindingsPaginator
NewDescribeImageScanFindingsPaginator returns a new DescribeImageScanFindingsPaginator
func (*DescribeImageScanFindingsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeImageScanFindingsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeImageScanFindingsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeImageScanFindingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeImageScanFindingsOutput, error)
NextPage retrieves the next DescribeImageScanFindings page.
type DescribeImageScanFindingsPaginatorOptions ¶ added in v0.30.0
type DescribeImageScanFindingsPaginatorOptions struct {
// The maximum number of image scan results returned by DescribeImageScanFindings
// in paginated output. When this parameter is used, DescribeImageScanFindings
// only returns maxResults results in a single page along with a nextToken
// response element. The remaining results of the initial request can be seen by
// sending another DescribeImageScanFindings request with the returned nextToken
// value. This value can be between 1 and 1000. If this parameter is not used, then
// DescribeImageScanFindings returns up to 100 results and a nextToken value, if
// applicable.
Limit int32
// Set to true if pagination should stop if the service returns a pagination token
// that matches the most recent token provided to the service.
StopOnDuplicateToken bool
}
DescribeImageScanFindingsPaginatorOptions is the paginator options for DescribeImageScanFindings
type DescribeImageSigningStatusInput ¶ added in v1.54.0
type DescribeImageSigningStatusInput struct {
// An object containing identifying information for an image.
//
// This member is required.
ImageId *types.ImageIdentifier
// The name of the repository that contains the image.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository. If you do not specify a registry, the default registry is
// assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*DescribeImageSigningStatusInput) Serialize ¶ added in v1.66.0
func (v *DescribeImageSigningStatusInput) Serialize(s smithy.ShapeSerializer)
func (*DescribeImageSigningStatusInput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeImageSigningStatusInput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeImageSigningStatusOutput ¶ added in v1.54.0
type DescribeImageSigningStatusOutput struct {
// An object with identifying information for the image.
ImageId *types.ImageIdentifier
// The Amazon Web Services account ID associated with the registry.
RegistryId *string
// The name of the repository.
RepositoryName *string
// A list of signing statuses for the specified image. Each status corresponds to
// a signing profile.
SigningStatuses []types.ImageSigningStatus
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DescribeImageSigningStatusOutput) Deserialize ¶ added in v1.66.0
func (v *DescribeImageSigningStatusOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DescribeImageSigningStatusOutput) Serialize ¶ added in v1.66.0
func (v *DescribeImageSigningStatusOutput) Serialize(s smithy.ShapeSerializer)
func (*DescribeImageSigningStatusOutput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeImageSigningStatusOutput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeImagesAPIClient ¶ added in v0.30.0
type DescribeImagesAPIClient interface {
DescribeImages(context.Context, *DescribeImagesInput, ...func(*Options)) (*DescribeImagesOutput, error)
}
DescribeImagesAPIClient is a client that implements the DescribeImages operation.
type DescribeImagesInput ¶
type DescribeImagesInput struct {
// The repository that contains the images to describe.
//
// This member is required.
RepositoryName *string
// The filter key and value with which to filter your DescribeImages results.
Filter *types.DescribeImagesFilter
// The list of image IDs for the requested repository.
ImageIds []types.ImageIdentifier
// The maximum number of repository results returned by DescribeImages in
// paginated output. When this parameter is used, DescribeImages only returns
// maxResults results in a single page along with a nextToken response element.
// The remaining results of the initial request can be seen by sending another
// DescribeImages request with the returned nextToken value. This value can be
// between 1 and 1000. If this parameter is not used, then DescribeImages returns
// up to 100 results and a nextToken value, if applicable. This option cannot be
// used when you specify images with imageIds .
MaxResults *int32
// The nextToken value returned from a previous paginated DescribeImages request
// where maxResults was used and the results exceeded the value of that parameter.
// Pagination continues from the end of the previous results that returned the
// nextToken value. This value is null when there are no more results to return.
// This option cannot be used when you specify images with imageIds .
NextToken *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository in which to describe images. If you do not specify a registry,
// the default registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*DescribeImagesInput) Serialize ¶ added in v1.66.0
func (v *DescribeImagesInput) Serialize(s smithy.ShapeSerializer)
func (*DescribeImagesInput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeImagesInput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeImagesOutput ¶
type DescribeImagesOutput struct {
// A list of ImageDetail objects that contain data about the image.
ImageDetails []types.ImageDetail
// The nextToken value to include in a future DescribeImages request. When the
// results of a DescribeImages request exceed maxResults , this value can be used
// to retrieve the next page of results. This value is null when there are no more
// results to return.
NextToken *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DescribeImagesOutput) Deserialize ¶ added in v1.66.0
func (v *DescribeImagesOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DescribeImagesOutput) Serialize ¶ added in v1.66.0
func (v *DescribeImagesOutput) Serialize(s smithy.ShapeSerializer)
func (*DescribeImagesOutput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeImagesOutput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeImagesPaginator ¶ added in v0.30.0
type DescribeImagesPaginator struct {
// contains filtered or unexported fields
}
DescribeImagesPaginator is a paginator for DescribeImages
func NewDescribeImagesPaginator ¶ added in v0.30.0
func NewDescribeImagesPaginator(client DescribeImagesAPIClient, params *DescribeImagesInput, optFns ...func(*DescribeImagesPaginatorOptions)) *DescribeImagesPaginator
NewDescribeImagesPaginator returns a new DescribeImagesPaginator
func (*DescribeImagesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeImagesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeImagesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeImagesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeImagesOutput, error)
NextPage retrieves the next DescribeImages page.
type DescribeImagesPaginatorOptions ¶ added in v0.30.0
type DescribeImagesPaginatorOptions struct {
// The maximum number of repository results returned by DescribeImages in
// paginated output. When this parameter is used, DescribeImages only returns
// maxResults results in a single page along with a nextToken response element.
// The remaining results of the initial request can be seen by sending another
// DescribeImages request with the returned nextToken value. This value can be
// between 1 and 1000. If this parameter is not used, then DescribeImages returns
// up to 100 results and a nextToken value, if applicable. This option cannot be
// used when you specify images with imageIds .
Limit int32
// Set to true if pagination should stop if the service returns a pagination token
// that matches the most recent token provided to the service.
StopOnDuplicateToken bool
}
DescribeImagesPaginatorOptions is the paginator options for DescribeImages
type DescribePullThroughCacheRulesAPIClient ¶ added in v1.11.0
type DescribePullThroughCacheRulesAPIClient interface {
DescribePullThroughCacheRules(context.Context, *DescribePullThroughCacheRulesInput, ...func(*Options)) (*DescribePullThroughCacheRulesOutput, error)
}
DescribePullThroughCacheRulesAPIClient is a client that implements the DescribePullThroughCacheRules operation.
type DescribePullThroughCacheRulesInput ¶ added in v1.11.0
type DescribePullThroughCacheRulesInput struct {
// The Amazon ECR repository prefixes associated with the pull through cache rules
// to return. If no repository prefix value is specified, all pull through cache
// rules are returned.
EcrRepositoryPrefixes []string
// The maximum number of pull through cache rules returned by
// DescribePullThroughCacheRulesRequest in paginated output. When this parameter is
// used, DescribePullThroughCacheRulesRequest only returns maxResults results in a
// single page along with a nextToken response element. The remaining results of
// the initial request can be seen by sending another
// DescribePullThroughCacheRulesRequest request with the returned nextToken value.
// This value can be between 1 and 1000. If this parameter is not used, then
// DescribePullThroughCacheRulesRequest returns up to 100 results and a nextToken
// value, if applicable.
MaxResults *int32
// The nextToken value returned from a previous paginated
// DescribePullThroughCacheRulesRequest request where maxResults was used and the
// results exceeded the value of that parameter. Pagination continues from the end
// of the previous results that returned the nextToken value. This value is null
// when there are no more results to return.
NextToken *string
// The Amazon Web Services account ID associated with the registry to return the
// pull through cache rules for. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*DescribePullThroughCacheRulesInput) Serialize ¶ added in v1.66.0
func (v *DescribePullThroughCacheRulesInput) Serialize(s smithy.ShapeSerializer)
func (*DescribePullThroughCacheRulesInput) SerializeMembers ¶ added in v1.66.0
func (v *DescribePullThroughCacheRulesInput) SerializeMembers(s smithy.ShapeSerializer)
type DescribePullThroughCacheRulesOutput ¶ added in v1.11.0
type DescribePullThroughCacheRulesOutput struct {
// The nextToken value to include in a future DescribePullThroughCacheRulesRequest
// request. When the results of a DescribePullThroughCacheRulesRequest request
// exceed maxResults , this value can be used to retrieve the next page of results.
// This value is null when there are no more results to return.
NextToken *string
// The details of the pull through cache rules.
PullThroughCacheRules []types.PullThroughCacheRule
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DescribePullThroughCacheRulesOutput) Deserialize ¶ added in v1.66.0
func (v *DescribePullThroughCacheRulesOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DescribePullThroughCacheRulesOutput) Serialize ¶ added in v1.66.0
func (v *DescribePullThroughCacheRulesOutput) Serialize(s smithy.ShapeSerializer)
func (*DescribePullThroughCacheRulesOutput) SerializeMembers ¶ added in v1.66.0
func (v *DescribePullThroughCacheRulesOutput) SerializeMembers(s smithy.ShapeSerializer)
type DescribePullThroughCacheRulesPaginator ¶ added in v1.11.0
type DescribePullThroughCacheRulesPaginator struct {
// contains filtered or unexported fields
}
DescribePullThroughCacheRulesPaginator is a paginator for DescribePullThroughCacheRules
func NewDescribePullThroughCacheRulesPaginator ¶ added in v1.11.0
func NewDescribePullThroughCacheRulesPaginator(client DescribePullThroughCacheRulesAPIClient, params *DescribePullThroughCacheRulesInput, optFns ...func(*DescribePullThroughCacheRulesPaginatorOptions)) *DescribePullThroughCacheRulesPaginator
NewDescribePullThroughCacheRulesPaginator returns a new DescribePullThroughCacheRulesPaginator
func (*DescribePullThroughCacheRulesPaginator) HasMorePages ¶ added in v1.11.0
func (p *DescribePullThroughCacheRulesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribePullThroughCacheRulesPaginator) NextPage ¶ added in v1.11.0
func (p *DescribePullThroughCacheRulesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribePullThroughCacheRulesOutput, error)
NextPage retrieves the next DescribePullThroughCacheRules page.
type DescribePullThroughCacheRulesPaginatorOptions ¶ added in v1.11.0
type DescribePullThroughCacheRulesPaginatorOptions struct {
// The maximum number of pull through cache rules returned by
// DescribePullThroughCacheRulesRequest in paginated output. When this parameter is
// used, DescribePullThroughCacheRulesRequest only returns maxResults results in a
// single page along with a nextToken response element. The remaining results of
// the initial request can be seen by sending another
// DescribePullThroughCacheRulesRequest request with the returned nextToken value.
// This value can be between 1 and 1000. If this parameter is not used, then
// DescribePullThroughCacheRulesRequest returns up to 100 results and a nextToken
// value, if applicable.
Limit int32
// Set to true if pagination should stop if the service returns a pagination token
// that matches the most recent token provided to the service.
StopOnDuplicateToken bool
}
DescribePullThroughCacheRulesPaginatorOptions is the paginator options for DescribePullThroughCacheRules
type DescribeRegistryInput ¶ added in v0.31.0
type DescribeRegistryInput struct {
// contains filtered or unexported fields
}
func (*DescribeRegistryInput) Serialize ¶ added in v1.66.0
func (v *DescribeRegistryInput) Serialize(s smithy.ShapeSerializer)
func (*DescribeRegistryInput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeRegistryInput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeRegistryOutput ¶ added in v0.31.0
type DescribeRegistryOutput struct {
// The registry ID associated with the request.
RegistryId *string
// The replication configuration for the registry.
ReplicationConfiguration *types.ReplicationConfiguration
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DescribeRegistryOutput) Deserialize ¶ added in v1.66.0
func (v *DescribeRegistryOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DescribeRegistryOutput) Serialize ¶ added in v1.66.0
func (v *DescribeRegistryOutput) Serialize(s smithy.ShapeSerializer)
func (*DescribeRegistryOutput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeRegistryOutput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeReplicationBackfillResultsAPIClient ¶ added in v1.67.0
type DescribeReplicationBackfillResultsAPIClient interface {
DescribeReplicationBackfillResults(context.Context, *DescribeReplicationBackfillResultsInput, ...func(*Options)) (*DescribeReplicationBackfillResultsOutput, error)
}
DescribeReplicationBackfillResultsAPIClient is a client that implements the DescribeReplicationBackfillResults operation.
type DescribeReplicationBackfillResultsInput ¶ added in v1.67.0
type DescribeReplicationBackfillResultsInput struct {
// The ID of the replication backfill to describe.
//
// This member is required.
ReplicationBackfillId *string
// The maximum number of replication backfill results returned by
// DescribeReplicationBackfillResults in paginated output. When this parameter is
// used, DescribeReplicationBackfillResults only returns maxResults results in a
// single page along with a nextToken response element. The remaining results of
// the initial request can be seen by sending another
// DescribeReplicationBackfillResults request with the returned nextToken value.
// This value can be between 1 and 1000. If this parameter is not used, then
// DescribeReplicationBackfillResults returns up to 100 results and a nextToken
// value, if applicable.
MaxResults *int32
// The nextToken value returned from a previous paginated
// DescribeReplicationBackfillResults request where maxResults was used and the
// results exceeded the value of that parameter. Pagination continues from the end
// of the previous results that returned the nextToken value. This value is null
// when there are no more results to return.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string
// The Amazon Web Services account ID associated with the registry that contains
// the replication backfill to describe. If you do not specify a registry, the
// default registry is assumed.
RegistryId *string
// The status used to filter the returned results. Each result has a status of
// COMPLETE or FAILED . If you omit this parameter, results with both statuses are
// returned.
ResultStatusFilter types.ReplicationBackfillResultStatus
// contains filtered or unexported fields
}
func (*DescribeReplicationBackfillResultsInput) Serialize ¶ added in v1.67.0
func (v *DescribeReplicationBackfillResultsInput) Serialize(s smithy.ShapeSerializer)
func (*DescribeReplicationBackfillResultsInput) SerializeMembers ¶ added in v1.67.0
func (v *DescribeReplicationBackfillResultsInput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeReplicationBackfillResultsOutput ¶ added in v1.67.0
type DescribeReplicationBackfillResultsOutput struct {
// The destination Region and registry to which the images are replicated.
Destination *types.ReplicationDestination
// The date and time, in JavaScript date format, when the replication backfill
// ended. This value is null while the replication backfill is still in progress.
EndedAt *time.Time
// The failure code for a replication backfill that has failed.
FailureCode *string
// The nextToken value to include in a future DescribeReplicationBackfillResults
// request. When the results of a DescribeReplicationBackfillResults request
// exceed maxResults , this value can be used to retrieve the next page of results.
// This value is null when there are no more results to return.
NextToken *string
// The progress of the replication backfill, including the total, completed, and
// failed replication counts. This value is null until the replication backfill
// finishes preparing the set of images to replicate. It is therefore null while
// the replication backfill is PREPARING , and remains null if the replication
// backfill is stopped before preparation completes.
Progress *types.ReplicationBackfillProgress
// The registry ID associated with the request.
RegistryId *string
// The ID of the replication backfill.
ReplicationBackfillId *string
// The per-image results for the replication backfill. Results are available only
// after the replication backfill reaches a terminal status.
Results []types.ReplicationBackfillResult
// The date and time, in JavaScript date format, when the replication backfill was
// started.
StartedAt *time.Time
// The current status of the replication backfill.
Status types.ReplicationBackfillStatus
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DescribeReplicationBackfillResultsOutput) Deserialize ¶ added in v1.67.0
func (v *DescribeReplicationBackfillResultsOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DescribeReplicationBackfillResultsOutput) Serialize ¶ added in v1.67.0
func (v *DescribeReplicationBackfillResultsOutput) Serialize(s smithy.ShapeSerializer)
func (*DescribeReplicationBackfillResultsOutput) SerializeMembers ¶ added in v1.67.0
func (v *DescribeReplicationBackfillResultsOutput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeReplicationBackfillResultsPaginator ¶ added in v1.67.0
type DescribeReplicationBackfillResultsPaginator struct {
// contains filtered or unexported fields
}
DescribeReplicationBackfillResultsPaginator is a paginator for DescribeReplicationBackfillResults
func NewDescribeReplicationBackfillResultsPaginator ¶ added in v1.67.0
func NewDescribeReplicationBackfillResultsPaginator(client DescribeReplicationBackfillResultsAPIClient, params *DescribeReplicationBackfillResultsInput, optFns ...func(*DescribeReplicationBackfillResultsPaginatorOptions)) *DescribeReplicationBackfillResultsPaginator
NewDescribeReplicationBackfillResultsPaginator returns a new DescribeReplicationBackfillResultsPaginator
func (*DescribeReplicationBackfillResultsPaginator) HasMorePages ¶ added in v1.67.0
func (p *DescribeReplicationBackfillResultsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeReplicationBackfillResultsPaginator) NextPage ¶ added in v1.67.0
func (p *DescribeReplicationBackfillResultsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeReplicationBackfillResultsOutput, error)
NextPage retrieves the next DescribeReplicationBackfillResults page.
type DescribeReplicationBackfillResultsPaginatorOptions ¶ added in v1.67.0
type DescribeReplicationBackfillResultsPaginatorOptions struct {
// The maximum number of replication backfill results returned by
// DescribeReplicationBackfillResults in paginated output. When this parameter is
// used, DescribeReplicationBackfillResults only returns maxResults results in a
// single page along with a nextToken response element. The remaining results of
// the initial request can be seen by sending another
// DescribeReplicationBackfillResults request with the returned nextToken value.
// This value can be between 1 and 1000. If this parameter is not used, then
// DescribeReplicationBackfillResults returns up to 100 results and a nextToken
// value, if applicable.
Limit int32
// Set to true if pagination should stop if the service returns a pagination token
// that matches the most recent token provided to the service.
StopOnDuplicateToken bool
}
DescribeReplicationBackfillResultsPaginatorOptions is the paginator options for DescribeReplicationBackfillResults
type DescribeRepositoriesAPIClient ¶ added in v0.30.0
type DescribeRepositoriesAPIClient interface {
DescribeRepositories(context.Context, *DescribeRepositoriesInput, ...func(*Options)) (*DescribeRepositoriesOutput, error)
}
DescribeRepositoriesAPIClient is a client that implements the DescribeRepositories operation.
type DescribeRepositoriesInput ¶
type DescribeRepositoriesInput struct {
// The maximum number of repository results returned by DescribeRepositories in
// paginated output. When this parameter is used, DescribeRepositories only
// returns maxResults results in a single page along with a nextToken response
// element. The remaining results of the initial request can be seen by sending
// another DescribeRepositories request with the returned nextToken value. This
// value can be between 1 and 1000. If this parameter is not used, then
// DescribeRepositories returns up to 100 results and a nextToken value, if
// applicable. This option cannot be used when you specify repositories with
// repositoryNames .
MaxResults *int32
// The nextToken value returned from a previous paginated DescribeRepositories
// request where maxResults was used and the results exceeded the value of that
// parameter. Pagination continues from the end of the previous results that
// returned the nextToken value. This value is null when there are no more results
// to return. This option cannot be used when you specify repositories with
// repositoryNames .
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string
// The Amazon Web Services account ID associated with the registry that contains
// the repositories to be described. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// A list of repositories to describe. If this parameter is omitted, then all
// repositories in a registry are described.
RepositoryNames []string
// contains filtered or unexported fields
}
func (*DescribeRepositoriesInput) Serialize ¶ added in v1.66.0
func (v *DescribeRepositoriesInput) Serialize(s smithy.ShapeSerializer)
func (*DescribeRepositoriesInput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeRepositoriesInput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeRepositoriesOutput ¶
type DescribeRepositoriesOutput struct {
// The nextToken value to include in a future DescribeRepositories request. When
// the results of a DescribeRepositories request exceed maxResults , this value can
// be used to retrieve the next page of results. This value is null when there are
// no more results to return.
NextToken *string
// A list of repository objects corresponding to valid repositories.
Repositories []types.Repository
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DescribeRepositoriesOutput) Deserialize ¶ added in v1.66.0
func (v *DescribeRepositoriesOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DescribeRepositoriesOutput) Serialize ¶ added in v1.66.0
func (v *DescribeRepositoriesOutput) Serialize(s smithy.ShapeSerializer)
func (*DescribeRepositoriesOutput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeRepositoriesOutput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeRepositoriesPaginator ¶ added in v0.30.0
type DescribeRepositoriesPaginator struct {
// contains filtered or unexported fields
}
DescribeRepositoriesPaginator is a paginator for DescribeRepositories
func NewDescribeRepositoriesPaginator ¶ added in v0.30.0
func NewDescribeRepositoriesPaginator(client DescribeRepositoriesAPIClient, params *DescribeRepositoriesInput, optFns ...func(*DescribeRepositoriesPaginatorOptions)) *DescribeRepositoriesPaginator
NewDescribeRepositoriesPaginator returns a new DescribeRepositoriesPaginator
func (*DescribeRepositoriesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeRepositoriesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeRepositoriesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeRepositoriesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeRepositoriesOutput, error)
NextPage retrieves the next DescribeRepositories page.
type DescribeRepositoriesPaginatorOptions ¶ added in v0.30.0
type DescribeRepositoriesPaginatorOptions struct {
// The maximum number of repository results returned by DescribeRepositories in
// paginated output. When this parameter is used, DescribeRepositories only
// returns maxResults results in a single page along with a nextToken response
// element. The remaining results of the initial request can be seen by sending
// another DescribeRepositories request with the returned nextToken value. This
// value can be between 1 and 1000. If this parameter is not used, then
// DescribeRepositories returns up to 100 results and a nextToken value, if
// applicable. This option cannot be used when you specify repositories with
// repositoryNames .
Limit int32
// Set to true if pagination should stop if the service returns a pagination token
// that matches the most recent token provided to the service.
StopOnDuplicateToken bool
}
DescribeRepositoriesPaginatorOptions is the paginator options for DescribeRepositories
type DescribeRepositoryCreationTemplatesAPIClient ¶ added in v1.31.0
type DescribeRepositoryCreationTemplatesAPIClient interface {
DescribeRepositoryCreationTemplates(context.Context, *DescribeRepositoryCreationTemplatesInput, ...func(*Options)) (*DescribeRepositoryCreationTemplatesOutput, error)
}
DescribeRepositoryCreationTemplatesAPIClient is a client that implements the DescribeRepositoryCreationTemplates operation.
type DescribeRepositoryCreationTemplatesInput ¶ added in v1.31.0
type DescribeRepositoryCreationTemplatesInput struct {
// The maximum number of repository results returned by
// DescribeRepositoryCreationTemplatesRequest in paginated output. When this
// parameter is used, DescribeRepositoryCreationTemplatesRequest only returns
// maxResults results in a single page along with a nextToken response element.
// The remaining results of the initial request can be seen by sending another
// DescribeRepositoryCreationTemplatesRequest request with the returned nextToken
// value. This value can be between 1 and 1000. If this parameter is not used, then
// DescribeRepositoryCreationTemplatesRequest returns up to 100 results and a
// nextToken value, if applicable.
MaxResults *int32
// The nextToken value returned from a previous paginated
// DescribeRepositoryCreationTemplates request where maxResults was used and the
// results exceeded the value of that parameter. Pagination continues from the end
// of the previous results that returned the nextToken value. This value is null
// when there are no more results to return.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string
// The repository namespace prefixes associated with the repository creation
// templates to describe. If this value is not specified, all repository creation
// templates are returned.
Prefixes []string
// contains filtered or unexported fields
}
func (*DescribeRepositoryCreationTemplatesInput) Serialize ¶ added in v1.66.0
func (v *DescribeRepositoryCreationTemplatesInput) Serialize(s smithy.ShapeSerializer)
func (*DescribeRepositoryCreationTemplatesInput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeRepositoryCreationTemplatesInput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeRepositoryCreationTemplatesOutput ¶ added in v1.31.0
type DescribeRepositoryCreationTemplatesOutput struct {
// The nextToken value to include in a future DescribeRepositoryCreationTemplates
// request. When the results of a DescribeRepositoryCreationTemplates request
// exceed maxResults , this value can be used to retrieve the next page of results.
// This value is null when there are no more results to return.
NextToken *string
// The registry ID associated with the request.
RegistryId *string
// The details of the repository creation templates.
RepositoryCreationTemplates []types.RepositoryCreationTemplate
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DescribeRepositoryCreationTemplatesOutput) Deserialize ¶ added in v1.66.0
func (v *DescribeRepositoryCreationTemplatesOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DescribeRepositoryCreationTemplatesOutput) Serialize ¶ added in v1.66.0
func (v *DescribeRepositoryCreationTemplatesOutput) Serialize(s smithy.ShapeSerializer)
func (*DescribeRepositoryCreationTemplatesOutput) SerializeMembers ¶ added in v1.66.0
func (v *DescribeRepositoryCreationTemplatesOutput) SerializeMembers(s smithy.ShapeSerializer)
type DescribeRepositoryCreationTemplatesPaginator ¶ added in v1.31.0
type DescribeRepositoryCreationTemplatesPaginator struct {
// contains filtered or unexported fields
}
DescribeRepositoryCreationTemplatesPaginator is a paginator for DescribeRepositoryCreationTemplates
func NewDescribeRepositoryCreationTemplatesPaginator ¶ added in v1.31.0
func NewDescribeRepositoryCreationTemplatesPaginator(client DescribeRepositoryCreationTemplatesAPIClient, params *DescribeRepositoryCreationTemplatesInput, optFns ...func(*DescribeRepositoryCreationTemplatesPaginatorOptions)) *DescribeRepositoryCreationTemplatesPaginator
NewDescribeRepositoryCreationTemplatesPaginator returns a new DescribeRepositoryCreationTemplatesPaginator
func (*DescribeRepositoryCreationTemplatesPaginator) HasMorePages ¶ added in v1.31.0
func (p *DescribeRepositoryCreationTemplatesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeRepositoryCreationTemplatesPaginator) NextPage ¶ added in v1.31.0
func (p *DescribeRepositoryCreationTemplatesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeRepositoryCreationTemplatesOutput, error)
NextPage retrieves the next DescribeRepositoryCreationTemplates page.
type DescribeRepositoryCreationTemplatesPaginatorOptions ¶ added in v1.31.0
type DescribeRepositoryCreationTemplatesPaginatorOptions struct {
// The maximum number of repository results returned by
// DescribeRepositoryCreationTemplatesRequest in paginated output. When this
// parameter is used, DescribeRepositoryCreationTemplatesRequest only returns
// maxResults results in a single page along with a nextToken response element.
// The remaining results of the initial request can be seen by sending another
// DescribeRepositoryCreationTemplatesRequest request with the returned nextToken
// value. This value can be between 1 and 1000. If this parameter is not used, then
// DescribeRepositoryCreationTemplatesRequest returns up to 100 results and a
// nextToken value, if applicable.
Limit int32
// Set to true if pagination should stop if the service returns a pagination token
// that matches the most recent token provided to the service.
StopOnDuplicateToken bool
}
DescribeRepositoryCreationTemplatesPaginatorOptions is the paginator options for DescribeRepositoryCreationTemplates
type EndpointParameters ¶ added in v1.19.0
type EndpointParameters struct {
// When true, use the dual-stack endpoint. If the configured endpoint does not
// support dual-stack, dispatching the request MAY return an error.
//
// Defaults to
// false if no value is provided.
//
// AWS::UseDualStack
UseDualStack *bool
// When true, send this request to the FIPS-compliant regional endpoint. If the
// configured endpoint does not have a FIPS compliant endpoint, dispatching the
// request will return an error.
//
// Defaults to false if no value is
// provided.
//
// AWS::UseFIPS
UseFIPS *bool
// Override the endpoint used to send this request
//
// Parameter is
// required.
//
// SDK::Endpoint
Endpoint *string
// The AWS region used to dispatch the request.
//
// Parameter is
// required.
//
// AWS::Region
Region *string
}
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.19.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.19.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.19.0
type EndpointResolverV2 interface {
ResolveEndpoint(ctx context.Context, params EndpointParameters) (
smithyendpoints.Endpoint, error,
)
}
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.19.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetAccountSettingInput ¶ added in v1.32.0
type GetAccountSettingInput struct {
// The name of the account setting, such as BASIC_SCAN_TYPE_VERSION ,
// REGISTRY_POLICY_SCOPE , or BLOB_MOUNTING .
//
// This member is required.
Name *string
// contains filtered or unexported fields
}
func (*GetAccountSettingInput) Serialize ¶ added in v1.66.0
func (v *GetAccountSettingInput) Serialize(s smithy.ShapeSerializer)
func (*GetAccountSettingInput) SerializeMembers ¶ added in v1.66.0
func (v *GetAccountSettingInput) SerializeMembers(s smithy.ShapeSerializer)
type GetAccountSettingOutput ¶ added in v1.32.0
type GetAccountSettingOutput struct {
// Retrieves the name of the account setting.
Name *string
// The setting value for the setting name. Valid value for basic scan type:
// AWS_NATIVE . Valid values for registry policy scope: V2 . Valid values for blob
// mounting: ENABLED or DISABLED .
Value *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*GetAccountSettingOutput) Deserialize ¶ added in v1.66.0
func (v *GetAccountSettingOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetAccountSettingOutput) Serialize ¶ added in v1.66.0
func (v *GetAccountSettingOutput) Serialize(s smithy.ShapeSerializer)
func (*GetAccountSettingOutput) SerializeMembers ¶ added in v1.66.0
func (v *GetAccountSettingOutput) SerializeMembers(s smithy.ShapeSerializer)
type GetAuthorizationTokenInput ¶
type GetAuthorizationTokenInput struct {
// A list of Amazon Web Services account IDs that are associated with the
// registries for which to get AuthorizationData objects. If you do not specify a
// registry, the default registry is assumed.
//
// Deprecated: This field is deprecated. The returned authorization token can be
// used to access any Amazon ECR registry that the IAM principal has access to,
// specifying a registry ID doesn't change the permissions scope of the
// authorization token.
RegistryIds []string
// contains filtered or unexported fields
}
func (*GetAuthorizationTokenInput) Serialize ¶ added in v1.66.0
func (v *GetAuthorizationTokenInput) Serialize(s smithy.ShapeSerializer)
func (*GetAuthorizationTokenInput) SerializeMembers ¶ added in v1.66.0
func (v *GetAuthorizationTokenInput) SerializeMembers(s smithy.ShapeSerializer)
type GetAuthorizationTokenOutput ¶
type GetAuthorizationTokenOutput struct {
// A list of authorization token data objects that correspond to the registryIds
// values in the request.
//
// The size of the authorization token returned by Amazon ECR is not fixed. We
// recommend that you don't make assumptions about the maximum size.
AuthorizationData []types.AuthorizationData
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*GetAuthorizationTokenOutput) Deserialize ¶ added in v1.66.0
func (v *GetAuthorizationTokenOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetAuthorizationTokenOutput) Serialize ¶ added in v1.66.0
func (v *GetAuthorizationTokenOutput) Serialize(s smithy.ShapeSerializer)
func (*GetAuthorizationTokenOutput) SerializeMembers ¶ added in v1.66.0
func (v *GetAuthorizationTokenOutput) SerializeMembers(s smithy.ShapeSerializer)
type GetDownloadUrlForLayerInput ¶
type GetDownloadUrlForLayerInput struct {
// The digest of the image layer to download.
//
// This member is required.
LayerDigest *string
// The name of the repository that is associated with the image layer to download.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry that contains
// the image layer to download. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*GetDownloadUrlForLayerInput) Serialize ¶ added in v1.66.0
func (v *GetDownloadUrlForLayerInput) Serialize(s smithy.ShapeSerializer)
func (*GetDownloadUrlForLayerInput) SerializeMembers ¶ added in v1.66.0
func (v *GetDownloadUrlForLayerInput) SerializeMembers(s smithy.ShapeSerializer)
type GetDownloadUrlForLayerOutput ¶
type GetDownloadUrlForLayerOutput struct {
// The pre-signed Amazon S3 download URL for the requested layer.
DownloadUrl *string
// The digest of the image layer to download.
LayerDigest *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*GetDownloadUrlForLayerOutput) Deserialize ¶ added in v1.66.0
func (v *GetDownloadUrlForLayerOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetDownloadUrlForLayerOutput) Serialize ¶ added in v1.66.0
func (v *GetDownloadUrlForLayerOutput) Serialize(s smithy.ShapeSerializer)
func (*GetDownloadUrlForLayerOutput) SerializeMembers ¶ added in v1.66.0
func (v *GetDownloadUrlForLayerOutput) SerializeMembers(s smithy.ShapeSerializer)
type GetLifecyclePolicyInput ¶
type GetLifecyclePolicyInput struct {
// The name of the repository.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository. If you do not specify a registry, the default registry is
// assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*GetLifecyclePolicyInput) Serialize ¶ added in v1.66.0
func (v *GetLifecyclePolicyInput) Serialize(s smithy.ShapeSerializer)
func (*GetLifecyclePolicyInput) SerializeMembers ¶ added in v1.66.0
func (v *GetLifecyclePolicyInput) SerializeMembers(s smithy.ShapeSerializer)
type GetLifecyclePolicyOutput ¶
type GetLifecyclePolicyOutput struct {
// The time stamp of the last time that the lifecycle policy was run.
LastEvaluatedAt *time.Time
// The JSON lifecycle policy text.
LifecyclePolicyText *string
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*GetLifecyclePolicyOutput) Deserialize ¶ added in v1.66.0
func (v *GetLifecyclePolicyOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetLifecyclePolicyOutput) Serialize ¶ added in v1.66.0
func (v *GetLifecyclePolicyOutput) Serialize(s smithy.ShapeSerializer)
func (*GetLifecyclePolicyOutput) SerializeMembers ¶ added in v1.66.0
func (v *GetLifecyclePolicyOutput) SerializeMembers(s smithy.ShapeSerializer)
type GetLifecyclePolicyPreviewAPIClient ¶ added in v0.30.0
type GetLifecyclePolicyPreviewAPIClient interface {
GetLifecyclePolicyPreview(context.Context, *GetLifecyclePolicyPreviewInput, ...func(*Options)) (*GetLifecyclePolicyPreviewOutput, error)
}
GetLifecyclePolicyPreviewAPIClient is a client that implements the GetLifecyclePolicyPreview operation.
type GetLifecyclePolicyPreviewInput ¶
type GetLifecyclePolicyPreviewInput struct {
// The name of the repository.
//
// This member is required.
RepositoryName *string
// An optional parameter that filters results based on image tag status and all
// tags, if tagged.
Filter *types.LifecyclePolicyPreviewFilter
// The list of imageIDs to be included.
ImageIds []types.ImageIdentifier
// The maximum number of repository results returned by
// GetLifecyclePolicyPreviewRequest in
paginated output. When this parameter is
// used, GetLifecyclePolicyPreviewRequest only returns
maxResults results in a
// single page along with a nextToken
response element. The remaining results of
// the initial request can be seen by sending
another
// GetLifecyclePolicyPreviewRequest request with the returned nextToken
value.
// This value can be between 1 and 100. If this
parameter is not used, then
// GetLifecyclePolicyPreviewRequest returns up to
100 results and a nextToken
// value, if
applicable. This option cannot be used when you specify images with
// imageIds .
MaxResults *int32
// The nextToken value returned from a previous paginated
// GetLifecyclePolicyPreviewRequest request where maxResults was used and the
// results exceeded the value of that parameter. Pagination continues from the end
// of the
previous results that returned the nextToken value. This value is
null
// when there are no more results to return. This option cannot be used when you
// specify images with imageIds .
NextToken *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository. If you do not specify a registry, the default registry is
// assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*GetLifecyclePolicyPreviewInput) Serialize ¶ added in v1.66.0
func (v *GetLifecyclePolicyPreviewInput) Serialize(s smithy.ShapeSerializer)
func (*GetLifecyclePolicyPreviewInput) SerializeMembers ¶ added in v1.66.0
func (v *GetLifecyclePolicyPreviewInput) SerializeMembers(s smithy.ShapeSerializer)
type GetLifecyclePolicyPreviewOutput ¶
type GetLifecyclePolicyPreviewOutput struct {
// The JSON lifecycle policy text.
LifecyclePolicyText *string
// The nextToken value to include in a future GetLifecyclePolicyPreview request.
// When the results of a GetLifecyclePolicyPreview request exceed maxResults , this
// value can be used to retrieve the next page of results. This value is null when
// there are no more results to return.
NextToken *string
// The results of the lifecycle policy preview request.
PreviewResults []types.LifecyclePolicyPreviewResult
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// The status of the lifecycle policy preview request.
Status types.LifecyclePolicyPreviewStatus
// The list of images that is returned as a result of the action.
Summary *types.LifecyclePolicyPreviewSummary
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*GetLifecyclePolicyPreviewOutput) Deserialize ¶ added in v1.66.0
func (v *GetLifecyclePolicyPreviewOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetLifecyclePolicyPreviewOutput) Serialize ¶ added in v1.66.0
func (v *GetLifecyclePolicyPreviewOutput) Serialize(s smithy.ShapeSerializer)
func (*GetLifecyclePolicyPreviewOutput) SerializeMembers ¶ added in v1.66.0
func (v *GetLifecyclePolicyPreviewOutput) SerializeMembers(s smithy.ShapeSerializer)
type GetLifecyclePolicyPreviewPaginator ¶ added in v0.30.0
type GetLifecyclePolicyPreviewPaginator struct {
// contains filtered or unexported fields
}
GetLifecyclePolicyPreviewPaginator is a paginator for GetLifecyclePolicyPreview
func NewGetLifecyclePolicyPreviewPaginator ¶ added in v0.30.0
func NewGetLifecyclePolicyPreviewPaginator(client GetLifecyclePolicyPreviewAPIClient, params *GetLifecyclePolicyPreviewInput, optFns ...func(*GetLifecyclePolicyPreviewPaginatorOptions)) *GetLifecyclePolicyPreviewPaginator
NewGetLifecyclePolicyPreviewPaginator returns a new GetLifecyclePolicyPreviewPaginator
func (*GetLifecyclePolicyPreviewPaginator) HasMorePages ¶ added in v0.30.0
func (p *GetLifecyclePolicyPreviewPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetLifecyclePolicyPreviewPaginator) NextPage ¶ added in v0.30.0
func (p *GetLifecyclePolicyPreviewPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetLifecyclePolicyPreviewOutput, error)
NextPage retrieves the next GetLifecyclePolicyPreview page.
type GetLifecyclePolicyPreviewPaginatorOptions ¶ added in v0.30.0
type GetLifecyclePolicyPreviewPaginatorOptions struct {
// The maximum number of repository results returned by
// GetLifecyclePolicyPreviewRequest in
paginated output. When this parameter is
// used, GetLifecyclePolicyPreviewRequest only returns
maxResults results in a
// single page along with a nextToken
response element. The remaining results of
// the initial request can be seen by sending
another
// GetLifecyclePolicyPreviewRequest request with the returned nextToken
value.
// This value can be between 1 and 100. If this
parameter is not used, then
// GetLifecyclePolicyPreviewRequest returns up to
100 results and a nextToken
// value, if
applicable. This option cannot be used when you specify images with
// imageIds .
Limit int32
// Set to true if pagination should stop if the service returns a pagination token
// that matches the most recent token provided to the service.
StopOnDuplicateToken bool
}
GetLifecyclePolicyPreviewPaginatorOptions is the paginator options for GetLifecyclePolicyPreview
type GetRegistryPolicyInput ¶ added in v0.31.0
type GetRegistryPolicyInput struct {
// contains filtered or unexported fields
}
func (*GetRegistryPolicyInput) Serialize ¶ added in v1.66.0
func (v *GetRegistryPolicyInput) Serialize(s smithy.ShapeSerializer)
func (*GetRegistryPolicyInput) SerializeMembers ¶ added in v1.66.0
func (v *GetRegistryPolicyInput) SerializeMembers(s smithy.ShapeSerializer)
type GetRegistryPolicyOutput ¶ added in v0.31.0
type GetRegistryPolicyOutput struct {
// The JSON text of the permissions policy for a registry.
PolicyText *string
// The registry ID associated with the request.
RegistryId *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*GetRegistryPolicyOutput) Deserialize ¶ added in v1.66.0
func (v *GetRegistryPolicyOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetRegistryPolicyOutput) Serialize ¶ added in v1.66.0
func (v *GetRegistryPolicyOutput) Serialize(s smithy.ShapeSerializer)
func (*GetRegistryPolicyOutput) SerializeMembers ¶ added in v1.66.0
func (v *GetRegistryPolicyOutput) SerializeMembers(s smithy.ShapeSerializer)
type GetRegistryScanningConfigurationInput ¶ added in v1.11.0
type GetRegistryScanningConfigurationInput struct {
// contains filtered or unexported fields
}
func (*GetRegistryScanningConfigurationInput) Serialize ¶ added in v1.66.0
func (v *GetRegistryScanningConfigurationInput) Serialize(s smithy.ShapeSerializer)
func (*GetRegistryScanningConfigurationInput) SerializeMembers ¶ added in v1.66.0
func (v *GetRegistryScanningConfigurationInput) SerializeMembers(s smithy.ShapeSerializer)
type GetRegistryScanningConfigurationOutput ¶ added in v1.11.0
type GetRegistryScanningConfigurationOutput struct {
// The registry ID associated with the request.
RegistryId *string
// The scanning configuration for the registry.
ScanningConfiguration *types.RegistryScanningConfiguration
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*GetRegistryScanningConfigurationOutput) Deserialize ¶ added in v1.66.0
func (v *GetRegistryScanningConfigurationOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetRegistryScanningConfigurationOutput) Serialize ¶ added in v1.66.0
func (v *GetRegistryScanningConfigurationOutput) Serialize(s smithy.ShapeSerializer)
func (*GetRegistryScanningConfigurationOutput) SerializeMembers ¶ added in v1.66.0
func (v *GetRegistryScanningConfigurationOutput) SerializeMembers(s smithy.ShapeSerializer)
type GetRepositoryPolicyInput ¶
type GetRepositoryPolicyInput struct {
// The name of the repository with the policy to retrieve.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository. If you do not specify a registry, the default registry is
// assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*GetRepositoryPolicyInput) Serialize ¶ added in v1.66.0
func (v *GetRepositoryPolicyInput) Serialize(s smithy.ShapeSerializer)
func (*GetRepositoryPolicyInput) SerializeMembers ¶ added in v1.66.0
func (v *GetRepositoryPolicyInput) SerializeMembers(s smithy.ShapeSerializer)
type GetRepositoryPolicyOutput ¶
type GetRepositoryPolicyOutput struct {
// The JSON repository policy text associated with the repository.
PolicyText *string
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*GetRepositoryPolicyOutput) Deserialize ¶ added in v1.66.0
func (v *GetRepositoryPolicyOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetRepositoryPolicyOutput) Serialize ¶ added in v1.66.0
func (v *GetRepositoryPolicyOutput) Serialize(s smithy.ShapeSerializer)
func (*GetRepositoryPolicyOutput) SerializeMembers ¶ added in v1.66.0
func (v *GetRepositoryPolicyOutput) SerializeMembers(s smithy.ShapeSerializer)
type GetSigningConfigurationInput ¶ added in v1.54.0
type GetSigningConfigurationInput struct {
// contains filtered or unexported fields
}
func (*GetSigningConfigurationInput) Serialize ¶ added in v1.66.0
func (v *GetSigningConfigurationInput) Serialize(s smithy.ShapeSerializer)
func (*GetSigningConfigurationInput) SerializeMembers ¶ added in v1.66.0
func (v *GetSigningConfigurationInput) SerializeMembers(s smithy.ShapeSerializer)
type GetSigningConfigurationOutput ¶ added in v1.54.0
type GetSigningConfigurationOutput struct {
// The Amazon Web Services account ID associated with the registry.
RegistryId *string
// The registry's signing configuration.
SigningConfiguration *types.SigningConfiguration
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*GetSigningConfigurationOutput) Deserialize ¶ added in v1.66.0
func (v *GetSigningConfigurationOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetSigningConfigurationOutput) Serialize ¶ added in v1.66.0
func (v *GetSigningConfigurationOutput) Serialize(s smithy.ShapeSerializer)
func (*GetSigningConfigurationOutput) SerializeMembers ¶ added in v1.66.0
func (v *GetSigningConfigurationOutput) SerializeMembers(s smithy.ShapeSerializer)
type HTTPSignerV4 ¶
type ImageScanCompleteWaiter ¶ added in v0.31.0
type ImageScanCompleteWaiter struct {
// contains filtered or unexported fields
}
ImageScanCompleteWaiter defines the waiters for ImageScanComplete
func NewImageScanCompleteWaiter ¶ added in v0.31.0
func NewImageScanCompleteWaiter(client DescribeImageScanFindingsAPIClient, optFns ...func(*ImageScanCompleteWaiterOptions)) *ImageScanCompleteWaiter
NewImageScanCompleteWaiter constructs a ImageScanCompleteWaiter.
func (*ImageScanCompleteWaiter) Wait ¶ added in v0.31.0
func (w *ImageScanCompleteWaiter) Wait(ctx context.Context, params *DescribeImageScanFindingsInput, maxWaitDur time.Duration, optFns ...func(*ImageScanCompleteWaiterOptions)) error
Wait calls the waiter function for ImageScanComplete waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*ImageScanCompleteWaiter) WaitForOutput ¶ added in v1.10.0
func (w *ImageScanCompleteWaiter) WaitForOutput(ctx context.Context, params *DescribeImageScanFindingsInput, maxWaitDur time.Duration, optFns ...func(*ImageScanCompleteWaiterOptions)) (*DescribeImageScanFindingsOutput, error)
WaitForOutput calls the waiter function for ImageScanComplete waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type ImageScanCompleteWaiterOptions ¶ added in v0.31.0
type ImageScanCompleteWaiterOptions struct {
// Set of options to modify how an operation is invoked. These apply to all
// operations invoked for this client. Use functional options on operation call to
// modify this list for per operation behavior.
//
// Passing options here is functionally equivalent to passing values to this
// config's ClientOptions field that extend the inner client's APIOptions directly.
APIOptions []func(*middleware.Stack) error
// Functional options to be passed to all operations invoked by this client.
//
// Function values that modify the inner APIOptions are applied after the waiter
// config's own APIOptions modifiers.
ClientOptions []func(*Options)
// MinDelay is the minimum amount of time to delay between retries. If unset,
// ImageScanCompleteWaiter will use default minimum delay of 5 seconds. Note that
// MinDelay must resolve to a value lesser than or equal to the MaxDelay.
MinDelay time.Duration
// MaxDelay is the maximum amount of time to delay between retries. If unset or
// set to zero, ImageScanCompleteWaiter will use default max delay of 120 seconds.
// Note that MaxDelay must resolve to value greater than or equal to the MinDelay.
MaxDelay time.Duration
// LogWaitAttempts is used to enable logging for waiter retry attempts
LogWaitAttempts bool
// Retryable is function that can be used to override the service defined
// waiter-behavior based on operation output, or returned error. This function is
// used by the waiter to decide if a state is retryable or a terminal state.
//
// By default service-modeled logic will populate this option. This option can
// thus be used to define a custom waiter state with fall-back to service-modeled
// waiter state mutators.The function returns an error in case of a failure state.
// In case of retry state, this function returns a bool value of true and nil
// error, while in case of success it returns a bool value of false and nil error.
Retryable func(context.Context, *DescribeImageScanFindingsInput, *DescribeImageScanFindingsOutput, error) (bool, error)
}
ImageScanCompleteWaiterOptions are waiter options for ImageScanCompleteWaiter
type InitiateLayerUploadInput ¶
type InitiateLayerUploadInput struct {
// The name of the repository to which you intend to upload layers.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry to which you
// intend to upload layers. If you do not specify a registry, the default registry
// is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*InitiateLayerUploadInput) Serialize ¶ added in v1.66.0
func (v *InitiateLayerUploadInput) Serialize(s smithy.ShapeSerializer)
func (*InitiateLayerUploadInput) SerializeMembers ¶ added in v1.66.0
func (v *InitiateLayerUploadInput) SerializeMembers(s smithy.ShapeSerializer)
type InitiateLayerUploadOutput ¶
type InitiateLayerUploadOutput struct {
// The size, in bytes, that Amazon ECR expects future layer part uploads to be.
PartSize *int64
// The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload
// operations.
UploadId *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*InitiateLayerUploadOutput) Deserialize ¶ added in v1.66.0
func (v *InitiateLayerUploadOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*InitiateLayerUploadOutput) Serialize ¶ added in v1.66.0
func (v *InitiateLayerUploadOutput) Serialize(s smithy.ShapeSerializer)
func (*InitiateLayerUploadOutput) SerializeMembers ¶ added in v1.66.0
func (v *InitiateLayerUploadOutput) SerializeMembers(s smithy.ShapeSerializer)
type LifecyclePolicyPreviewCompleteWaiter ¶ added in v0.31.0
type LifecyclePolicyPreviewCompleteWaiter struct {
// contains filtered or unexported fields
}
LifecyclePolicyPreviewCompleteWaiter defines the waiters for LifecyclePolicyPreviewComplete
func NewLifecyclePolicyPreviewCompleteWaiter ¶ added in v0.31.0
func NewLifecyclePolicyPreviewCompleteWaiter(client GetLifecyclePolicyPreviewAPIClient, optFns ...func(*LifecyclePolicyPreviewCompleteWaiterOptions)) *LifecyclePolicyPreviewCompleteWaiter
NewLifecyclePolicyPreviewCompleteWaiter constructs a LifecyclePolicyPreviewCompleteWaiter.
func (*LifecyclePolicyPreviewCompleteWaiter) Wait ¶ added in v0.31.0
func (w *LifecyclePolicyPreviewCompleteWaiter) Wait(ctx context.Context, params *GetLifecyclePolicyPreviewInput, maxWaitDur time.Duration, optFns ...func(*LifecyclePolicyPreviewCompleteWaiterOptions)) error
Wait calls the waiter function for LifecyclePolicyPreviewComplete waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*LifecyclePolicyPreviewCompleteWaiter) WaitForOutput ¶ added in v1.10.0
func (w *LifecyclePolicyPreviewCompleteWaiter) WaitForOutput(ctx context.Context, params *GetLifecyclePolicyPreviewInput, maxWaitDur time.Duration, optFns ...func(*LifecyclePolicyPreviewCompleteWaiterOptions)) (*GetLifecyclePolicyPreviewOutput, error)
WaitForOutput calls the waiter function for LifecyclePolicyPreviewComplete waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type LifecyclePolicyPreviewCompleteWaiterOptions ¶ added in v0.31.0
type LifecyclePolicyPreviewCompleteWaiterOptions struct {
// Set of options to modify how an operation is invoked. These apply to all
// operations invoked for this client. Use functional options on operation call to
// modify this list for per operation behavior.
//
// Passing options here is functionally equivalent to passing values to this
// config's ClientOptions field that extend the inner client's APIOptions directly.
APIOptions []func(*middleware.Stack) error
// Functional options to be passed to all operations invoked by this client.
//
// Function values that modify the inner APIOptions are applied after the waiter
// config's own APIOptions modifiers.
ClientOptions []func(*Options)
// MinDelay is the minimum amount of time to delay between retries. If unset,
// LifecyclePolicyPreviewCompleteWaiter will use default minimum delay of 5
// seconds. Note that MinDelay must resolve to a value lesser than or equal to the
// MaxDelay.
MinDelay time.Duration
// MaxDelay is the maximum amount of time to delay between retries. If unset or
// set to zero, LifecyclePolicyPreviewCompleteWaiter will use default max delay of
// 120 seconds. Note that MaxDelay must resolve to value greater than or equal to
// the MinDelay.
MaxDelay time.Duration
// LogWaitAttempts is used to enable logging for waiter retry attempts
LogWaitAttempts bool
// Retryable is function that can be used to override the service defined
// waiter-behavior based on operation output, or returned error. This function is
// used by the waiter to decide if a state is retryable or a terminal state.
//
// By default service-modeled logic will populate this option. This option can
// thus be used to define a custom waiter state with fall-back to service-modeled
// waiter state mutators.The function returns an error in case of a failure state.
// In case of retry state, this function returns a bool value of true and nil
// error, while in case of success it returns a bool value of false and nil error.
Retryable func(context.Context, *GetLifecyclePolicyPreviewInput, *GetLifecyclePolicyPreviewOutput, error) (bool, error)
}
LifecyclePolicyPreviewCompleteWaiterOptions are waiter options for LifecyclePolicyPreviewCompleteWaiter
type ListImageReferrersInput ¶ added in v1.53.0
type ListImageReferrersInput struct {
// The name of the repository that contains the subject image.
//
// This member is required.
RepositoryName *string
// An object containing the image digest of the subject image for which to
// retrieve associated artifacts.
//
// This member is required.
SubjectId *types.SubjectIdentifier
// The filter key and value with which to filter your ListImageReferrers results.
// If no filter is specified, only artifacts with ACTIVE status are returned.
Filter *types.ListImageReferrersFilter
// The maximum number of image referrer results returned by ListImageReferrers in
// paginated output. When this parameter is used, ListImageReferrers only returns
// maxResults results in a single page along with a nextToken response element.
// The remaining results of the initial request can be seen by sending another
// ListImageReferrers request with the returned nextToken value. This value can be
// between 1 and 50. If this parameter is not used, then ListImageReferrers
// returns up to 20 results and a nextToken value, if applicable.
MaxResults *int32
// The nextToken value returned from a previous paginated ListImageReferrers
// request where maxResults was used and the results exceeded the value of that
// parameter. Pagination continues from the end of the previous results that
// returned the nextToken value. This value is null when there are no more results
// to return.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository in which to list image referrers. If you do not specify a
// registry, the default registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*ListImageReferrersInput) Serialize ¶ added in v1.66.0
func (v *ListImageReferrersInput) Serialize(s smithy.ShapeSerializer)
func (*ListImageReferrersInput) SerializeMembers ¶ added in v1.66.0
func (v *ListImageReferrersInput) SerializeMembers(s smithy.ShapeSerializer)
type ListImageReferrersOutput ¶ added in v1.53.0
type ListImageReferrersOutput struct {
// The nextToken value to include in a future ListImageReferrers request. When the
// results of a ListImageReferrers request exceed maxResults , this value can be
// used to retrieve the next page of results. This value is null when there are no
// more results to return.
NextToken *string
// The list of artifacts associated with the subject image.
Referrers []types.ImageReferrer
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*ListImageReferrersOutput) Deserialize ¶ added in v1.66.0
func (v *ListImageReferrersOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*ListImageReferrersOutput) Serialize ¶ added in v1.66.0
func (v *ListImageReferrersOutput) Serialize(s smithy.ShapeSerializer)
func (*ListImageReferrersOutput) SerializeMembers ¶ added in v1.66.0
func (v *ListImageReferrersOutput) SerializeMembers(s smithy.ShapeSerializer)
type ListImagesAPIClient ¶ added in v0.30.0
type ListImagesAPIClient interface {
ListImages(context.Context, *ListImagesInput, ...func(*Options)) (*ListImagesOutput, error)
}
ListImagesAPIClient is a client that implements the ListImages operation.
type ListImagesInput ¶
type ListImagesInput struct {
// The repository with image IDs to be listed.
//
// This member is required.
RepositoryName *string
// The filter key and value with which to filter your ListImages results.
Filter *types.ListImagesFilter
// The maximum number of image results returned by ListImages in paginated output.
// When this parameter is used, ListImages only returns maxResults results in a
// single page along with a nextToken response element. The remaining results of
// the initial request can be seen by sending another ListImages request with the
// returned nextToken value. This value can be between 1 and 1000. If this
// parameter is not used, then ListImages returns up to 100 results and a nextToken
// value, if applicable.
MaxResults *int32
// The nextToken value returned from a previous paginated ListImages request where
// maxResults was used and the results exceeded the value of that parameter.
// Pagination continues from the end of the previous results that returned the
// nextToken value. This value is null when there are no more results to return.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository in which to list images. If you do not specify a registry, the
// default registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*ListImagesInput) Serialize ¶ added in v1.66.0
func (v *ListImagesInput) Serialize(s smithy.ShapeSerializer)
func (*ListImagesInput) SerializeMembers ¶ added in v1.66.0
func (v *ListImagesInput) SerializeMembers(s smithy.ShapeSerializer)
type ListImagesOutput ¶
type ListImagesOutput struct {
// The list of image IDs for the requested repository.
ImageIds []types.ImageIdentifier
// The nextToken value to include in a future ListImages request. When the results
// of a ListImages request exceed maxResults , this value can be used to retrieve
// the next page of results. This value is null when there are no more results to
// return.
NextToken *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*ListImagesOutput) Deserialize ¶ added in v1.66.0
func (v *ListImagesOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*ListImagesOutput) Serialize ¶ added in v1.66.0
func (v *ListImagesOutput) Serialize(s smithy.ShapeSerializer)
func (*ListImagesOutput) SerializeMembers ¶ added in v1.66.0
func (v *ListImagesOutput) SerializeMembers(s smithy.ShapeSerializer)
type ListImagesPaginator ¶ added in v0.30.0
type ListImagesPaginator struct {
// contains filtered or unexported fields
}
ListImagesPaginator is a paginator for ListImages
func NewListImagesPaginator ¶ added in v0.30.0
func NewListImagesPaginator(client ListImagesAPIClient, params *ListImagesInput, optFns ...func(*ListImagesPaginatorOptions)) *ListImagesPaginator
NewListImagesPaginator returns a new ListImagesPaginator
func (*ListImagesPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListImagesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListImagesPaginator) NextPage ¶ added in v0.30.0
func (p *ListImagesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListImagesOutput, error)
NextPage retrieves the next ListImages page.
type ListImagesPaginatorOptions ¶ added in v0.30.0
type ListImagesPaginatorOptions struct {
// The maximum number of image results returned by ListImages in paginated output.
// When this parameter is used, ListImages only returns maxResults results in a
// single page along with a nextToken response element. The remaining results of
// the initial request can be seen by sending another ListImages request with the
// returned nextToken value. This value can be between 1 and 1000. If this
// parameter is not used, then ListImages returns up to 100 results and a nextToken
// value, if applicable.
Limit int32
// Set to true if pagination should stop if the service returns a pagination token
// that matches the most recent token provided to the service.
StopOnDuplicateToken bool
}
ListImagesPaginatorOptions is the paginator options for ListImages
type ListPullTimeUpdateExclusionsInput ¶ added in v1.53.0
type ListPullTimeUpdateExclusionsInput struct {
// The maximum number of pull time update exclusion results returned by
// ListPullTimeUpdateExclusions in paginated output. When this parameter is used,
// ListPullTimeUpdateExclusions only returns maxResults results in a single page
// along with a nextToken response element. The remaining results of the initial
// request can be seen by sending another ListPullTimeUpdateExclusions request
// with the returned nextToken value. This value can be between 1 and 1000. If
// this parameter is not used, then ListPullTimeUpdateExclusions returns up to 100
// results and a nextToken value, if applicable.
MaxResults *int32
// The nextToken value returned from a previous paginated
// ListPullTimeUpdateExclusions request where maxResults was used and the results
// exceeded the value of that parameter. Pagination continues from the end of the
// previous results that returned the nextToken value. This value is null when
// there are no more results to return.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string
// contains filtered or unexported fields
}
func (*ListPullTimeUpdateExclusionsInput) Serialize ¶ added in v1.66.0
func (v *ListPullTimeUpdateExclusionsInput) Serialize(s smithy.ShapeSerializer)
func (*ListPullTimeUpdateExclusionsInput) SerializeMembers ¶ added in v1.66.0
func (v *ListPullTimeUpdateExclusionsInput) SerializeMembers(s smithy.ShapeSerializer)
type ListPullTimeUpdateExclusionsOutput ¶ added in v1.53.0
type ListPullTimeUpdateExclusionsOutput struct {
// The nextToken value to include in a future ListPullTimeUpdateExclusions
// request. When the results of a ListPullTimeUpdateExclusions request exceed
// maxResults , this value can be used to retrieve the next page of results. This
// value is null when there are no more results to return.
NextToken *string
// The list of IAM principal ARNs that are excluded from having their image pull
// times recorded.
PullTimeUpdateExclusions []string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*ListPullTimeUpdateExclusionsOutput) Deserialize ¶ added in v1.66.0
func (v *ListPullTimeUpdateExclusionsOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*ListPullTimeUpdateExclusionsOutput) Serialize ¶ added in v1.66.0
func (v *ListPullTimeUpdateExclusionsOutput) Serialize(s smithy.ShapeSerializer)
func (*ListPullTimeUpdateExclusionsOutput) SerializeMembers ¶ added in v1.66.0
func (v *ListPullTimeUpdateExclusionsOutput) SerializeMembers(s smithy.ShapeSerializer)
type ListReplicationBackfillsAPIClient ¶ added in v1.67.0
type ListReplicationBackfillsAPIClient interface {
ListReplicationBackfills(context.Context, *ListReplicationBackfillsInput, ...func(*Options)) (*ListReplicationBackfillsOutput, error)
}
ListReplicationBackfillsAPIClient is a client that implements the ListReplicationBackfills operation.
type ListReplicationBackfillsInput ¶ added in v1.67.0
type ListReplicationBackfillsInput struct {
// The maximum number of replication backfill results returned by
// ListReplicationBackfills in paginated output. When this parameter is used,
// ListReplicationBackfills only returns maxResults results in a single page along
// with a nextToken response element. The remaining results of the initial request
// can be seen by sending another ListReplicationBackfills request with the
// returned nextToken value. This value can be between 1 and 50. If this parameter
// is not used, then ListReplicationBackfills returns up to 25 results and a
// nextToken value, if applicable.
MaxResults *int32
// The nextToken value returned from a previous paginated ListReplicationBackfills
// request where maxResults was used and the results exceeded the value of that
// parameter. Pagination continues from the end of the previous results that
// returned the nextToken value. This value is null when there are no more results
// to return.
//
// This token should be treated as an opaque identifier that is only used to
// retrieve the next items in a list and not for other programmatic purposes.
NextToken *string
// The Amazon Web Services account ID associated with the registry for which to
// list replication backfills. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*ListReplicationBackfillsInput) Serialize ¶ added in v1.67.0
func (v *ListReplicationBackfillsInput) Serialize(s smithy.ShapeSerializer)
func (*ListReplicationBackfillsInput) SerializeMembers ¶ added in v1.67.0
func (v *ListReplicationBackfillsInput) SerializeMembers(s smithy.ShapeSerializer)
type ListReplicationBackfillsOutput ¶ added in v1.67.0
type ListReplicationBackfillsOutput struct {
// A list of the replication backfills for the registry.
Backfills []types.ReplicationBackfillSummary
// The nextToken value to include in a future ListReplicationBackfills request.
// When the results of a ListReplicationBackfills request exceed maxResults , this
// value can be used to retrieve the next page of results. This value is null when
// there are no more results to return.
NextToken *string
// The registry ID associated with the request.
RegistryId *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*ListReplicationBackfillsOutput) Deserialize ¶ added in v1.67.0
func (v *ListReplicationBackfillsOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*ListReplicationBackfillsOutput) Serialize ¶ added in v1.67.0
func (v *ListReplicationBackfillsOutput) Serialize(s smithy.ShapeSerializer)
func (*ListReplicationBackfillsOutput) SerializeMembers ¶ added in v1.67.0
func (v *ListReplicationBackfillsOutput) SerializeMembers(s smithy.ShapeSerializer)
type ListReplicationBackfillsPaginator ¶ added in v1.67.0
type ListReplicationBackfillsPaginator struct {
// contains filtered or unexported fields
}
ListReplicationBackfillsPaginator is a paginator for ListReplicationBackfills
func NewListReplicationBackfillsPaginator ¶ added in v1.67.0
func NewListReplicationBackfillsPaginator(client ListReplicationBackfillsAPIClient, params *ListReplicationBackfillsInput, optFns ...func(*ListReplicationBackfillsPaginatorOptions)) *ListReplicationBackfillsPaginator
NewListReplicationBackfillsPaginator returns a new ListReplicationBackfillsPaginator
func (*ListReplicationBackfillsPaginator) HasMorePages ¶ added in v1.67.0
func (p *ListReplicationBackfillsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListReplicationBackfillsPaginator) NextPage ¶ added in v1.67.0
func (p *ListReplicationBackfillsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListReplicationBackfillsOutput, error)
NextPage retrieves the next ListReplicationBackfills page.
type ListReplicationBackfillsPaginatorOptions ¶ added in v1.67.0
type ListReplicationBackfillsPaginatorOptions struct {
// The maximum number of replication backfill results returned by
// ListReplicationBackfills in paginated output. When this parameter is used,
// ListReplicationBackfills only returns maxResults results in a single page along
// with a nextToken response element. The remaining results of the initial request
// can be seen by sending another ListReplicationBackfills request with the
// returned nextToken value. This value can be between 1 and 50. If this parameter
// is not used, then ListReplicationBackfills returns up to 25 results and a
// nextToken value, if applicable.
Limit int32
// Set to true if pagination should stop if the service returns a pagination token
// that matches the most recent token provided to the service.
StopOnDuplicateToken bool
}
ListReplicationBackfillsPaginatorOptions is the paginator options for ListReplicationBackfills
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct {
// The Amazon Resource Name (ARN) that identifies the resource for which to list
// the tags. Currently, the only supported resource is an Amazon ECR repository.
//
// This member is required.
ResourceArn *string
// contains filtered or unexported fields
}
func (*ListTagsForResourceInput) Serialize ¶ added in v1.66.0
func (v *ListTagsForResourceInput) Serialize(s smithy.ShapeSerializer)
func (*ListTagsForResourceInput) SerializeMembers ¶ added in v1.66.0
func (v *ListTagsForResourceInput) SerializeMembers(s smithy.ShapeSerializer)
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct {
// The tags for the resource.
Tags []types.Tag
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*ListTagsForResourceOutput) Deserialize ¶ added in v1.66.0
func (v *ListTagsForResourceOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*ListTagsForResourceOutput) Serialize ¶ added in v1.66.0
func (v *ListTagsForResourceOutput) Serialize(s smithy.ShapeSerializer)
func (*ListTagsForResourceOutput) SerializeMembers ¶ added in v1.66.0
func (v *ListTagsForResourceOutput) SerializeMembers(s smithy.ShapeSerializer)
type Options ¶
type Options struct {
// Set of options to modify how an operation is invoked. These apply to all
// operations invoked for this client. Use functional options on operation call to
// modify this list for per operation behavior.
APIOptions []func(*middleware.Stack) error
// The optional application specific identifier appended to the User-Agent header.
AppID string
// This endpoint will be given as input to an EndpointResolverV2. It is used for
// providing a custom base endpoint that is subject to modifications by the
// processing EndpointResolverV2.
BaseEndpoint *string
// Configures the events that will be sent to the configured logger.
ClientLogMode aws.ClientLogMode
// The credentials object to use when signing requests.
Credentials aws.CredentialsProvider
// The configuration DefaultsMode that the SDK should use when constructing the
// clients initial default settings.
DefaultsMode aws.DefaultsMode
// Disables SDK clock skew correction. When set, the SDK will not adjust request
// signing timestamps to compensate for clock drift between the client and the
// service.
DisableClockSkewCorrection bool
// The endpoint options to be used when attempting to resolve an endpoint.
EndpointOptions EndpointResolverOptions
// The service endpoint resolver.
//
// Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a
// value for this field will likely prevent you from using any endpoint-related
// service features released after the introduction of EndpointResolverV2 and
// BaseEndpoint.
//
// To migrate an EndpointResolver implementation that uses a custom endpoint, set
// the client option BaseEndpoint instead.
EndpointResolver EndpointResolver
// Resolves the endpoint used for a particular service operation.
EndpointResolverV2 EndpointResolverV2
// Signature Version 4 (SigV4) Signer
HTTPSignerV4 HTTPSignerV4
// The logger writer interface to write logging messages to.
Logger logging.Logger
// The client meter provider.
MeterProvider metrics.MeterProvider
// The region to send requests to. (Required)
Region string
// RetryMaxAttempts specifies the maximum number attempts an API client will call
// an operation that fails with a retryable error. A value of 0 is ignored, and
// will not be used to configure the API client created default retryer, or modify
// per operation call's retry max attempts.
//
// If specified in an operation call's functional options with a value that is
// different than the constructed client's Options, the Client's Retryer will be
// wrapped to use the operation's specific RetryMaxAttempts value.
RetryMaxAttempts int
// RetryMode specifies the retry mode the API client will be created with, if
// Retryer option is not also specified.
//
// When creating a new API Clients this member will only be used if the Retryer
// Options member is nil. This value will be ignored if Retryer is not nil.
//
// Currently does not support per operation call overrides, may in the future.
RetryMode aws.RetryMode
// Retryer guides how HTTP requests should be retried in case of recoverable
// failures. When nil the API client will use a default retryer. The kind of
// default retry created by the API client can be changed with the RetryMode
// option.
Retryer aws.Retryer
// The RuntimeEnvironment configuration, only populated if the DefaultsMode is set
// to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You
// should not populate this structure programmatically, or rely on the values here
// within your applications.
RuntimeEnvironment aws.RuntimeEnvironment
// The client tracer provider.
TracerProvider tracing.TracerProvider
Protocol smithyhttp.ClientProtocol
// The HTTP client to invoke API calls with. Defaults to client's default HTTP
// implementation if nil.
HTTPClient HTTPClient
// Client registry of operation interceptors.
Interceptors smithyhttp.InterceptorRegistry
// The auth scheme resolver which determines how to authenticate for each
// operation.
AuthSchemeResolver AuthSchemeResolver
// The list of auth schemes supported by the client.
AuthSchemes []smithyhttp.AuthScheme
// Priority list of preferred auth scheme names (e.g. sigv4a).
AuthSchemePreference []string
// contains filtered or unexported fields
}
func (Options) GetIdentityResolver ¶ added in v1.22.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type PutAccountSettingInput ¶ added in v1.32.0
type PutAccountSettingInput struct {
// The name of the account setting, such as BASIC_SCAN_TYPE_VERSION ,
// REGISTRY_POLICY_SCOPE , or BLOB_MOUNTING .
//
// This member is required.
Name *string
// Setting value that is specified. Valid value for basic scan type: AWS_NATIVE .
// Valid values for registry policy scope: V2 . Valid values for blob mounting:
// ENABLED or DISABLED .
//
// This member is required.
Value *string
// contains filtered or unexported fields
}
func (*PutAccountSettingInput) Serialize ¶ added in v1.66.0
func (v *PutAccountSettingInput) Serialize(s smithy.ShapeSerializer)
func (*PutAccountSettingInput) SerializeMembers ¶ added in v1.66.0
func (v *PutAccountSettingInput) SerializeMembers(s smithy.ShapeSerializer)
type PutAccountSettingOutput ¶ added in v1.32.0
type PutAccountSettingOutput struct {
// Retrieves the name of the account setting.
Name *string
// Retrieves the value of the specified account setting.
Value *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*PutAccountSettingOutput) Deserialize ¶ added in v1.66.0
func (v *PutAccountSettingOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*PutAccountSettingOutput) Serialize ¶ added in v1.66.0
func (v *PutAccountSettingOutput) Serialize(s smithy.ShapeSerializer)
func (*PutAccountSettingOutput) SerializeMembers ¶ added in v1.66.0
func (v *PutAccountSettingOutput) SerializeMembers(s smithy.ShapeSerializer)
type PutImageInput ¶
type PutImageInput struct {
// The image manifest corresponding to the image to be uploaded.
//
// This member is required.
ImageManifest *string
// The name of the repository in which to put the image.
//
// This member is required.
RepositoryName *string
// The image digest of the image manifest corresponding to the image.
ImageDigest *string
// The media type of the image manifest. If you push an image manifest that does
// not contain the mediaType field, you must specify the imageManifestMediaType in
// the request.
ImageManifestMediaType *string
// The tag to associate with the image. This parameter is optional.
ImageTag *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository in which to put the image. If you do not specify a registry, the
// default registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*PutImageInput) Serialize ¶ added in v1.66.0
func (v *PutImageInput) Serialize(s smithy.ShapeSerializer)
func (*PutImageInput) SerializeMembers ¶ added in v1.66.0
func (v *PutImageInput) SerializeMembers(s smithy.ShapeSerializer)
type PutImageOutput ¶
type PutImageOutput struct {
// Details of the image uploaded.
Image *types.Image
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*PutImageOutput) Deserialize ¶ added in v1.66.0
func (v *PutImageOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*PutImageOutput) Serialize ¶ added in v1.66.0
func (v *PutImageOutput) Serialize(s smithy.ShapeSerializer)
func (*PutImageOutput) SerializeMembers ¶ added in v1.66.0
func (v *PutImageOutput) SerializeMembers(s smithy.ShapeSerializer)
type PutImageScanningConfigurationInput ¶
type PutImageScanningConfigurationInput struct {
// The image scanning configuration for the repository. This setting determines
// whether images are scanned for known vulnerabilities after being pushed to the
// repository.
//
// This member is required.
ImageScanningConfiguration *types.ImageScanningConfiguration
// The name of the repository in which to update the image scanning configuration
// setting.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository in which to update the image scanning configuration setting. If
// you do not specify a registry, the default registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*PutImageScanningConfigurationInput) Serialize ¶ added in v1.66.0
func (v *PutImageScanningConfigurationInput) Serialize(s smithy.ShapeSerializer)
func (*PutImageScanningConfigurationInput) SerializeMembers ¶ added in v1.66.0
func (v *PutImageScanningConfigurationInput) SerializeMembers(s smithy.ShapeSerializer)
type PutImageScanningConfigurationOutput ¶
type PutImageScanningConfigurationOutput struct {
// The image scanning configuration setting for the repository.
ImageScanningConfiguration *types.ImageScanningConfiguration
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*PutImageScanningConfigurationOutput) Deserialize ¶ added in v1.66.0
func (v *PutImageScanningConfigurationOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*PutImageScanningConfigurationOutput) Serialize ¶ added in v1.66.0
func (v *PutImageScanningConfigurationOutput) Serialize(s smithy.ShapeSerializer)
func (*PutImageScanningConfigurationOutput) SerializeMembers ¶ added in v1.66.0
func (v *PutImageScanningConfigurationOutput) SerializeMembers(s smithy.ShapeSerializer)
type PutImageTagMutabilityInput ¶
type PutImageTagMutabilityInput struct {
// The tag mutability setting for the repository. If MUTABLE is specified, image
// tags can be overwritten. If IMMUTABLE is specified, all image tags within the
// repository will be immutable which will prevent them from being overwritten.
//
// This member is required.
ImageTagMutability types.ImageTagMutability
// The name of the repository in which to update the image tag mutability settings.
//
// This member is required.
RepositoryName *string
// A list of filters that specify which image tags should be excluded from the
// image tag mutability setting being applied.
ImageTagMutabilityExclusionFilters []types.ImageTagMutabilityExclusionFilter
// The Amazon Web Services account ID associated with the registry that contains
// the repository in which to update the image tag mutability settings. If you do
// not specify a registry, the default registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*PutImageTagMutabilityInput) Serialize ¶ added in v1.66.0
func (v *PutImageTagMutabilityInput) Serialize(s smithy.ShapeSerializer)
func (*PutImageTagMutabilityInput) SerializeMembers ¶ added in v1.66.0
func (v *PutImageTagMutabilityInput) SerializeMembers(s smithy.ShapeSerializer)
type PutImageTagMutabilityOutput ¶
type PutImageTagMutabilityOutput struct {
// The image tag mutability setting for the repository.
ImageTagMutability types.ImageTagMutability
// The list of filters that specify which image tags are excluded from the
// repository's image tag mutability setting.
ImageTagMutabilityExclusionFilters []types.ImageTagMutabilityExclusionFilter
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*PutImageTagMutabilityOutput) Deserialize ¶ added in v1.66.0
func (v *PutImageTagMutabilityOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*PutImageTagMutabilityOutput) Serialize ¶ added in v1.66.0
func (v *PutImageTagMutabilityOutput) Serialize(s smithy.ShapeSerializer)
func (*PutImageTagMutabilityOutput) SerializeMembers ¶ added in v1.66.0
func (v *PutImageTagMutabilityOutput) SerializeMembers(s smithy.ShapeSerializer)
type PutLifecyclePolicyInput ¶
type PutLifecyclePolicyInput struct {
// The JSON repository policy text to apply to the repository.
//
// This member is required.
LifecyclePolicyText *string
// The name of the repository to receive the policy.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository. If you do
not specify a registry, the default registry is
// assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*PutLifecyclePolicyInput) Serialize ¶ added in v1.66.0
func (v *PutLifecyclePolicyInput) Serialize(s smithy.ShapeSerializer)
func (*PutLifecyclePolicyInput) SerializeMembers ¶ added in v1.66.0
func (v *PutLifecyclePolicyInput) SerializeMembers(s smithy.ShapeSerializer)
type PutLifecyclePolicyOutput ¶
type PutLifecyclePolicyOutput struct {
// The JSON repository policy text.
LifecyclePolicyText *string
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*PutLifecyclePolicyOutput) Deserialize ¶ added in v1.66.0
func (v *PutLifecyclePolicyOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*PutLifecyclePolicyOutput) Serialize ¶ added in v1.66.0
func (v *PutLifecyclePolicyOutput) Serialize(s smithy.ShapeSerializer)
func (*PutLifecyclePolicyOutput) SerializeMembers ¶ added in v1.66.0
func (v *PutLifecyclePolicyOutput) SerializeMembers(s smithy.ShapeSerializer)
type PutRegistryPolicyInput ¶ added in v0.31.0
type PutRegistryPolicyInput struct {
// The JSON policy text to apply to your registry. The policy text follows the
// same format as IAM policy text. For more information, see [Registry permissions]in the Amazon Elastic
// Container Registry User Guide.
//
// [Registry permissions]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html
//
// This member is required.
PolicyText *string
// contains filtered or unexported fields
}
func (*PutRegistryPolicyInput) Serialize ¶ added in v1.66.0
func (v *PutRegistryPolicyInput) Serialize(s smithy.ShapeSerializer)
func (*PutRegistryPolicyInput) SerializeMembers ¶ added in v1.66.0
func (v *PutRegistryPolicyInput) SerializeMembers(s smithy.ShapeSerializer)
type PutRegistryPolicyOutput ¶ added in v0.31.0
type PutRegistryPolicyOutput struct {
// The JSON policy text for your registry.
PolicyText *string
// The registry ID associated with the request.
RegistryId *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*PutRegistryPolicyOutput) Deserialize ¶ added in v1.66.0
func (v *PutRegistryPolicyOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*PutRegistryPolicyOutput) Serialize ¶ added in v1.66.0
func (v *PutRegistryPolicyOutput) Serialize(s smithy.ShapeSerializer)
func (*PutRegistryPolicyOutput) SerializeMembers ¶ added in v1.66.0
func (v *PutRegistryPolicyOutput) SerializeMembers(s smithy.ShapeSerializer)
type PutRegistryScanningConfigurationInput ¶ added in v1.11.0
type PutRegistryScanningConfigurationInput struct {
// The scanning rules to use for the registry. A scanning rule is used to
// determine which repository filters are used and at what frequency scanning will
// occur.
Rules []types.RegistryScanningRule
// The scanning type to set for the registry.
//
// When a registry scanning configuration is not defined, by default the BASIC
// scan type is used. When basic scanning is used, you may specify filters to
// determine which individual repositories, or all repositories, are scanned when
// new images are pushed to those repositories. Alternatively, you can do manual
// scans of images with basic scanning.
//
// When the ENHANCED scan type is set, Amazon Inspector provides automated
// vulnerability scanning. You may choose between continuous scanning or scan on
// push and you may specify filters to determine which individual repositories, or
// all repositories, are scanned.
ScanType types.ScanType
// contains filtered or unexported fields
}
func (*PutRegistryScanningConfigurationInput) Serialize ¶ added in v1.66.0
func (v *PutRegistryScanningConfigurationInput) Serialize(s smithy.ShapeSerializer)
func (*PutRegistryScanningConfigurationInput) SerializeMembers ¶ added in v1.66.0
func (v *PutRegistryScanningConfigurationInput) SerializeMembers(s smithy.ShapeSerializer)
type PutRegistryScanningConfigurationOutput ¶ added in v1.11.0
type PutRegistryScanningConfigurationOutput struct {
// The scanning configuration for your registry.
RegistryScanningConfiguration *types.RegistryScanningConfiguration
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*PutRegistryScanningConfigurationOutput) Deserialize ¶ added in v1.66.0
func (v *PutRegistryScanningConfigurationOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*PutRegistryScanningConfigurationOutput) Serialize ¶ added in v1.66.0
func (v *PutRegistryScanningConfigurationOutput) Serialize(s smithy.ShapeSerializer)
func (*PutRegistryScanningConfigurationOutput) SerializeMembers ¶ added in v1.66.0
func (v *PutRegistryScanningConfigurationOutput) SerializeMembers(s smithy.ShapeSerializer)
type PutReplicationConfigurationInput ¶ added in v0.31.0
type PutReplicationConfigurationInput struct {
// An object representing the replication configuration for a registry.
//
// This member is required.
ReplicationConfiguration *types.ReplicationConfiguration
// contains filtered or unexported fields
}
func (*PutReplicationConfigurationInput) Serialize ¶ added in v1.66.0
func (v *PutReplicationConfigurationInput) Serialize(s smithy.ShapeSerializer)
func (*PutReplicationConfigurationInput) SerializeMembers ¶ added in v1.66.0
func (v *PutReplicationConfigurationInput) SerializeMembers(s smithy.ShapeSerializer)
type PutReplicationConfigurationOutput ¶ added in v0.31.0
type PutReplicationConfigurationOutput struct {
// The contents of the replication configuration for the registry.
ReplicationConfiguration *types.ReplicationConfiguration
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*PutReplicationConfigurationOutput) Deserialize ¶ added in v1.66.0
func (v *PutReplicationConfigurationOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*PutReplicationConfigurationOutput) Serialize ¶ added in v1.66.0
func (v *PutReplicationConfigurationOutput) Serialize(s smithy.ShapeSerializer)
func (*PutReplicationConfigurationOutput) SerializeMembers ¶ added in v1.66.0
func (v *PutReplicationConfigurationOutput) SerializeMembers(s smithy.ShapeSerializer)
type PutSigningConfigurationInput ¶ added in v1.54.0
type PutSigningConfigurationInput struct {
// The signing configuration to assign to the registry.
//
// This member is required.
SigningConfiguration *types.SigningConfiguration
// contains filtered or unexported fields
}
func (*PutSigningConfigurationInput) Serialize ¶ added in v1.66.0
func (v *PutSigningConfigurationInput) Serialize(s smithy.ShapeSerializer)
func (*PutSigningConfigurationInput) SerializeMembers ¶ added in v1.66.0
func (v *PutSigningConfigurationInput) SerializeMembers(s smithy.ShapeSerializer)
type PutSigningConfigurationOutput ¶ added in v1.54.0
type PutSigningConfigurationOutput struct {
// The registry's updated signing configuration.
SigningConfiguration *types.SigningConfiguration
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*PutSigningConfigurationOutput) Deserialize ¶ added in v1.66.0
func (v *PutSigningConfigurationOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*PutSigningConfigurationOutput) Serialize ¶ added in v1.66.0
func (v *PutSigningConfigurationOutput) Serialize(s smithy.ShapeSerializer)
func (*PutSigningConfigurationOutput) SerializeMembers ¶ added in v1.66.0
func (v *PutSigningConfigurationOutput) SerializeMembers(s smithy.ShapeSerializer)
type RegisterPullTimeUpdateExclusionInput ¶ added in v1.53.0
type RegisterPullTimeUpdateExclusionInput struct {
// The ARN of the IAM principal to exclude from having image pull times recorded.
//
// This member is required.
PrincipalArn *string
// contains filtered or unexported fields
}
func (*RegisterPullTimeUpdateExclusionInput) Serialize ¶ added in v1.66.0
func (v *RegisterPullTimeUpdateExclusionInput) Serialize(s smithy.ShapeSerializer)
func (*RegisterPullTimeUpdateExclusionInput) SerializeMembers ¶ added in v1.66.0
func (v *RegisterPullTimeUpdateExclusionInput) SerializeMembers(s smithy.ShapeSerializer)
type RegisterPullTimeUpdateExclusionOutput ¶ added in v1.53.0
type RegisterPullTimeUpdateExclusionOutput struct {
// The date and time, expressed in standard JavaScript date format, when the
// exclusion was created.
CreatedAt *time.Time
// The ARN of the IAM principal that was added to the pull time update exclusion
// list.
PrincipalArn *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*RegisterPullTimeUpdateExclusionOutput) Deserialize ¶ added in v1.66.0
func (v *RegisterPullTimeUpdateExclusionOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*RegisterPullTimeUpdateExclusionOutput) Serialize ¶ added in v1.66.0
func (v *RegisterPullTimeUpdateExclusionOutput) Serialize(s smithy.ShapeSerializer)
func (*RegisterPullTimeUpdateExclusionOutput) SerializeMembers ¶ added in v1.66.0
func (v *RegisterPullTimeUpdateExclusionOutput) SerializeMembers(s smithy.ShapeSerializer)
type ResolveEndpoint ¶
type ResolveEndpoint struct {
Resolver EndpointResolver
Options EndpointResolverOptions
}
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type SetRepositoryPolicyInput ¶
type SetRepositoryPolicyInput struct {
// The JSON repository policy text to apply to the repository. For more
// information, see [Amazon ECR repository policies]in the Amazon Elastic Container Registry User Guide.
//
// [Amazon ECR repository policies]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html
//
// This member is required.
PolicyText *string
// The name of the repository to receive the policy.
//
// This member is required.
RepositoryName *string
// If the policy you are attempting to set on a repository policy would prevent
// you from setting another policy in the future, you must force the SetRepositoryPolicyoperation.
// This is intended to prevent accidental repository lock outs.
Force bool
// The Amazon Web Services account ID associated with the registry that contains
// the repository. If you do not specify a registry, the default registry is
// assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*SetRepositoryPolicyInput) Serialize ¶ added in v1.66.0
func (v *SetRepositoryPolicyInput) Serialize(s smithy.ShapeSerializer)
func (*SetRepositoryPolicyInput) SerializeMembers ¶ added in v1.66.0
func (v *SetRepositoryPolicyInput) SerializeMembers(s smithy.ShapeSerializer)
type SetRepositoryPolicyOutput ¶
type SetRepositoryPolicyOutput struct {
// The JSON repository policy text applied to the repository.
PolicyText *string
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*SetRepositoryPolicyOutput) Deserialize ¶ added in v1.66.0
func (v *SetRepositoryPolicyOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*SetRepositoryPolicyOutput) Serialize ¶ added in v1.66.0
func (v *SetRepositoryPolicyOutput) Serialize(s smithy.ShapeSerializer)
func (*SetRepositoryPolicyOutput) SerializeMembers ¶ added in v1.66.0
func (v *SetRepositoryPolicyOutput) SerializeMembers(s smithy.ShapeSerializer)
type StartImageScanInput ¶
type StartImageScanInput struct {
// An object with identifying information for an image in an Amazon ECR repository.
//
// This member is required.
ImageId *types.ImageIdentifier
// The name of the repository that contains the images to scan.
//
// This member is required.
RepositoryName *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository in which to start an image scan request. If you do not specify a
// registry, the default registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*StartImageScanInput) Serialize ¶ added in v1.66.0
func (v *StartImageScanInput) Serialize(s smithy.ShapeSerializer)
func (*StartImageScanInput) SerializeMembers ¶ added in v1.66.0
func (v *StartImageScanInput) SerializeMembers(s smithy.ShapeSerializer)
type StartImageScanOutput ¶
type StartImageScanOutput struct {
// An object with identifying information for an image in an Amazon ECR repository.
ImageId *types.ImageIdentifier
// The current state of the scan.
ImageScanStatus *types.ImageScanStatus
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*StartImageScanOutput) Deserialize ¶ added in v1.66.0
func (v *StartImageScanOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*StartImageScanOutput) Serialize ¶ added in v1.66.0
func (v *StartImageScanOutput) Serialize(s smithy.ShapeSerializer)
func (*StartImageScanOutput) SerializeMembers ¶ added in v1.66.0
func (v *StartImageScanOutput) SerializeMembers(s smithy.ShapeSerializer)
type StartLifecyclePolicyPreviewInput ¶
type StartLifecyclePolicyPreviewInput struct {
// The name of the repository to be evaluated.
//
// This member is required.
RepositoryName *string
// The policy to be evaluated against. If you do not specify a policy, the current
// policy for the repository is used.
LifecyclePolicyText *string
// The Amazon Web Services account ID associated with the registry that contains
// the repository. If you do not specify a registry, the default registry is
// assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*StartLifecyclePolicyPreviewInput) Serialize ¶ added in v1.66.0
func (v *StartLifecyclePolicyPreviewInput) Serialize(s smithy.ShapeSerializer)
func (*StartLifecyclePolicyPreviewInput) SerializeMembers ¶ added in v1.66.0
func (v *StartLifecyclePolicyPreviewInput) SerializeMembers(s smithy.ShapeSerializer)
type StartLifecyclePolicyPreviewOutput ¶
type StartLifecyclePolicyPreviewOutput struct {
// The JSON repository policy text.
LifecyclePolicyText *string
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// The status of the lifecycle policy preview request.
Status types.LifecyclePolicyPreviewStatus
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*StartLifecyclePolicyPreviewOutput) Deserialize ¶ added in v1.66.0
func (v *StartLifecyclePolicyPreviewOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*StartLifecyclePolicyPreviewOutput) Serialize ¶ added in v1.66.0
func (v *StartLifecyclePolicyPreviewOutput) Serialize(s smithy.ShapeSerializer)
func (*StartLifecyclePolicyPreviewOutput) SerializeMembers ¶ added in v1.66.0
func (v *StartLifecyclePolicyPreviewOutput) SerializeMembers(s smithy.ShapeSerializer)
type StartReplicationBackfillInput ¶ added in v1.67.0
type StartReplicationBackfillInput struct {
// The destination Region and registry to which the images are replicated.
//
// This member is required.
Destination *types.ReplicationDestination
// The Amazon Web Services account ID associated with the registry from which to
// start the replication backfill. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*StartReplicationBackfillInput) Serialize ¶ added in v1.67.0
func (v *StartReplicationBackfillInput) Serialize(s smithy.ShapeSerializer)
func (*StartReplicationBackfillInput) SerializeMembers ¶ added in v1.67.0
func (v *StartReplicationBackfillInput) SerializeMembers(s smithy.ShapeSerializer)
type StartReplicationBackfillOutput ¶ added in v1.67.0
type StartReplicationBackfillOutput struct {
// The destination Region and registry to which the images are replicated.
Destination *types.ReplicationDestination
// The registry ID associated with the request.
RegistryId *string
// The ID of the replication backfill that was started. Use this value to describe
// or stop the backfill.
ReplicationBackfillId *string
// The date and time, in JavaScript date format, when the replication backfill was
// started.
StartedAt *time.Time
// The current status of the replication backfill. A newly started replication
// backfill is returned with a status of PREPARING .
Status types.ReplicationBackfillStatus
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*StartReplicationBackfillOutput) Deserialize ¶ added in v1.67.0
func (v *StartReplicationBackfillOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*StartReplicationBackfillOutput) Serialize ¶ added in v1.67.0
func (v *StartReplicationBackfillOutput) Serialize(s smithy.ShapeSerializer)
func (*StartReplicationBackfillOutput) SerializeMembers ¶ added in v1.67.0
func (v *StartReplicationBackfillOutput) SerializeMembers(s smithy.ShapeSerializer)
type StopReplicationBackfillInput ¶ added in v1.67.0
type StopReplicationBackfillInput struct {
// The ID of the replication backfill to stop.
//
// This member is required.
ReplicationBackfillId *string
// The Amazon Web Services account ID associated with the registry that contains
// the replication backfill to stop. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*StopReplicationBackfillInput) Serialize ¶ added in v1.67.0
func (v *StopReplicationBackfillInput) Serialize(s smithy.ShapeSerializer)
func (*StopReplicationBackfillInput) SerializeMembers ¶ added in v1.67.0
func (v *StopReplicationBackfillInput) SerializeMembers(s smithy.ShapeSerializer)
type StopReplicationBackfillOutput ¶ added in v1.67.0
type StopReplicationBackfillOutput struct {
// The destination Region and registry to which the images are replicated.
Destination *types.ReplicationDestination
// The registry ID associated with the request.
RegistryId *string
// The ID of the replication backfill.
ReplicationBackfillId *string
// The date and time, in JavaScript date format, when the replication backfill was
// started.
StartedAt *time.Time
// The current status of the replication backfill. When you stop a replication
// backfill, its status is STOPPED if the backfill is stopped immediately, or
// STOPPING if there are replications still in progress that must complete before
// the backfill stops.
Status types.ReplicationBackfillStatus
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*StopReplicationBackfillOutput) Deserialize ¶ added in v1.67.0
func (v *StopReplicationBackfillOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*StopReplicationBackfillOutput) Serialize ¶ added in v1.67.0
func (v *StopReplicationBackfillOutput) Serialize(s smithy.ShapeSerializer)
func (*StopReplicationBackfillOutput) SerializeMembers ¶ added in v1.67.0
func (v *StopReplicationBackfillOutput) SerializeMembers(s smithy.ShapeSerializer)
type TagResourceInput ¶
type TagResourceInput struct {
// The Amazon Resource Name (ARN) of the the resource to which to add tags.
// Currently, the only supported resource is an Amazon ECR repository.
//
// This member is required.
ResourceArn *string
// The tags to add to the resource. A tag is an array of key-value pairs. Tag keys
// can have a maximum character length of 128 characters, and tag values can have a
// maximum length of 256 characters.
//
// This member is required.
Tags []types.Tag
// contains filtered or unexported fields
}
func (*TagResourceInput) Serialize ¶ added in v1.66.0
func (v *TagResourceInput) Serialize(s smithy.ShapeSerializer)
func (*TagResourceInput) SerializeMembers ¶ added in v1.66.0
func (v *TagResourceInput) SerializeMembers(s smithy.ShapeSerializer)
type TagResourceOutput ¶
type TagResourceOutput struct {
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*TagResourceOutput) Deserialize ¶ added in v1.66.0
func (v *TagResourceOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*TagResourceOutput) Serialize ¶ added in v1.66.0
func (v *TagResourceOutput) Serialize(s smithy.ShapeSerializer)
func (*TagResourceOutput) SerializeMembers ¶ added in v1.66.0
func (v *TagResourceOutput) SerializeMembers(s smithy.ShapeSerializer)
type UntagResourceInput ¶
type UntagResourceInput struct {
// The Amazon Resource Name (ARN) of the resource from which to remove tags.
// Currently, the only supported resource is an Amazon ECR repository.
//
// This member is required.
ResourceArn *string
// The keys of the tags to be removed.
//
// This member is required.
TagKeys []string
// contains filtered or unexported fields
}
func (*UntagResourceInput) Serialize ¶ added in v1.66.0
func (v *UntagResourceInput) Serialize(s smithy.ShapeSerializer)
func (*UntagResourceInput) SerializeMembers ¶ added in v1.66.0
func (v *UntagResourceInput) SerializeMembers(s smithy.ShapeSerializer)
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*UntagResourceOutput) Deserialize ¶ added in v1.66.0
func (v *UntagResourceOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*UntagResourceOutput) Serialize ¶ added in v1.66.0
func (v *UntagResourceOutput) Serialize(s smithy.ShapeSerializer)
func (*UntagResourceOutput) SerializeMembers ¶ added in v1.66.0
func (v *UntagResourceOutput) SerializeMembers(s smithy.ShapeSerializer)
type UpdateImageStorageClassInput ¶ added in v1.53.0
type UpdateImageStorageClassInput struct {
// An object with identifying information for an image in an Amazon ECR repository.
//
// This member is required.
ImageId *types.ImageIdentifier
// The name of the repository that contains the image to transition.
//
// This member is required.
RepositoryName *string
// The target storage class for the image.
//
// This member is required.
TargetStorageClass types.TargetStorageClass
// The Amazon Web Services account ID associated with the registry that contains
// the image to transition. If you do not specify a registry, the default registry
// is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*UpdateImageStorageClassInput) Serialize ¶ added in v1.66.0
func (v *UpdateImageStorageClassInput) Serialize(s smithy.ShapeSerializer)
func (*UpdateImageStorageClassInput) SerializeMembers ¶ added in v1.66.0
func (v *UpdateImageStorageClassInput) SerializeMembers(s smithy.ShapeSerializer)
type UpdateImageStorageClassOutput ¶ added in v1.53.0
type UpdateImageStorageClassOutput struct {
// An object with identifying information for an image in an Amazon ECR repository.
ImageId *types.ImageIdentifier
// The current status of the image after the call to UpdateImageStorageClass is
// complete. Valid values are ACTIVE , ARCHIVED , and ACTIVATING .
ImageStatus types.ImageStatus
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*UpdateImageStorageClassOutput) Deserialize ¶ added in v1.66.0
func (v *UpdateImageStorageClassOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*UpdateImageStorageClassOutput) Serialize ¶ added in v1.66.0
func (v *UpdateImageStorageClassOutput) Serialize(s smithy.ShapeSerializer)
func (*UpdateImageStorageClassOutput) SerializeMembers ¶ added in v1.66.0
func (v *UpdateImageStorageClassOutput) SerializeMembers(s smithy.ShapeSerializer)
type UpdatePullThroughCacheRuleInput ¶ added in v1.23.0
type UpdatePullThroughCacheRuleInput struct {
// The repository name prefix to use when caching images from the source registry.
//
// This member is required.
EcrRepositoryPrefix *string
// The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
// secret that identifies the credentials to authenticate to the upstream registry.
CredentialArn *string
// Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to
// authenticate to the ECR upstream registry. This role must be in the same account
// as the registry that you are configuring.
CustomRoleArn *string
// The Amazon Web Services account ID associated with the registry associated with
// the pull through cache rule. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*UpdatePullThroughCacheRuleInput) Serialize ¶ added in v1.66.0
func (v *UpdatePullThroughCacheRuleInput) Serialize(s smithy.ShapeSerializer)
func (*UpdatePullThroughCacheRuleInput) SerializeMembers ¶ added in v1.66.0
func (v *UpdatePullThroughCacheRuleInput) SerializeMembers(s smithy.ShapeSerializer)
type UpdatePullThroughCacheRuleOutput ¶ added in v1.23.0
type UpdatePullThroughCacheRuleOutput struct {
// The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
// secret associated with the pull through cache rule.
CredentialArn *string
// The ARN of the IAM role associated with the pull through cache rule.
CustomRoleArn *string
// The Amazon ECR repository prefix associated with the pull through cache rule.
EcrRepositoryPrefix *string
// The registry ID associated with the request.
RegistryId *string
// The date and time, in JavaScript date format, when the pull through cache rule
// was updated.
UpdatedAt *time.Time
// The upstream repository prefix associated with the pull through cache rule.
UpstreamRepositoryPrefix *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*UpdatePullThroughCacheRuleOutput) Deserialize ¶ added in v1.66.0
func (v *UpdatePullThroughCacheRuleOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*UpdatePullThroughCacheRuleOutput) Serialize ¶ added in v1.66.0
func (v *UpdatePullThroughCacheRuleOutput) Serialize(s smithy.ShapeSerializer)
func (*UpdatePullThroughCacheRuleOutput) SerializeMembers ¶ added in v1.66.0
func (v *UpdatePullThroughCacheRuleOutput) SerializeMembers(s smithy.ShapeSerializer)
type UpdateRepositoryCreationTemplateInput ¶ added in v1.31.0
type UpdateRepositoryCreationTemplateInput struct {
// The repository namespace prefix that matches an existing repository creation
// template in the registry. All repositories created using this namespace prefix
// will have the settings defined in this template applied. For example, a prefix
// of prod would apply to all repositories beginning with prod/ . This includes a
// repository named prod/team1 as well as a repository named prod/repository1 .
//
// To apply a template to all repositories in your registry that don't have an
// associated creation template, you can use ROOT as the prefix.
//
// This member is required.
Prefix *string
// Updates the list of enumerable strings representing the Amazon ECR repository
// creation scenarios that this template will apply towards. The supported
// scenarios are PULL_THROUGH_CACHE , REPLICATION , and CREATE_ON_PUSH
AppliedFor []types.RCTAppliedFor
// The ARN of the role to be assumed by Amazon ECR. This role must be in the same
// account as the registry that you are configuring. Amazon ECR will assume your
// supplied role when the customRoleArn is specified. When this field isn't
// specified, Amazon ECR will use the service-linked role for the repository
// creation template.
CustomRoleArn *string
// A description for the repository creation template.
Description *string
// The encryption configuration to associate with the repository creation template.
EncryptionConfiguration *types.EncryptionConfigurationForRepositoryCreationTemplate
// Updates the tag mutability setting for the repository. If this parameter is
// omitted, the default setting of MUTABLE will be used which will allow image
// tags to be overwritten. If IMMUTABLE is specified, all image tags within the
// repository will be immutable which will prevent them from being overwritten.
ImageTagMutability types.ImageTagMutability
// A list of filters that specify which image tags should be excluded from the
// repository creation template's image tag mutability setting.
ImageTagMutabilityExclusionFilters []types.ImageTagMutabilityExclusionFilter
// Updates the lifecycle policy associated with the specified repository creation
// template.
LifecyclePolicy *string
// Updates the repository policy created using the template. A repository policy
// is a permissions policy associated with a repository to control access
// permissions.
RepositoryPolicy *string
// The metadata to apply to the repository to help you categorize and organize.
// Each tag consists of a key and an optional value, both of which you define. Tag
// keys can have a maximum character length of 128 characters, and tag values can
// have a maximum length of 256 characters.
ResourceTags []types.Tag
// contains filtered or unexported fields
}
func (*UpdateRepositoryCreationTemplateInput) Serialize ¶ added in v1.66.0
func (v *UpdateRepositoryCreationTemplateInput) Serialize(s smithy.ShapeSerializer)
func (*UpdateRepositoryCreationTemplateInput) SerializeMembers ¶ added in v1.66.0
func (v *UpdateRepositoryCreationTemplateInput) SerializeMembers(s smithy.ShapeSerializer)
type UpdateRepositoryCreationTemplateOutput ¶ added in v1.31.0
type UpdateRepositoryCreationTemplateOutput struct {
// The registry ID associated with the request.
RegistryId *string
// The details of the repository creation template associated with the request.
RepositoryCreationTemplate *types.RepositoryCreationTemplate
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*UpdateRepositoryCreationTemplateOutput) Deserialize ¶ added in v1.66.0
func (v *UpdateRepositoryCreationTemplateOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*UpdateRepositoryCreationTemplateOutput) Serialize ¶ added in v1.66.0
func (v *UpdateRepositoryCreationTemplateOutput) Serialize(s smithy.ShapeSerializer)
func (*UpdateRepositoryCreationTemplateOutput) SerializeMembers ¶ added in v1.66.0
func (v *UpdateRepositoryCreationTemplateOutput) SerializeMembers(s smithy.ShapeSerializer)
type UploadLayerPartInput ¶
type UploadLayerPartInput struct {
// The base64-encoded layer part payload.
//
// This member is required.
LayerPartBlob []byte
// The position of the first byte of the layer part witin the overall image layer.
//
// This member is required.
PartFirstByte *int64
// The position of the last byte of the layer part within the overall image layer.
//
// This member is required.
PartLastByte *int64
// The name of the repository to which you are uploading layer parts.
//
// This member is required.
RepositoryName *string
// The upload ID from a previous InitiateLayerUpload operation to associate with the layer part
// upload.
//
// This member is required.
UploadId *string
// The Amazon Web Services account ID associated with the registry to which you
// are uploading layer parts. If you do not specify a registry, the default
// registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*UploadLayerPartInput) Serialize ¶ added in v1.66.0
func (v *UploadLayerPartInput) Serialize(s smithy.ShapeSerializer)
func (*UploadLayerPartInput) SerializeMembers ¶ added in v1.66.0
func (v *UploadLayerPartInput) SerializeMembers(s smithy.ShapeSerializer)
type UploadLayerPartOutput ¶
type UploadLayerPartOutput struct {
// The integer value of the last byte received in the request.
LastByteReceived *int64
// The registry ID associated with the request.
RegistryId *string
// The repository name associated with the request.
RepositoryName *string
// The upload ID associated with the request.
UploadId *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*UploadLayerPartOutput) Deserialize ¶ added in v1.66.0
func (v *UploadLayerPartOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*UploadLayerPartOutput) Serialize ¶ added in v1.66.0
func (v *UploadLayerPartOutput) Serialize(s smithy.ShapeSerializer)
func (*UploadLayerPartOutput) SerializeMembers ¶ added in v1.66.0
func (v *UploadLayerPartOutput) SerializeMembers(s smithy.ShapeSerializer)
type ValidatePullThroughCacheRuleInput ¶ added in v1.23.0
type ValidatePullThroughCacheRuleInput struct {
// The repository name prefix associated with the pull through cache rule.
//
// This member is required.
EcrRepositoryPrefix *string
// The registry ID associated with the pull through cache rule. If you do not
// specify a registry, the default registry is assumed.
RegistryId *string
// contains filtered or unexported fields
}
func (*ValidatePullThroughCacheRuleInput) Serialize ¶ added in v1.66.0
func (v *ValidatePullThroughCacheRuleInput) Serialize(s smithy.ShapeSerializer)
func (*ValidatePullThroughCacheRuleInput) SerializeMembers ¶ added in v1.66.0
func (v *ValidatePullThroughCacheRuleInput) SerializeMembers(s smithy.ShapeSerializer)
type ValidatePullThroughCacheRuleOutput ¶ added in v1.23.0
type ValidatePullThroughCacheRuleOutput struct {
// The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
// secret associated with the pull through cache rule.
CredentialArn *string
// The ARN of the IAM role associated with the pull through cache rule.
CustomRoleArn *string
// The Amazon ECR repository prefix associated with the pull through cache rule.
EcrRepositoryPrefix *string
// The reason the validation failed. For more details about possible causes and
// how to address them, see [Using pull through cache rules]in the Amazon Elastic Container Registry User Guide.
//
// [Using pull through cache rules]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache.html
Failure *string
// Whether or not the pull through cache rule was validated. If true , Amazon ECR
// was able to reach the upstream registry and authentication was successful. If
// false , there was an issue and validation failed. The failure reason indicates
// the cause.
IsValid bool
// The registry ID associated with the request.
RegistryId *string
// The upstream registry URL associated with the pull through cache rule.
UpstreamRegistryUrl *string
// The upstream repository prefix associated with the pull through cache rule.
UpstreamRepositoryPrefix *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*ValidatePullThroughCacheRuleOutput) Deserialize ¶ added in v1.66.0
func (v *ValidatePullThroughCacheRuleOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*ValidatePullThroughCacheRuleOutput) Serialize ¶ added in v1.66.0
func (v *ValidatePullThroughCacheRuleOutput) Serialize(s smithy.ShapeSerializer)
func (*ValidatePullThroughCacheRuleOutput) SerializeMembers ¶ added in v1.66.0
func (v *ValidatePullThroughCacheRuleOutput) SerializeMembers(s smithy.ShapeSerializer)
Source Files
¶
- api_client.go
- api_op_BatchCheckLayerAvailability.go
- api_op_BatchDeleteImage.go
- api_op_BatchGetImage.go
- api_op_BatchGetRepositoryScanningConfiguration.go
- api_op_CompleteLayerUpload.go
- api_op_CreatePullThroughCacheRule.go
- api_op_CreateRepository.go
- api_op_CreateRepositoryCreationTemplate.go
- api_op_DeleteLifecyclePolicy.go
- api_op_DeletePullThroughCacheRule.go
- api_op_DeleteRegistryPolicy.go
- api_op_DeleteRepository.go
- api_op_DeleteRepositoryCreationTemplate.go
- api_op_DeleteRepositoryPolicy.go
- api_op_DeleteSigningConfiguration.go
- api_op_DeregisterPullTimeUpdateExclusion.go
- api_op_DescribeImageReplicationStatus.go
- api_op_DescribeImageScanFindings.go
- api_op_DescribeImageSigningStatus.go
- api_op_DescribeImages.go
- api_op_DescribePullThroughCacheRules.go
- api_op_DescribeRegistry.go
- api_op_DescribeReplicationBackfillResults.go
- api_op_DescribeRepositories.go
- api_op_DescribeRepositoryCreationTemplates.go
- api_op_GetAccountSetting.go
- api_op_GetAuthorizationToken.go
- api_op_GetDownloadUrlForLayer.go
- api_op_GetLifecyclePolicy.go
- api_op_GetLifecyclePolicyPreview.go
- api_op_GetRegistryPolicy.go
- api_op_GetRegistryScanningConfiguration.go
- api_op_GetRepositoryPolicy.go
- api_op_GetSigningConfiguration.go
- api_op_InitiateLayerUpload.go
- api_op_ListImageReferrers.go
- api_op_ListImages.go
- api_op_ListPullTimeUpdateExclusions.go
- api_op_ListReplicationBackfills.go
- api_op_ListTagsForResource.go
- api_op_PutAccountSetting.go
- api_op_PutImage.go
- api_op_PutImageScanningConfiguration.go
- api_op_PutImageTagMutability.go
- api_op_PutLifecyclePolicy.go
- api_op_PutRegistryPolicy.go
- api_op_PutRegistryScanningConfiguration.go
- api_op_PutReplicationConfiguration.go
- api_op_PutSigningConfiguration.go
- api_op_RegisterPullTimeUpdateExclusion.go
- api_op_SetRepositoryPolicy.go
- api_op_StartImageScan.go
- api_op_StartLifecyclePolicyPreview.go
- api_op_StartReplicationBackfill.go
- api_op_StopReplicationBackfill.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateImageStorageClass.go
- api_op_UpdatePullThroughCacheRule.go
- api_op_UpdateRepositoryCreationTemplate.go
- api_op_UploadLayerPart.go
- api_op_ValidatePullThroughCacheRule.go
- auth.go
- common_serde.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- type_registry.go
- validators.go