cdk-lambda-subminute 2.0.409 → 2.0.411
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/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +107 -95
- package/node_modules/aws-sdk/apis/codeartifact-2018-09-22.min.json +561 -33
- package/node_modules/aws-sdk/apis/codeartifact-2018-09-22.paginators.json +24 -0
- package/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +321 -258
- package/node_modules/aws-sdk/apis/managedblockchain-query-2023-05-04.min.json +8 -7
- package/node_modules/aws-sdk/apis/savingsplans-2019-06-28.min.json +25 -1
- package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +24 -2
- package/node_modules/aws-sdk/clients/codeartifact.d.ts +564 -25
- package/node_modules/aws-sdk/clients/codebuild.d.ts +1 -1
- package/node_modules/aws-sdk/clients/connect.d.ts +2 -2
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +154 -67
- package/node_modules/aws-sdk/clients/managedblockchainquery.d.ts +9 -1
- package/node_modules/aws-sdk/clients/savingsplans.d.ts +53 -25
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +7 -7
- package/node_modules/aws-sdk/dist/aws-sdk.js +324 -261
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +78 -78
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +128 -65
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
@@ -36,6 +36,14 @@ declare class CodeArtifact extends Service {
|
|
36
36
|
* Creates a domain. CodeArtifact domains make it easier to manage multiple repositories across an organization. You can use a domain to apply permissions across many repositories owned by different Amazon Web Services accounts. An asset is stored only once in a domain, even if it's in multiple repositories. Although you can have multiple domains, we recommend a single production domain that contains all published artifacts so that your development teams can find and share packages. You can use a second pre-production domain to test changes to the production domain configuration.
|
37
37
|
*/
|
38
38
|
createDomain(callback?: (err: AWSError, data: CodeArtifact.Types.CreateDomainResult) => void): Request<CodeArtifact.Types.CreateDomainResult, AWSError>;
|
39
|
+
/**
|
40
|
+
* Creates a package group. For more information about creating package groups, including example CLI commands, see Create a package group in the CodeArtifact User Guide.
|
41
|
+
*/
|
42
|
+
createPackageGroup(params: CodeArtifact.Types.CreatePackageGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.CreatePackageGroupResult) => void): Request<CodeArtifact.Types.CreatePackageGroupResult, AWSError>;
|
43
|
+
/**
|
44
|
+
* Creates a package group. For more information about creating package groups, including example CLI commands, see Create a package group in the CodeArtifact User Guide.
|
45
|
+
*/
|
46
|
+
createPackageGroup(callback?: (err: AWSError, data: CodeArtifact.Types.CreatePackageGroupResult) => void): Request<CodeArtifact.Types.CreatePackageGroupResult, AWSError>;
|
39
47
|
/**
|
40
48
|
* Creates a repository.
|
41
49
|
*/
|
@@ -68,6 +76,14 @@ declare class CodeArtifact extends Service {
|
|
68
76
|
* Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the DeletePackageVersions API.
|
69
77
|
*/
|
70
78
|
deletePackage(callback?: (err: AWSError, data: CodeArtifact.Types.DeletePackageResult) => void): Request<CodeArtifact.Types.DeletePackageResult, AWSError>;
|
79
|
+
/**
|
80
|
+
* Deletes a package group. Deleting a package group does not delete packages or package versions associated with the package group. When a package group is deleted, the direct child package groups will become children of the package group's direct parent package group. Therefore, if any of the child groups are inheriting any settings from the parent, those settings could change.
|
81
|
+
*/
|
82
|
+
deletePackageGroup(params: CodeArtifact.Types.DeletePackageGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.DeletePackageGroupResult) => void): Request<CodeArtifact.Types.DeletePackageGroupResult, AWSError>;
|
83
|
+
/**
|
84
|
+
* Deletes a package group. Deleting a package group does not delete packages or package versions associated with the package group. When a package group is deleted, the direct child package groups will become children of the package group's direct parent package group. Therefore, if any of the child groups are inheriting any settings from the parent, those settings could change.
|
85
|
+
*/
|
86
|
+
deletePackageGroup(callback?: (err: AWSError, data: CodeArtifact.Types.DeletePackageGroupResult) => void): Request<CodeArtifact.Types.DeletePackageGroupResult, AWSError>;
|
71
87
|
/**
|
72
88
|
* Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListPackageVersions), but you can restore them using UpdatePackageVersionsStatus.
|
73
89
|
*/
|
@@ -108,6 +124,14 @@ declare class CodeArtifact extends Service {
|
|
108
124
|
* Returns a PackageDescription object that contains information about the requested package.
|
109
125
|
*/
|
110
126
|
describePackage(callback?: (err: AWSError, data: CodeArtifact.Types.DescribePackageResult) => void): Request<CodeArtifact.Types.DescribePackageResult, AWSError>;
|
127
|
+
/**
|
128
|
+
* Returns a PackageGroupDescription object that contains information about the requested package group.
|
129
|
+
*/
|
130
|
+
describePackageGroup(params: CodeArtifact.Types.DescribePackageGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.DescribePackageGroupResult) => void): Request<CodeArtifact.Types.DescribePackageGroupResult, AWSError>;
|
131
|
+
/**
|
132
|
+
* Returns a PackageGroupDescription object that contains information about the requested package group.
|
133
|
+
*/
|
134
|
+
describePackageGroup(callback?: (err: AWSError, data: CodeArtifact.Types.DescribePackageGroupResult) => void): Request<CodeArtifact.Types.DescribePackageGroupResult, AWSError>;
|
111
135
|
/**
|
112
136
|
* Returns a PackageVersionDescription object that contains information about the requested package version.
|
113
137
|
*/
|
@@ -140,6 +164,14 @@ declare class CodeArtifact extends Service {
|
|
140
164
|
* Deletes the assets in package versions and sets the package versions' status to Disposed. A disposed package version cannot be restored in your repository because its assets are deleted. To view all disposed package versions in a repository, use ListPackageVersions and set the status parameter to Disposed. To view information about a disposed package version, use DescribePackageVersion.
|
141
165
|
*/
|
142
166
|
disposePackageVersions(callback?: (err: AWSError, data: CodeArtifact.Types.DisposePackageVersionsResult) => void): Request<CodeArtifact.Types.DisposePackageVersionsResult, AWSError>;
|
167
|
+
/**
|
168
|
+
* Returns the most closely associated package group to the specified package. This API does not require that the package exist in any repository in the domain. As such, GetAssociatedPackageGroup can be used to see which package group's origin configuration 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. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
|
169
|
+
*/
|
170
|
+
getAssociatedPackageGroup(params: CodeArtifact.Types.GetAssociatedPackageGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.GetAssociatedPackageGroupResult) => void): Request<CodeArtifact.Types.GetAssociatedPackageGroupResult, AWSError>;
|
171
|
+
/**
|
172
|
+
* Returns the most closely associated package group to the specified package. This API does not require that the package exist in any repository in the domain. As such, GetAssociatedPackageGroup can be used to see which package group's origin configuration 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. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
|
173
|
+
*/
|
174
|
+
getAssociatedPackageGroup(callback?: (err: AWSError, data: CodeArtifact.Types.GetAssociatedPackageGroupResult) => void): Request<CodeArtifact.Types.GetAssociatedPackageGroupResult, AWSError>;
|
143
175
|
/**
|
144
176
|
* Generates a temporary authorization token for accessing repositories in the domain. This API requires the codeartifact:GetAuthorizationToken and sts:GetServiceBearerToken permissions. For more information about authorization tokens, see CodeArtifact authentication and tokens. CodeArtifact authorization tokens are valid for a period of 12 hours when created with the login command. You can call login periodically to refresh the token. When you create an authorization token with the GetAuthorizationToken API, you can set a custom authorization period, up to a maximum of 12 hours, with the durationSeconds parameter. The authorization period begins after login or GetAuthorizationToken is called. If login or GetAuthorizationToken is called while assuming a role, the token lifetime is independent of the maximum session duration of the role. For example, if you call sts assume-role and specify a session duration of 15 minutes, then generate a CodeArtifact authorization token, the token will be valid for the full authorization period even though this is longer than the 15-minute session duration. See Using IAM Roles for more information on controlling session duration.
|
145
177
|
*/
|
@@ -173,11 +205,11 @@ declare class CodeArtifact extends Service {
|
|
173
205
|
*/
|
174
206
|
getPackageVersionReadme(callback?: (err: AWSError, data: CodeArtifact.Types.GetPackageVersionReadmeResult) => void): Request<CodeArtifact.Types.GetPackageVersionReadmeResult, AWSError>;
|
175
207
|
/**
|
176
|
-
* Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: maven npm nuget pypi
|
208
|
+
* Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: generic maven npm nuget pypi swift
|
177
209
|
*/
|
178
210
|
getRepositoryEndpoint(params: CodeArtifact.Types.GetRepositoryEndpointRequest, callback?: (err: AWSError, data: CodeArtifact.Types.GetRepositoryEndpointResult) => void): Request<CodeArtifact.Types.GetRepositoryEndpointResult, AWSError>;
|
179
211
|
/**
|
180
|
-
* Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: maven npm nuget pypi
|
212
|
+
* Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: generic maven npm nuget pypi swift
|
181
213
|
*/
|
182
214
|
getRepositoryEndpoint(callback?: (err: AWSError, data: CodeArtifact.Types.GetRepositoryEndpointResult) => void): Request<CodeArtifact.Types.GetRepositoryEndpointResult, AWSError>;
|
183
215
|
/**
|
@@ -188,6 +220,22 @@ declare class CodeArtifact extends Service {
|
|
188
220
|
* Returns the resource policy that is set on a repository.
|
189
221
|
*/
|
190
222
|
getRepositoryPermissionsPolicy(callback?: (err: AWSError, data: CodeArtifact.Types.GetRepositoryPermissionsPolicyResult) => void): Request<CodeArtifact.Types.GetRepositoryPermissionsPolicyResult, AWSError>;
|
223
|
+
/**
|
224
|
+
* Lists the repositories in the added repositories list of the specified restriction type for a package group. For more information about restriction types and added repository lists, see Package group origin controls in the CodeArtifact User Guide.
|
225
|
+
*/
|
226
|
+
listAllowedRepositoriesForGroup(params: CodeArtifact.Types.ListAllowedRepositoriesForGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.ListAllowedRepositoriesForGroupResult) => void): Request<CodeArtifact.Types.ListAllowedRepositoriesForGroupResult, AWSError>;
|
227
|
+
/**
|
228
|
+
* Lists the repositories in the added repositories list of the specified restriction type for a package group. For more information about restriction types and added repository lists, see Package group origin controls in the CodeArtifact User Guide.
|
229
|
+
*/
|
230
|
+
listAllowedRepositoriesForGroup(callback?: (err: AWSError, data: CodeArtifact.Types.ListAllowedRepositoriesForGroupResult) => void): Request<CodeArtifact.Types.ListAllowedRepositoriesForGroupResult, AWSError>;
|
231
|
+
/**
|
232
|
+
* Returns a list of packages associated with the requested package group. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
|
233
|
+
*/
|
234
|
+
listAssociatedPackages(params: CodeArtifact.Types.ListAssociatedPackagesRequest, callback?: (err: AWSError, data: CodeArtifact.Types.ListAssociatedPackagesResult) => void): Request<CodeArtifact.Types.ListAssociatedPackagesResult, AWSError>;
|
235
|
+
/**
|
236
|
+
* Returns a list of packages associated with the requested package group. For information package group association and matching, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
|
237
|
+
*/
|
238
|
+
listAssociatedPackages(callback?: (err: AWSError, data: CodeArtifact.Types.ListAssociatedPackagesResult) => void): Request<CodeArtifact.Types.ListAssociatedPackagesResult, AWSError>;
|
191
239
|
/**
|
192
240
|
* Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes this call. Each returned DomainSummary object contains information about a domain.
|
193
241
|
*/
|
@@ -196,6 +244,14 @@ declare class CodeArtifact extends Service {
|
|
196
244
|
* Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes this call. Each returned DomainSummary object contains information about a domain.
|
197
245
|
*/
|
198
246
|
listDomains(callback?: (err: AWSError, data: CodeArtifact.Types.ListDomainsResult) => void): Request<CodeArtifact.Types.ListDomainsResult, AWSError>;
|
247
|
+
/**
|
248
|
+
* Returns a list of package groups in the requested domain.
|
249
|
+
*/
|
250
|
+
listPackageGroups(params: CodeArtifact.Types.ListPackageGroupsRequest, callback?: (err: AWSError, data: CodeArtifact.Types.ListPackageGroupsResult) => void): Request<CodeArtifact.Types.ListPackageGroupsResult, AWSError>;
|
251
|
+
/**
|
252
|
+
* Returns a list of package groups in the requested domain.
|
253
|
+
*/
|
254
|
+
listPackageGroups(callback?: (err: AWSError, data: CodeArtifact.Types.ListPackageGroupsResult) => void): Request<CodeArtifact.Types.ListPackageGroupsResult, AWSError>;
|
199
255
|
/**
|
200
256
|
* Returns a list of AssetSummary objects for assets in a package version.
|
201
257
|
*/
|
@@ -244,6 +300,14 @@ declare class CodeArtifact extends Service {
|
|
244
300
|
* Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified domain and that matches the input parameters.
|
245
301
|
*/
|
246
302
|
listRepositoriesInDomain(callback?: (err: AWSError, data: CodeArtifact.Types.ListRepositoriesInDomainResult) => void): Request<CodeArtifact.Types.ListRepositoriesInDomainResult, AWSError>;
|
303
|
+
/**
|
304
|
+
* Returns a list of direct children of the specified package group. For information package group hierarchy, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
|
305
|
+
*/
|
306
|
+
listSubPackageGroups(params: CodeArtifact.Types.ListSubPackageGroupsRequest, callback?: (err: AWSError, data: CodeArtifact.Types.ListSubPackageGroupsResult) => void): Request<CodeArtifact.Types.ListSubPackageGroupsResult, AWSError>;
|
307
|
+
/**
|
308
|
+
* Returns a list of direct children of the specified package group. For information package group hierarchy, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
|
309
|
+
*/
|
310
|
+
listSubPackageGroups(callback?: (err: AWSError, data: CodeArtifact.Types.ListSubPackageGroupsResult) => void): Request<CodeArtifact.Types.ListSubPackageGroupsResult, AWSError>;
|
247
311
|
/**
|
248
312
|
* Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.
|
249
313
|
*/
|
@@ -300,6 +364,22 @@ declare class CodeArtifact extends Service {
|
|
300
364
|
* Removes tags from a resource in CodeArtifact.
|
301
365
|
*/
|
302
366
|
untagResource(callback?: (err: AWSError, data: CodeArtifact.Types.UntagResourceResult) => void): Request<CodeArtifact.Types.UntagResourceResult, AWSError>;
|
367
|
+
/**
|
368
|
+
* Updates a package group. This API cannot be used to update a package group's origin configuration or pattern. To update a package group's origin configuration, use UpdatePackageGroupOriginConfiguration.
|
369
|
+
*/
|
370
|
+
updatePackageGroup(params: CodeArtifact.Types.UpdatePackageGroupRequest, callback?: (err: AWSError, data: CodeArtifact.Types.UpdatePackageGroupResult) => void): Request<CodeArtifact.Types.UpdatePackageGroupResult, AWSError>;
|
371
|
+
/**
|
372
|
+
* Updates a package group. This API cannot be used to update a package group's origin configuration or pattern. To update a package group's origin configuration, use UpdatePackageGroupOriginConfiguration.
|
373
|
+
*/
|
374
|
+
updatePackageGroup(callback?: (err: AWSError, data: CodeArtifact.Types.UpdatePackageGroupResult) => void): Request<CodeArtifact.Types.UpdatePackageGroupResult, AWSError>;
|
375
|
+
/**
|
376
|
+
* Updates the package origin configuration for a package group. The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package group origin controls and configuration, see Package group origin controls in the CodeArtifact User Guide.
|
377
|
+
*/
|
378
|
+
updatePackageGroupOriginConfiguration(params: CodeArtifact.Types.UpdatePackageGroupOriginConfigurationRequest, callback?: (err: AWSError, data: CodeArtifact.Types.UpdatePackageGroupOriginConfigurationResult) => void): Request<CodeArtifact.Types.UpdatePackageGroupOriginConfigurationResult, AWSError>;
|
379
|
+
/**
|
380
|
+
* Updates the package origin configuration for a package group. The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package group origin controls and configuration, see Package group origin controls in the CodeArtifact User Guide.
|
381
|
+
*/
|
382
|
+
updatePackageGroupOriginConfiguration(callback?: (err: AWSError, data: CodeArtifact.Types.UpdatePackageGroupOriginConfigurationResult) => void): Request<CodeArtifact.Types.UpdatePackageGroupOriginConfigurationResult, AWSError>;
|
303
383
|
/**
|
304
384
|
* Updates the status of one or more versions of a package. Using UpdatePackageVersionsStatus, you can update the status of package versions to Archived, Published, or Unlisted. To set the status of a package version to Disposed, use DisposePackageVersions.
|
305
385
|
*/
|
@@ -364,6 +444,25 @@ declare namespace CodeArtifact {
|
|
364
444
|
*/
|
365
445
|
repository?: RepositoryDescription;
|
366
446
|
}
|
447
|
+
export interface AssociatedPackage {
|
448
|
+
/**
|
449
|
+
* A format that specifies the type of the associated package.
|
450
|
+
*/
|
451
|
+
format?: PackageFormat;
|
452
|
+
/**
|
453
|
+
* The namespace of the associated package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
454
|
+
*/
|
455
|
+
namespace?: PackageNamespace;
|
456
|
+
/**
|
457
|
+
* The name of the associated package.
|
458
|
+
*/
|
459
|
+
package?: PackageName;
|
460
|
+
/**
|
461
|
+
* Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
|
462
|
+
*/
|
463
|
+
associationType?: PackageGroupAssociationType;
|
464
|
+
}
|
465
|
+
export type AssociatedPackageList = AssociatedPackage[];
|
367
466
|
export type AuthorizationTokenDurationSeconds = number;
|
368
467
|
export type BooleanOptional = boolean;
|
369
468
|
export interface CopyPackageVersionsRequest {
|
@@ -388,7 +487,7 @@ declare namespace CodeArtifact {
|
|
388
487
|
*/
|
389
488
|
format: PackageFormat;
|
390
489
|
/**
|
391
|
-
* The namespace of the package versions to be copied. The package
|
490
|
+
* The namespace of the package versions to be copied. The package component that specifies its namespace depends on its type. For example: The namespace is required when copying package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
392
491
|
*/
|
393
492
|
namespace?: PackageNamespace;
|
394
493
|
/**
|
@@ -442,6 +541,38 @@ declare namespace CodeArtifact {
|
|
442
541
|
*/
|
443
542
|
domain?: DomainDescription;
|
444
543
|
}
|
544
|
+
export interface CreatePackageGroupRequest {
|
545
|
+
/**
|
546
|
+
* The name of the domain in which you want to create a package group.
|
547
|
+
*/
|
548
|
+
domain: DomainName;
|
549
|
+
/**
|
550
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
551
|
+
*/
|
552
|
+
domainOwner?: AccountId;
|
553
|
+
/**
|
554
|
+
* The pattern of the package group to create. The pattern is also the identifier of the package group.
|
555
|
+
*/
|
556
|
+
packageGroup: PackageGroupPattern;
|
557
|
+
/**
|
558
|
+
* The contact information for the created package group.
|
559
|
+
*/
|
560
|
+
contactInfo?: PackageGroupContactInfo;
|
561
|
+
/**
|
562
|
+
* A description of the package group.
|
563
|
+
*/
|
564
|
+
description?: Description;
|
565
|
+
/**
|
566
|
+
* One or more tag key-value pairs for the package group.
|
567
|
+
*/
|
568
|
+
tags?: TagList;
|
569
|
+
}
|
570
|
+
export interface CreatePackageGroupResult {
|
571
|
+
/**
|
572
|
+
* Information about the created package group after processing the request.
|
573
|
+
*/
|
574
|
+
packageGroup?: PackageGroupDescription;
|
575
|
+
}
|
445
576
|
export interface CreateRepositoryRequest {
|
446
577
|
/**
|
447
578
|
* The name of the domain that contains the created repository.
|
@@ -452,7 +583,7 @@ declare namespace CodeArtifact {
|
|
452
583
|
*/
|
453
584
|
domainOwner?: AccountId;
|
454
585
|
/**
|
455
|
-
*
|
586
|
+
* The name of the repository to create.
|
456
587
|
*/
|
457
588
|
repository: RepositoryName;
|
458
589
|
/**
|
@@ -510,6 +641,26 @@ declare namespace CodeArtifact {
|
|
510
641
|
*/
|
511
642
|
domain?: DomainDescription;
|
512
643
|
}
|
644
|
+
export interface DeletePackageGroupRequest {
|
645
|
+
/**
|
646
|
+
* The domain that contains the package group to be deleted.
|
647
|
+
*/
|
648
|
+
domain: DomainName;
|
649
|
+
/**
|
650
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
651
|
+
*/
|
652
|
+
domainOwner?: AccountId;
|
653
|
+
/**
|
654
|
+
* The pattern of the package group to be deleted.
|
655
|
+
*/
|
656
|
+
packageGroup: String;
|
657
|
+
}
|
658
|
+
export interface DeletePackageGroupResult {
|
659
|
+
/**
|
660
|
+
* Information about the deleted package group after processing the request.
|
661
|
+
*/
|
662
|
+
packageGroup?: PackageGroupDescription;
|
663
|
+
}
|
513
664
|
export interface DeletePackageRequest {
|
514
665
|
/**
|
515
666
|
* The name of the domain that contains the package to delete.
|
@@ -528,7 +679,7 @@ declare namespace CodeArtifact {
|
|
528
679
|
*/
|
529
680
|
format: PackageFormat;
|
530
681
|
/**
|
531
|
-
* The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:
|
682
|
+
* The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example: The namespace is required when deleting packages of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
532
683
|
*/
|
533
684
|
namespace?: PackageNamespace;
|
534
685
|
/**
|
@@ -557,7 +708,7 @@ declare namespace CodeArtifact {
|
|
557
708
|
*/
|
558
709
|
format: PackageFormat;
|
559
710
|
/**
|
560
|
-
* The namespace of the package versions to be deleted. The package
|
711
|
+
* The namespace of the package versions to be deleted. The package component that specifies its namespace depends on its type. For example: The namespace is required when deleting package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
561
712
|
*/
|
562
713
|
namespace?: PackageNamespace;
|
563
714
|
/**
|
@@ -640,6 +791,26 @@ declare namespace CodeArtifact {
|
|
640
791
|
export interface DescribeDomainResult {
|
641
792
|
domain?: DomainDescription;
|
642
793
|
}
|
794
|
+
export interface DescribePackageGroupRequest {
|
795
|
+
/**
|
796
|
+
* The name of the domain that contains the package group.
|
797
|
+
*/
|
798
|
+
domain: DomainName;
|
799
|
+
/**
|
800
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
801
|
+
*/
|
802
|
+
domainOwner?: AccountId;
|
803
|
+
/**
|
804
|
+
* The pattern of the requested package group.
|
805
|
+
*/
|
806
|
+
packageGroup: PackageGroupPattern;
|
807
|
+
}
|
808
|
+
export interface DescribePackageGroupResult {
|
809
|
+
/**
|
810
|
+
* A PackageGroupDescription object that contains information about the requested package group.
|
811
|
+
*/
|
812
|
+
packageGroup?: PackageGroupDescription;
|
813
|
+
}
|
643
814
|
export interface DescribePackageRequest {
|
644
815
|
/**
|
645
816
|
* The name of the domain that contains the repository that contains the package.
|
@@ -658,7 +829,7 @@ declare namespace CodeArtifact {
|
|
658
829
|
*/
|
659
830
|
format: PackageFormat;
|
660
831
|
/**
|
661
|
-
* The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:
|
832
|
+
* The namespace of the requested package. The package component that specifies its namespace depends on its type. For example: The namespace is required when requesting packages of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
662
833
|
*/
|
663
834
|
namespace?: PackageNamespace;
|
664
835
|
/**
|
@@ -690,7 +861,7 @@ declare namespace CodeArtifact {
|
|
690
861
|
*/
|
691
862
|
format: PackageFormat;
|
692
863
|
/**
|
693
|
-
* The namespace of the requested package version. The package
|
864
|
+
* The namespace of the requested package version. The package component that specifies its namespace depends on its type. For example: The namespace is required when requesting package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
694
865
|
*/
|
695
866
|
namespace?: PackageNamespace;
|
696
867
|
/**
|
@@ -771,7 +942,7 @@ declare namespace CodeArtifact {
|
|
771
942
|
*/
|
772
943
|
format: PackageFormat;
|
773
944
|
/**
|
774
|
-
* The namespace of the package versions to be disposed. The package
|
945
|
+
* The namespace of the package versions to be disposed. The package component that specifies its namespace depends on its type. For example: The namespace is required when disposing package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
775
946
|
*/
|
776
947
|
namespace?: PackageNamespace;
|
777
948
|
/**
|
@@ -881,6 +1052,38 @@ declare namespace CodeArtifact {
|
|
881
1052
|
export type ErrorMessage = string;
|
882
1053
|
export type ExternalConnectionName = string;
|
883
1054
|
export type ExternalConnectionStatus = "Available"|string;
|
1055
|
+
export interface GetAssociatedPackageGroupRequest {
|
1056
|
+
/**
|
1057
|
+
* The name of the domain that contains the package from which to get the associated package group.
|
1058
|
+
*/
|
1059
|
+
domain: DomainName;
|
1060
|
+
/**
|
1061
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
1062
|
+
*/
|
1063
|
+
domainOwner?: AccountId;
|
1064
|
+
/**
|
1065
|
+
* The format of the package from which to get the associated package group.
|
1066
|
+
*/
|
1067
|
+
format: PackageFormat;
|
1068
|
+
/**
|
1069
|
+
* The namespace of the package from which to get the associated package group. The package component that specifies its namespace depends on its type. For example: The namespace is required when getting associated package groups from packages of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1070
|
+
*/
|
1071
|
+
namespace?: PackageNamespace;
|
1072
|
+
/**
|
1073
|
+
* The package from which to get the associated package group.
|
1074
|
+
*/
|
1075
|
+
package: PackageName;
|
1076
|
+
}
|
1077
|
+
export interface GetAssociatedPackageGroupResult {
|
1078
|
+
/**
|
1079
|
+
* The package group that is associated with the requested package.
|
1080
|
+
*/
|
1081
|
+
packageGroup?: PackageGroupDescription;
|
1082
|
+
/**
|
1083
|
+
* Describes the strength of the association between the package and package group. A strong match is also known as an exact match, and a weak match is known as a relative match.
|
1084
|
+
*/
|
1085
|
+
associationType?: PackageGroupAssociationType;
|
1086
|
+
}
|
884
1087
|
export interface GetAuthorizationTokenRequest {
|
885
1088
|
/**
|
886
1089
|
* The name of the domain that is in scope for the generated authorization token.
|
@@ -939,7 +1142,7 @@ declare namespace CodeArtifact {
|
|
939
1142
|
*/
|
940
1143
|
format: PackageFormat;
|
941
1144
|
/**
|
942
|
-
* The namespace of the package version with the requested asset file. The package
|
1145
|
+
* The namespace of the package version with the requested asset file. The package component that specifies its namespace depends on its type. For example: The namespace is required when requesting assets from package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
943
1146
|
*/
|
944
1147
|
namespace?: PackageNamespace;
|
945
1148
|
/**
|
@@ -995,7 +1198,7 @@ declare namespace CodeArtifact {
|
|
995
1198
|
*/
|
996
1199
|
format: PackageFormat;
|
997
1200
|
/**
|
998
|
-
* The namespace of the package version with the requested readme file. The package
|
1201
|
+
* The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example: The namespace is required when requesting the readme from package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
999
1202
|
*/
|
1000
1203
|
namespace?: PackageNamespace;
|
1001
1204
|
/**
|
@@ -1013,7 +1216,7 @@ declare namespace CodeArtifact {
|
|
1013
1216
|
*/
|
1014
1217
|
format?: PackageFormat;
|
1015
1218
|
/**
|
1016
|
-
* The namespace of the package version with the requested readme file. The package
|
1219
|
+
* The namespace of the package version with the requested readme file. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1017
1220
|
*/
|
1018
1221
|
namespace?: PackageNamespace;
|
1019
1222
|
/**
|
@@ -1091,6 +1294,79 @@ declare namespace CodeArtifact {
|
|
1091
1294
|
url?: String;
|
1092
1295
|
}
|
1093
1296
|
export type LicenseInfoList = LicenseInfo[];
|
1297
|
+
export type ListAllowedRepositoriesForGroupMaxResults = number;
|
1298
|
+
export interface ListAllowedRepositoriesForGroupRequest {
|
1299
|
+
/**
|
1300
|
+
* The name of the domain that contains the package group from which to list allowed repositories.
|
1301
|
+
*/
|
1302
|
+
domain: DomainName;
|
1303
|
+
/**
|
1304
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
1305
|
+
*/
|
1306
|
+
domainOwner?: AccountId;
|
1307
|
+
/**
|
1308
|
+
* The pattern of the package group from which to list allowed repositories.
|
1309
|
+
*/
|
1310
|
+
packageGroup: PackageGroupPattern;
|
1311
|
+
/**
|
1312
|
+
* The origin configuration restriction type of which to list allowed repositories.
|
1313
|
+
*/
|
1314
|
+
originRestrictionType: PackageGroupOriginRestrictionType;
|
1315
|
+
/**
|
1316
|
+
* The maximum number of results to return per page.
|
1317
|
+
*/
|
1318
|
+
maxResults?: ListAllowedRepositoriesForGroupMaxResults;
|
1319
|
+
/**
|
1320
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
1321
|
+
*/
|
1322
|
+
nextToken?: PaginationToken;
|
1323
|
+
}
|
1324
|
+
export interface ListAllowedRepositoriesForGroupResult {
|
1325
|
+
/**
|
1326
|
+
* The list of allowed repositories for the package group and origin configuration restriction type.
|
1327
|
+
*/
|
1328
|
+
allowedRepositories?: RepositoryNameList;
|
1329
|
+
/**
|
1330
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
1331
|
+
*/
|
1332
|
+
nextToken?: PaginationToken;
|
1333
|
+
}
|
1334
|
+
export interface ListAssociatedPackagesRequest {
|
1335
|
+
/**
|
1336
|
+
* The name of the domain that contains the package group from which to list associated packages.
|
1337
|
+
*/
|
1338
|
+
domain: DomainName;
|
1339
|
+
/**
|
1340
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
1341
|
+
*/
|
1342
|
+
domainOwner?: AccountId;
|
1343
|
+
/**
|
1344
|
+
* The pattern of the package group from which to list associated packages.
|
1345
|
+
*/
|
1346
|
+
packageGroup: PackageGroupPattern;
|
1347
|
+
/**
|
1348
|
+
* The maximum number of results to return per page.
|
1349
|
+
*/
|
1350
|
+
maxResults?: ListPackagesMaxResults;
|
1351
|
+
/**
|
1352
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
1353
|
+
*/
|
1354
|
+
nextToken?: PaginationToken;
|
1355
|
+
/**
|
1356
|
+
* When this flag is included, ListAssociatedPackages will return a list of packages that would be associated with a package group, even if it does not exist.
|
1357
|
+
*/
|
1358
|
+
preview?: BooleanOptional;
|
1359
|
+
}
|
1360
|
+
export interface ListAssociatedPackagesResult {
|
1361
|
+
/**
|
1362
|
+
* The list of packages associated with the requested package group.
|
1363
|
+
*/
|
1364
|
+
packages?: AssociatedPackageList;
|
1365
|
+
/**
|
1366
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
1367
|
+
*/
|
1368
|
+
nextToken?: PaginationToken;
|
1369
|
+
}
|
1094
1370
|
export type ListDomainsMaxResults = number;
|
1095
1371
|
export interface ListDomainsRequest {
|
1096
1372
|
/**
|
@@ -1112,6 +1388,39 @@ declare namespace CodeArtifact {
|
|
1112
1388
|
*/
|
1113
1389
|
nextToken?: PaginationToken;
|
1114
1390
|
}
|
1391
|
+
export type ListPackageGroupsMaxResults = number;
|
1392
|
+
export interface ListPackageGroupsRequest {
|
1393
|
+
/**
|
1394
|
+
* The domain for which you want to list package groups.
|
1395
|
+
*/
|
1396
|
+
domain: DomainName;
|
1397
|
+
/**
|
1398
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
1399
|
+
*/
|
1400
|
+
domainOwner?: AccountId;
|
1401
|
+
/**
|
1402
|
+
* The maximum number of results to return per page.
|
1403
|
+
*/
|
1404
|
+
maxResults?: ListPackageGroupsMaxResults;
|
1405
|
+
/**
|
1406
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
1407
|
+
*/
|
1408
|
+
nextToken?: PaginationToken;
|
1409
|
+
/**
|
1410
|
+
* A prefix for which to search package groups. When included, ListPackageGroups will return only package groups with patterns that match the prefix.
|
1411
|
+
*/
|
1412
|
+
prefix?: PackageGroupPatternPrefix;
|
1413
|
+
}
|
1414
|
+
export interface ListPackageGroupsResult {
|
1415
|
+
/**
|
1416
|
+
* The list of package groups in the requested domain.
|
1417
|
+
*/
|
1418
|
+
packageGroups?: PackageGroupSummaryList;
|
1419
|
+
/**
|
1420
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
1421
|
+
*/
|
1422
|
+
nextToken?: PaginationToken;
|
1423
|
+
}
|
1115
1424
|
export type ListPackageVersionAssetsMaxResults = number;
|
1116
1425
|
export interface ListPackageVersionAssetsRequest {
|
1117
1426
|
/**
|
@@ -1131,7 +1440,7 @@ declare namespace CodeArtifact {
|
|
1131
1440
|
*/
|
1132
1441
|
format: PackageFormat;
|
1133
1442
|
/**
|
1134
|
-
* The namespace of the package version that contains the requested package version assets. The package
|
1443
|
+
* The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example: The namespace is required requesting assets from package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1135
1444
|
*/
|
1136
1445
|
namespace?: PackageNamespace;
|
1137
1446
|
/**
|
@@ -1157,7 +1466,7 @@ declare namespace CodeArtifact {
|
|
1157
1466
|
*/
|
1158
1467
|
format?: PackageFormat;
|
1159
1468
|
/**
|
1160
|
-
* The namespace of the package version that contains the requested package version assets. The package
|
1469
|
+
* The namespace of the package version that contains the requested package version assets. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1161
1470
|
*/
|
1162
1471
|
namespace?: PackageNamespace;
|
1163
1472
|
/**
|
@@ -1199,7 +1508,7 @@ declare namespace CodeArtifact {
|
|
1199
1508
|
*/
|
1200
1509
|
format: PackageFormat;
|
1201
1510
|
/**
|
1202
|
-
* The namespace of the package version with the requested dependencies. The package
|
1511
|
+
* The namespace of the package version with the requested dependencies. The package component that specifies its namespace depends on its type. For example: The namespace is required when listing dependencies from package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1203
1512
|
*/
|
1204
1513
|
namespace?: PackageNamespace;
|
1205
1514
|
/**
|
@@ -1221,7 +1530,7 @@ declare namespace CodeArtifact {
|
|
1221
1530
|
*/
|
1222
1531
|
format?: PackageFormat;
|
1223
1532
|
/**
|
1224
|
-
* The namespace of the package version that contains the returned dependencies. The package
|
1533
|
+
* The namespace of the package version that contains the returned dependencies. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1225
1534
|
*/
|
1226
1535
|
namespace?: PackageNamespace;
|
1227
1536
|
/**
|
@@ -1264,7 +1573,7 @@ declare namespace CodeArtifact {
|
|
1264
1573
|
*/
|
1265
1574
|
format: PackageFormat;
|
1266
1575
|
/**
|
1267
|
-
* The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
|
1576
|
+
* The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example: The namespace is required when deleting package versions of the following formats: Maven Swift generic The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1268
1577
|
*/
|
1269
1578
|
namespace?: PackageNamespace;
|
1270
1579
|
/**
|
@@ -1302,7 +1611,7 @@ declare namespace CodeArtifact {
|
|
1302
1611
|
*/
|
1303
1612
|
format?: PackageFormat;
|
1304
1613
|
/**
|
1305
|
-
* The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope.
|
1614
|
+
* The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1306
1615
|
*/
|
1307
1616
|
namespace?: PackageNamespace;
|
1308
1617
|
/**
|
@@ -1337,7 +1646,7 @@ declare namespace CodeArtifact {
|
|
1337
1646
|
*/
|
1338
1647
|
format?: PackageFormat;
|
1339
1648
|
/**
|
1340
|
-
* The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace and not --namespace-prefix, it has prefix-matching behavior. Each package format uses namespace as follows: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope.
|
1649
|
+
* The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace and not --namespace-prefix, it has prefix-matching behavior. Each package format uses namespace as follows: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1341
1650
|
*/
|
1342
1651
|
namespace?: PackageNamespace;
|
1343
1652
|
/**
|
@@ -1433,6 +1742,38 @@ declare namespace CodeArtifact {
|
|
1433
1742
|
*/
|
1434
1743
|
nextToken?: PaginationToken;
|
1435
1744
|
}
|
1745
|
+
export interface ListSubPackageGroupsRequest {
|
1746
|
+
/**
|
1747
|
+
* The name of the domain which contains the package group from which to list sub package groups.
|
1748
|
+
*/
|
1749
|
+
domain: DomainName;
|
1750
|
+
/**
|
1751
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
1752
|
+
*/
|
1753
|
+
domainOwner?: AccountId;
|
1754
|
+
/**
|
1755
|
+
* The pattern of the package group from which to list sub package groups.
|
1756
|
+
*/
|
1757
|
+
packageGroup: PackageGroupPattern;
|
1758
|
+
/**
|
1759
|
+
* The maximum number of results to return per page.
|
1760
|
+
*/
|
1761
|
+
maxResults?: ListPackageGroupsMaxResults;
|
1762
|
+
/**
|
1763
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
1764
|
+
*/
|
1765
|
+
nextToken?: PaginationToken;
|
1766
|
+
}
|
1767
|
+
export interface ListSubPackageGroupsResult {
|
1768
|
+
/**
|
1769
|
+
* A list of sub package groups for the requested package group.
|
1770
|
+
*/
|
1771
|
+
packageGroups?: PackageGroupSummaryList;
|
1772
|
+
/**
|
1773
|
+
* If there are additional results, this is the token for the next set of results.
|
1774
|
+
*/
|
1775
|
+
nextToken?: PaginationToken;
|
1776
|
+
}
|
1436
1777
|
export interface ListTagsForResourceRequest {
|
1437
1778
|
/**
|
1438
1779
|
* The Amazon Resource Name (ARN) of the resource to get tags for.
|
@@ -1447,9 +1788,10 @@ declare namespace CodeArtifact {
|
|
1447
1788
|
}
|
1448
1789
|
export type Long = number;
|
1449
1790
|
export type LongOptional = number;
|
1791
|
+
export type OriginRestrictions = {[key: string]: PackageGroupOriginRestrictionMode};
|
1450
1792
|
export interface PackageDependency {
|
1451
1793
|
/**
|
1452
|
-
* The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope.
|
1794
|
+
* The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1453
1795
|
*/
|
1454
1796
|
namespace?: PackageNamespace;
|
1455
1797
|
/**
|
@@ -1472,7 +1814,7 @@ declare namespace CodeArtifact {
|
|
1472
1814
|
*/
|
1473
1815
|
format?: PackageFormat;
|
1474
1816
|
/**
|
1475
|
-
* The namespace of the package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope.
|
1817
|
+
* The namespace of the package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1476
1818
|
*/
|
1477
1819
|
namespace?: PackageNamespace;
|
1478
1820
|
/**
|
@@ -1485,6 +1827,138 @@ declare namespace CodeArtifact {
|
|
1485
1827
|
originConfiguration?: PackageOriginConfiguration;
|
1486
1828
|
}
|
1487
1829
|
export type PackageFormat = "npm"|"pypi"|"maven"|"nuget"|"generic"|"swift"|string;
|
1830
|
+
export interface PackageGroupAllowedRepository {
|
1831
|
+
/**
|
1832
|
+
* The name of the allowed repository.
|
1833
|
+
*/
|
1834
|
+
repositoryName?: RepositoryName;
|
1835
|
+
/**
|
1836
|
+
* The origin configuration restriction type of the allowed repository.
|
1837
|
+
*/
|
1838
|
+
originRestrictionType?: PackageGroupOriginRestrictionType;
|
1839
|
+
}
|
1840
|
+
export type PackageGroupAllowedRepositoryList = PackageGroupAllowedRepository[];
|
1841
|
+
export type PackageGroupAllowedRepositoryUpdate = {[key: string]: RepositoryNameList};
|
1842
|
+
export type PackageGroupAllowedRepositoryUpdateType = "ADDED"|"REMOVED"|string;
|
1843
|
+
export type PackageGroupAllowedRepositoryUpdates = {[key: string]: PackageGroupAllowedRepositoryUpdate};
|
1844
|
+
export type PackageGroupAssociationType = "STRONG"|"WEAK"|string;
|
1845
|
+
export type PackageGroupContactInfo = string;
|
1846
|
+
export interface PackageGroupDescription {
|
1847
|
+
/**
|
1848
|
+
* The ARN of the package group.
|
1849
|
+
*/
|
1850
|
+
arn?: Arn;
|
1851
|
+
/**
|
1852
|
+
* The pattern of the package group. The pattern determines which packages are associated with the package group.
|
1853
|
+
*/
|
1854
|
+
pattern?: PackageGroupPattern;
|
1855
|
+
/**
|
1856
|
+
* The name of the domain that contains the package group.
|
1857
|
+
*/
|
1858
|
+
domainName?: DomainName;
|
1859
|
+
/**
|
1860
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
1861
|
+
*/
|
1862
|
+
domainOwner?: AccountId;
|
1863
|
+
/**
|
1864
|
+
* A timestamp that represents the date and time the package group was created.
|
1865
|
+
*/
|
1866
|
+
createdTime?: Timestamp;
|
1867
|
+
/**
|
1868
|
+
* The contact information of the package group.
|
1869
|
+
*/
|
1870
|
+
contactInfo?: PackageGroupContactInfo;
|
1871
|
+
/**
|
1872
|
+
* The description of the package group.
|
1873
|
+
*/
|
1874
|
+
description?: Description;
|
1875
|
+
/**
|
1876
|
+
* The package group origin configuration that determines how package versions can enter repositories.
|
1877
|
+
*/
|
1878
|
+
originConfiguration?: PackageGroupOriginConfiguration;
|
1879
|
+
/**
|
1880
|
+
* The direct parent package group of the package group.
|
1881
|
+
*/
|
1882
|
+
parent?: PackageGroupReference;
|
1883
|
+
}
|
1884
|
+
export interface PackageGroupOriginConfiguration {
|
1885
|
+
/**
|
1886
|
+
* The origin configuration settings that determine how package versions can enter repositories.
|
1887
|
+
*/
|
1888
|
+
restrictions?: PackageGroupOriginRestrictions;
|
1889
|
+
}
|
1890
|
+
export interface PackageGroupOriginRestriction {
|
1891
|
+
/**
|
1892
|
+
* The package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.
|
1893
|
+
*/
|
1894
|
+
mode?: PackageGroupOriginRestrictionMode;
|
1895
|
+
/**
|
1896
|
+
* The effective package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value of mode is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.
|
1897
|
+
*/
|
1898
|
+
effectiveMode?: PackageGroupOriginRestrictionMode;
|
1899
|
+
/**
|
1900
|
+
* The parent package group that the package group origin restrictions are inherited from.
|
1901
|
+
*/
|
1902
|
+
inheritedFrom?: PackageGroupReference;
|
1903
|
+
/**
|
1904
|
+
* The number of repositories in the allowed repository list.
|
1905
|
+
*/
|
1906
|
+
repositoriesCount?: LongOptional;
|
1907
|
+
}
|
1908
|
+
export type PackageGroupOriginRestrictionMode = "ALLOW"|"ALLOW_SPECIFIC_REPOSITORIES"|"BLOCK"|"INHERIT"|string;
|
1909
|
+
export type PackageGroupOriginRestrictionType = "EXTERNAL_UPSTREAM"|"INTERNAL_UPSTREAM"|"PUBLISH"|string;
|
1910
|
+
export type PackageGroupOriginRestrictions = {[key: string]: PackageGroupOriginRestriction};
|
1911
|
+
export type PackageGroupPattern = string;
|
1912
|
+
export type PackageGroupPatternPrefix = string;
|
1913
|
+
export interface PackageGroupReference {
|
1914
|
+
/**
|
1915
|
+
* The ARN of the package group.
|
1916
|
+
*/
|
1917
|
+
arn?: Arn;
|
1918
|
+
/**
|
1919
|
+
* The pattern of the package group. The pattern determines which packages are associated with the package group, and is also the identifier of the package group.
|
1920
|
+
*/
|
1921
|
+
pattern?: PackageGroupPattern;
|
1922
|
+
}
|
1923
|
+
export interface PackageGroupSummary {
|
1924
|
+
/**
|
1925
|
+
* The ARN of the package group.
|
1926
|
+
*/
|
1927
|
+
arn?: Arn;
|
1928
|
+
/**
|
1929
|
+
* The pattern of the package group. The pattern determines which packages are associated with the package group.
|
1930
|
+
*/
|
1931
|
+
pattern?: PackageGroupPattern;
|
1932
|
+
/**
|
1933
|
+
* The domain that contains the package group.
|
1934
|
+
*/
|
1935
|
+
domainName?: DomainName;
|
1936
|
+
/**
|
1937
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
1938
|
+
*/
|
1939
|
+
domainOwner?: AccountId;
|
1940
|
+
/**
|
1941
|
+
* A timestamp that represents the date and time the repository was created.
|
1942
|
+
*/
|
1943
|
+
createdTime?: Timestamp;
|
1944
|
+
/**
|
1945
|
+
* The contact information of the package group.
|
1946
|
+
*/
|
1947
|
+
contactInfo?: PackageGroupContactInfo;
|
1948
|
+
/**
|
1949
|
+
* The description of the package group.
|
1950
|
+
*/
|
1951
|
+
description?: Description;
|
1952
|
+
/**
|
1953
|
+
* Details about the package origin configuration of a package group.
|
1954
|
+
*/
|
1955
|
+
originConfiguration?: PackageGroupOriginConfiguration;
|
1956
|
+
/**
|
1957
|
+
* The direct parent package group of the package group.
|
1958
|
+
*/
|
1959
|
+
parent?: PackageGroupReference;
|
1960
|
+
}
|
1961
|
+
export type PackageGroupSummaryList = PackageGroupSummary[];
|
1488
1962
|
export type PackageName = string;
|
1489
1963
|
export type PackageNamespace = string;
|
1490
1964
|
export interface PackageOriginConfiguration {
|
@@ -1509,7 +1983,7 @@ declare namespace CodeArtifact {
|
|
1509
1983
|
*/
|
1510
1984
|
format?: PackageFormat;
|
1511
1985
|
/**
|
1512
|
-
* The namespace of the package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope.
|
1986
|
+
* The namespace of the package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1513
1987
|
*/
|
1514
1988
|
namespace?: PackageNamespace;
|
1515
1989
|
/**
|
@@ -1529,7 +2003,7 @@ declare namespace CodeArtifact {
|
|
1529
2003
|
*/
|
1530
2004
|
format?: PackageFormat;
|
1531
2005
|
/**
|
1532
|
-
* The namespace of the package version. The package
|
2006
|
+
* The namespace of the package version. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1533
2007
|
*/
|
1534
2008
|
namespace?: PackageNamespace;
|
1535
2009
|
/**
|
@@ -1745,7 +2219,7 @@ declare namespace CodeArtifact {
|
|
1745
2219
|
*/
|
1746
2220
|
format: PackageFormat;
|
1747
2221
|
/**
|
1748
|
-
* The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope.
|
2222
|
+
* The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1749
2223
|
*/
|
1750
2224
|
namespace?: PackageNamespace;
|
1751
2225
|
/**
|
@@ -1845,6 +2319,7 @@ declare namespace CodeArtifact {
|
|
1845
2319
|
}
|
1846
2320
|
export type RepositoryExternalConnectionInfoList = RepositoryExternalConnectionInfo[];
|
1847
2321
|
export type RepositoryName = string;
|
2322
|
+
export type RepositoryNameList = RepositoryName[];
|
1848
2323
|
export interface RepositorySummary {
|
1849
2324
|
/**
|
1850
2325
|
* The name of the repository.
|
@@ -1943,6 +2418,70 @@ declare namespace CodeArtifact {
|
|
1943
2418
|
}
|
1944
2419
|
export interface UntagResourceResult {
|
1945
2420
|
}
|
2421
|
+
export interface UpdatePackageGroupOriginConfigurationRequest {
|
2422
|
+
/**
|
2423
|
+
* The name of the domain which contains the package group for which to update the origin configuration.
|
2424
|
+
*/
|
2425
|
+
domain: DomainName;
|
2426
|
+
/**
|
2427
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
2428
|
+
*/
|
2429
|
+
domainOwner?: AccountId;
|
2430
|
+
/**
|
2431
|
+
* The pattern of the package group for which to update the origin configuration.
|
2432
|
+
*/
|
2433
|
+
packageGroup: PackageGroupPattern;
|
2434
|
+
/**
|
2435
|
+
* The origin configuration settings that determine how package versions can enter repositories.
|
2436
|
+
*/
|
2437
|
+
restrictions?: OriginRestrictions;
|
2438
|
+
/**
|
2439
|
+
* The repository name and restrictions to add to the allowed repository list of the specified package group.
|
2440
|
+
*/
|
2441
|
+
addAllowedRepositories?: PackageGroupAllowedRepositoryList;
|
2442
|
+
/**
|
2443
|
+
* The repository name and restrictions to remove from the allowed repository list of the specified package group.
|
2444
|
+
*/
|
2445
|
+
removeAllowedRepositories?: PackageGroupAllowedRepositoryList;
|
2446
|
+
}
|
2447
|
+
export interface UpdatePackageGroupOriginConfigurationResult {
|
2448
|
+
/**
|
2449
|
+
* The package group and information about it after processing the request.
|
2450
|
+
*/
|
2451
|
+
packageGroup?: PackageGroupDescription;
|
2452
|
+
/**
|
2453
|
+
* Information about the updated allowed repositories after processing the request.
|
2454
|
+
*/
|
2455
|
+
allowedRepositoryUpdates?: PackageGroupAllowedRepositoryUpdates;
|
2456
|
+
}
|
2457
|
+
export interface UpdatePackageGroupRequest {
|
2458
|
+
/**
|
2459
|
+
* The name of the domain which contains the package group to be updated.
|
2460
|
+
*/
|
2461
|
+
domain: DomainName;
|
2462
|
+
/**
|
2463
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
2464
|
+
*/
|
2465
|
+
domainOwner?: AccountId;
|
2466
|
+
/**
|
2467
|
+
* The pattern of the package group to be updated.
|
2468
|
+
*/
|
2469
|
+
packageGroup: PackageGroupPattern;
|
2470
|
+
/**
|
2471
|
+
* Contact information which you want to update the requested package group with.
|
2472
|
+
*/
|
2473
|
+
contactInfo?: PackageGroupContactInfo;
|
2474
|
+
/**
|
2475
|
+
* The description you want to update the requested package group with.
|
2476
|
+
*/
|
2477
|
+
description?: Description;
|
2478
|
+
}
|
2479
|
+
export interface UpdatePackageGroupResult {
|
2480
|
+
/**
|
2481
|
+
* The package group and information about it after the request has been processed.
|
2482
|
+
*/
|
2483
|
+
packageGroup?: PackageGroupDescription;
|
2484
|
+
}
|
1946
2485
|
export interface UpdatePackageVersionsStatusRequest {
|
1947
2486
|
/**
|
1948
2487
|
* The name of the domain that contains the repository that contains the package versions with a status to be updated.
|
@@ -1961,7 +2500,7 @@ declare namespace CodeArtifact {
|
|
1961
2500
|
*/
|
1962
2501
|
format: PackageFormat;
|
1963
2502
|
/**
|
1964
|
-
* The namespace of the package version to be updated. The package
|
2503
|
+
* The namespace of the package version to be updated. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace of an npm or Swift package version is its scope. The namespace of a generic package is its namespace. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1965
2504
|
*/
|
1966
2505
|
namespace?: PackageNamespace;
|
1967
2506
|
/**
|