@aws-sdk/client-codeartifact 3.128.0 → 3.137.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 (98) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +10 -0
  3. package/dist-cjs/Codeartifact.js +30 -0
  4. package/dist-cjs/commands/AssociateExternalConnectionCommand.js +2 -2
  5. package/dist-cjs/commands/CopyPackageVersionsCommand.js +2 -2
  6. package/dist-cjs/commands/CreateDomainCommand.js +2 -2
  7. package/dist-cjs/commands/CreateRepositoryCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteDomainCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js +2 -2
  10. package/dist-cjs/commands/DeletePackageVersionsCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteRepositoryCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js +2 -2
  13. package/dist-cjs/commands/DescribeDomainCommand.js +2 -2
  14. package/dist-cjs/commands/DescribePackageCommand.js +36 -0
  15. package/dist-cjs/commands/DescribePackageVersionCommand.js +2 -2
  16. package/dist-cjs/commands/DescribeRepositoryCommand.js +2 -2
  17. package/dist-cjs/commands/DisassociateExternalConnectionCommand.js +2 -2
  18. package/dist-cjs/commands/DisposePackageVersionsCommand.js +2 -2
  19. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +2 -2
  20. package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js +2 -2
  21. package/dist-cjs/commands/GetPackageVersionAssetCommand.js +2 -2
  22. package/dist-cjs/commands/GetPackageVersionReadmeCommand.js +2 -2
  23. package/dist-cjs/commands/GetRepositoryEndpointCommand.js +2 -2
  24. package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js +2 -2
  25. package/dist-cjs/commands/ListDomainsCommand.js +2 -2
  26. package/dist-cjs/commands/ListPackageVersionAssetsCommand.js +2 -2
  27. package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js +2 -2
  28. package/dist-cjs/commands/ListPackageVersionsCommand.js +2 -2
  29. package/dist-cjs/commands/ListPackagesCommand.js +2 -2
  30. package/dist-cjs/commands/ListRepositoriesCommand.js +2 -2
  31. package/dist-cjs/commands/ListRepositoriesInDomainCommand.js +2 -2
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  33. package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js +2 -2
  34. package/dist-cjs/commands/PutPackageOriginConfigurationCommand.js +36 -0
  35. package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js +2 -2
  36. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  37. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  38. package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js +2 -2
  39. package/dist-cjs/commands/UpdateRepositoryCommand.js +2 -2
  40. package/dist-cjs/commands/index.js +2 -0
  41. package/dist-cjs/models/models_0.js +395 -513
  42. package/dist-cjs/protocols/Aws_restJson1.js +213 -2
  43. package/dist-es/Codeartifact.js +30 -0
  44. package/dist-es/commands/AssociateExternalConnectionCommand.js +3 -3
  45. package/dist-es/commands/CopyPackageVersionsCommand.js +3 -3
  46. package/dist-es/commands/CreateDomainCommand.js +3 -3
  47. package/dist-es/commands/CreateRepositoryCommand.js +3 -3
  48. package/dist-es/commands/DeleteDomainCommand.js +3 -3
  49. package/dist-es/commands/DeleteDomainPermissionsPolicyCommand.js +3 -3
  50. package/dist-es/commands/DeletePackageVersionsCommand.js +3 -3
  51. package/dist-es/commands/DeleteRepositoryCommand.js +3 -3
  52. package/dist-es/commands/DeleteRepositoryPermissionsPolicyCommand.js +3 -3
  53. package/dist-es/commands/DescribeDomainCommand.js +3 -3
  54. package/dist-es/commands/DescribePackageCommand.js +39 -0
  55. package/dist-es/commands/DescribePackageVersionCommand.js +3 -3
  56. package/dist-es/commands/DescribeRepositoryCommand.js +3 -3
  57. package/dist-es/commands/DisassociateExternalConnectionCommand.js +3 -3
  58. package/dist-es/commands/DisposePackageVersionsCommand.js +3 -3
  59. package/dist-es/commands/GetAuthorizationTokenCommand.js +3 -3
  60. package/dist-es/commands/GetDomainPermissionsPolicyCommand.js +3 -3
  61. package/dist-es/commands/GetPackageVersionAssetCommand.js +3 -3
  62. package/dist-es/commands/GetPackageVersionReadmeCommand.js +3 -3
  63. package/dist-es/commands/GetRepositoryEndpointCommand.js +3 -3
  64. package/dist-es/commands/GetRepositoryPermissionsPolicyCommand.js +3 -3
  65. package/dist-es/commands/ListDomainsCommand.js +3 -3
  66. package/dist-es/commands/ListPackageVersionAssetsCommand.js +3 -3
  67. package/dist-es/commands/ListPackageVersionDependenciesCommand.js +3 -3
  68. package/dist-es/commands/ListPackageVersionsCommand.js +3 -3
  69. package/dist-es/commands/ListPackagesCommand.js +3 -3
  70. package/dist-es/commands/ListRepositoriesCommand.js +3 -3
  71. package/dist-es/commands/ListRepositoriesInDomainCommand.js +3 -3
  72. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  73. package/dist-es/commands/PutDomainPermissionsPolicyCommand.js +3 -3
  74. package/dist-es/commands/PutPackageOriginConfigurationCommand.js +39 -0
  75. package/dist-es/commands/PutRepositoryPermissionsPolicyCommand.js +3 -3
  76. package/dist-es/commands/TagResourceCommand.js +3 -3
  77. package/dist-es/commands/UntagResourceCommand.js +3 -3
  78. package/dist-es/commands/UpdatePackageVersionsStatusCommand.js +3 -3
  79. package/dist-es/commands/UpdateRepositoryCommand.js +3 -3
  80. package/dist-es/commands/index.js +2 -0
  81. package/dist-es/models/models_0.js +110 -340
  82. package/dist-es/protocols/Aws_restJson1.js +247 -2
  83. package/dist-types/Codeartifact.d.ts +37 -1
  84. package/dist-types/CodeartifactClient.d.ts +14 -2
  85. package/dist-types/commands/DescribePackageCommand.d.ts +37 -0
  86. package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +3 -1
  87. package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +43 -0
  88. package/dist-types/commands/index.d.ts +2 -0
  89. package/dist-types/models/models_0.d.ts +770 -669
  90. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  91. package/dist-types/ts3.4/Codeartifact.d.ts +10 -0
  92. package/dist-types/ts3.4/CodeartifactClient.d.ts +4 -2
  93. package/dist-types/ts3.4/commands/DescribePackageCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/PutPackageOriginConfigurationCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  96. package/dist-types/ts3.4/models/models_0.d.ts +276 -328
  97. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  98. package/package.json +9 -9
