@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
|
@@ -0,0 +1,123 @@
|
|
|
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 { DeletePackageGroupRequest, DeletePackageGroupResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeletePackageGroupCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeletePackageGroupCommandInput extends DeletePackageGroupRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeletePackageGroupCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeletePackageGroupCommandOutput extends DeletePackageGroupResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeletePackageGroupCommand_base: {
|
|
24
|
+
new (input: DeletePackageGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePackageGroupCommandInput, DeletePackageGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeletePackageGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePackageGroupCommandInput, DeletePackageGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Deletes a package group.
|
|
30
|
+
* Deleting a package group does not delete packages or package versions associated with the package group.
|
|
31
|
+
* When a package group is deleted, the direct child package groups will become children of the package
|
|
32
|
+
* group's direct parent package group. Therefore, if any of the child groups are inheriting any settings
|
|
33
|
+
* from the parent, those settings could change.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { CodeartifactClient, DeletePackageGroupCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
|
|
38
|
+
* // const { CodeartifactClient, DeletePackageGroupCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
|
|
39
|
+
* const client = new CodeartifactClient(config);
|
|
40
|
+
* const input = { // DeletePackageGroupRequest
|
|
41
|
+
* domain: "STRING_VALUE", // required
|
|
42
|
+
* domainOwner: "STRING_VALUE",
|
|
43
|
+
* packageGroup: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeletePackageGroupCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DeletePackageGroupResult
|
|
48
|
+
* // packageGroup: { // PackageGroupDescription
|
|
49
|
+
* // arn: "STRING_VALUE",
|
|
50
|
+
* // pattern: "STRING_VALUE",
|
|
51
|
+
* // domainName: "STRING_VALUE",
|
|
52
|
+
* // domainOwner: "STRING_VALUE",
|
|
53
|
+
* // createdTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // contactInfo: "STRING_VALUE",
|
|
55
|
+
* // description: "STRING_VALUE",
|
|
56
|
+
* // originConfiguration: { // PackageGroupOriginConfiguration
|
|
57
|
+
* // restrictions: { // PackageGroupOriginRestrictions
|
|
58
|
+
* // "<keys>": { // PackageGroupOriginRestriction
|
|
59
|
+
* // mode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
60
|
+
* // effectiveMode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
61
|
+
* // inheritedFrom: { // PackageGroupReference
|
|
62
|
+
* // arn: "STRING_VALUE",
|
|
63
|
+
* // pattern: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // repositoriesCount: Number("long"),
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // parent: {
|
|
70
|
+
* // arn: "STRING_VALUE",
|
|
71
|
+
* // pattern: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @param DeletePackageGroupCommandInput - {@link DeletePackageGroupCommandInput}
|
|
79
|
+
* @returns {@link DeletePackageGroupCommandOutput}
|
|
80
|
+
* @see {@link DeletePackageGroupCommandInput} for command's `input` shape.
|
|
81
|
+
* @see {@link DeletePackageGroupCommandOutput} for command's `response` shape.
|
|
82
|
+
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
85
|
+
* <p>
|
|
86
|
+
* The operation did not succeed because of an unauthorized access attempt.
|
|
87
|
+
* </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ConflictException} (client fault)
|
|
90
|
+
* <p>
|
|
91
|
+
* The operation did not succeed because prerequisites are not met.
|
|
92
|
+
* </p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link InternalServerException} (server fault)
|
|
95
|
+
* <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
98
|
+
* <p>
|
|
99
|
+
* The operation did not succeed because the resource requested is not found in the service.
|
|
100
|
+
* </p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
103
|
+
* <p>
|
|
104
|
+
* The operation did not succeed because it would have exceeded a service limit for your account.
|
|
105
|
+
* </p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
108
|
+
* <p>
|
|
109
|
+
* The operation did not succeed because too many requests are sent to the service.
|
|
110
|
+
* </p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link ValidationException} (client fault)
|
|
113
|
+
* <p>
|
|
114
|
+
* The operation did not succeed because a parameter in the request was sent with an invalid value.
|
|
115
|
+
* </p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link CodeartifactServiceException}
|
|
118
|
+
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
119
|
+
*
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export declare class DeletePackageGroupCommand extends DeletePackageGroupCommand_base {
|
|
123
|
+
}
|
|
@@ -22,10 +22,10 @@ export interface DeletePackageVersionsCommandOutput extends DeletePackageVersion
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeletePackageVersionsCommand_base: {
|
|
24
24
|
new (input: DeletePackageVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePackageVersionsCommandInput, DeletePackageVersionsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeletePackageVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePackageVersionsCommandInput, DeletePackageVersionsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p> Deletes one or more versions of a package. A deleted package version cannot be restored
|
|
30
30
|
* in your repository. If you want to remove a package version from your repository and be able
|
|
31
31
|
* to restore it later, set its status to <code>Archived</code>. Archived packages cannot be
|
|
@@ -105,6 +105,7 @@ declare const DeletePackageVersionsCommand_base: {
|
|
|
105
105
|
* @throws {@link CodeartifactServiceException}
|
|
106
106
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
107
107
|
*
|
|
108
|
+
* @public
|
|
108
109
|
*/
|
|
109
110
|
export declare class DeletePackageVersionsCommand extends DeletePackageVersionsCommand_base {
|
|
110
111
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResult, _
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteRepositoryCommand_base: {
|
|
24
24
|
new (input: DeleteRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Deletes a repository.
|
|
31
31
|
* </p>
|
|
@@ -105,6 +105,7 @@ declare const DeleteRepositoryCommand_base: {
|
|
|
105
105
|
* @throws {@link CodeartifactServiceException}
|
|
106
106
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
107
107
|
*
|
|
108
|
+
* @public
|
|
108
109
|
*/
|
|
109
110
|
export declare class DeleteRepositoryCommand extends DeleteRepositoryCommand_base {
|
|
110
111
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteRepositoryPermissionsPolicyCommandOutput extends DeleteRe
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteRepositoryPermissionsPolicyCommand_base: {
|
|
24
24
|
new (input: DeleteRepositoryPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRepositoryPermissionsPolicyCommandInput, DeleteRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteRepositoryPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRepositoryPermissionsPolicyCommandInput, DeleteRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Deletes the resource policy that is set on a repository. After a resource policy is deleted, the
|
|
31
31
|
* permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.
|
|
@@ -97,6 +97,7 @@ declare const DeleteRepositoryPermissionsPolicyCommand_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 DeleteRepositoryPermissionsPolicyCommand extends DeleteRepositoryPermissionsPolicyCommand_base {
|
|
102
103
|
}
|
|
@@ -22,10 +22,10 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResult, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeDomainCommand_base: {
|
|
24
24
|
new (input: DescribeDomainCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeDomainCommandInput, DescribeDomainCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeDomainCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeDomainCommandInput, DescribeDomainCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Returns a
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainDescription.html">DomainDescription</a>
|
|
@@ -91,6 +91,7 @@ declare const DescribeDomainCommand_base: {
|
|
|
91
91
|
* @throws {@link CodeartifactServiceException}
|
|
92
92
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
93
93
|
*
|
|
94
|
+
* @public
|
|
94
95
|
*/
|
|
95
96
|
export declare class DescribeDomainCommand extends DescribeDomainCommand_base {
|
|
96
97
|
}
|
|
@@ -22,10 +22,10 @@ export interface DescribePackageCommandOutput extends DescribePackageResult, __M
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribePackageCommand_base: {
|
|
24
24
|
new (input: DescribePackageCommandInput): import("@smithy/smithy-client").CommandImpl<DescribePackageCommandInput, DescribePackageCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribePackageCommandInput): import("@smithy/smithy-client").CommandImpl<DescribePackageCommandInput, DescribePackageCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p> Returns a
|
|
30
30
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html">PackageDescription</a>
|
|
31
31
|
* object that contains information about the requested package.</p>
|
|
@@ -93,6 +93,7 @@ declare const DescribePackageCommand_base: {
|
|
|
93
93
|
* @throws {@link CodeartifactServiceException}
|
|
94
94
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
95
95
|
*
|
|
96
|
+
* @public
|
|
96
97
|
*/
|
|
97
98
|
export declare class DescribePackageCommand extends DescribePackageCommand_base {
|
|
98
99
|
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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 { DescribePackageGroupRequest, DescribePackageGroupResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DescribePackageGroupCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DescribePackageGroupCommandInput extends DescribePackageGroupRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DescribePackageGroupCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribePackageGroupCommandOutput extends DescribePackageGroupResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DescribePackageGroupCommand_base: {
|
|
24
|
+
new (input: DescribePackageGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DescribePackageGroupCommandInput, DescribePackageGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribePackageGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DescribePackageGroupCommandInput, DescribePackageGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Returns a <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageGroupDescription.html">PackageGroupDescription</a> object that
|
|
30
|
+
* contains information about the requested package group.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CodeartifactClient, DescribePackageGroupCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
|
|
35
|
+
* // const { CodeartifactClient, DescribePackageGroupCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
|
|
36
|
+
* const client = new CodeartifactClient(config);
|
|
37
|
+
* const input = { // DescribePackageGroupRequest
|
|
38
|
+
* domain: "STRING_VALUE", // required
|
|
39
|
+
* domainOwner: "STRING_VALUE",
|
|
40
|
+
* packageGroup: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DescribePackageGroupCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DescribePackageGroupResult
|
|
45
|
+
* // packageGroup: { // PackageGroupDescription
|
|
46
|
+
* // arn: "STRING_VALUE",
|
|
47
|
+
* // pattern: "STRING_VALUE",
|
|
48
|
+
* // domainName: "STRING_VALUE",
|
|
49
|
+
* // domainOwner: "STRING_VALUE",
|
|
50
|
+
* // createdTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // contactInfo: "STRING_VALUE",
|
|
52
|
+
* // description: "STRING_VALUE",
|
|
53
|
+
* // originConfiguration: { // PackageGroupOriginConfiguration
|
|
54
|
+
* // restrictions: { // PackageGroupOriginRestrictions
|
|
55
|
+
* // "<keys>": { // PackageGroupOriginRestriction
|
|
56
|
+
* // mode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
57
|
+
* // effectiveMode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
58
|
+
* // inheritedFrom: { // PackageGroupReference
|
|
59
|
+
* // arn: "STRING_VALUE",
|
|
60
|
+
* // pattern: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // repositoriesCount: Number("long"),
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // parent: {
|
|
67
|
+
* // arn: "STRING_VALUE",
|
|
68
|
+
* // pattern: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param DescribePackageGroupCommandInput - {@link DescribePackageGroupCommandInput}
|
|
76
|
+
* @returns {@link DescribePackageGroupCommandOutput}
|
|
77
|
+
* @see {@link DescribePackageGroupCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link DescribePackageGroupCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link CodeartifactClientResolvedConfig | config} for CodeartifactClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
* <p>
|
|
83
|
+
* The operation did not succeed because of an unauthorized access attempt.
|
|
84
|
+
* </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerException} (server fault)
|
|
87
|
+
* <p> The operation did not succeed because of an error that occurred inside CodeArtifact. </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
90
|
+
* <p>
|
|
91
|
+
* The operation did not succeed because the resource requested is not found in the service.
|
|
92
|
+
* </p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
95
|
+
* <p>
|
|
96
|
+
* The operation did not succeed because too many requests are sent to the service.
|
|
97
|
+
* </p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p>
|
|
101
|
+
* The operation did not succeed because a parameter in the request was sent with an invalid value.
|
|
102
|
+
* </p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link CodeartifactServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class DescribePackageGroupCommand extends DescribePackageGroupCommand_base {
|
|
110
|
+
}
|
|
@@ -22,10 +22,10 @@ export interface DescribePackageVersionCommandOutput extends DescribePackageVers
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribePackageVersionCommand_base: {
|
|
24
24
|
new (input: DescribePackageVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DescribePackageVersionCommandInput, DescribePackageVersionCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribePackageVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DescribePackageVersionCommandInput, DescribePackageVersionCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Returns a
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html">PackageVersionDescription</a>
|
|
@@ -116,6 +116,7 @@ declare const DescribePackageVersionCommand_base: {
|
|
|
116
116
|
* @throws {@link CodeartifactServiceException}
|
|
117
117
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
118
118
|
*
|
|
119
|
+
* @public
|
|
119
120
|
*/
|
|
120
121
|
export declare class DescribePackageVersionCommand extends DescribePackageVersionCommand_base {
|
|
121
122
|
}
|
|
@@ -22,10 +22,10 @@ export interface DescribeRepositoryCommandOutput extends DescribeRepositoryResul
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeRepositoryCommand_base: {
|
|
24
24
|
new (input: DescribeRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeRepositoryCommandInput, DescribeRepositoryCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DescribeRepositoryCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeRepositoryCommandInput, DescribeRepositoryCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Returns a <code>RepositoryDescription</code> object that contains detailed information
|
|
31
31
|
* about the requested repository.
|
|
@@ -101,6 +101,7 @@ declare const DescribeRepositoryCommand_base: {
|
|
|
101
101
|
* @throws {@link CodeartifactServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
103
103
|
*
|
|
104
|
+
* @public
|
|
104
105
|
*/
|
|
105
106
|
export declare class DescribeRepositoryCommand extends DescribeRepositoryCommand_base {
|
|
106
107
|
}
|
|
@@ -22,10 +22,10 @@ export interface DisassociateExternalConnectionCommandOutput extends Disassociat
|
|
|
22
22
|
}
|
|
23
23
|
declare const DisassociateExternalConnectionCommand_base: {
|
|
24
24
|
new (input: DisassociateExternalConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateExternalConnectionCommandInput, DisassociateExternalConnectionCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DisassociateExternalConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateExternalConnectionCommandInput, DisassociateExternalConnectionCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Removes an existing external connection from a repository.
|
|
31
31
|
* </p>
|
|
@@ -111,6 +111,7 @@ declare const DisassociateExternalConnectionCommand_base: {
|
|
|
111
111
|
* @throws {@link CodeartifactServiceException}
|
|
112
112
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
113
113
|
*
|
|
114
|
+
* @public
|
|
114
115
|
*/
|
|
115
116
|
export declare class DisassociateExternalConnectionCommand extends DisassociateExternalConnectionCommand_base {
|
|
116
117
|
}
|
|
@@ -22,10 +22,10 @@ export interface DisposePackageVersionsCommandOutput extends DisposePackageVersi
|
|
|
22
22
|
}
|
|
23
23
|
declare const DisposePackageVersionsCommand_base: {
|
|
24
24
|
new (input: DisposePackageVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<DisposePackageVersionsCommandInput, DisposePackageVersionsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DisposePackageVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<DisposePackageVersionsCommandInput, DisposePackageVersionsCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Deletes the assets in package versions and sets the package versions' status to <code>Disposed</code>.
|
|
31
31
|
* A disposed package version cannot be restored in your repository because its assets are deleted.
|
|
@@ -115,6 +115,7 @@ declare const DisposePackageVersionsCommand_base: {
|
|
|
115
115
|
* @throws {@link CodeartifactServiceException}
|
|
116
116
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
117
117
|
*
|
|
118
|
+
* @public
|
|
118
119
|
*/
|
|
119
120
|
export declare class DisposePackageVersionsCommand extends DisposePackageVersionsCommand_base {
|
|
120
121
|
}
|
|
@@ -0,0 +1,112 @@
|
|
|
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 { GetAssociatedPackageGroupRequest, GetAssociatedPackageGroupResult } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetAssociatedPackageGroupCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetAssociatedPackageGroupCommandInput extends GetAssociatedPackageGroupRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetAssociatedPackageGroupCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetAssociatedPackageGroupCommandOutput extends GetAssociatedPackageGroupResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetAssociatedPackageGroupCommand_base: {
|
|
24
|
+
new (input: GetAssociatedPackageGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetAssociatedPackageGroupCommandInput, GetAssociatedPackageGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetAssociatedPackageGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetAssociatedPackageGroupCommandInput, GetAssociatedPackageGroupCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Returns the most closely associated package group to the specified package. This API does not require that the package exist
|
|
30
|
+
* in any repository in the domain. As such, <code>GetAssociatedPackageGroup</code> can be used to see which package group's origin configuration
|
|
31
|
+
* applies to a package before that package is in a repository. This can be helpful to check if public packages are blocked without ingesting them.</p>
|
|
32
|
+
* <p>For information package group association and matching, see
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-definition-syntax-matching-behavior.html">Package group
|
|
34
|
+
* definition syntax and matching behavior</a> in the <i>CodeArtifact User Guide</i>.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { CodeartifactClient, GetAssociatedPackageGroupCommand } from "@aws-sdk/client-codeartifact"; // ES Modules import
|
|
39
|
+
* // const { CodeartifactClient, GetAssociatedPackageGroupCommand } = require("@aws-sdk/client-codeartifact"); // CommonJS import
|
|
40
|
+
* const client = new CodeartifactClient(config);
|
|
41
|
+
* const input = { // GetAssociatedPackageGroupRequest
|
|
42
|
+
* domain: "STRING_VALUE", // required
|
|
43
|
+
* domainOwner: "STRING_VALUE",
|
|
44
|
+
* format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required
|
|
45
|
+
* namespace: "STRING_VALUE",
|
|
46
|
+
* package: "STRING_VALUE", // required
|
|
47
|
+
* };
|
|
48
|
+
* const command = new GetAssociatedPackageGroupCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // GetAssociatedPackageGroupResult
|
|
51
|
+
* // packageGroup: { // PackageGroupDescription
|
|
52
|
+
* // arn: "STRING_VALUE",
|
|
53
|
+
* // pattern: "STRING_VALUE",
|
|
54
|
+
* // domainName: "STRING_VALUE",
|
|
55
|
+
* // domainOwner: "STRING_VALUE",
|
|
56
|
+
* // createdTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // contactInfo: "STRING_VALUE",
|
|
58
|
+
* // description: "STRING_VALUE",
|
|
59
|
+
* // originConfiguration: { // PackageGroupOriginConfiguration
|
|
60
|
+
* // restrictions: { // PackageGroupOriginRestrictions
|
|
61
|
+
* // "<keys>": { // PackageGroupOriginRestriction
|
|
62
|
+
* // mode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
63
|
+
* // effectiveMode: "ALLOW" || "ALLOW_SPECIFIC_REPOSITORIES" || "BLOCK" || "INHERIT",
|
|
64
|
+
* // inheritedFrom: { // PackageGroupReference
|
|
65
|
+
* // arn: "STRING_VALUE",
|
|
66
|
+
* // pattern: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // repositoriesCount: Number("long"),
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // parent: {
|
|
73
|
+
* // arn: "STRING_VALUE",
|
|
74
|
+
* // pattern: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // associationType: "STRONG" || "WEAK",
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* @param GetAssociatedPackageGroupCommandInput - {@link GetAssociatedPackageGroupCommandInput}
|
|
83
|
+
* @returns {@link GetAssociatedPackageGroupCommandOutput}
|
|
84
|
+
* @see {@link GetAssociatedPackageGroupCommandInput} for command's `input` shape.
|
|
85
|
+
* @see {@link GetAssociatedPackageGroupCommandOutput} 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 ValidationException} (client fault)
|
|
102
|
+
* <p>
|
|
103
|
+
* The operation did not succeed because a parameter in the request was sent with an invalid value.
|
|
104
|
+
* </p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link CodeartifactServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class GetAssociatedPackageGroupCommand extends GetAssociatedPackageGroupCommand_base {
|
|
112
|
+
}
|
|
@@ -22,10 +22,10 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetAuthorizationTokenCommand_base: {
|
|
24
24
|
new (input: GetAuthorizationTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetAuthorizationTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Generates a temporary authorization token for accessing repositories in the domain.
|
|
31
31
|
* This API requires the <code>codeartifact:GetAuthorizationToken</code> and <code>sts:GetServiceBearerToken</code> permissions.
|
|
@@ -99,6 +99,7 @@ declare const GetAuthorizationTokenCommand_base: {
|
|
|
99
99
|
* @throws {@link CodeartifactServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
101
101
|
*
|
|
102
|
+
* @public
|
|
102
103
|
*/
|
|
103
104
|
export declare class GetAuthorizationTokenCommand extends GetAuthorizationTokenCommand_base {
|
|
104
105
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetDomainPermissionsPolicyCommandOutput extends GetDomainPermis
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetDomainPermissionsPolicyCommand_base: {
|
|
24
24
|
new (input: GetDomainPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetDomainPermissionsPolicyCommandInput, GetDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetDomainPermissionsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetDomainPermissionsPolicyCommandInput, GetDomainPermissionsPolicyCommandOutput, 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 attached to the specified domain.
|
|
31
31
|
* </p>
|
|
@@ -90,6 +90,7 @@ declare const GetDomainPermissionsPolicyCommand_base: {
|
|
|
90
90
|
* @throws {@link CodeartifactServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
92
92
|
*
|
|
93
|
+
* @public
|
|
93
94
|
*/
|
|
94
95
|
export declare class GetDomainPermissionsPolicyCommand extends GetDomainPermissionsPolicyCommand_base {
|
|
95
96
|
}
|
|
@@ -23,10 +23,10 @@ export interface GetPackageVersionAssetCommandOutput extends Omit<GetPackageVers
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetPackageVersionAssetCommand_base: {
|
|
25
25
|
new (input: GetPackageVersionAssetCommandInput): import("@smithy/smithy-client").CommandImpl<GetPackageVersionAssetCommandInput, GetPackageVersionAssetCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetPackageVersionAssetCommandInput): import("@smithy/smithy-client").CommandImpl<GetPackageVersionAssetCommandInput, GetPackageVersionAssetCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
28
|
};
|
|
28
29
|
/**
|
|
29
|
-
* @public
|
|
30
30
|
* <p>
|
|
31
31
|
* Returns an asset (or file) that is in a package. For example, for a Maven package version, use
|
|
32
32
|
* <code>GetPackageVersionAsset</code> to download a <code>JAR</code> file, a <code>POM</code> file,
|
|
@@ -97,6 +97,7 @@ declare const GetPackageVersionAssetCommand_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 GetPackageVersionAssetCommand extends GetPackageVersionAssetCommand_base {
|
|
102
103
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetPackageVersionReadmeCommandOutput extends GetPackageVersionR
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetPackageVersionReadmeCommand_base: {
|
|
24
24
|
new (input: GetPackageVersionReadmeCommandInput): import("@smithy/smithy-client").CommandImpl<GetPackageVersionReadmeCommandInput, GetPackageVersionReadmeCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetPackageVersionReadmeCommandInput): import("@smithy/smithy-client").CommandImpl<GetPackageVersionReadmeCommandInput, GetPackageVersionReadmeCommandOutput, CodeartifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>
|
|
30
30
|
* Gets the readme file or descriptive text for a package version.
|
|
31
31
|
* </p>
|
|
@@ -92,6 +92,7 @@ declare const GetPackageVersionReadmeCommand_base: {
|
|
|
92
92
|
* @throws {@link CodeartifactServiceException}
|
|
93
93
|
* <p>Base exception class for all service exceptions from Codeartifact service.</p>
|
|
94
94
|
*
|
|
95
|
+
* @public
|
|
95
96
|
*/
|
|
96
97
|
export declare class GetPackageVersionReadmeCommand extends GetPackageVersionReadmeCommand_base {
|
|
97
98
|
}
|