@aws-sdk/client-ecr-public 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/ECRPUBLIC.js +0 -10
- package/dist-cjs/ECRPUBLICClient.js +0 -15
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +0 -31
- package/dist-cjs/commands/BatchDeleteImageCommand.js +0 -30
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +0 -32
- package/dist-cjs/commands/CreateRepositoryCommand.js +0 -26
- package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -27
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +0 -25
- package/dist-cjs/commands/DescribeImageTagsCommand.js +0 -25
- package/dist-cjs/commands/DescribeImagesCommand.js +0 -31
- package/dist-cjs/commands/DescribeRegistriesCommand.js +0 -25
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +0 -25
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -29
- package/dist-cjs/commands/GetRegistryCatalogDataCommand.js +0 -25
- package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js +0 -26
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +0 -25
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +0 -31
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutImageCommand.js +0 -32
- package/dist-cjs/commands/PutRegistryCatalogDataCommand.js +0 -25
- package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js +0 -25
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js +0 -27
- package/dist-cjs/commands/TagResourceCommand.js +0 -28
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UploadLayerPartCommand.js +0 -31
- package/dist-cjs/commands/index.js +26 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -31
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -256
- package/dist-cjs/pagination/DescribeImageTagsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeImagesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeRegistriesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/ECRPUBLIC.js +0 -1
- package/dist-es/ECRPUBLICClient.js +0 -1
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +0 -1
- package/dist-es/commands/BatchDeleteImageCommand.js +0 -1
- package/dist-es/commands/CompleteLayerUploadCommand.js +0 -1
- package/dist-es/commands/CreateRepositoryCommand.js +0 -1
- package/dist-es/commands/DeleteRepositoryCommand.js +0 -1
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeImageTagsCommand.js +0 -1
- package/dist-es/commands/DescribeImagesCommand.js +0 -1
- package/dist-es/commands/DescribeRegistriesCommand.js +0 -1
- package/dist-es/commands/DescribeRepositoriesCommand.js +0 -1
- package/dist-es/commands/GetAuthorizationTokenCommand.js +0 -1
- package/dist-es/commands/GetRegistryCatalogDataCommand.js +0 -1
- package/dist-es/commands/GetRepositoryCatalogDataCommand.js +0 -1
- package/dist-es/commands/GetRepositoryPolicyCommand.js +0 -1
- package/dist-es/commands/InitiateLayerUploadCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutImageCommand.js +0 -1
- package/dist-es/commands/PutRegistryCatalogDataCommand.js +0 -1
- package/dist-es/commands/PutRepositoryCatalogDataCommand.js +0 -1
- package/dist-es/commands/SetRepositoryPolicyCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UploadLayerPartCommand.js +0 -1
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -31
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeImageTagsPaginator.js +0 -1
- package/dist-es/pagination/DescribeImagesPaginator.js +0 -1
- package/dist-es/pagination/DescribeRegistriesPaginator.js +0 -1
- package/dist-es/pagination/DescribeRepositoriesPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/index.d.ts +4 -30
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/ECRPUBLIC.d.ts +24 -134
- package/dist-types/ts3.4/ECRPUBLICClient.d.ts +24 -95
- package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImageTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeRegistriesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetRegistryCatalogDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRepositoryCatalogDataCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutImageCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/PutRegistryCatalogDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutRepositoryCatalogDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/index.d.ts +4 -30
- package/dist-types/ts3.4/models/models_0.d.ts +298 -1145
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/ECRPUBLIC.js.map +0 -1
- package/dist-cjs/ECRPUBLICClient.js.map +0 -1
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
- package/dist-cjs/commands/BatchDeleteImageCommand.js.map +0 -1
- package/dist-cjs/commands/CompleteLayerUploadCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRepositoryCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRepositoryCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeImageTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeImagesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRegistriesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRepositoriesCommand.js.map +0 -1
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js.map +0 -1
- package/dist-cjs/commands/GetRegistryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/InitiateLayerUploadCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutImageCommand.js.map +0 -1
- package/dist-cjs/commands/PutRegistryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UploadLayerPartCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeImageTagsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeImagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeRegistriesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeRepositoriesPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/ECRPUBLIC.js.map +0 -1
- package/dist-es/ECRPUBLICClient.js.map +0 -1
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
- package/dist-es/commands/BatchDeleteImageCommand.js.map +0 -1
- package/dist-es/commands/CompleteLayerUploadCommand.js.map +0 -1
- package/dist-es/commands/CreateRepositoryCommand.js.map +0 -1
- package/dist-es/commands/DeleteRepositoryCommand.js.map +0 -1
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeImageTagsCommand.js.map +0 -1
- package/dist-es/commands/DescribeImagesCommand.js.map +0 -1
- package/dist-es/commands/DescribeRegistriesCommand.js.map +0 -1
- package/dist-es/commands/DescribeRepositoriesCommand.js.map +0 -1
- package/dist-es/commands/GetAuthorizationTokenCommand.js.map +0 -1
- package/dist-es/commands/GetRegistryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/GetRepositoryPolicyCommand.js.map +0 -1
- package/dist-es/commands/InitiateLayerUploadCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutImageCommand.js.map +0 -1
- package/dist-es/commands/PutRegistryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/SetRepositoryPolicyCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UploadLayerPartCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeImageTagsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeImagesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeRegistriesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeRepositoriesPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/ECRPUBLIC.ts +0 -901
- package/src/ECRPUBLICClient.ts +0 -350
- package/src/commands/BatchCheckLayerAvailabilityCommand.ts +0 -106
- package/src/commands/BatchDeleteImageCommand.ts +0 -100
- package/src/commands/CompleteLayerUploadCommand.ts +0 -102
- package/src/commands/CreateRepositoryCommand.ts +0 -96
- package/src/commands/DeleteRepositoryCommand.ts +0 -97
- package/src/commands/DeleteRepositoryPolicyCommand.ts +0 -95
- package/src/commands/DescribeImageTagsCommand.ts +0 -95
- package/src/commands/DescribeImagesCommand.ts +0 -101
- package/src/commands/DescribeRegistriesCommand.ts +0 -95
- package/src/commands/DescribeRepositoriesCommand.ts +0 -95
- package/src/commands/GetAuthorizationTokenCommand.ts +0 -99
- package/src/commands/GetRegistryCatalogDataCommand.ts +0 -95
- package/src/commands/GetRepositoryCatalogDataCommand.ts +0 -96
- package/src/commands/GetRepositoryPolicyCommand.ts +0 -95
- package/src/commands/InitiateLayerUploadCommand.ts +0 -101
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutImageCommand.ts +0 -99
- package/src/commands/PutRegistryCatalogDataCommand.ts +0 -95
- package/src/commands/PutRepositoryCatalogDataCommand.ts +0 -95
- package/src/commands/SetRepositoryPolicyCommand.ts +0 -97
- package/src/commands/TagResourceCommand.ts +0 -98
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UploadLayerPartCommand.ts +0 -101
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -31
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2292
- package/src/pagination/DescribeImageTagsPaginator.ts +0 -59
- package/src/pagination/DescribeImagesPaginator.ts +0 -59
- package/src/pagination/DescribeRegistriesPaginator.ts +0 -59
- package/src/pagination/DescribeRepositoriesPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_json1_1.ts +0 -3913
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/ECRPUBLIC.ts
DELETED
|
@@ -1,901 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
BatchCheckLayerAvailabilityCommand,
|
|
5
|
-
BatchCheckLayerAvailabilityCommandInput,
|
|
6
|
-
BatchCheckLayerAvailabilityCommandOutput,
|
|
7
|
-
} from "./commands/BatchCheckLayerAvailabilityCommand";
|
|
8
|
-
import {
|
|
9
|
-
BatchDeleteImageCommand,
|
|
10
|
-
BatchDeleteImageCommandInput,
|
|
11
|
-
BatchDeleteImageCommandOutput,
|
|
12
|
-
} from "./commands/BatchDeleteImageCommand";
|
|
13
|
-
import {
|
|
14
|
-
CompleteLayerUploadCommand,
|
|
15
|
-
CompleteLayerUploadCommandInput,
|
|
16
|
-
CompleteLayerUploadCommandOutput,
|
|
17
|
-
} from "./commands/CompleteLayerUploadCommand";
|
|
18
|
-
import {
|
|
19
|
-
CreateRepositoryCommand,
|
|
20
|
-
CreateRepositoryCommandInput,
|
|
21
|
-
CreateRepositoryCommandOutput,
|
|
22
|
-
} from "./commands/CreateRepositoryCommand";
|
|
23
|
-
import {
|
|
24
|
-
DeleteRepositoryCommand,
|
|
25
|
-
DeleteRepositoryCommandInput,
|
|
26
|
-
DeleteRepositoryCommandOutput,
|
|
27
|
-
} from "./commands/DeleteRepositoryCommand";
|
|
28
|
-
import {
|
|
29
|
-
DeleteRepositoryPolicyCommand,
|
|
30
|
-
DeleteRepositoryPolicyCommandInput,
|
|
31
|
-
DeleteRepositoryPolicyCommandOutput,
|
|
32
|
-
} from "./commands/DeleteRepositoryPolicyCommand";
|
|
33
|
-
import {
|
|
34
|
-
DescribeImagesCommand,
|
|
35
|
-
DescribeImagesCommandInput,
|
|
36
|
-
DescribeImagesCommandOutput,
|
|
37
|
-
} from "./commands/DescribeImagesCommand";
|
|
38
|
-
import {
|
|
39
|
-
DescribeImageTagsCommand,
|
|
40
|
-
DescribeImageTagsCommandInput,
|
|
41
|
-
DescribeImageTagsCommandOutput,
|
|
42
|
-
} from "./commands/DescribeImageTagsCommand";
|
|
43
|
-
import {
|
|
44
|
-
DescribeRegistriesCommand,
|
|
45
|
-
DescribeRegistriesCommandInput,
|
|
46
|
-
DescribeRegistriesCommandOutput,
|
|
47
|
-
} from "./commands/DescribeRegistriesCommand";
|
|
48
|
-
import {
|
|
49
|
-
DescribeRepositoriesCommand,
|
|
50
|
-
DescribeRepositoriesCommandInput,
|
|
51
|
-
DescribeRepositoriesCommandOutput,
|
|
52
|
-
} from "./commands/DescribeRepositoriesCommand";
|
|
53
|
-
import {
|
|
54
|
-
GetAuthorizationTokenCommand,
|
|
55
|
-
GetAuthorizationTokenCommandInput,
|
|
56
|
-
GetAuthorizationTokenCommandOutput,
|
|
57
|
-
} from "./commands/GetAuthorizationTokenCommand";
|
|
58
|
-
import {
|
|
59
|
-
GetRegistryCatalogDataCommand,
|
|
60
|
-
GetRegistryCatalogDataCommandInput,
|
|
61
|
-
GetRegistryCatalogDataCommandOutput,
|
|
62
|
-
} from "./commands/GetRegistryCatalogDataCommand";
|
|
63
|
-
import {
|
|
64
|
-
GetRepositoryCatalogDataCommand,
|
|
65
|
-
GetRepositoryCatalogDataCommandInput,
|
|
66
|
-
GetRepositoryCatalogDataCommandOutput,
|
|
67
|
-
} from "./commands/GetRepositoryCatalogDataCommand";
|
|
68
|
-
import {
|
|
69
|
-
GetRepositoryPolicyCommand,
|
|
70
|
-
GetRepositoryPolicyCommandInput,
|
|
71
|
-
GetRepositoryPolicyCommandOutput,
|
|
72
|
-
} from "./commands/GetRepositoryPolicyCommand";
|
|
73
|
-
import {
|
|
74
|
-
InitiateLayerUploadCommand,
|
|
75
|
-
InitiateLayerUploadCommandInput,
|
|
76
|
-
InitiateLayerUploadCommandOutput,
|
|
77
|
-
} from "./commands/InitiateLayerUploadCommand";
|
|
78
|
-
import {
|
|
79
|
-
ListTagsForResourceCommand,
|
|
80
|
-
ListTagsForResourceCommandInput,
|
|
81
|
-
ListTagsForResourceCommandOutput,
|
|
82
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
83
|
-
import { PutImageCommand, PutImageCommandInput, PutImageCommandOutput } from "./commands/PutImageCommand";
|
|
84
|
-
import {
|
|
85
|
-
PutRegistryCatalogDataCommand,
|
|
86
|
-
PutRegistryCatalogDataCommandInput,
|
|
87
|
-
PutRegistryCatalogDataCommandOutput,
|
|
88
|
-
} from "./commands/PutRegistryCatalogDataCommand";
|
|
89
|
-
import {
|
|
90
|
-
PutRepositoryCatalogDataCommand,
|
|
91
|
-
PutRepositoryCatalogDataCommandInput,
|
|
92
|
-
PutRepositoryCatalogDataCommandOutput,
|
|
93
|
-
} from "./commands/PutRepositoryCatalogDataCommand";
|
|
94
|
-
import {
|
|
95
|
-
SetRepositoryPolicyCommand,
|
|
96
|
-
SetRepositoryPolicyCommandInput,
|
|
97
|
-
SetRepositoryPolicyCommandOutput,
|
|
98
|
-
} from "./commands/SetRepositoryPolicyCommand";
|
|
99
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
100
|
-
import {
|
|
101
|
-
UntagResourceCommand,
|
|
102
|
-
UntagResourceCommandInput,
|
|
103
|
-
UntagResourceCommandOutput,
|
|
104
|
-
} from "./commands/UntagResourceCommand";
|
|
105
|
-
import {
|
|
106
|
-
UploadLayerPartCommand,
|
|
107
|
-
UploadLayerPartCommandInput,
|
|
108
|
-
UploadLayerPartCommandOutput,
|
|
109
|
-
} from "./commands/UploadLayerPartCommand";
|
|
110
|
-
import { ECRPUBLICClient } from "./ECRPUBLICClient";
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* <fullname>Amazon Elastic Container Registry Public</fullname>
|
|
114
|
-
* <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Amazon ECR provides both
|
|
115
|
-
* public and private registries to host your container images. You can use the familiar
|
|
116
|
-
* Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR provides a
|
|
117
|
-
* secure, scalable, and reliable registry for your Docker or Open Container Initiative (OCI)
|
|
118
|
-
* images. Amazon ECR supports public repositories with this API. For information about the Amazon ECR
|
|
119
|
-
* API for private repositories, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/APIReference/Welcome.html">Amazon Elastic Container Registry API Reference</a>.</p>
|
|
120
|
-
*/
|
|
121
|
-
export class ECRPUBLIC extends ECRPUBLICClient {
|
|
122
|
-
/**
|
|
123
|
-
* <p>Checks the availability of one or more image layers within a repository in a public
|
|
124
|
-
* registry. When an image is pushed to a repository, each image layer is checked to verify if
|
|
125
|
-
* it has been uploaded before. If it has been uploaded, then the image layer is
|
|
126
|
-
* skipped.</p>
|
|
127
|
-
* <note>
|
|
128
|
-
* <p>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 <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
129
|
-
* </note>
|
|
130
|
-
*/
|
|
131
|
-
public batchCheckLayerAvailability(
|
|
132
|
-
args: BatchCheckLayerAvailabilityCommandInput,
|
|
133
|
-
options?: __HttpHandlerOptions
|
|
134
|
-
): Promise<BatchCheckLayerAvailabilityCommandOutput>;
|
|
135
|
-
public batchCheckLayerAvailability(
|
|
136
|
-
args: BatchCheckLayerAvailabilityCommandInput,
|
|
137
|
-
cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void
|
|
138
|
-
): void;
|
|
139
|
-
public batchCheckLayerAvailability(
|
|
140
|
-
args: BatchCheckLayerAvailabilityCommandInput,
|
|
141
|
-
options: __HttpHandlerOptions,
|
|
142
|
-
cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void
|
|
143
|
-
): void;
|
|
144
|
-
public batchCheckLayerAvailability(
|
|
145
|
-
args: BatchCheckLayerAvailabilityCommandInput,
|
|
146
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void),
|
|
147
|
-
cb?: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void
|
|
148
|
-
): Promise<BatchCheckLayerAvailabilityCommandOutput> | void {
|
|
149
|
-
const command = new BatchCheckLayerAvailabilityCommand(args);
|
|
150
|
-
if (typeof optionsOrCb === "function") {
|
|
151
|
-
this.send(command, optionsOrCb);
|
|
152
|
-
} else if (typeof cb === "function") {
|
|
153
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
154
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
155
|
-
} else {
|
|
156
|
-
return this.send(command, optionsOrCb);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* <p>Deletes a list of specified images within a repository in a public registry. Images are
|
|
162
|
-
* specified with either an <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
163
|
-
* <p>You can remove a tag from an image by specifying the image's tag in your request. When
|
|
164
|
-
* you remove the last tag from an image, the image is deleted from your repository.</p>
|
|
165
|
-
* <p>You can completely delete an image (and all of its tags) by specifying the image's
|
|
166
|
-
* digest in your request.</p>
|
|
167
|
-
*/
|
|
168
|
-
public batchDeleteImage(
|
|
169
|
-
args: BatchDeleteImageCommandInput,
|
|
170
|
-
options?: __HttpHandlerOptions
|
|
171
|
-
): Promise<BatchDeleteImageCommandOutput>;
|
|
172
|
-
public batchDeleteImage(
|
|
173
|
-
args: BatchDeleteImageCommandInput,
|
|
174
|
-
cb: (err: any, data?: BatchDeleteImageCommandOutput) => void
|
|
175
|
-
): void;
|
|
176
|
-
public batchDeleteImage(
|
|
177
|
-
args: BatchDeleteImageCommandInput,
|
|
178
|
-
options: __HttpHandlerOptions,
|
|
179
|
-
cb: (err: any, data?: BatchDeleteImageCommandOutput) => void
|
|
180
|
-
): void;
|
|
181
|
-
public batchDeleteImage(
|
|
182
|
-
args: BatchDeleteImageCommandInput,
|
|
183
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDeleteImageCommandOutput) => void),
|
|
184
|
-
cb?: (err: any, data?: BatchDeleteImageCommandOutput) => void
|
|
185
|
-
): Promise<BatchDeleteImageCommandOutput> | void {
|
|
186
|
-
const command = new BatchDeleteImageCommand(args);
|
|
187
|
-
if (typeof optionsOrCb === "function") {
|
|
188
|
-
this.send(command, optionsOrCb);
|
|
189
|
-
} else if (typeof cb === "function") {
|
|
190
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
191
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
192
|
-
} else {
|
|
193
|
-
return this.send(command, optionsOrCb);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* <p>Informs Amazon ECR that the image layer upload has completed for a specified public registry,
|
|
199
|
-
* repository name, and upload ID. You can optionally provide a <code>sha256</code> digest of
|
|
200
|
-
* the image layer for data validation purposes.</p>
|
|
201
|
-
* <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
|
|
202
|
-
* layer to verify that the upload has completed.</p>
|
|
203
|
-
* <note>
|
|
204
|
-
* <p>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 <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
205
|
-
* </note>
|
|
206
|
-
*/
|
|
207
|
-
public completeLayerUpload(
|
|
208
|
-
args: CompleteLayerUploadCommandInput,
|
|
209
|
-
options?: __HttpHandlerOptions
|
|
210
|
-
): Promise<CompleteLayerUploadCommandOutput>;
|
|
211
|
-
public completeLayerUpload(
|
|
212
|
-
args: CompleteLayerUploadCommandInput,
|
|
213
|
-
cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void
|
|
214
|
-
): void;
|
|
215
|
-
public completeLayerUpload(
|
|
216
|
-
args: CompleteLayerUploadCommandInput,
|
|
217
|
-
options: __HttpHandlerOptions,
|
|
218
|
-
cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void
|
|
219
|
-
): void;
|
|
220
|
-
public completeLayerUpload(
|
|
221
|
-
args: CompleteLayerUploadCommandInput,
|
|
222
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CompleteLayerUploadCommandOutput) => void),
|
|
223
|
-
cb?: (err: any, data?: CompleteLayerUploadCommandOutput) => void
|
|
224
|
-
): Promise<CompleteLayerUploadCommandOutput> | void {
|
|
225
|
-
const command = new CompleteLayerUploadCommand(args);
|
|
226
|
-
if (typeof optionsOrCb === "function") {
|
|
227
|
-
this.send(command, optionsOrCb);
|
|
228
|
-
} else if (typeof cb === "function") {
|
|
229
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
230
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
231
|
-
} else {
|
|
232
|
-
return this.send(command, optionsOrCb);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* <p>Creates a repository in a public registry. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR
|
|
238
|
-
* repositories</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
239
|
-
*/
|
|
240
|
-
public createRepository(
|
|
241
|
-
args: CreateRepositoryCommandInput,
|
|
242
|
-
options?: __HttpHandlerOptions
|
|
243
|
-
): Promise<CreateRepositoryCommandOutput>;
|
|
244
|
-
public createRepository(
|
|
245
|
-
args: CreateRepositoryCommandInput,
|
|
246
|
-
cb: (err: any, data?: CreateRepositoryCommandOutput) => void
|
|
247
|
-
): void;
|
|
248
|
-
public createRepository(
|
|
249
|
-
args: CreateRepositoryCommandInput,
|
|
250
|
-
options: __HttpHandlerOptions,
|
|
251
|
-
cb: (err: any, data?: CreateRepositoryCommandOutput) => void
|
|
252
|
-
): void;
|
|
253
|
-
public createRepository(
|
|
254
|
-
args: CreateRepositoryCommandInput,
|
|
255
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRepositoryCommandOutput) => void),
|
|
256
|
-
cb?: (err: any, data?: CreateRepositoryCommandOutput) => void
|
|
257
|
-
): Promise<CreateRepositoryCommandOutput> | void {
|
|
258
|
-
const command = new CreateRepositoryCommand(args);
|
|
259
|
-
if (typeof optionsOrCb === "function") {
|
|
260
|
-
this.send(command, optionsOrCb);
|
|
261
|
-
} else if (typeof cb === "function") {
|
|
262
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
263
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
-
} else {
|
|
265
|
-
return this.send(command, optionsOrCb);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* <p>Deletes a repository in a public registry. If the repository contains images, you must
|
|
271
|
-
* either delete all images in the repository or use the <code>force</code> option which
|
|
272
|
-
* deletes all images on your behalf before deleting the repository.</p>
|
|
273
|
-
*/
|
|
274
|
-
public deleteRepository(
|
|
275
|
-
args: DeleteRepositoryCommandInput,
|
|
276
|
-
options?: __HttpHandlerOptions
|
|
277
|
-
): Promise<DeleteRepositoryCommandOutput>;
|
|
278
|
-
public deleteRepository(
|
|
279
|
-
args: DeleteRepositoryCommandInput,
|
|
280
|
-
cb: (err: any, data?: DeleteRepositoryCommandOutput) => void
|
|
281
|
-
): void;
|
|
282
|
-
public deleteRepository(
|
|
283
|
-
args: DeleteRepositoryCommandInput,
|
|
284
|
-
options: __HttpHandlerOptions,
|
|
285
|
-
cb: (err: any, data?: DeleteRepositoryCommandOutput) => void
|
|
286
|
-
): void;
|
|
287
|
-
public deleteRepository(
|
|
288
|
-
args: DeleteRepositoryCommandInput,
|
|
289
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRepositoryCommandOutput) => void),
|
|
290
|
-
cb?: (err: any, data?: DeleteRepositoryCommandOutput) => void
|
|
291
|
-
): Promise<DeleteRepositoryCommandOutput> | void {
|
|
292
|
-
const command = new DeleteRepositoryCommand(args);
|
|
293
|
-
if (typeof optionsOrCb === "function") {
|
|
294
|
-
this.send(command, optionsOrCb);
|
|
295
|
-
} else if (typeof cb === "function") {
|
|
296
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
297
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
298
|
-
} else {
|
|
299
|
-
return this.send(command, optionsOrCb);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* <p>Deletes the repository policy associated with the specified repository.</p>
|
|
305
|
-
*/
|
|
306
|
-
public deleteRepositoryPolicy(
|
|
307
|
-
args: DeleteRepositoryPolicyCommandInput,
|
|
308
|
-
options?: __HttpHandlerOptions
|
|
309
|
-
): Promise<DeleteRepositoryPolicyCommandOutput>;
|
|
310
|
-
public deleteRepositoryPolicy(
|
|
311
|
-
args: DeleteRepositoryPolicyCommandInput,
|
|
312
|
-
cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void
|
|
313
|
-
): void;
|
|
314
|
-
public deleteRepositoryPolicy(
|
|
315
|
-
args: DeleteRepositoryPolicyCommandInput,
|
|
316
|
-
options: __HttpHandlerOptions,
|
|
317
|
-
cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void
|
|
318
|
-
): void;
|
|
319
|
-
public deleteRepositoryPolicy(
|
|
320
|
-
args: DeleteRepositoryPolicyCommandInput,
|
|
321
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRepositoryPolicyCommandOutput) => void),
|
|
322
|
-
cb?: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void
|
|
323
|
-
): Promise<DeleteRepositoryPolicyCommandOutput> | void {
|
|
324
|
-
const command = new DeleteRepositoryPolicyCommand(args);
|
|
325
|
-
if (typeof optionsOrCb === "function") {
|
|
326
|
-
this.send(command, optionsOrCb);
|
|
327
|
-
} else if (typeof cb === "function") {
|
|
328
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
329
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
330
|
-
} else {
|
|
331
|
-
return this.send(command, optionsOrCb);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* <p>Returns metadata about the images in a repository in a public registry.</p>
|
|
337
|
-
* <note>
|
|
338
|
-
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers before
|
|
339
|
-
* pushing them to a V2 Docker registry. The output of the <code>docker images</code>
|
|
340
|
-
* command shows the uncompressed image size, so it may return a larger image size than the
|
|
341
|
-
* image sizes returned by <a>DescribeImages</a>.</p>
|
|
342
|
-
* </note>
|
|
343
|
-
*/
|
|
344
|
-
public describeImages(
|
|
345
|
-
args: DescribeImagesCommandInput,
|
|
346
|
-
options?: __HttpHandlerOptions
|
|
347
|
-
): Promise<DescribeImagesCommandOutput>;
|
|
348
|
-
public describeImages(
|
|
349
|
-
args: DescribeImagesCommandInput,
|
|
350
|
-
cb: (err: any, data?: DescribeImagesCommandOutput) => void
|
|
351
|
-
): void;
|
|
352
|
-
public describeImages(
|
|
353
|
-
args: DescribeImagesCommandInput,
|
|
354
|
-
options: __HttpHandlerOptions,
|
|
355
|
-
cb: (err: any, data?: DescribeImagesCommandOutput) => void
|
|
356
|
-
): void;
|
|
357
|
-
public describeImages(
|
|
358
|
-
args: DescribeImagesCommandInput,
|
|
359
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeImagesCommandOutput) => void),
|
|
360
|
-
cb?: (err: any, data?: DescribeImagesCommandOutput) => void
|
|
361
|
-
): Promise<DescribeImagesCommandOutput> | void {
|
|
362
|
-
const command = new DescribeImagesCommand(args);
|
|
363
|
-
if (typeof optionsOrCb === "function") {
|
|
364
|
-
this.send(command, optionsOrCb);
|
|
365
|
-
} else if (typeof cb === "function") {
|
|
366
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
367
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
368
|
-
} else {
|
|
369
|
-
return this.send(command, optionsOrCb);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* <p>Returns the image tag details for a repository in a public registry.</p>
|
|
375
|
-
*/
|
|
376
|
-
public describeImageTags(
|
|
377
|
-
args: DescribeImageTagsCommandInput,
|
|
378
|
-
options?: __HttpHandlerOptions
|
|
379
|
-
): Promise<DescribeImageTagsCommandOutput>;
|
|
380
|
-
public describeImageTags(
|
|
381
|
-
args: DescribeImageTagsCommandInput,
|
|
382
|
-
cb: (err: any, data?: DescribeImageTagsCommandOutput) => void
|
|
383
|
-
): void;
|
|
384
|
-
public describeImageTags(
|
|
385
|
-
args: DescribeImageTagsCommandInput,
|
|
386
|
-
options: __HttpHandlerOptions,
|
|
387
|
-
cb: (err: any, data?: DescribeImageTagsCommandOutput) => void
|
|
388
|
-
): void;
|
|
389
|
-
public describeImageTags(
|
|
390
|
-
args: DescribeImageTagsCommandInput,
|
|
391
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeImageTagsCommandOutput) => void),
|
|
392
|
-
cb?: (err: any, data?: DescribeImageTagsCommandOutput) => void
|
|
393
|
-
): Promise<DescribeImageTagsCommandOutput> | void {
|
|
394
|
-
const command = new DescribeImageTagsCommand(args);
|
|
395
|
-
if (typeof optionsOrCb === "function") {
|
|
396
|
-
this.send(command, optionsOrCb);
|
|
397
|
-
} else if (typeof cb === "function") {
|
|
398
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
399
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
400
|
-
} else {
|
|
401
|
-
return this.send(command, optionsOrCb);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* <p>Returns details for a public registry.</p>
|
|
407
|
-
*/
|
|
408
|
-
public describeRegistries(
|
|
409
|
-
args: DescribeRegistriesCommandInput,
|
|
410
|
-
options?: __HttpHandlerOptions
|
|
411
|
-
): Promise<DescribeRegistriesCommandOutput>;
|
|
412
|
-
public describeRegistries(
|
|
413
|
-
args: DescribeRegistriesCommandInput,
|
|
414
|
-
cb: (err: any, data?: DescribeRegistriesCommandOutput) => void
|
|
415
|
-
): void;
|
|
416
|
-
public describeRegistries(
|
|
417
|
-
args: DescribeRegistriesCommandInput,
|
|
418
|
-
options: __HttpHandlerOptions,
|
|
419
|
-
cb: (err: any, data?: DescribeRegistriesCommandOutput) => void
|
|
420
|
-
): void;
|
|
421
|
-
public describeRegistries(
|
|
422
|
-
args: DescribeRegistriesCommandInput,
|
|
423
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRegistriesCommandOutput) => void),
|
|
424
|
-
cb?: (err: any, data?: DescribeRegistriesCommandOutput) => void
|
|
425
|
-
): Promise<DescribeRegistriesCommandOutput> | void {
|
|
426
|
-
const command = new DescribeRegistriesCommand(args);
|
|
427
|
-
if (typeof optionsOrCb === "function") {
|
|
428
|
-
this.send(command, optionsOrCb);
|
|
429
|
-
} else if (typeof cb === "function") {
|
|
430
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
431
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
432
|
-
} else {
|
|
433
|
-
return this.send(command, optionsOrCb);
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* <p>Describes repositories in a public registry.</p>
|
|
439
|
-
*/
|
|
440
|
-
public describeRepositories(
|
|
441
|
-
args: DescribeRepositoriesCommandInput,
|
|
442
|
-
options?: __HttpHandlerOptions
|
|
443
|
-
): Promise<DescribeRepositoriesCommandOutput>;
|
|
444
|
-
public describeRepositories(
|
|
445
|
-
args: DescribeRepositoriesCommandInput,
|
|
446
|
-
cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void
|
|
447
|
-
): void;
|
|
448
|
-
public describeRepositories(
|
|
449
|
-
args: DescribeRepositoriesCommandInput,
|
|
450
|
-
options: __HttpHandlerOptions,
|
|
451
|
-
cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void
|
|
452
|
-
): void;
|
|
453
|
-
public describeRepositories(
|
|
454
|
-
args: DescribeRepositoriesCommandInput,
|
|
455
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRepositoriesCommandOutput) => void),
|
|
456
|
-
cb?: (err: any, data?: DescribeRepositoriesCommandOutput) => void
|
|
457
|
-
): Promise<DescribeRepositoriesCommandOutput> | void {
|
|
458
|
-
const command = new DescribeRepositoriesCommand(args);
|
|
459
|
-
if (typeof optionsOrCb === "function") {
|
|
460
|
-
this.send(command, optionsOrCb);
|
|
461
|
-
} else if (typeof cb === "function") {
|
|
462
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
463
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
464
|
-
} else {
|
|
465
|
-
return this.send(command, optionsOrCb);
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* <p>Retrieves an authorization token. An authorization token represents your IAM
|
|
471
|
-
* authentication credentials and can be used to access any Amazon ECR registry that your IAM
|
|
472
|
-
* principal has access to. The authorization token is valid for 12 hours. This API requires
|
|
473
|
-
* the <code>ecr-public:GetAuthorizationToken</code> and
|
|
474
|
-
* <code>sts:GetServiceBearerToken</code> permissions.</p>
|
|
475
|
-
*/
|
|
476
|
-
public getAuthorizationToken(
|
|
477
|
-
args: GetAuthorizationTokenCommandInput,
|
|
478
|
-
options?: __HttpHandlerOptions
|
|
479
|
-
): Promise<GetAuthorizationTokenCommandOutput>;
|
|
480
|
-
public getAuthorizationToken(
|
|
481
|
-
args: GetAuthorizationTokenCommandInput,
|
|
482
|
-
cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void
|
|
483
|
-
): void;
|
|
484
|
-
public getAuthorizationToken(
|
|
485
|
-
args: GetAuthorizationTokenCommandInput,
|
|
486
|
-
options: __HttpHandlerOptions,
|
|
487
|
-
cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void
|
|
488
|
-
): void;
|
|
489
|
-
public getAuthorizationToken(
|
|
490
|
-
args: GetAuthorizationTokenCommandInput,
|
|
491
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAuthorizationTokenCommandOutput) => void),
|
|
492
|
-
cb?: (err: any, data?: GetAuthorizationTokenCommandOutput) => void
|
|
493
|
-
): Promise<GetAuthorizationTokenCommandOutput> | void {
|
|
494
|
-
const command = new GetAuthorizationTokenCommand(args);
|
|
495
|
-
if (typeof optionsOrCb === "function") {
|
|
496
|
-
this.send(command, optionsOrCb);
|
|
497
|
-
} else if (typeof cb === "function") {
|
|
498
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
499
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
500
|
-
} else {
|
|
501
|
-
return this.send(command, optionsOrCb);
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* <p>Retrieves catalog metadata for a public registry.</p>
|
|
507
|
-
*/
|
|
508
|
-
public getRegistryCatalogData(
|
|
509
|
-
args: GetRegistryCatalogDataCommandInput,
|
|
510
|
-
options?: __HttpHandlerOptions
|
|
511
|
-
): Promise<GetRegistryCatalogDataCommandOutput>;
|
|
512
|
-
public getRegistryCatalogData(
|
|
513
|
-
args: GetRegistryCatalogDataCommandInput,
|
|
514
|
-
cb: (err: any, data?: GetRegistryCatalogDataCommandOutput) => void
|
|
515
|
-
): void;
|
|
516
|
-
public getRegistryCatalogData(
|
|
517
|
-
args: GetRegistryCatalogDataCommandInput,
|
|
518
|
-
options: __HttpHandlerOptions,
|
|
519
|
-
cb: (err: any, data?: GetRegistryCatalogDataCommandOutput) => void
|
|
520
|
-
): void;
|
|
521
|
-
public getRegistryCatalogData(
|
|
522
|
-
args: GetRegistryCatalogDataCommandInput,
|
|
523
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRegistryCatalogDataCommandOutput) => void),
|
|
524
|
-
cb?: (err: any, data?: GetRegistryCatalogDataCommandOutput) => void
|
|
525
|
-
): Promise<GetRegistryCatalogDataCommandOutput> | void {
|
|
526
|
-
const command = new GetRegistryCatalogDataCommand(args);
|
|
527
|
-
if (typeof optionsOrCb === "function") {
|
|
528
|
-
this.send(command, optionsOrCb);
|
|
529
|
-
} else if (typeof cb === "function") {
|
|
530
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
531
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
532
|
-
} else {
|
|
533
|
-
return this.send(command, optionsOrCb);
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* <p>Retrieve catalog metadata for a repository in a public registry. This metadata is
|
|
539
|
-
* displayed publicly in the Amazon ECR Public Gallery.</p>
|
|
540
|
-
*/
|
|
541
|
-
public getRepositoryCatalogData(
|
|
542
|
-
args: GetRepositoryCatalogDataCommandInput,
|
|
543
|
-
options?: __HttpHandlerOptions
|
|
544
|
-
): Promise<GetRepositoryCatalogDataCommandOutput>;
|
|
545
|
-
public getRepositoryCatalogData(
|
|
546
|
-
args: GetRepositoryCatalogDataCommandInput,
|
|
547
|
-
cb: (err: any, data?: GetRepositoryCatalogDataCommandOutput) => void
|
|
548
|
-
): void;
|
|
549
|
-
public getRepositoryCatalogData(
|
|
550
|
-
args: GetRepositoryCatalogDataCommandInput,
|
|
551
|
-
options: __HttpHandlerOptions,
|
|
552
|
-
cb: (err: any, data?: GetRepositoryCatalogDataCommandOutput) => void
|
|
553
|
-
): void;
|
|
554
|
-
public getRepositoryCatalogData(
|
|
555
|
-
args: GetRepositoryCatalogDataCommandInput,
|
|
556
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRepositoryCatalogDataCommandOutput) => void),
|
|
557
|
-
cb?: (err: any, data?: GetRepositoryCatalogDataCommandOutput) => void
|
|
558
|
-
): Promise<GetRepositoryCatalogDataCommandOutput> | void {
|
|
559
|
-
const command = new GetRepositoryCatalogDataCommand(args);
|
|
560
|
-
if (typeof optionsOrCb === "function") {
|
|
561
|
-
this.send(command, optionsOrCb);
|
|
562
|
-
} else if (typeof cb === "function") {
|
|
563
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
564
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
565
|
-
} else {
|
|
566
|
-
return this.send(command, optionsOrCb);
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
/**
|
|
571
|
-
* <p>Retrieves the repository policy for the specified repository.</p>
|
|
572
|
-
*/
|
|
573
|
-
public getRepositoryPolicy(
|
|
574
|
-
args: GetRepositoryPolicyCommandInput,
|
|
575
|
-
options?: __HttpHandlerOptions
|
|
576
|
-
): Promise<GetRepositoryPolicyCommandOutput>;
|
|
577
|
-
public getRepositoryPolicy(
|
|
578
|
-
args: GetRepositoryPolicyCommandInput,
|
|
579
|
-
cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void
|
|
580
|
-
): void;
|
|
581
|
-
public getRepositoryPolicy(
|
|
582
|
-
args: GetRepositoryPolicyCommandInput,
|
|
583
|
-
options: __HttpHandlerOptions,
|
|
584
|
-
cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void
|
|
585
|
-
): void;
|
|
586
|
-
public getRepositoryPolicy(
|
|
587
|
-
args: GetRepositoryPolicyCommandInput,
|
|
588
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRepositoryPolicyCommandOutput) => void),
|
|
589
|
-
cb?: (err: any, data?: GetRepositoryPolicyCommandOutput) => void
|
|
590
|
-
): Promise<GetRepositoryPolicyCommandOutput> | void {
|
|
591
|
-
const command = new GetRepositoryPolicyCommand(args);
|
|
592
|
-
if (typeof optionsOrCb === "function") {
|
|
593
|
-
this.send(command, optionsOrCb);
|
|
594
|
-
} else if (typeof cb === "function") {
|
|
595
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
596
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
597
|
-
} else {
|
|
598
|
-
return this.send(command, optionsOrCb);
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
/**
|
|
603
|
-
* <p>Notifies Amazon ECR that you intend to upload an image layer.</p>
|
|
604
|
-
* <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer that
|
|
605
|
-
* has not already been uploaded. Whether or not an image layer has been uploaded is
|
|
606
|
-
* determined by the BatchCheckLayerAvailability API action.</p>
|
|
607
|
-
* <note>
|
|
608
|
-
* <p>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 <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
609
|
-
* </note>
|
|
610
|
-
*/
|
|
611
|
-
public initiateLayerUpload(
|
|
612
|
-
args: InitiateLayerUploadCommandInput,
|
|
613
|
-
options?: __HttpHandlerOptions
|
|
614
|
-
): Promise<InitiateLayerUploadCommandOutput>;
|
|
615
|
-
public initiateLayerUpload(
|
|
616
|
-
args: InitiateLayerUploadCommandInput,
|
|
617
|
-
cb: (err: any, data?: InitiateLayerUploadCommandOutput) => void
|
|
618
|
-
): void;
|
|
619
|
-
public initiateLayerUpload(
|
|
620
|
-
args: InitiateLayerUploadCommandInput,
|
|
621
|
-
options: __HttpHandlerOptions,
|
|
622
|
-
cb: (err: any, data?: InitiateLayerUploadCommandOutput) => void
|
|
623
|
-
): void;
|
|
624
|
-
public initiateLayerUpload(
|
|
625
|
-
args: InitiateLayerUploadCommandInput,
|
|
626
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: InitiateLayerUploadCommandOutput) => void),
|
|
627
|
-
cb?: (err: any, data?: InitiateLayerUploadCommandOutput) => void
|
|
628
|
-
): Promise<InitiateLayerUploadCommandOutput> | void {
|
|
629
|
-
const command = new InitiateLayerUploadCommand(args);
|
|
630
|
-
if (typeof optionsOrCb === "function") {
|
|
631
|
-
this.send(command, optionsOrCb);
|
|
632
|
-
} else if (typeof cb === "function") {
|
|
633
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
634
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
635
|
-
} else {
|
|
636
|
-
return this.send(command, optionsOrCb);
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* <p>List the tags for an Amazon ECR Public resource.</p>
|
|
642
|
-
*/
|
|
643
|
-
public listTagsForResource(
|
|
644
|
-
args: ListTagsForResourceCommandInput,
|
|
645
|
-
options?: __HttpHandlerOptions
|
|
646
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
647
|
-
public listTagsForResource(
|
|
648
|
-
args: ListTagsForResourceCommandInput,
|
|
649
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
650
|
-
): void;
|
|
651
|
-
public listTagsForResource(
|
|
652
|
-
args: ListTagsForResourceCommandInput,
|
|
653
|
-
options: __HttpHandlerOptions,
|
|
654
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
655
|
-
): void;
|
|
656
|
-
public listTagsForResource(
|
|
657
|
-
args: ListTagsForResourceCommandInput,
|
|
658
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
659
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
660
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
661
|
-
const command = new ListTagsForResourceCommand(args);
|
|
662
|
-
if (typeof optionsOrCb === "function") {
|
|
663
|
-
this.send(command, optionsOrCb);
|
|
664
|
-
} else if (typeof cb === "function") {
|
|
665
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
666
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
667
|
-
} else {
|
|
668
|
-
return this.send(command, optionsOrCb);
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
/**
|
|
673
|
-
* <p>Creates or updates the image manifest and tags associated with an image.</p>
|
|
674
|
-
* <p>When an image is pushed and all new image layers have been uploaded, the PutImage API is
|
|
675
|
-
* called once to create or update the image manifest and the tags associated with the
|
|
676
|
-
* image.</p>
|
|
677
|
-
*
|
|
678
|
-
* <note>
|
|
679
|
-
* <p>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 <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
680
|
-
* </note>
|
|
681
|
-
*/
|
|
682
|
-
public putImage(args: PutImageCommandInput, options?: __HttpHandlerOptions): Promise<PutImageCommandOutput>;
|
|
683
|
-
public putImage(args: PutImageCommandInput, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
684
|
-
public putImage(
|
|
685
|
-
args: PutImageCommandInput,
|
|
686
|
-
options: __HttpHandlerOptions,
|
|
687
|
-
cb: (err: any, data?: PutImageCommandOutput) => void
|
|
688
|
-
): void;
|
|
689
|
-
public putImage(
|
|
690
|
-
args: PutImageCommandInput,
|
|
691
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutImageCommandOutput) => void),
|
|
692
|
-
cb?: (err: any, data?: PutImageCommandOutput) => void
|
|
693
|
-
): Promise<PutImageCommandOutput> | void {
|
|
694
|
-
const command = new PutImageCommand(args);
|
|
695
|
-
if (typeof optionsOrCb === "function") {
|
|
696
|
-
this.send(command, optionsOrCb);
|
|
697
|
-
} else if (typeof cb === "function") {
|
|
698
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
699
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
700
|
-
} else {
|
|
701
|
-
return this.send(command, optionsOrCb);
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
/**
|
|
706
|
-
* <p>Create or updates the catalog data for a public registry.</p>
|
|
707
|
-
*/
|
|
708
|
-
public putRegistryCatalogData(
|
|
709
|
-
args: PutRegistryCatalogDataCommandInput,
|
|
710
|
-
options?: __HttpHandlerOptions
|
|
711
|
-
): Promise<PutRegistryCatalogDataCommandOutput>;
|
|
712
|
-
public putRegistryCatalogData(
|
|
713
|
-
args: PutRegistryCatalogDataCommandInput,
|
|
714
|
-
cb: (err: any, data?: PutRegistryCatalogDataCommandOutput) => void
|
|
715
|
-
): void;
|
|
716
|
-
public putRegistryCatalogData(
|
|
717
|
-
args: PutRegistryCatalogDataCommandInput,
|
|
718
|
-
options: __HttpHandlerOptions,
|
|
719
|
-
cb: (err: any, data?: PutRegistryCatalogDataCommandOutput) => void
|
|
720
|
-
): void;
|
|
721
|
-
public putRegistryCatalogData(
|
|
722
|
-
args: PutRegistryCatalogDataCommandInput,
|
|
723
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutRegistryCatalogDataCommandOutput) => void),
|
|
724
|
-
cb?: (err: any, data?: PutRegistryCatalogDataCommandOutput) => void
|
|
725
|
-
): Promise<PutRegistryCatalogDataCommandOutput> | void {
|
|
726
|
-
const command = new PutRegistryCatalogDataCommand(args);
|
|
727
|
-
if (typeof optionsOrCb === "function") {
|
|
728
|
-
this.send(command, optionsOrCb);
|
|
729
|
-
} else if (typeof cb === "function") {
|
|
730
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
731
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
732
|
-
} else {
|
|
733
|
-
return this.send(command, optionsOrCb);
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
* <p>Creates or updates the catalog data for a repository in a public registry.</p>
|
|
739
|
-
*/
|
|
740
|
-
public putRepositoryCatalogData(
|
|
741
|
-
args: PutRepositoryCatalogDataCommandInput,
|
|
742
|
-
options?: __HttpHandlerOptions
|
|
743
|
-
): Promise<PutRepositoryCatalogDataCommandOutput>;
|
|
744
|
-
public putRepositoryCatalogData(
|
|
745
|
-
args: PutRepositoryCatalogDataCommandInput,
|
|
746
|
-
cb: (err: any, data?: PutRepositoryCatalogDataCommandOutput) => void
|
|
747
|
-
): void;
|
|
748
|
-
public putRepositoryCatalogData(
|
|
749
|
-
args: PutRepositoryCatalogDataCommandInput,
|
|
750
|
-
options: __HttpHandlerOptions,
|
|
751
|
-
cb: (err: any, data?: PutRepositoryCatalogDataCommandOutput) => void
|
|
752
|
-
): void;
|
|
753
|
-
public putRepositoryCatalogData(
|
|
754
|
-
args: PutRepositoryCatalogDataCommandInput,
|
|
755
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutRepositoryCatalogDataCommandOutput) => void),
|
|
756
|
-
cb?: (err: any, data?: PutRepositoryCatalogDataCommandOutput) => void
|
|
757
|
-
): Promise<PutRepositoryCatalogDataCommandOutput> | void {
|
|
758
|
-
const command = new PutRepositoryCatalogDataCommand(args);
|
|
759
|
-
if (typeof optionsOrCb === "function") {
|
|
760
|
-
this.send(command, optionsOrCb);
|
|
761
|
-
} else if (typeof cb === "function") {
|
|
762
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
763
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
764
|
-
} else {
|
|
765
|
-
return this.send(command, optionsOrCb);
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
* <p>Applies a repository policy to the specified public repository to control access
|
|
771
|
-
* permissions. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
|
|
772
|
-
* Policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
773
|
-
*/
|
|
774
|
-
public setRepositoryPolicy(
|
|
775
|
-
args: SetRepositoryPolicyCommandInput,
|
|
776
|
-
options?: __HttpHandlerOptions
|
|
777
|
-
): Promise<SetRepositoryPolicyCommandOutput>;
|
|
778
|
-
public setRepositoryPolicy(
|
|
779
|
-
args: SetRepositoryPolicyCommandInput,
|
|
780
|
-
cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void
|
|
781
|
-
): void;
|
|
782
|
-
public setRepositoryPolicy(
|
|
783
|
-
args: SetRepositoryPolicyCommandInput,
|
|
784
|
-
options: __HttpHandlerOptions,
|
|
785
|
-
cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void
|
|
786
|
-
): void;
|
|
787
|
-
public setRepositoryPolicy(
|
|
788
|
-
args: SetRepositoryPolicyCommandInput,
|
|
789
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetRepositoryPolicyCommandOutput) => void),
|
|
790
|
-
cb?: (err: any, data?: SetRepositoryPolicyCommandOutput) => void
|
|
791
|
-
): Promise<SetRepositoryPolicyCommandOutput> | void {
|
|
792
|
-
const command = new SetRepositoryPolicyCommand(args);
|
|
793
|
-
if (typeof optionsOrCb === "function") {
|
|
794
|
-
this.send(command, optionsOrCb);
|
|
795
|
-
} else if (typeof cb === "function") {
|
|
796
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
797
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
798
|
-
} else {
|
|
799
|
-
return this.send(command, optionsOrCb);
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
/**
|
|
804
|
-
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
|
|
805
|
-
* If existing tags on a resource are not specified in the request parameters, they are not
|
|
806
|
-
* changed. When a resource is deleted, the tags associated with that resource are deleted as
|
|
807
|
-
* well.</p>
|
|
808
|
-
*/
|
|
809
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
810
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
811
|
-
public tagResource(
|
|
812
|
-
args: TagResourceCommandInput,
|
|
813
|
-
options: __HttpHandlerOptions,
|
|
814
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
815
|
-
): void;
|
|
816
|
-
public tagResource(
|
|
817
|
-
args: TagResourceCommandInput,
|
|
818
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
819
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
820
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
821
|
-
const command = new TagResourceCommand(args);
|
|
822
|
-
if (typeof optionsOrCb === "function") {
|
|
823
|
-
this.send(command, optionsOrCb);
|
|
824
|
-
} else if (typeof cb === "function") {
|
|
825
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
826
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
827
|
-
} else {
|
|
828
|
-
return this.send(command, optionsOrCb);
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
834
|
-
*/
|
|
835
|
-
public untagResource(
|
|
836
|
-
args: UntagResourceCommandInput,
|
|
837
|
-
options?: __HttpHandlerOptions
|
|
838
|
-
): Promise<UntagResourceCommandOutput>;
|
|
839
|
-
public untagResource(
|
|
840
|
-
args: UntagResourceCommandInput,
|
|
841
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
842
|
-
): void;
|
|
843
|
-
public untagResource(
|
|
844
|
-
args: UntagResourceCommandInput,
|
|
845
|
-
options: __HttpHandlerOptions,
|
|
846
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
847
|
-
): void;
|
|
848
|
-
public untagResource(
|
|
849
|
-
args: UntagResourceCommandInput,
|
|
850
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
851
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
852
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
853
|
-
const command = new UntagResourceCommand(args);
|
|
854
|
-
if (typeof optionsOrCb === "function") {
|
|
855
|
-
this.send(command, optionsOrCb);
|
|
856
|
-
} else if (typeof cb === "function") {
|
|
857
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
858
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
859
|
-
} else {
|
|
860
|
-
return this.send(command, optionsOrCb);
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* <p>Uploads an image layer part to Amazon ECR.</p>
|
|
866
|
-
* <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size of
|
|
867
|
-
* each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API is
|
|
868
|
-
* called once per each new image layer part.</p>
|
|
869
|
-
* <note>
|
|
870
|
-
* <p>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 <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
871
|
-
* </note>
|
|
872
|
-
*/
|
|
873
|
-
public uploadLayerPart(
|
|
874
|
-
args: UploadLayerPartCommandInput,
|
|
875
|
-
options?: __HttpHandlerOptions
|
|
876
|
-
): Promise<UploadLayerPartCommandOutput>;
|
|
877
|
-
public uploadLayerPart(
|
|
878
|
-
args: UploadLayerPartCommandInput,
|
|
879
|
-
cb: (err: any, data?: UploadLayerPartCommandOutput) => void
|
|
880
|
-
): void;
|
|
881
|
-
public uploadLayerPart(
|
|
882
|
-
args: UploadLayerPartCommandInput,
|
|
883
|
-
options: __HttpHandlerOptions,
|
|
884
|
-
cb: (err: any, data?: UploadLayerPartCommandOutput) => void
|
|
885
|
-
): void;
|
|
886
|
-
public uploadLayerPart(
|
|
887
|
-
args: UploadLayerPartCommandInput,
|
|
888
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UploadLayerPartCommandOutput) => void),
|
|
889
|
-
cb?: (err: any, data?: UploadLayerPartCommandOutput) => void
|
|
890
|
-
): Promise<UploadLayerPartCommandOutput> | void {
|
|
891
|
-
const command = new UploadLayerPartCommand(args);
|
|
892
|
-
if (typeof optionsOrCb === "function") {
|
|
893
|
-
this.send(command, optionsOrCb);
|
|
894
|
-
} else if (typeof cb === "function") {
|
|
895
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
896
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
897
|
-
} else {
|
|
898
|
-
return this.send(command, optionsOrCb);
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
}
|