@aws-sdk/client-codeartifact 3.533.0 → 3.539.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/README.md +149 -6
- package/dist-cjs/index.js +609 -2
- package/dist-es/Codeartifact.js +20 -0
- package/dist-es/commands/CreatePackageGroupCommand.js +24 -0
- package/dist-es/commands/DeletePackageGroupCommand.js +24 -0
- package/dist-es/commands/DescribePackageGroupCommand.js +24 -0
- package/dist-es/commands/GetAssociatedPackageGroupCommand.js +24 -0
- package/dist-es/commands/GetAuthorizationTokenCommand.js +2 -1
- package/dist-es/commands/ListAllowedRepositoriesForGroupCommand.js +24 -0
- package/dist-es/commands/ListAssociatedPackagesCommand.js +24 -0
- package/dist-es/commands/ListPackageGroupsCommand.js +24 -0
- package/dist-es/commands/ListSubPackageGroupsCommand.js +24 -0
- package/dist-es/commands/UpdatePackageGroupCommand.js +24 -0
- package/dist-es/commands/UpdatePackageGroupOriginConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/pagination/ListAllowedRepositoriesForGroupPaginator.js +4 -0
- package/dist-es/pagination/ListAssociatedPackagesPaginator.js +4 -0
- package/dist-es/pagination/ListPackageGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListSubPackageGroupsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +347 -0
- package/dist-types/Codeartifact.d.ts +142 -7
- package/dist-types/CodeartifactClient.d.ts +82 -9
- package/dist-types/commands/AssociateExternalConnectionCommand.d.ts +2 -1
- package/dist-types/commands/CopyPackageVersionsCommand.d.ts +2 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +2 -1
- package/dist-types/commands/CreatePackageGroupCommand.d.ts +129 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDomainCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDomainPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeletePackageCommand.d.ts +3 -2
- package/dist-types/commands/DeletePackageGroupCommand.d.ts +123 -0
- package/dist-types/commands/DeletePackageVersionsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +2 -1
- package/dist-types/commands/DescribePackageCommand.d.ts +2 -1
- package/dist-types/commands/DescribePackageGroupCommand.d.ts +110 -0
- package/dist-types/commands/DescribePackageVersionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateExternalConnectionCommand.d.ts +2 -1
- package/dist-types/commands/DisposePackageVersionsCommand.d.ts +2 -1
- package/dist-types/commands/GetAssociatedPackageGroupCommand.d.ts +112 -0
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +2 -1
- package/dist-types/commands/GetDomainPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetPackageVersionAssetCommand.d.ts +2 -1
- package/dist-types/commands/GetPackageVersionReadmeCommand.d.ts +2 -1
- package/dist-types/commands/GetRepositoryEndpointCommand.d.ts +12 -1
- package/dist-types/commands/GetRepositoryPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/ListAllowedRepositoriesForGroupCommand.d.ts +97 -0
- package/dist-types/commands/ListAssociatedPackagesCommand.d.ts +92 -0
- package/dist-types/commands/ListDomainsCommand.d.ts +2 -1
- package/dist-types/commands/ListPackageGroupsCommand.d.ts +114 -0
- package/dist-types/commands/ListPackageVersionAssetsCommand.d.ts +2 -1
- package/dist-types/commands/ListPackageVersionDependenciesCommand.d.ts +2 -1
- package/dist-types/commands/ListPackageVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListPackagesCommand.d.ts +2 -1
- package/dist-types/commands/ListRepositoriesCommand.d.ts +2 -1
- package/dist-types/commands/ListRepositoriesInDomainCommand.d.ts +2 -1
- package/dist-types/commands/ListSubPackageGroupsCommand.d.ts +117 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PublishPackageVersionCommand.d.ts +5 -4
- package/dist-types/commands/PutDomainPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutPackageOriginConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutRepositoryPermissionsPolicyCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePackageGroupCommand.d.ts +117 -0
- package/dist-types/commands/UpdatePackageGroupOriginConfigurationCommand.d.ts +141 -0
- package/dist-types/commands/UpdatePackageVersionsStatusCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/index.d.ts +69 -6
- package/dist-types/models/models_0.d.ts +1658 -559
- package/dist-types/pagination/ListAllowedRepositoriesForGroupPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssociatedPackagesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPackageGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSubPackageGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Codeartifact.d.ts +178 -0
- package/dist-types/ts3.4/CodeartifactClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/AssociateExternalConnectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CopyPackageVersionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreatePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDomainPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeletePackageVersionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribePackageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribePackageVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisassociateExternalConnectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisposePackageVersionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetAssociatedPackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDomainPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPackageVersionAssetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPackageVersionReadmeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRepositoryEndpointCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRepositoryPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAllowedRepositoriesForGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAssociatedPackagesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPackageGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListPackageVersionAssetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPackageVersionDependenciesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRepositoriesInDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListSubPackageGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PublishPackageVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutDomainPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutPackageOriginConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutRepositoryPermissionsPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdatePackageGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdatePackageGroupOriginConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdatePackageVersionsStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +196 -6
- package/dist-types/ts3.4/pagination/ListAllowedRepositoriesForGroupPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssociatedPackagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPackageGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSubPackageGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +41 -41
|
@@ -22,10 +22,10 @@ export interface GetRepositoryEndpointCommandOutput extends GetRepositoryEndpoin
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetRepositoryEndpointCommand_base: {
|
|
24
24
|
new (input: GetRepositoryEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<GetRepositoryEndpointCommandInput, GetRepositoryEndpointCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetRepositoryEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<GetRepositoryEndpointCommandInput, GetRepositoryEndpointCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each
|
|
31
31
|
* package format:
|
|
@@ -33,6 +33,11 @@ declare const GetRepositoryEndpointCommand_base: {
|
|
|
33
33
|
* <ul>
|
|
34
34
|
* <li>
|
|
35
35
|
* <p>
|
|
36
|
+
* <code>generic</code>
|
|
37
|
+
* </p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>
|
|
36
41
|
* <code>maven</code>
|
|
37
42
|
* </p>
|
|
38
43
|
* </li>
|
|
@@ -51,6 +56,11 @@ declare const GetRepositoryEndpointCommand_base: {
|
|
|
51
56
|
* <code>pypi</code>
|
|
52
57
|
* </p>
|
|
53
58
|
* </li>
|
|
59
|
+
* <li>
|
|
60
|
+
* <p>
|
|
61
|
+
* <code>swift</code>
|
|
62
|
+
* </p>
|
|
63
|
+
* </li>
|
|
54
64
|
* </ul>
|
|
55
65
|
* @example
|
|
56
66
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -104,6 +114,7 @@ declare const GetRepositoryEndpointCommand_base: {
|
|
|
104
114
|
* @throws {@link CodeartifactServiceException}
|
|
105
115
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
106
116
|
*
|
|
117
|
+
* @public
|
|
107
118
|
*/
|
|
108
119
|
export declare class GetRepositoryEndpointCommand extends GetRepositoryEndpointCommand_base {
|
|
109
120
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetRepositoryPermissionsPolicyCommandOutput extends GetReposito
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetRepositoryPermissionsPolicyCommand_base: {
|
|
24
24
|
new (input: GetRepositoryPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetRepositoryPermissionsPolicyCommandInput, GetRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetRepositoryPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetRepositoryPermissionsPolicyCommandInput, GetRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Returns the resource policy that is set on a repository.
|
|
31
31
|
* </p>
|
|
@@ -84,6 +84,7 @@ declare const GetRepositoryPermissionsPolicyCommand_base: {
|
|
|
84
84
|
* @throws {@link CodeartifactServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
86
86
|
*
|
|
87
|
+
* @public
|
|
87
88
|
*/
|
|
88
89
|
export declare class GetRepositoryPermissionsPolicyCommand extends GetRepositoryPermissionsPolicyCommand_base {
|
|
89
90
|
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
4
|
+
import { ListAllowedRepositoriesForGroupRequest, ListAllowedRepositoriesForGroupResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListAllowedRepositoriesForGroupCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListAllowedRepositoriesForGroupCommandInput extends ListAllowedRepositoriesForGroupRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListAllowedRepositoriesForGroupCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListAllowedRepositoriesForGroupCommandOutput extends ListAllowedRepositoriesForGroupResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListAllowedRepositoriesForGroupCommand_base: {
|
|
24
|
+
new (input: ListAllowedRepositoriesForGroupCommandInput): import("@smithy/smithy-client").CommandImpl<ListAllowedRepositoriesForGroupCommandInput, ListAllowedRepositoriesForGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListAllowedRepositoriesForGroupCommandInput): import("@smithy/smithy-client").CommandImpl<ListAllowedRepositoriesForGroupCommandInput, ListAllowedRepositoriesForGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Lists the repositories in the added repositories list of the specified restriction type for a package group. For more information about restriction types
|
|
30
|
+
* and added repository lists, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-origin-controls.html">Package group origin controls</a> in the <i>CodeArtifact User Guide</i>.
|
|
31
|
+
* </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CodeartifactClient, ListAllowedRepositoriesForGroupCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
|
|
36
|
+
* // const { CodeartifactClient, ListAllowedRepositoriesForGroupCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
|
|
37
|
+
* const client = new CodeartifactClient(config);
|
|
38
|
+
* const input = { // ListAllowedRepositoriesForGroupRequest
|
|
39
|
+
* domain: "STRING_VALUE", // required
|
|
40
|
+
* domainOwner: "STRING_VALUE",
|
|
41
|
+
* packageGroup: "STRING_VALUE", // required
|
|
42
|
+
* originRestrictionType: "EXTERNAL_UPSTREAM" || "INTERNAL_UPSTREAM" || "PUBLISH", // required
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListAllowedRepositoriesForGroupCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListAllowedRepositoriesForGroupResult
|
|
49
|
+
* // allowedRepositories: [ // RepositoryNameList
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // nextToken: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param ListAllowedRepositoriesForGroupCommandInput - {@link ListAllowedRepositoriesForGroupCommandInput}
|
|
58
|
+
* @returns {@link ListAllowedRepositoriesForGroupCommandOutput}
|
|
59
|
+
* @see {@link ListAllowedRepositoriesForGroupCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link ListAllowedRepositoriesForGroupCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>
|
|
65
|
+
* The operation did not succeed because of an unauthorized access attempt.
|
|
66
|
+
* </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>
|
|
73
|
+
* The operation did not succeed because the resource requested is not found in the service.
|
|
74
|
+
* </p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
77
|
+
* <p>
|
|
78
|
+
* The operation did not succeed because it would have exceeded a service limit for your account.
|
|
79
|
+
* </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>
|
|
83
|
+
* The operation did not succeed because too many requests are sent to the service.
|
|
84
|
+
* </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>
|
|
88
|
+
* The operation did not succeed because a parameter in the request was sent with an invalid value.
|
|
89
|
+
* </p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link CodeartifactServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class ListAllowedRepositoriesForGroupCommand extends ListAllowedRepositoriesForGroupCommand_base {
|
|
97
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
4
|
+
import { ListAssociatedPackagesRequest, ListAssociatedPackagesResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListAssociatedPackagesCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListAssociatedPackagesCommandInput extends ListAssociatedPackagesRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListAssociatedPackagesCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListAssociatedPackagesCommandOutput extends ListAssociatedPackagesResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListAssociatedPackagesCommand_base: {
|
|
24
|
+
new (input: ListAssociatedPackagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssociatedPackagesCommandInput, ListAssociatedPackagesCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListAssociatedPackagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssociatedPackagesCommandInput, ListAssociatedPackagesCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Returns a list of packages associated with the requested package group. For information package group association and matching, see
|
|
30
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-definition-syntax-matching-behavior.html">Package group
|
|
31
|
+
* definition syntax and matching behavior</a> in the <i>CodeArtifact User Guide</i>.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CodeartifactClient, ListAssociatedPackagesCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
|
|
36
|
+
* // const { CodeartifactClient, ListAssociatedPackagesCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
|
|
37
|
+
* const client = new CodeartifactClient(config);
|
|
38
|
+
* const input = { // ListAssociatedPackagesRequest
|
|
39
|
+
* domain: "STRING_VALUE", // required
|
|
40
|
+
* domainOwner: "STRING_VALUE",
|
|
41
|
+
* packageGroup: "STRING_VALUE", // required
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* preview: true || false,
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListAssociatedPackagesCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListAssociatedPackagesResult
|
|
49
|
+
* // packages: [ // AssociatedPackageList
|
|
50
|
+
* // { // AssociatedPackage
|
|
51
|
+
* // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift",
|
|
52
|
+
* // namespace: "STRING_VALUE",
|
|
53
|
+
* // package: "STRING_VALUE",
|
|
54
|
+
* // associationType: "STRONG" || "WEAK",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // nextToken: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param ListAssociatedPackagesCommandInput - {@link ListAssociatedPackagesCommandInput}
|
|
63
|
+
* @returns {@link ListAssociatedPackagesCommandOutput}
|
|
64
|
+
* @see {@link ListAssociatedPackagesCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link ListAssociatedPackagesCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>
|
|
70
|
+
* The operation did not succeed because of an unauthorized access attempt.
|
|
71
|
+
* </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>
|
|
78
|
+
* The operation did not succeed because the resource requested is not found in the service.
|
|
79
|
+
* </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>
|
|
83
|
+
* The operation did not succeed because a parameter in the request was sent with an invalid value.
|
|
84
|
+
* </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link CodeartifactServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListAssociatedPackagesCommand extends ListAssociatedPackagesCommand_base {
|
|
92
|
+
}
|
|
@@ -22,10 +22,10 @@ export interface ListDomainsCommandOutput extends ListDomainsResult, __MetadataB
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListDomainsCommand_base: {
|
|
24
24
|
new (input: ListDomainsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDomainsCommandInput, ListDomainsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListDomainsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListDomainsCommandInput, ListDomainsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p> Returns a list of <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">DomainSummary</a> objects for all domains owned by the Amazon Web Services account that makes
|
|
30
30
|
* this call. Each returned <code>DomainSummary</code> object contains information about a
|
|
31
31
|
* domain. </p>
|
|
@@ -84,6 +84,7 @@ declare const ListDomainsCommand_base: {
|
|
|
84
84
|
* @throws {@link CodeartifactServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
86
86
|
*
|
|
87
|
+
* @public
|
|
87
88
|
*/
|
|
88
89
|
export declare class ListDomainsCommand extends ListDomainsCommand_base {
|
|
89
90
|
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
4
|
+
import { ListPackageGroupsRequest, ListPackageGroupsResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListPackageGroupsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListPackageGroupsCommandInput extends ListPackageGroupsRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListPackageGroupsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListPackageGroupsCommandOutput extends ListPackageGroupsResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListPackageGroupsCommand_base: {
|
|
24
|
+
new (input: ListPackageGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackageGroupsCommandInput, ListPackageGroupsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListPackageGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackageGroupsCommandInput, ListPackageGroupsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Returns a list of package groups in the requested domain.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CodeartifactClient, ListPackageGroupsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
|
|
34
|
+
* // const { CodeartifactClient, ListPackageGroupsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
|
|
35
|
+
* const client = new CodeartifactClient(config);
|
|
36
|
+
* const input = { // ListPackageGroupsRequest
|
|
37
|
+
* domain: "STRING_VALUE", // required
|
|
38
|
+
* domainOwner: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* prefix: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListPackageGroupsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListPackageGroupsResult
|
|
46
|
+
* // packageGroups: [ // PackageGroupSummaryList
|
|
47
|
+
* // { // PackageGroupSummary
|
|
48
|
+
* // arn: "STRING_VALUE",
|
|
49
|
+
* // pattern: "STRING_VALUE",
|
|
50
|
+
* // domainName: "STRING_VALUE",
|
|
51
|
+
* // domainOwner: "STRING_VALUE",
|
|
52
|
+
* // createdTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // contactInfo: "STRING_VALUE",
|
|
54
|
+
* // description: "STRING_VALUE",
|
|
55
|
+
* // originConfiguration: { // PackageGroupOriginConfiguration
|
|
56
|
+
* // restrictions: { // PackageGroupOriginRestrictions
|
|
57
|
+
* // "<keys>": { // PackageGroupOriginRestriction
|
|
58
|
+
* // mode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
59
|
+
* // effectiveMode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
60
|
+
* // inheritedFrom: { // PackageGroupReference
|
|
61
|
+
* // arn: "STRING_VALUE",
|
|
62
|
+
* // pattern: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // repositoriesCount: Number("long"),
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // parent: {
|
|
69
|
+
* // arn: "STRING_VALUE",
|
|
70
|
+
* // pattern: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // nextToken: "STRING_VALUE",
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @param ListPackageGroupsCommandInput - {@link ListPackageGroupsCommandInput}
|
|
80
|
+
* @returns {@link ListPackageGroupsCommandOutput}
|
|
81
|
+
* @see {@link ListPackageGroupsCommandInput} for command's `input` shape.
|
|
82
|
+
* @see {@link ListPackageGroupsCommandOutput} for command's `response` shape.
|
|
83
|
+
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
86
|
+
* <p>
|
|
87
|
+
* The operation did not succeed because of an unauthorized access attempt.
|
|
88
|
+
* </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalServerException} (server fault)
|
|
91
|
+
* <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
+
* <p>
|
|
95
|
+
* The operation did not succeed because the resource requested is not found in the service.
|
|
96
|
+
* </p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
99
|
+
* <p>
|
|
100
|
+
* The operation did not succeed because too many requests are sent to the service.
|
|
101
|
+
* </p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ValidationException} (client fault)
|
|
104
|
+
* <p>
|
|
105
|
+
* The operation did not succeed because a parameter in the request was sent with an invalid value.
|
|
106
|
+
* </p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link CodeartifactServiceException}
|
|
109
|
+
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class ListPackageGroupsCommand extends ListPackageGroupsCommand_base {
|
|
114
|
+
}
|
|
@@ -22,10 +22,10 @@ export interface ListPackageVersionAssetsCommandOutput extends ListPackageVersio
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListPackageVersionAssetsCommand_base: {
|
|
24
24
|
new (input: ListPackageVersionAssetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackageVersionAssetsCommandInput, ListPackageVersionAssetsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListPackageVersionAssetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackageVersionAssetsCommandInput, ListPackageVersionAssetsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Returns a list of
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html">AssetSummary</a>
|
|
@@ -102,6 +102,7 @@ declare const ListPackageVersionAssetsCommand_base: {
|
|
|
102
102
|
* @throws {@link CodeartifactServiceException}
|
|
103
103
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
104
104
|
*
|
|
105
|
+
* @public
|
|
105
106
|
*/
|
|
106
107
|
export declare class ListPackageVersionAssetsCommand extends ListPackageVersionAssetsCommand_base {
|
|
107
108
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListPackageVersionDependenciesCommandOutput extends ListPackage
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListPackageVersionDependenciesCommand_base: {
|
|
24
24
|
new (input: ListPackageVersionDependenciesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackageVersionDependenciesCommandInput, ListPackageVersionDependenciesCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListPackageVersionDependenciesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackageVersionDependenciesCommandInput, ListPackageVersionDependenciesCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Returns the direct dependencies for a package version. The dependencies are returned as
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDependency.html">PackageDependency</a>
|
|
@@ -102,6 +102,7 @@ declare const ListPackageVersionDependenciesCommand_base: {
|
|
|
102
102
|
* @throws {@link CodeartifactServiceException}
|
|
103
103
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
104
104
|
*
|
|
105
|
+
* @public
|
|
105
106
|
*/
|
|
106
107
|
export declare class ListPackageVersionDependenciesCommand extends ListPackageVersionDependenciesCommand_base {
|
|
107
108
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListPackageVersionsCommandOutput extends ListPackageVersionsRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListPackageVersionsCommand_base: {
|
|
24
24
|
new (input: ListPackageVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListPackageVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackageVersionsCommandInput, ListPackageVersionsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Returns a list of
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html">PackageVersionSummary</a>
|
|
@@ -108,6 +108,7 @@ declare const ListPackageVersionsCommand_base: {
|
|
|
108
108
|
* @throws {@link CodeartifactServiceException}
|
|
109
109
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
110
110
|
*
|
|
111
|
+
* @public
|
|
111
112
|
*/
|
|
112
113
|
export declare class ListPackageVersionsCommand extends ListPackageVersionsCommand_base {
|
|
113
114
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListPackagesCommandOutput extends ListPackagesResult, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListPackagesCommand_base: {
|
|
24
24
|
new (input: ListPackagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackagesCommandInput, ListPackagesCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListPackagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackagesCommandInput, ListPackagesCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Returns a list of
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageSummary.html">PackageSummary</a>
|
|
@@ -102,6 +102,7 @@ declare const ListPackagesCommand_base: {
|
|
|
102
102
|
* @throws {@link CodeartifactServiceException}
|
|
103
103
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
104
104
|
*
|
|
105
|
+
* @public
|
|
105
106
|
*/
|
|
106
107
|
export declare class ListPackagesCommand extends ListPackagesCommand_base {
|
|
107
108
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListRepositoriesCommandOutput extends ListRepositoriesResult, _
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListRepositoriesCommand_base: {
|
|
24
24
|
new (input: ListRepositoriesCommandInput): import("@smithy/smithy-client").CommandImpl<ListRepositoriesCommandInput, ListRepositoriesCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListRepositoriesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRepositoriesCommandInput, ListRepositoriesCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Returns a list of
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html">RepositorySummary</a>
|
|
@@ -89,6 +89,7 @@ declare const ListRepositoriesCommand_base: {
|
|
|
89
89
|
* @throws {@link CodeartifactServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
91
91
|
*
|
|
92
|
+
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class ListRepositoriesCommand extends ListRepositoriesCommand_base {
|
|
94
95
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListRepositoriesInDomainCommandOutput extends ListRepositoriesI
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListRepositoriesInDomainCommand_base: {
|
|
24
24
|
new (input: ListRepositoriesInDomainCommandInput): import("@smithy/smithy-client").CommandImpl<ListRepositoriesInDomainCommandInput, ListRepositoriesInDomainCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListRepositoriesInDomainCommandInput): import("@smithy/smithy-client").CommandImpl<ListRepositoriesInDomainCommandInput, ListRepositoriesInDomainCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Returns a list of
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html">RepositorySummary</a>
|
|
@@ -97,6 +97,7 @@ declare const ListRepositoriesInDomainCommand_base: {
|
|
|
97
97
|
* @throws {@link CodeartifactServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
99
99
|
*
|
|
100
|
+
* @public
|
|
100
101
|
*/
|
|
101
102
|
export declare class ListRepositoriesInDomainCommand extends ListRepositoriesInDomainCommand_base {
|
|
102
103
|
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeartifactClient";
|
|
4
|
+
import { ListSubPackageGroupsRequest, ListSubPackageGroupsResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListSubPackageGroupsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListSubPackageGroupsCommandInput extends ListSubPackageGroupsRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListSubPackageGroupsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListSubPackageGroupsCommandOutput extends ListSubPackageGroupsResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListSubPackageGroupsCommand_base: {
|
|
24
|
+
new (input: ListSubPackageGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSubPackageGroupsCommandInput, ListSubPackageGroupsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListSubPackageGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSubPackageGroupsCommandInput, ListSubPackageGroupsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Returns a list of direct children of the specified package group.</p>
|
|
30
|
+
* <p>For information package group hierarchy, see
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-definition-syntax-matching-behavior.html">Package group
|
|
32
|
+
* definition syntax and matching behavior</a> in the <i>CodeArtifact User Guide</i>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { CodeartifactClient, ListSubPackageGroupsCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
|
|
37
|
+
* // const { CodeartifactClient, ListSubPackageGroupsCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
|
|
38
|
+
* const client = new CodeartifactClient(config);
|
|
39
|
+
* const input = { // ListSubPackageGroupsRequest
|
|
40
|
+
* domain: "STRING_VALUE", // required
|
|
41
|
+
* domainOwner: "STRING_VALUE",
|
|
42
|
+
* packageGroup: "STRING_VALUE", // required
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListSubPackageGroupsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListSubPackageGroupsResult
|
|
49
|
+
* // packageGroups: [ // PackageGroupSummaryList
|
|
50
|
+
* // { // PackageGroupSummary
|
|
51
|
+
* // arn: "STRING_VALUE",
|
|
52
|
+
* // pattern: "STRING_VALUE",
|
|
53
|
+
* // domainName: "STRING_VALUE",
|
|
54
|
+
* // domainOwner: "STRING_VALUE",
|
|
55
|
+
* // createdTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // contactInfo: "STRING_VALUE",
|
|
57
|
+
* // description: "STRING_VALUE",
|
|
58
|
+
* // originConfiguration: { // PackageGroupOriginConfiguration
|
|
59
|
+
* // restrictions: { // PackageGroupOriginRestrictions
|
|
60
|
+
* // "<keys>": { // PackageGroupOriginRestriction
|
|
61
|
+
* // mode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
62
|
+
* // effectiveMode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
63
|
+
* // inheritedFrom: { // PackageGroupReference
|
|
64
|
+
* // arn: "STRING_VALUE",
|
|
65
|
+
* // pattern: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // repositoriesCount: Number("long"),
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // parent: {
|
|
72
|
+
* // arn: "STRING_VALUE",
|
|
73
|
+
* // pattern: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // nextToken: "STRING_VALUE",
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* @param ListSubPackageGroupsCommandInput - {@link ListSubPackageGroupsCommandInput}
|
|
83
|
+
* @returns {@link ListSubPackageGroupsCommandOutput}
|
|
84
|
+
* @see {@link ListSubPackageGroupsCommandInput} for command's `input` shape.
|
|
85
|
+
* @see {@link ListSubPackageGroupsCommandOutput} for command's `response` shape.
|
|
86
|
+
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
89
|
+
* <p>
|
|
90
|
+
* The operation did not succeed because of an unauthorized access attempt.
|
|
91
|
+
* </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InternalServerException} (server fault)
|
|
94
|
+
* <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
97
|
+
* <p>
|
|
98
|
+
* The operation did not succeed because the resource requested is not found in the service.
|
|
99
|
+
* </p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
102
|
+
* <p>
|
|
103
|
+
* The operation did not succeed because too many requests are sent to the service.
|
|
104
|
+
* </p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ValidationException} (client fault)
|
|
107
|
+
* <p>
|
|
108
|
+
* The operation did not succeed because a parameter in the request was sent with an invalid value.
|
|
109
|
+
* </p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link CodeartifactServiceException}
|
|
112
|
+
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export declare class ListSubPackageGroupsCommand extends ListSubPackageGroupsCommand_base {
|
|
117
|
+
}
|
|
@@ -22,10 +22,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListTagsForResourceCommand_base: {
|
|
24
24
|
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -78,6 +78,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
78
78
|
* @throws {@link CodeartifactServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
80
80
|
*
|
|
81
|
+
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
83
84
|
}
|