@aws-sdk/client-ecr-public 3.194.0 → 3.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/ECRPUBLICClient.js +11 -8
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +10 -0
- package/dist-cjs/commands/BatchDeleteImageCommand.js +10 -0
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +10 -0
- package/dist-cjs/commands/CreateRepositoryCommand.js +10 -0
- package/dist-cjs/commands/DeleteRepositoryCommand.js +10 -0
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +10 -0
- package/dist-cjs/commands/DescribeImageTagsCommand.js +10 -0
- package/dist-cjs/commands/DescribeImagesCommand.js +10 -0
- package/dist-cjs/commands/DescribeRegistriesCommand.js +10 -0
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +10 -0
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +10 -0
- package/dist-cjs/commands/GetRegistryCatalogDataCommand.js +10 -0
- package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js +10 -0
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +10 -0
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/PutImageCommand.js +10 -0
- package/dist-cjs/commands/PutRegistryCatalogDataCommand.js +10 -0
- package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js +10 -0
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UploadLayerPartCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/ECRPUBLICClient.js +12 -9
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +10 -0
- package/dist-es/commands/BatchDeleteImageCommand.js +10 -0
- package/dist-es/commands/CompleteLayerUploadCommand.js +10 -0
- package/dist-es/commands/CreateRepositoryCommand.js +10 -0
- package/dist-es/commands/DeleteRepositoryCommand.js +10 -0
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js +10 -0
- package/dist-es/commands/DescribeImageTagsCommand.js +10 -0
- package/dist-es/commands/DescribeImagesCommand.js +10 -0
- package/dist-es/commands/DescribeRegistriesCommand.js +10 -0
- package/dist-es/commands/DescribeRepositoriesCommand.js +10 -0
- package/dist-es/commands/GetAuthorizationTokenCommand.js +10 -0
- package/dist-es/commands/GetRegistryCatalogDataCommand.js +10 -0
- package/dist-es/commands/GetRepositoryCatalogDataCommand.js +10 -0
- package/dist-es/commands/GetRepositoryPolicyCommand.js +10 -0
- package/dist-es/commands/InitiateLayerUploadCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/PutImageCommand.js +10 -0
- package/dist-es/commands/PutRegistryCatalogDataCommand.js +10 -0
- package/dist-es/commands/PutRepositoryCatalogDataCommand.js +10 -0
- package/dist-es/commands/SetRepositoryPolicyCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UploadLayerPartCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/ECRPUBLICClient.d.ts +6 -9
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -0
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +2 -0
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +2 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DescribeImageTagsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeImagesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRegistriesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +2 -0
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +2 -0
- package/dist-types/commands/GetRegistryCatalogDataCommand.d.ts +2 -0
- package/dist-types/commands/GetRepositoryCatalogDataCommand.d.ts +2 -0
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +2 -0
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/PutImageCommand.d.ts +2 -0
- package/dist-types/commands/PutRegistryCatalogDataCommand.d.ts +2 -0
- package/dist-types/commands/PutRepositoryCatalogDataCommand.d.ts +2 -0
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UploadLayerPartCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/ECRPUBLICClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeImageTagsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeRegistriesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRegistryCatalogDataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRepositoryCatalogDataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutImageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutRegistryCatalogDataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutRepositoryCatalogDataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
-
import {
|
|
2
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
3
|
export const getRuntimeConfig = (config) => ({
|
|
4
4
|
apiVersion: "2020-10-30",
|
|
5
5
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
6
7
|
logger: config?.logger ?? {},
|
|
7
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
8
|
serviceId: config?.serviceId ?? "ECR PUBLIC",
|
|
9
9
|
urlParser: config?.urlParser ?? parseUrl,
|
|
10
10
|
});
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
2
3
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider,
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
10
|
import { BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput } from "./commands/BatchCheckLayerAvailabilityCommand";
|
|
10
11
|
import { BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput } from "./commands/BatchDeleteImageCommand";
|
|
11
12
|
import { CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput } from "./commands/CompleteLayerUploadCommand";
|
|
@@ -29,6 +30,7 @@ import { SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput } fro
|
|
|
29
30
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
30
31
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
31
32
|
import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./commands/UploadLayerPartCommand";
|
|
33
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
32
34
|
export declare type ServiceInputTypes = BatchCheckLayerAvailabilityCommandInput | BatchDeleteImageCommandInput | CompleteLayerUploadCommandInput | CreateRepositoryCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPolicyCommandInput | DescribeImageTagsCommandInput | DescribeImagesCommandInput | DescribeRegistriesCommandInput | DescribeRepositoriesCommandInput | GetAuthorizationTokenCommandInput | GetRegistryCatalogDataCommandInput | GetRepositoryCatalogDataCommandInput | GetRepositoryPolicyCommandInput | InitiateLayerUploadCommandInput | ListTagsForResourceCommandInput | PutImageCommandInput | PutRegistryCatalogDataCommandInput | PutRepositoryCatalogDataCommandInput | SetRepositoryPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UploadLayerPartCommandInput;
|
|
33
35
|
export declare type ServiceOutputTypes = BatchCheckLayerAvailabilityCommandOutput | BatchDeleteImageCommandOutput | CompleteLayerUploadCommandOutput | CreateRepositoryCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPolicyCommandOutput | DescribeImageTagsCommandOutput | DescribeImagesCommandOutput | DescribeRegistriesCommandOutput | DescribeRepositoriesCommandOutput | GetAuthorizationTokenCommandOutput | GetRegistryCatalogDataCommandOutput | GetRepositoryCatalogDataCommandOutput | GetRepositoryPolicyCommandOutput | InitiateLayerUploadCommandOutput | ListTagsForResourceCommandOutput | PutImageCommandOutput | PutRegistryCatalogDataCommandOutput | PutRepositoryCatalogDataCommandOutput | SetRepositoryPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UploadLayerPartCommandOutput;
|
|
34
36
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -121,11 +123,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
121
123
|
* @internal
|
|
122
124
|
*/
|
|
123
125
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
124
|
-
/**
|
|
125
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
129
126
|
/**
|
|
130
127
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
131
128
|
* @internal
|
|
@@ -136,13 +133,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
136
133
|
*/
|
|
137
134
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
138
135
|
}
|
|
139
|
-
declare type ECRPUBLICClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig &
|
|
136
|
+
declare type ECRPUBLICClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
140
137
|
/**
|
|
141
138
|
* The configuration interface of ECRPUBLICClient class constructor that set the region, credentials and other options.
|
|
142
139
|
*/
|
|
143
140
|
export interface ECRPUBLICClientConfig extends ECRPUBLICClientConfigType {
|
|
144
141
|
}
|
|
145
|
-
declare type ECRPUBLICClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig &
|
|
142
|
+
declare type ECRPUBLICClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
146
143
|
/**
|
|
147
144
|
* The resolved configuration interface of ECRPUBLICClient class. This is resolved and normalized from the {@link ECRPUBLICClientConfig | constructor configuration interface}.
|
|
148
145
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -31,6 +32,7 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
|
|
|
31
32
|
*/
|
|
32
33
|
export declare class BatchCheckLayerAvailabilityCommand extends $Command<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
33
34
|
readonly input: BatchCheckLayerAvailabilityCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
36
|
constructor(input: BatchCheckLayerAvailabilityCommandInput);
|
|
35
37
|
/**
|
|
36
38
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -30,6 +31,7 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
|
|
|
30
31
|
*/
|
|
31
32
|
export declare class BatchDeleteImageCommand extends $Command<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
32
33
|
readonly input: BatchDeleteImageCommandInput;
|
|
34
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
35
|
constructor(input: BatchDeleteImageCommandInput);
|
|
34
36
|
/**
|
|
35
37
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -32,6 +33,7 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
|
|
|
32
33
|
*/
|
|
33
34
|
export declare class CompleteLayerUploadCommand extends $Command<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
34
35
|
readonly input: CompleteLayerUploadCommandInput;
|
|
36
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
37
|
constructor(input: CompleteLayerUploadCommandInput);
|
|
36
38
|
/**
|
|
37
39
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -26,6 +27,7 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class CreateRepositoryCommand extends $Command<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
28
29
|
readonly input: CreateRepositoryCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: CreateRepositoryCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -27,6 +28,7 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse,
|
|
|
27
28
|
*/
|
|
28
29
|
export declare class DeleteRepositoryCommand extends $Command<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
29
30
|
readonly input: DeleteRepositoryCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
32
|
constructor(input: DeleteRepositoryCommandInput);
|
|
31
33
|
/**
|
|
32
34
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -25,6 +26,7 @@ export interface DeleteRepositoryPolicyCommandOutput extends DeleteRepositoryPol
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class DeleteRepositoryPolicyCommand extends $Command<DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
27
28
|
readonly input: DeleteRepositoryPolicyCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DeleteRepositoryPolicyCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -25,6 +26,7 @@ export interface DescribeImageTagsCommandOutput extends DescribeImageTagsRespons
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class DescribeImageTagsCommand extends $Command<DescribeImageTagsCommandInput, DescribeImageTagsCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
27
28
|
readonly input: DescribeImageTagsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DescribeImageTagsCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -31,6 +32,7 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M
|
|
|
31
32
|
*/
|
|
32
33
|
export declare class DescribeImagesCommand extends $Command<DescribeImagesCommandInput, DescribeImagesCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
33
34
|
readonly input: DescribeImagesCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
36
|
constructor(input: DescribeImagesCommandInput);
|
|
35
37
|
/**
|
|
36
38
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -25,6 +26,7 @@ export interface DescribeRegistriesCommandOutput extends DescribeRegistriesRespo
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class DescribeRegistriesCommand extends $Command<DescribeRegistriesCommandInput, DescribeRegistriesCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
27
28
|
readonly input: DescribeRegistriesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DescribeRegistriesCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -25,6 +26,7 @@ export interface DescribeRepositoriesCommandOutput extends DescribeRepositoriesR
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class DescribeRepositoriesCommand extends $Command<DescribeRepositoriesCommandInput, DescribeRepositoriesCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
27
28
|
readonly input: DescribeRepositoriesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DescribeRepositoriesCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -29,6 +30,7 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class GetAuthorizationTokenCommand extends $Command<GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
31
32
|
readonly input: GetAuthorizationTokenCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
34
|
constructor(input: GetAuthorizationTokenCommandInput);
|
|
33
35
|
/**
|
|
34
36
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -25,6 +26,7 @@ export interface GetRegistryCatalogDataCommandOutput extends GetRegistryCatalogD
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetRegistryCatalogDataCommand extends $Command<GetRegistryCatalogDataCommandInput, GetRegistryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
27
28
|
readonly input: GetRegistryCatalogDataCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetRegistryCatalogDataCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -26,6 +27,7 @@ export interface GetRepositoryCatalogDataCommandOutput extends GetRepositoryCata
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class GetRepositoryCatalogDataCommand extends $Command<GetRepositoryCatalogDataCommandInput, GetRepositoryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
28
29
|
readonly input: GetRepositoryCatalogDataCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: GetRepositoryCatalogDataCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -25,6 +26,7 @@ export interface GetRepositoryPolicyCommandOutput extends GetRepositoryPolicyRes
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetRepositoryPolicyCommand extends $Command<GetRepositoryPolicyCommandInput, GetRepositoryPolicyCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
27
28
|
readonly input: GetRepositoryPolicyCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetRepositoryPolicyCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -31,6 +32,7 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes
|
|
|
31
32
|
*/
|
|
32
33
|
export declare class InitiateLayerUploadCommand extends $Command<InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
33
34
|
readonly input: InitiateLayerUploadCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
36
|
constructor(input: InitiateLayerUploadCommandInput);
|
|
35
37
|
/**
|
|
36
38
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -25,6 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
27
28
|
readonly input: ListTagsForResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListTagsForResourceCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -32,6 +33,7 @@ export interface PutImageCommandOutput extends PutImageResponse, __MetadataBeare
|
|
|
32
33
|
*/
|
|
33
34
|
export declare class PutImageCommand extends $Command<PutImageCommandInput, PutImageCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
34
35
|
readonly input: PutImageCommandInput;
|
|
36
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
37
|
constructor(input: PutImageCommandInput);
|
|
36
38
|
/**
|
|
37
39
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -25,6 +26,7 @@ export interface PutRegistryCatalogDataCommandOutput extends PutRegistryCatalogD
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class PutRegistryCatalogDataCommand extends $Command<PutRegistryCatalogDataCommandInput, PutRegistryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
27
28
|
readonly input: PutRegistryCatalogDataCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: PutRegistryCatalogDataCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -25,6 +26,7 @@ export interface PutRepositoryCatalogDataCommandOutput extends PutRepositoryCata
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class PutRepositoryCatalogDataCommand extends $Command<PutRepositoryCatalogDataCommandInput, PutRepositoryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
27
28
|
readonly input: PutRepositoryCatalogDataCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: PutRepositoryCatalogDataCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -27,6 +28,7 @@ export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyRes
|
|
|
27
28
|
*/
|
|
28
29
|
export declare class SetRepositoryPolicyCommand extends $Command<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
29
30
|
readonly input: SetRepositoryPolicyCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
32
|
constructor(input: SetRepositoryPolicyCommandInput);
|
|
31
33
|
/**
|
|
32
34
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -28,6 +29,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
28
29
|
*/
|
|
29
30
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
30
31
|
readonly input: TagResourceCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
33
|
constructor(input: TagResourceCommandInput);
|
|
32
34
|
/**
|
|
33
35
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -25,6 +26,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
27
28
|
readonly input: UntagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: UntagResourceCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
|
|
@@ -31,6 +32,7 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
|
|
|
31
32
|
*/
|
|
32
33
|
export declare class UploadLayerPartCommand extends $Command<UploadLayerPartCommandInput, UploadLayerPartCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
33
34
|
readonly input: UploadLayerPartCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
36
|
constructor(input: UploadLayerPartCommandInput);
|
|
35
37
|
/**
|
|
36
38
|
* @internal
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
|
|
2
|
+
export interface ClientInputEndpointParameters {
|
|
3
|
+
region?: string | Provider<string>;
|
|
4
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
endpoint?: string | Provider<string>;
|
|
7
|
+
}
|
|
8
|
+
export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
|
+
defaultSigningName: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
+
Region?: string;
|
|
16
|
+
UseDualStack?: boolean;
|
|
17
|
+
UseFIPS?: boolean;
|
|
18
|
+
Endpoint?: string;
|
|
19
|
+
}
|
|
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: ECRPUBLICClientConfig) => {
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
31
33
|
tls?: boolean | undefined;
|
|
32
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: ECRPUBLICClientConfig) => {
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
31
33
|
tls?: boolean | undefined;
|
|
32
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: ECRPUBLICClientConfig) => {
|
|
|
23
23
|
serviceId: string;
|
|
24
24
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
26
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
27
|
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint
|
|
28
|
+
endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
|
|
29
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
30
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
30
32
|
tls?: boolean | undefined;
|
|
31
33
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
32
34
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -6,8 +6,10 @@ import { ECRPUBLICClientConfig } from "./ECRPUBLICClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: ECRPUBLICClientConfig) => {
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
disableHostPrefix: boolean;
|
|
9
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
10
|
+
logger?: __Logger | undefined;
|
|
11
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
9
12
|
logger: __Logger;
|
|
10
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
11
13
|
serviceId: string;
|
|
12
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
13
15
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
2
|
RegionInputConfig,
|
|
5
3
|
RegionResolvedConfig,
|
|
6
4
|
} from "@aws-sdk/config-resolver";
|
|
5
|
+
import {
|
|
6
|
+
EndpointInputConfig,
|
|
7
|
+
EndpointResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-endpoint";
|
|
7
9
|
import {
|
|
8
10
|
HostHeaderInputConfig,
|
|
9
11
|
HostHeaderResolvedConfig,
|
|
@@ -37,7 +39,6 @@ import {
|
|
|
37
39
|
Logger as __Logger,
|
|
38
40
|
Provider as __Provider,
|
|
39
41
|
Provider,
|
|
40
|
-
RegionInfoProvider,
|
|
41
42
|
StreamCollector as __StreamCollector,
|
|
42
43
|
UrlParser as __UrlParser,
|
|
43
44
|
UserAgent as __UserAgent,
|
|
@@ -134,6 +135,11 @@ import {
|
|
|
134
135
|
UploadLayerPartCommandInput,
|
|
135
136
|
UploadLayerPartCommandOutput,
|
|
136
137
|
} from "./commands/UploadLayerPartCommand";
|
|
138
|
+
import {
|
|
139
|
+
ClientInputEndpointParameters,
|
|
140
|
+
ClientResolvedEndpointParameters,
|
|
141
|
+
EndpointParameters,
|
|
142
|
+
} from "./endpoint/EndpointParameters";
|
|
137
143
|
export declare type ServiceInputTypes =
|
|
138
144
|
| BatchCheckLayerAvailabilityCommandInput
|
|
139
145
|
| BatchDeleteImageCommandInput
|
|
@@ -203,7 +209,6 @@ export interface ClientDefaults
|
|
|
203
209
|
serviceId?: string;
|
|
204
210
|
region?: string | __Provider<string>;
|
|
205
211
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
206
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
207
212
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
208
213
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
209
214
|
}
|
|
@@ -212,21 +217,23 @@ declare type ECRPUBLICClientConfigType = Partial<
|
|
|
212
217
|
> &
|
|
213
218
|
ClientDefaults &
|
|
214
219
|
RegionInputConfig &
|
|
215
|
-
|
|
220
|
+
EndpointInputConfig<EndpointParameters> &
|
|
216
221
|
RetryInputConfig &
|
|
217
222
|
HostHeaderInputConfig &
|
|
218
223
|
AwsAuthInputConfig &
|
|
219
|
-
UserAgentInputConfig
|
|
224
|
+
UserAgentInputConfig &
|
|
225
|
+
ClientInputEndpointParameters;
|
|
220
226
|
export interface ECRPUBLICClientConfig extends ECRPUBLICClientConfigType {}
|
|
221
227
|
declare type ECRPUBLICClientResolvedConfigType =
|
|
222
228
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
223
229
|
Required<ClientDefaults> &
|
|
224
230
|
RegionResolvedConfig &
|
|
225
|
-
|
|
231
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
226
232
|
RetryResolvedConfig &
|
|
227
233
|
HostHeaderResolvedConfig &
|
|
228
234
|
AwsAuthResolvedConfig &
|
|
229
|
-
UserAgentResolvedConfig
|
|
235
|
+
UserAgentResolvedConfig &
|
|
236
|
+
ClientResolvedEndpointParameters;
|
|
230
237
|
export interface ECRPUBLICClientResolvedConfig
|
|
231
238
|
extends ECRPUBLICClientResolvedConfigType {}
|
|
232
239
|
export declare class ECRPUBLICClient extends __Client<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class BatchCheckLayerAvailabilityCommand extends $Command<
|
|
|
25
26
|
ECRPUBLICClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: BatchCheckLayerAvailabilityCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: BatchCheckLayerAvailabilityCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class BatchDeleteImageCommand extends $Command<
|
|
|
24
25
|
ECRPUBLICClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: BatchDeleteImageCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: BatchDeleteImageCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class CompleteLayerUploadCommand extends $Command<
|
|
|
25
26
|
ECRPUBLICClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: CompleteLayerUploadCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CompleteLayerUploadCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class CreateRepositoryCommand extends $Command<
|
|
|
24
25
|
ECRPUBLICClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: CreateRepositoryCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: CreateRepositoryCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class DeleteRepositoryCommand extends $Command<
|
|
|
24
25
|
ECRPUBLICClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: DeleteRepositoryCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: DeleteRepositoryCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|