@@ -10,6 +10,7 @@ import { DeletePackageVersionsCommandInput, DeletePackageVersionsCommandOutput }
10
10
  import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "../commands/DeleteRepositoryCommand";
11
11
  import { DeleteRepositoryPermissionsPolicyCommandInput, DeleteRepositoryPermissionsPolicyCommandOutput } from "../commands/DeleteRepositoryPermissionsPolicyCommand";
12
12
  import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "../commands/DescribeDomainCommand";
13
+ import { DescribePackageCommandInput, DescribePackageCommandOutput } from "../commands/DescribePackageCommand";
13
14
  import { DescribePackageVersionCommandInput, DescribePackageVersionCommandOutput } from "../commands/DescribePackageVersionCommand";
14
15
  import { DescribeRepositoryCommandInput, DescribeRepositoryCommandOutput } from "../commands/DescribeRepositoryCommand";
15
16
  import { DisassociateExternalConnectionCommandInput, DisassociateExternalConnectionCommandOutput } from "../commands/DisassociateExternalConnectionCommand";
@@ -29,6 +30,7 @@ import { ListRepositoriesCommandInput, ListRepositoriesCommandOutput } from "../
29
30
  import { ListRepositoriesInDomainCommandInput, ListRepositoriesInDomainCommandOutput } from "../commands/ListRepositoriesInDomainCommand";
30
31
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
31
32
  import { PutDomainPermissionsPolicyCommandInput, PutDomainPermissionsPolicyCommandOutput } from "../commands/PutDomainPermissionsPolicyCommand";
33
+ import { PutPackageOriginConfigurationCommandInput, PutPackageOriginConfigurationCommandOutput } from "../commands/PutPackageOriginConfigurationCommand";
32
34
  import { PutRepositoryPermissionsPolicyCommandInput, PutRepositoryPermissionsPolicyCommandOutput } from "../commands/PutRepositoryPermissionsPolicyCommand";
