@aws-sdk/client-codeartifact 3.478.0 → 3.484.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.
Files changed (157) hide show
  1. package/dist-cjs/commands/AssociateExternalConnectionCommand.js +18 -41
  2. package/dist-cjs/commands/CopyPackageVersionsCommand.js +18 -41
  3. package/dist-cjs/commands/CreateDomainCommand.js +18 -41
  4. package/dist-cjs/commands/CreateRepositoryCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteDomainCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js +18 -41
  7. package/dist-cjs/commands/DeletePackageCommand.js +18 -41
  8. package/dist-cjs/commands/DeletePackageVersionsCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteRepositoryCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeDomainCommand.js +18 -41
  12. package/dist-cjs/commands/DescribePackageCommand.js +18 -41
  13. package/dist-cjs/commands/DescribePackageVersionCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeRepositoryCommand.js +18 -41
  15. package/dist-cjs/commands/DisassociateExternalConnectionCommand.js +18 -41
  16. package/dist-cjs/commands/DisposePackageVersionsCommand.js +18 -41
  17. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +18 -41
  18. package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js +18 -41
  19. package/dist-cjs/commands/GetPackageVersionAssetCommand.js +18 -41
  20. package/dist-cjs/commands/GetPackageVersionReadmeCommand.js +18 -41
  21. package/dist-cjs/commands/GetRepositoryEndpointCommand.js +18 -41
  22. package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js +18 -41
  23. package/dist-cjs/commands/ListDomainsCommand.js +18 -41
  24. package/dist-cjs/commands/ListPackageVersionAssetsCommand.js +18 -41
  25. package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js +18 -41
  26. package/dist-cjs/commands/ListPackageVersionsCommand.js +18 -41
  27. package/dist-cjs/commands/ListPackagesCommand.js +18 -41
  28. package/dist-cjs/commands/ListRepositoriesCommand.js +18 -41
  29. package/dist-cjs/commands/ListRepositoriesInDomainCommand.js +18 -41
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  31. package/dist-cjs/commands/PublishPackageVersionCommand.js +18 -41
  32. package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js +18 -41
  33. package/dist-cjs/commands/PutPackageOriginConfigurationCommand.js +18 -41
  34. package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js +18 -41
  35. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  36. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  37. package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js +18 -41
  38. package/dist-cjs/commands/UpdateRepositoryCommand.js +18 -41
  39. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  40. package/dist-es/commands/AssociateExternalConnectionCommand.js +18 -41
  41. package/dist-es/commands/CopyPackageVersionsCommand.js +18 -41
  42. package/dist-es/commands/CreateDomainCommand.js +18 -41
  43. package/dist-es/commands/CreateRepositoryCommand.js +18 -41
  44. package/dist-es/commands/DeleteDomainCommand.js +18 -41
  45. package/dist-es/commands/DeleteDomainPermissionsPolicyCommand.js +18 -41
  46. package/dist-es/commands/DeletePackageCommand.js +18 -41
  47. package/dist-es/commands/DeletePackageVersionsCommand.js +18 -41
  48. package/dist-es/commands/DeleteRepositoryCommand.js +18 -41
  49. package/dist-es/commands/DeleteRepositoryPermissionsPolicyCommand.js +18 -41
  50. package/dist-es/commands/DescribeDomainCommand.js +18 -41
  51. package/dist-es/commands/DescribePackageCommand.js +18 -41
  52. package/dist-es/commands/DescribePackageVersionCommand.js +18 -41
  53. package/dist-es/commands/DescribeRepositoryCommand.js +18 -41
  54. package/dist-es/commands/DisassociateExternalConnectionCommand.js +18 -41
  55. package/dist-es/commands/DisposePackageVersionsCommand.js +18 -41
  56. package/dist-es/commands/GetAuthorizationTokenCommand.js +18 -41
  57. package/dist-es/commands/GetDomainPermissionsPolicyCommand.js +18 -41
  58. package/dist-es/commands/GetPackageVersionAssetCommand.js +18 -41
  59. package/dist-es/commands/GetPackageVersionReadmeCommand.js +18 -41
  60. package/dist-es/commands/GetRepositoryEndpointCommand.js +18 -41
  61. package/dist-es/commands/GetRepositoryPermissionsPolicyCommand.js +18 -41
  62. package/dist-es/commands/ListDomainsCommand.js +18 -41
  63. package/dist-es/commands/ListPackageVersionAssetsCommand.js +18 -41
  64. package/dist-es/commands/ListPackageVersionDependenciesCommand.js +18 -41
  65. package/dist-es/commands/ListPackageVersionsCommand.js +18 -41
  66. package/dist-es/commands/ListPackagesCommand.js +18 -41
  67. package/dist-es/commands/ListRepositoriesCommand.js +18 -41
  68. package/dist-es/commands/ListRepositoriesInDomainCommand.js +18 -41
  69. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  70. package/dist-es/commands/PublishPackageVersionCommand.js +18 -41
  71. package/dist-es/commands/PutDomainPermissionsPolicyCommand.js +18 -41
  72. package/dist-es/commands/PutPackageOriginConfigurationCommand.js +18 -41
  73. package/dist-es/commands/PutRepositoryPermissionsPolicyCommand.js +18 -41
  74. package/dist-es/commands/TagResourceCommand.js +18 -41
  75. package/dist-es/commands/UntagResourceCommand.js +18 -41
  76. package/dist-es/commands/UpdatePackageVersionsStatusCommand.js +18 -41
  77. package/dist-es/commands/UpdateRepositoryCommand.js +18 -41
  78. package/dist-es/endpoint/EndpointParameters.js +6 -0
  79. package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +6 -21
  80. package/dist-types/commands/CopyPackageVersionsCommand.d.ts +6 -21
  81. package/dist-types/commands/CreateDomainCommand.d.ts +6 -21
  82. package/dist-types/commands/CreateRepositoryCommand.d.ts +6 -21
  83. package/dist-types/commands/DeleteDomainCommand.d.ts +6 -21
  84. package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +6 -21
  85. package/dist-types/commands/DeletePackageCommand.d.ts +6 -21
  86. package/dist-types/commands/DeletePackageVersionsCommand.d.ts +6 -21
  87. package/dist-types/commands/DeleteRepositoryCommand.d.ts +6 -21
  88. package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +6 -21
  89. package/dist-types/commands/DescribeDomainCommand.d.ts +6 -21
  90. package/dist-types/commands/DescribePackageCommand.d.ts +6 -21
  91. package/dist-types/commands/DescribePackageVersionCommand.d.ts +6 -21
  92. package/dist-types/commands/DescribeRepositoryCommand.d.ts +6 -21
  93. package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +6 -21
  94. package/dist-types/commands/DisposePackageVersionsCommand.d.ts +6 -21
  95. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +6 -21
  96. package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +6 -21
  97. package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +6 -21
  98. package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +6 -21
  99. package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +6 -21
  100. package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +6 -21
  101. package/dist-types/commands/ListDomainsCommand.d.ts +6 -21
  102. package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +6 -21
  103. package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +6 -21
  104. package/dist-types/commands/ListPackageVersionsCommand.d.ts +6 -21
  105. package/dist-types/commands/ListPackagesCommand.d.ts +6 -21
  106. package/dist-types/commands/ListRepositoriesCommand.d.ts +6 -21
  107. package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +6 -21
  108. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  109. package/dist-types/commands/PublishPackageVersionCommand.d.ts +6 -21
  110. package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +6 -21
  111. package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +6 -21
  112. package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +6 -21
  113. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  114. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  115. package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +6 -21
  116. package/dist-types/commands/UpdateRepositoryCommand.d.ts +6 -21
  117. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  118. package/dist-types/ts3.4/commands/AssociateExternalConnectionCommand.d.ts +12 -24
  119. package/dist-types/ts3.4/commands/CopyPackageVersionsCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +14 -23
  122. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +14 -23
  123. package/dist-types/ts3.4/commands/DeleteDomainPermissionsPolicyCommand.d.ts +12 -24
  124. package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/DeletePackageVersionsCommand.d.ts +12 -24
  126. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +14 -23
  127. package/dist-types/ts3.4/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +12 -24
  128. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +14 -23
  129. package/dist-types/ts3.4/commands/DescribePackageCommand.d.ts +14 -23
  130. package/dist-types/ts3.4/commands/DescribePackageVersionCommand.d.ts +12 -24
  131. package/dist-types/ts3.4/commands/DescribeRepositoryCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/commands/DisassociateExternalConnectionCommand.d.ts +12 -24
  133. package/dist-types/ts3.4/commands/DisposePackageVersionsCommand.d.ts +12 -24
  134. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +12 -24
  135. package/dist-types/ts3.4/commands/GetDomainPermissionsPolicyCommand.d.ts +12 -24
  136. package/dist-types/ts3.4/commands/GetPackageVersionAssetCommand.d.ts +11 -21
  137. package/dist-types/ts3.4/commands/GetPackageVersionReadmeCommand.d.ts +12 -24
  138. package/dist-types/ts3.4/commands/GetRepositoryEndpointCommand.d.ts +12 -24
  139. package/dist-types/ts3.4/commands/GetRepositoryPermissionsPolicyCommand.d.ts +12 -24
  140. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/ListPackageVersionAssetsCommand.d.ts +12 -24
  142. package/dist-types/ts3.4/commands/ListPackageVersionDependenciesCommand.d.ts +12 -24
  143. package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/ListRepositoriesInDomainCommand.d.ts +12 -24
  147. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/PublishPackageVersionCommand.d.ts +11 -21
  149. package/dist-types/ts3.4/commands/PutDomainPermissionsPolicyCommand.d.ts +12 -24
  150. package/dist-types/ts3.4/commands/PutPackageOriginConfigurationCommand.d.ts +12 -24
  151. package/dist-types/ts3.4/commands/PutRepositoryPermissionsPolicyCommand.d.ts +12 -24
  152. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  153. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/UpdatePackageVersionsStatusCommand.d.ts +12 -24
  155. package/dist-types/ts3.4/commands/UpdateRepositoryCommand.d.ts +14 -23
  156. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  157. 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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
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
- static getEndpointParameterInstructions() {
9
- return {
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
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
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
- static getEndpointParameterInstructions() {
9
- return {
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
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
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
- static getEndpointParameterInstructions() {
9
- return {
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
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePackageVersionsStatusCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
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
- static getEndpointParameterInstructions() {
9
- return {
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
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRepositoryCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
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,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
4
  import { AssociateExternalConnectionRequest, AssociateExternalConnectionResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateExternalConnectionCommandInput extends AssociateExtern
21
20
  */
22
21
  export interface AssociateExternalConnectionCommandOutput extends AssociateExternalConnectionResult, __MetadataBearer {
23
22
  }
23
+ declare const AssociateExternalConnectionCommand_base: {
24
+ new (input: AssociateExternalConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateExternalConnectionCommandInput, AssociateExternalConnectionCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds an existing external connection to a repository. One external connection is allowed
@@ -111,23 +114,5 @@ export interface AssociateExternalConnectionCommandOutput extends AssociateExter
111
114
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
112
115
  *
113
116
  */
114
- export declare class AssociateExternalConnectionCommand extends $Command<AssociateExternalConnectionCommandInput, AssociateExternalConnectionCommandOutput, CodeartifactClientResolvedConfig> {
115
- readonly input: AssociateExternalConnectionCommandInput;
116
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
117
- /**
118
- * @public
119
- */
120
- constructor(input: AssociateExternalConnectionCommandInput);
121
- /**
122
- * @internal
123
- */
124
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateExternalConnectionCommandInput, AssociateExternalConnectionCommandOutput>;
125
- /**
126
- * @internal
127
- */
128
- private serialize;
129
- /**
130
- * @internal
131
- */
132
- private deserialize;
117
+ export declare class AssociateExternalConnectionCommand extends AssociateExternalConnectionCommand_base {
133
118
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
4
  import { CopyPackageVersionsRequest, CopyPackageVersionsResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CopyPackageVersionsCommandInput extends CopyPackageVersionsRequ
21
20
  */
22
21
  export interface CopyPackageVersionsCommandOutput extends CopyPackageVersionsResult, __MetadataBearer {
23
22
  }
23
+ declare const CopyPackageVersionsCommand_base: {
24
+ new (input: CopyPackageVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<CopyPackageVersionsCommandInput, CopyPackageVersionsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>
@@ -116,23 +119,5 @@ export interface CopyPackageVersionsCommandOutput extends CopyPackageVersionsRes
116
119
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
117
120
  *
118
121
  */
119
- export declare class CopyPackageVersionsCommand extends $Command<CopyPackageVersionsCommandInput, CopyPackageVersionsCommandOutput, CodeartifactClientResolvedConfig> {
120
- readonly input: CopyPackageVersionsCommandInput;
121
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
122
- /**
123
- * @public
124
- */
125
- constructor(input: CopyPackageVersionsCommandInput);
126
- /**
127
- * @internal
128
- */
129
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CopyPackageVersionsCommandInput, CopyPackageVersionsCommandOutput>;
130
- /**
131
- * @internal
132
- */
133
- private serialize;
134
- /**
135
- * @internal
136
- */
137
- private deserialize;
122
+ export declare class CopyPackageVersionsCommand extends CopyPackageVersionsCommand_base {
138
123
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
4
  import { CreateDomainRequest, CreateDomainResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateDomainCommandInput extends CreateDomainRequest {
21
20
  */
22
21
  export interface CreateDomainCommandOutput extends CreateDomainResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateDomainCommand_base: {
24
+ new (input: CreateDomainCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDomainCommandInput, CreateDomainCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>
@@ -110,23 +113,5 @@ export interface CreateDomainCommandOutput extends CreateDomainResult, __Metadat
110
113
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
111
114
  *
112
115
  */
113
- export declare class CreateDomainCommand extends $Command<CreateDomainCommandInput, CreateDomainCommandOutput, CodeartifactClientResolvedConfig> {
114
- readonly input: CreateDomainCommandInput;
115
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
116
- /**
117
- * @public
118
- */
119
- constructor(input: CreateDomainCommandInput);
120
- /**
121
- * @internal
122
- */
123
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDomainCommandInput, CreateDomainCommandOutput>;
124
- /**
125
- * @internal
126
- */
127
- private serialize;
128
- /**
129
- * @internal
130
- */
131
- private deserialize;
116
+ export declare class CreateDomainCommand extends CreateDomainCommand_base {
132
117
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
4
  import { CreateRepositoryRequest, CreateRepositoryResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateRepositoryCommandInput extends CreateRepositoryRequest {
21
20
  */
22
21
  export interface CreateRepositoryCommandOutput extends CreateRepositoryResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateRepositoryCommand_base: {
24
+ new (input: CreateRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>
@@ -120,23 +123,5 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResult, _
120
123
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
121
124
  *
122
125
  */
123
- export declare class CreateRepositoryCommand extends $Command<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, CodeartifactClientResolvedConfig> {
124
- readonly input: CreateRepositoryCommandInput;
125
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
126
- /**
127
- * @public
128
- */
129
- constructor(input: CreateRepositoryCommandInput);
130
- /**
131
- * @internal
132
- */
133
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRepositoryCommandInput, CreateRepositoryCommandOutput>;
134
- /**
135
- * @internal
136
- */
137
- private serialize;
138
- /**
139
- * @internal
140
- */
141
- private deserialize;
126
+ export declare class CreateRepositoryCommand extends CreateRepositoryCommand_base {
142
127
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
4
  import { DeleteDomainRequest, DeleteDomainResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteDomainCommandInput extends DeleteDomainRequest {
21
20
  */
22
21
  export interface DeleteDomainCommandOutput extends DeleteDomainResult, __MetadataBearer {
23
22
  }
23
+ declare const DeleteDomainCommand_base: {
24
+ new (input: DeleteDomainCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainCommandInput, DeleteDomainCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>
@@ -88,23 +91,5 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResult, __Metadat
88
91
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
89
92
  *
90
93
  */
91
- export declare class DeleteDomainCommand extends $Command<DeleteDomainCommandInput, DeleteDomainCommandOutput, CodeartifactClientResolvedConfig> {
92
- readonly input: DeleteDomainCommandInput;
93
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
94
- /**
95
- * @public
96
- */
97
- constructor(input: DeleteDomainCommandInput);
98
- /**
99
- * @internal
100
- */
101
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDomainCommandInput, DeleteDomainCommandOutput>;
102
- /**
103
- * @internal
104
- */
105
- private serialize;
106
- /**
107
- * @internal
108
- */
109
- private deserialize;
94
+ export declare class DeleteDomainCommand extends DeleteDomainCommand_base {
110
95
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
4
  import { DeleteDomainPermissionsPolicyRequest, DeleteDomainPermissionsPolicyResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteDomainPermissionsPolicyCommandInput extends DeleteDomainP
21
20
  */
22
21
  export interface DeleteDomainPermissionsPolicyCommandOutput extends DeleteDomainPermissionsPolicyResult, __MetadataBearer {
23
22
  }
23
+ declare const DeleteDomainPermissionsPolicyCommand_base: {
24
+ new (input: DeleteDomainPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainPermissionsPolicyCommandInput, DeleteDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>
@@ -87,23 +90,5 @@ export interface DeleteDomainPermissionsPolicyCommandOutput extends DeleteDomain
87
90
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
88
91
  *
89
92
  */
90
- export declare class DeleteDomainPermissionsPolicyCommand extends $Command<DeleteDomainPermissionsPolicyCommandInput, DeleteDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig> {
91
- readonly input: DeleteDomainPermissionsPolicyCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: DeleteDomainPermissionsPolicyCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDomainPermissionsPolicyCommandInput, DeleteDomainPermissionsPolicyCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class DeleteDomainPermissionsPolicyCommand extends DeleteDomainPermissionsPolicyCommand_base {
109
94
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
4
  import { DeletePackageRequest, DeletePackageResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeletePackageCommandInput extends DeletePackageRequest {
21
20
  */
22
21
  export interface DeletePackageCommandOutput extends DeletePackageResult, __MetadataBearer {
23
22
  }
23
+ declare const DeletePackageCommand_base: {
24
+ new (input: DeletePackageCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePackageCommandInput, DeletePackageCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the
@@ -95,23 +98,5 @@ export interface DeletePackageCommandOutput extends DeletePackageResult, __Metad
95
98
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
96
99
  *
97
100
  */
98
- export declare class DeletePackageCommand extends $Command<DeletePackageCommandInput, DeletePackageCommandOutput, CodeartifactClientResolvedConfig> {
99
- readonly input: DeletePackageCommandInput;
100
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
- /**
102
- * @public
103
- */
104
- constructor(input: DeletePackageCommandInput);
105
- /**
106
- * @internal
107
- */
108
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePackageCommandInput, DeletePackageCommandOutput>;
109
- /**
110
- * @internal
111
- */
112
- private serialize;
113
- /**
114
- * @internal
115
- */
116
- private deserialize;
101
+ export declare class DeletePackageCommand extends DeletePackageCommand_base {
117
102
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
5
4
  import { DeletePackageVersionsRequest, DeletePackageVersionsResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeletePackageVersionsCommandInput extends DeletePackageVersions
21
20
  */
22
21
  export interface DeletePackageVersionsCommandOutput extends DeletePackageVersionsResult, __MetadataBearer {
23
22
  }
23
+ declare const DeletePackageVersionsCommand_base: {
24
+ new (input: DeletePackageVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePackageVersionsCommandInput, DeletePackageVersionsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p> Deletes one or more versions of a package. A deleted package version cannot be restored
@@ -103,23 +106,5 @@ export interface DeletePackageVersionsCommandOutput extends DeletePackageVersion
103
106
  * <p>Base exception class for all service exceptions from Codeartifact service.</p>
104
107
  *
105
108
  */
106
- export declare class DeletePackageVersionsCommand extends $Command<DeletePackageVersionsCommandInput, DeletePackageVersionsCommandOutput, CodeartifactClientResolvedConfig> {
107
- readonly input: DeletePackageVersionsCommandInput;
108
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
109
- /**
110
- * @public
111
- */
112
- constructor(input: DeletePackageVersionsCommandInput);
113
- /**
114
- * @internal
115
- */
116
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePackageVersionsCommandInput, DeletePackageVersionsCommandOutput>;
117
- /**
118
- * @internal
119
- */
120
- private serialize;
121
- /**
122
- * @internal
123
- */
124
- private deserialize;
109
+ export declare class DeletePackageVersionsCommand extends DeletePackageVersionsCommand_base {
125
110
  }