@aws-sdk/client-codeartifact 3.477.0 → 3.481.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/dist-cjs/commands/AssociateExternalConnectionCommand.js +18 -41
- package/dist-cjs/commands/CopyPackageVersionsCommand.js +18 -41
- package/dist-cjs/commands/CreateDomainCommand.js +18 -41
- package/dist-cjs/commands/CreateRepositoryCommand.js +18 -41
- package/dist-cjs/commands/DeleteDomainCommand.js +18 -41
- package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeletePackageCommand.js +18 -41
- package/dist-cjs/commands/DeletePackageVersionsCommand.js +18 -41
- package/dist-cjs/commands/DeleteRepositoryCommand.js +18 -41
- package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js +18 -41
- package/dist-cjs/commands/DescribeDomainCommand.js +18 -41
- package/dist-cjs/commands/DescribePackageCommand.js +18 -41
- package/dist-cjs/commands/DescribePackageVersionCommand.js +18 -41
- package/dist-cjs/commands/DescribeRepositoryCommand.js +18 -41
- package/dist-cjs/commands/DisassociateExternalConnectionCommand.js +18 -41
- package/dist-cjs/commands/DisposePackageVersionsCommand.js +18 -41
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +18 -41
- package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetPackageVersionAssetCommand.js +18 -41
- package/dist-cjs/commands/GetPackageVersionReadmeCommand.js +18 -41
- package/dist-cjs/commands/GetRepositoryEndpointCommand.js +18 -41
- package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js +18 -41
- package/dist-cjs/commands/ListDomainsCommand.js +18 -41
- package/dist-cjs/commands/ListPackageVersionAssetsCommand.js +18 -41
- package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js +18 -41
- package/dist-cjs/commands/ListPackageVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListPackagesCommand.js +18 -41
- package/dist-cjs/commands/ListRepositoriesCommand.js +18 -41
- package/dist-cjs/commands/ListRepositoriesInDomainCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PublishPackageVersionCommand.js +18 -41
- package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js +18 -41
- package/dist-cjs/commands/PutPackageOriginConfigurationCommand.js +18 -41
- package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js +18 -41
- package/dist-cjs/commands/UpdateRepositoryCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListDomainsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPackageVersionAssetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPackageVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPackagesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRepositoriesInDomainPaginator.js +2 -24
- package/dist-cjs/pagination/ListRepositoriesPaginator.js +2 -24
- package/dist-es/commands/AssociateExternalConnectionCommand.js +18 -41
- package/dist-es/commands/CopyPackageVersionsCommand.js +18 -41
- package/dist-es/commands/CreateDomainCommand.js +18 -41
- package/dist-es/commands/CreateRepositoryCommand.js +18 -41
- package/dist-es/commands/DeleteDomainCommand.js +18 -41
- package/dist-es/commands/DeleteDomainPermissionsPolicyCommand.js +18 -41
- package/dist-es/commands/DeletePackageCommand.js +18 -41
- package/dist-es/commands/DeletePackageVersionsCommand.js +18 -41
- package/dist-es/commands/DeleteRepositoryCommand.js +18 -41
- package/dist-es/commands/DeleteRepositoryPermissionsPolicyCommand.js +18 -41
- package/dist-es/commands/DescribeDomainCommand.js +18 -41
- package/dist-es/commands/DescribePackageCommand.js +18 -41
- package/dist-es/commands/DescribePackageVersionCommand.js +18 -41
- package/dist-es/commands/DescribeRepositoryCommand.js +18 -41
- package/dist-es/commands/DisassociateExternalConnectionCommand.js +18 -41
- package/dist-es/commands/DisposePackageVersionsCommand.js +18 -41
- package/dist-es/commands/GetAuthorizationTokenCommand.js +18 -41
- package/dist-es/commands/GetDomainPermissionsPolicyCommand.js +18 -41
- package/dist-es/commands/GetPackageVersionAssetCommand.js +18 -41
- package/dist-es/commands/GetPackageVersionReadmeCommand.js +18 -41
- package/dist-es/commands/GetRepositoryEndpointCommand.js +18 -41
- package/dist-es/commands/GetRepositoryPermissionsPolicyCommand.js +18 -41
- package/dist-es/commands/ListDomainsCommand.js +18 -41
- package/dist-es/commands/ListPackageVersionAssetsCommand.js +18 -41
- package/dist-es/commands/ListPackageVersionDependenciesCommand.js +18 -41
- package/dist-es/commands/ListPackageVersionsCommand.js +18 -41
- package/dist-es/commands/ListPackagesCommand.js +18 -41
- package/dist-es/commands/ListRepositoriesCommand.js +18 -41
- package/dist-es/commands/ListRepositoriesInDomainCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PublishPackageVersionCommand.js +18 -41
- package/dist-es/commands/PutDomainPermissionsPolicyCommand.js +18 -41
- package/dist-es/commands/PutPackageOriginConfigurationCommand.js +18 -41
- package/dist-es/commands/PutRepositoryPermissionsPolicyCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdatePackageVersionsStatusCommand.js +18 -41
- package/dist-es/commands/UpdateRepositoryCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListDomainsPaginator.js +2 -23
- package/dist-es/pagination/ListPackageVersionAssetsPaginator.js +2 -23
- package/dist-es/pagination/ListPackageVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListPackagesPaginator.js +2 -23
- package/dist-es/pagination/ListRepositoriesInDomainPaginator.js +2 -23
- package/dist-es/pagination/ListRepositoriesPaginator.js +2 -23
- package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +6 -21
- package/dist-types/commands/CopyPackageVersionsCommand.d.ts +6 -21
- package/dist-types/commands/CreateDomainCommand.d.ts +6 -21
- package/dist-types/commands/CreateRepositoryCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDomainCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeletePackageCommand.d.ts +6 -21
- package/dist-types/commands/DeletePackageVersionsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDomainCommand.d.ts +6 -21
- package/dist-types/commands/DescribePackageCommand.d.ts +6 -21
- package/dist-types/commands/DescribePackageVersionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRepositoryCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +6 -21
- package/dist-types/commands/DisposePackageVersionsCommand.d.ts +6 -21
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +6 -21
- package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +6 -21
- package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +6 -21
- package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +6 -21
- package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +6 -21
- package/dist-types/commands/ListDomainsCommand.d.ts +6 -21
- package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +6 -21
- package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +6 -21
- package/dist-types/commands/ListPackageVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListPackagesCommand.d.ts +6 -21
- package/dist-types/commands/ListRepositoriesCommand.d.ts +6 -21
- package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PublishPackageVersionCommand.d.ts +6 -21
- package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRepositoryCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListDomainsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPackageVersionAssetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPackageVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPackagesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRepositoriesInDomainPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRepositoriesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateExternalConnectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CopyPackageVersionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDomainPermissionsPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePackageVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribePackageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribePackageVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRepositoryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateExternalConnectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisposePackageVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDomainPermissionsPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetPackageVersionAssetCommand.d.ts +11 -21
- package/dist-types/ts3.4/commands/GetPackageVersionReadmeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetRepositoryEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetRepositoryPermissionsPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPackageVersionAssetsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPackageVersionDependenciesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRepositoriesInDomainCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PublishPackageVersionCommand.d.ts +11 -21
- package/dist-types/ts3.4/commands/PutDomainPermissionsPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutPackageOriginConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutRepositoryPermissionsPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdatePackageVersionsStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRepositoryCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListDomainsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPackageVersionAssetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPackageVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPackagesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRepositoriesInDomainPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRepositoriesPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_PutDomainPermissionsPolicyCommand, se_PutDomainPermissionsPolicyCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class PutDomainPermissionsPolicyCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeartifactClient";
|
|
26
|
-
const commandName = "PutDomainPermissionsPolicyCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeArtifactControlPlaneService",
|
|
35
|
-
operation: "PutDomainPermissionsPolicy",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_PutDomainPermissionsPolicyCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_PutDomainPermissionsPolicyCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class PutDomainPermissionsPolicyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "PutDomainPermissionsPolicy", {})
|
|
19
|
+
.n("CodeartifactClient", "PutDomainPermissionsPolicyCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_PutDomainPermissionsPolicyCommand)
|
|
22
|
+
.de(de_PutDomainPermissionsPolicyCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_PutPackageOriginConfigurationCommand, se_PutPackageOriginConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class PutPackageOriginConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeartifactClient";
|
|
26
|
-
const commandName = "PutPackageOriginConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeArtifactControlPlaneService",
|
|
35
|
-
operation: "PutPackageOriginConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_PutPackageOriginConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_PutPackageOriginConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class PutPackageOriginConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "PutPackageOriginConfiguration", {})
|
|
19
|
+
.n("CodeartifactClient", "PutPackageOriginConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_PutPackageOriginConfigurationCommand)
|
|
22
|
+
.de(de_PutPackageOriginConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_PutRepositoryPermissionsPolicyCommand, se_PutRepositoryPermissionsPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class PutRepositoryPermissionsPolicyCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeartifactClient";
|
|
26
|
-
const commandName = "PutRepositoryPermissionsPolicyCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeArtifactControlPlaneService",
|
|
35
|
-
operation: "PutRepositoryPermissionsPolicy",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_PutRepositoryPermissionsPolicyCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_PutRepositoryPermissionsPolicyCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class PutRepositoryPermissionsPolicyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "PutRepositoryPermissionsPolicy", {})
|
|
19
|
+
.n("CodeartifactClient", "PutRepositoryPermissionsPolicyCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_PutRepositoryPermissionsPolicyCommand)
|
|
22
|
+
.de(de_PutRepositoryPermissionsPolicyCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeartifactClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeArtifactControlPlaneService",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "TagResource", {})
|
|
19
|
+
.n("CodeartifactClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeartifactClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeArtifactControlPlaneService",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "UntagResource", {})
|
|
19
|
+
.n("CodeartifactClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdatePackageVersionsStatusCommand, se_UpdatePackageVersionsStatusCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdatePackageVersionsStatusCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeartifactClient";
|
|
26
|
-
const commandName = "UpdatePackageVersionsStatusCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeArtifactControlPlaneService",
|
|
35
|
-
operation: "UpdatePackageVersionsStatus",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdatePackageVersionsStatusCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdatePackageVersionsStatusCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdatePackageVersionsStatusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "UpdatePackageVersionsStatus", {})
|
|
19
|
+
.n("CodeartifactClient", "UpdatePackageVersionsStatusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdatePackageVersionsStatusCommand)
|
|
22
|
+
.de(de_UpdatePackageVersionsStatusCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateRepositoryCommand, se_UpdateRepositoryCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateRepositoryCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeartifactClient";
|
|
26
|
-
const commandName = "UpdateRepositoryCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeArtifactControlPlaneService",
|
|
35
|
-
operation: "UpdateRepository",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateRepositoryCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateRepositoryCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateRepositoryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeArtifactControlPlaneService", "UpdateRepository", {})
|
|
19
|
+
.n("CodeartifactClient", "UpdateRepositoryCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRepositoryCommand)
|
|
22
|
+
.de(de_UpdateRepositoryCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "codeartifact",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeartifactClient } from "../CodeartifactClient";
|
|
2
3
|
import { ListDomainsCommand } from "../commands/ListDomainsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDomainsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDomains(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodeartifactClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Codeartifact | CodeartifactClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDomains = createPaginator(CodeartifactClient, ListDomainsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeartifactClient } from "../CodeartifactClient";
|
|
2
3
|
import { ListPackageVersionAssetsCommand, } from "../commands/ListPackageVersionAssetsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPackageVersionAssetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPackageVersionAssets(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodeartifactClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Codeartifact | CodeartifactClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPackageVersionAssets = createPaginator(CodeartifactClient, ListPackageVersionAssetsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeartifactClient } from "../CodeartifactClient";
|
|
2
3
|
import { ListPackageVersionsCommand, } from "../commands/ListPackageVersionsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPackageVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPackageVersions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodeartifactClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Codeartifact | CodeartifactClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPackageVersions = createPaginator(CodeartifactClient, ListPackageVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeartifactClient } from "../CodeartifactClient";
|
|
2
3
|
import { ListPackagesCommand, } from "../commands/ListPackagesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPackagesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPackages(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodeartifactClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Codeartifact | CodeartifactClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPackages = createPaginator(CodeartifactClient, ListPackagesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodeartifactClient } from "../CodeartifactClient";
|
|
2
3
|
import { ListRepositoriesInDomainCommand, } from "../commands/ListRepositoriesInDomainCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRepositoriesInDomainCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRepositoriesInDomain(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodeartifactClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Codeartifact | CodeartifactClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRepositoriesInDomain = createPaginator(CodeartifactClient, ListRepositoriesInDomainCommand, "nextToken", "nextToken", "maxResults");
|