33
35
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
34
36
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
@@ -44,6 +46,7 @@ export declare const serializeAws_restJson1DeletePackageVersionsCommand: (input:
44
46
  export declare const serializeAws_restJson1DeleteRepositoryCommand: (input: DeleteRepositoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
47
  export declare const serializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand: (input: DeleteRepositoryPermissionsPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
48
  export declare const serializeAws_restJson1DescribeDomainCommand: (input: DescribeDomainCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
+ export declare const serializeAws_restJson1DescribePackageCommand: (input: DescribePackageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
50
  export declare const serializeAws_restJson1DescribePackageVersionCommand: (input: DescribePackageVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
51
  export declare const serializeAws_restJson1DescribeRepositoryCommand: (input: DescribeRepositoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
52
  export declare const serializeAws_restJson1DisassociateExternalConnectionCommand: (input: DisassociateExternalConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -63,6 +66,7 @@ export declare const serializeAws_restJson1ListRepositoriesCommand: (input: List
63
66
  export declare const serializeAws_restJson1ListRepositoriesInDomainCommand: (input: ListRepositoriesInDomainCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
67
  export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
68
  export declare const serializeAws_restJson1PutDomainPermissionsPolicyCommand: (input: PutDomainPermissionsPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
+ export declare const serializeAws_restJson1PutPackageOriginConfigurationCommand: (input: PutPackageOriginConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
70
  export declare const serializeAws_restJson1PutRepositoryPermissionsPolicyCommand: (input: PutRepositoryPermissionsPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
71
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
72
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -78,6 +82,7 @@ export declare const deserializeAws_restJson1DeletePackageVersionsCommand: (outp
78
82
  export declare const deserializeAws_restJson1DeleteRepositoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRepositoryCommandOutput>;
79
83
  export declare const deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRepositoryPermissionsPolicyCommandOutput>;
80
84
  export declare const deserializeAws_restJson1DescribeDomainCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDomainCommandOutput>;
85
+ export declare const deserializeAws_restJson1DescribePackageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribePackageCommandOutput>;
81
86
  export declare const deserializeAws_restJson1DescribePackageVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribePackageVersionCommandOutput>;
82
87
  export declare const deserializeAws_restJson1DescribeRepositoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRepositoryCommandOutput>;
83
88
  export declare const deserializeAws_restJson1DisassociateExternalConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateExternalConnectionCommandOutput>;
@@ -97,6 +102,7 @@ export declare const deserializeAws_restJson1ListRepositoriesCommand: (output: _
97
102
  export declare const deserializeAws_restJson1ListRepositoriesInDomainCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRepositoriesInDomainCommandOutput>;
98
103
  export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
99
104
  export declare const deserializeAws_restJson1PutDomainPermissionsPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutDomainPermissionsPolicyCommandOutput>;
105
+ export declare const deserializeAws_restJson1PutPackageOriginConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutPackageOriginConfigurationCommandOutput>;
100
106
  export declare const deserializeAws_restJson1PutRepositoryPermissionsPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutRepositoryPermissionsPolicyCommandOutput>;
101
107
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
102
108
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeartifact",
3
3
  "description": "AWS SDK for JavaScript Codeartifact Client for Node.js, Browser and React Native",
4
- "version": "3.128.0",
4
+ "version": "3.137.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,10 +18,10 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.128.0",
22
- "@aws-sdk/config-resolver": "3.128.0",
23
- "@aws-sdk/credential-provider-node": "3.128.0",
24
- "@aws-sdk/fetch-http-handler": "3.127.0",
21
+ "@aws-sdk/client-sts": "3.137.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.137.0",
24
+ "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
27
27
  "@aws-sdk/middleware-content-length": "3.127.0",
@@ -30,21 +30,21 @@
30
30
  "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
31
  "@aws-sdk/middleware-retry": "3.127.0",
32
32
  "@aws-sdk/middleware-serde": "3.127.0",
33
- "@aws-sdk/middleware-signing": "3.128.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
34
  "@aws-sdk/middleware-stack": "3.127.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.127.0",
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
37
37
  "@aws-sdk/node-http-handler": "3.127.0",
38
38
  "@aws-sdk/protocol-http": "3.127.0",
39
- "@aws-sdk/smithy-client": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.137.0",
40
40
  "@aws-sdk/types": "3.127.0",
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.128.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.137.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.137.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",