cdk-comprehend-s3olap 2.0.36 → 2.0.39
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-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +19 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +38 -38
- package/node_modules/aws-sdk/apis/codeartifact-2018-09-22.min.json +171 -6
- package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +1 -0
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1 -2
- package/node_modules/aws-sdk/apis/evidently-2021-02-01.min.json +346 -70
- package/node_modules/aws-sdk/apis/evidently-2021-02-01.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/fms-2018-01-01.min.json +56 -44
- package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +103 -44
- package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +326 -182
- package/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/nimble-2020-08-01.min.json +119 -111
- package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +54 -34
- package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +121 -120
- package/node_modules/aws-sdk/clients/athena.d.ts +6 -4
- package/node_modules/aws-sdk/clients/codeartifact.d.ts +207 -42
- package/node_modules/aws-sdk/clients/configservice.d.ts +7 -7
- package/node_modules/aws-sdk/clients/datasync.d.ts +16 -16
- package/node_modules/aws-sdk/clients/drs.d.ts +6 -2
- package/node_modules/aws-sdk/clients/ec2.d.ts +2 -2
- package/node_modules/aws-sdk/clients/evidently.d.ts +281 -8
- package/node_modules/aws-sdk/clients/fms.d.ts +23 -3
- package/node_modules/aws-sdk/clients/glue.d.ts +43 -37
- package/node_modules/aws-sdk/clients/inspector2.d.ts +73 -5
- package/node_modules/aws-sdk/clients/kendra.d.ts +316 -131
- package/node_modules/aws-sdk/clients/nimble.d.ts +61 -37
- package/node_modules/aws-sdk/clients/outposts.d.ts +33 -0
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +1 -1
- package/node_modules/aws-sdk/clients/wafv2.d.ts +26 -21
- 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 +14 -14
- package/node_modules/aws-sdk/dist/aws-sdk.js +42 -43
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +4 -4
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +5 -5
@@ -326,6 +326,7 @@ declare namespace Athena {
|
|
326
326
|
*/
|
327
327
|
ErrorMessage?: String;
|
328
328
|
}
|
329
|
+
export type AwsAccountId = string;
|
329
330
|
export interface BatchGetNamedQueryInput {
|
330
331
|
/**
|
331
332
|
* An array of query IDs.
|
@@ -1196,7 +1197,7 @@ declare namespace Athena {
|
|
1196
1197
|
/**
|
1197
1198
|
* The location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. To run the query, you must specify the query results location using one of the ways: either for individual queries using either this setting (client-side), or in the workgroup, using WorkGroupConfiguration. If none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results. If workgroup settings override client-side settings, then the query uses the settings specified for the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
|
1198
1199
|
*/
|
1199
|
-
OutputLocation?:
|
1200
|
+
OutputLocation?: ResultOutputLocation;
|
1200
1201
|
/**
|
1201
1202
|
* If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS or CSE_KMS) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.
|
1202
1203
|
*/
|
@@ -1204,7 +1205,7 @@ declare namespace Athena {
|
|
1204
1205
|
/**
|
1205
1206
|
* The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.
|
1206
1207
|
*/
|
1207
|
-
ExpectedBucketOwner?:
|
1208
|
+
ExpectedBucketOwner?: AwsAccountId;
|
1208
1209
|
/**
|
1209
1210
|
* Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is BUCKET_OWNER_FULL_CONTROL. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. For more information, see WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.
|
1210
1211
|
*/
|
@@ -1214,7 +1215,7 @@ declare namespace Athena {
|
|
1214
1215
|
/**
|
1215
1216
|
* The location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. For more information, see Query Results If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
|
1216
1217
|
*/
|
1217
|
-
OutputLocation?:
|
1218
|
+
OutputLocation?: ResultOutputLocation;
|
1218
1219
|
/**
|
1219
1220
|
* If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
|
1220
1221
|
*/
|
@@ -1230,7 +1231,7 @@ declare namespace Athena {
|
|
1230
1231
|
/**
|
1231
1232
|
* The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.
|
1232
1233
|
*/
|
1233
|
-
ExpectedBucketOwner?:
|
1234
|
+
ExpectedBucketOwner?: AwsAccountId;
|
1234
1235
|
/**
|
1235
1236
|
* If set to "true", removes the Amazon Web Services account ID previously specified for ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
|
1236
1237
|
*/
|
@@ -1244,6 +1245,7 @@ declare namespace Athena {
|
|
1244
1245
|
*/
|
1245
1246
|
RemoveAclConfiguration?: BoxedBoolean;
|
1246
1247
|
}
|
1248
|
+
export type ResultOutputLocation = string;
|
1247
1249
|
export interface ResultSet {
|
1248
1250
|
/**
|
1249
1251
|
* The rows in the table.
|
@@ -92,6 +92,14 @@ declare class CodeArtifact extends Service {
|
|
92
92
|
* Returns a DomainDescription object that contains information about the requested domain.
|
93
93
|
*/
|
94
94
|
describeDomain(callback?: (err: AWSError, data: CodeArtifact.Types.DescribeDomainResult) => void): Request<CodeArtifact.Types.DescribeDomainResult, AWSError>;
|
95
|
+
/**
|
96
|
+
* Returns a PackageDescription object that contains information about the requested package.
|
97
|
+
*/
|
98
|
+
describePackage(params: CodeArtifact.Types.DescribePackageRequest, callback?: (err: AWSError, data: CodeArtifact.Types.DescribePackageResult) => void): Request<CodeArtifact.Types.DescribePackageResult, AWSError>;
|
99
|
+
/**
|
100
|
+
* Returns a PackageDescription object that contains information about the requested package.
|
101
|
+
*/
|
102
|
+
describePackage(callback?: (err: AWSError, data: CodeArtifact.Types.DescribePackageResult) => void): Request<CodeArtifact.Types.DescribePackageResult, AWSError>;
|
95
103
|
/**
|
96
104
|
* Returns a PackageVersionDescription object that contains information about the requested package version.
|
97
105
|
*/
|
@@ -149,11 +157,11 @@ declare class CodeArtifact extends Service {
|
|
149
157
|
*/
|
150
158
|
getPackageVersionAsset(callback?: (err: AWSError, data: CodeArtifact.Types.GetPackageVersionAssetResult) => void): Request<CodeArtifact.Types.GetPackageVersionAssetResult, AWSError>;
|
151
159
|
/**
|
152
|
-
* Gets the readme file or descriptive text for a package version. The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.
|
160
|
+
* Gets the readme file or descriptive text for a package version. For packages that do not contain a readme file, CodeArtifact extracts a description from a metadata file. For example, from the <description> element in the pom.xml file of a Maven package. The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.
|
153
161
|
*/
|
154
162
|
getPackageVersionReadme(params: CodeArtifact.Types.GetPackageVersionReadmeRequest, callback?: (err: AWSError, data: CodeArtifact.Types.GetPackageVersionReadmeResult) => void): Request<CodeArtifact.Types.GetPackageVersionReadmeResult, AWSError>;
|
155
163
|
/**
|
156
|
-
* Gets the readme file or descriptive text for a package version. The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.
|
164
|
+
* Gets the readme file or descriptive text for a package version. For packages that do not contain a readme file, CodeArtifact extracts a description from a metadata file. For example, from the <description> element in the pom.xml file of a Maven package. The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.
|
157
165
|
*/
|
158
166
|
getPackageVersionReadme(callback?: (err: AWSError, data: CodeArtifact.Types.GetPackageVersionReadmeResult) => void): Request<CodeArtifact.Types.GetPackageVersionReadmeResult, AWSError>;
|
159
167
|
/**
|
@@ -244,6 +252,14 @@ declare class CodeArtifact extends Service {
|
|
244
252
|
* Sets a resource policy on a domain that specifies permissions to access it. When you call PutDomainPermissionsPolicy, the resource policy on the domain is ignored when evaluting permissions. This ensures that the owner of a domain cannot lock themselves out of the domain, which would prevent them from being able to update the resource policy.
|
245
253
|
*/
|
246
254
|
putDomainPermissionsPolicy(callback?: (err: AWSError, data: CodeArtifact.Types.PutDomainPermissionsPolicyResult) => void): Request<CodeArtifact.Types.PutDomainPermissionsPolicyResult, AWSError>;
|
255
|
+
/**
|
256
|
+
* Sets the package origin configuration for a package. 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 origin controls and configuration, see Editing package origin controls in the CodeArtifact User Guide. PutPackageOriginConfiguration can be called on a package that doesn't yet exist in the repository. When called on a package that does not exist, a package is created in the repository with no versions and the requested restrictions are set on the package. This can be used to preemptively block ingesting or retaining any versions from external connections or upstream repositories, or to block publishing any versions of the package into the repository before connecting any package managers or publishers to the repository.
|
257
|
+
*/
|
258
|
+
putPackageOriginConfiguration(params: CodeArtifact.Types.PutPackageOriginConfigurationRequest, callback?: (err: AWSError, data: CodeArtifact.Types.PutPackageOriginConfigurationResult) => void): Request<CodeArtifact.Types.PutPackageOriginConfigurationResult, AWSError>;
|
259
|
+
/**
|
260
|
+
* Sets the package origin configuration for a package. 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 origin controls and configuration, see Editing package origin controls in the CodeArtifact User Guide. PutPackageOriginConfiguration can be called on a package that doesn't yet exist in the repository. When called on a package that does not exist, a package is created in the repository with no versions and the requested restrictions are set on the package. This can be used to preemptively block ingesting or retaining any versions from external connections or upstream repositories, or to block publishing any versions of the package into the repository before connecting any package managers or publishers to the repository.
|
261
|
+
*/
|
262
|
+
putPackageOriginConfiguration(callback?: (err: AWSError, data: CodeArtifact.Types.PutPackageOriginConfigurationResult) => void): Request<CodeArtifact.Types.PutPackageOriginConfigurationResult, AWSError>;
|
247
263
|
/**
|
248
264
|
* Sets the resource policy on a repository that specifies permissions to access it. When you call PutRepositoryPermissionsPolicy, the resource policy on the repository is ignored when evaluting permissions. This ensures that the owner of a repository cannot lock themselves out of the repository, which would prevent them from being able to update the resource policy.
|
249
265
|
*/
|
@@ -287,6 +303,8 @@ declare class CodeArtifact extends Service {
|
|
287
303
|
}
|
288
304
|
declare namespace CodeArtifact {
|
289
305
|
export type AccountId = string;
|
306
|
+
export type AllowPublish = "ALLOW"|"BLOCK"|string;
|
307
|
+
export type AllowUpstream = "ALLOW"|"BLOCK"|string;
|
290
308
|
export type Arn = string;
|
291
309
|
export type Asset = Buffer|Uint8Array|Blob|string|Readable;
|
292
310
|
export type AssetHashes = {[key: string]: HashValue};
|
@@ -320,7 +338,7 @@ declare namespace CodeArtifact {
|
|
320
338
|
*/
|
321
339
|
repository: RepositoryName;
|
322
340
|
/**
|
323
|
-
* The name of the external connection to add to the repository. The following values are supported: public:npmjs - for the npm public repository. public:
|
341
|
+
* The name of the external connection to add to the repository. The following values are supported: public:npmjs - for the npm public repository. public:pypi - for the Python Package Index. public:maven-central - for Maven Central. public:maven-googleandroid - for the Google Android repository. public:maven-gradleplugins - for the Gradle plugins repository. public:maven-commonsware - for the CommonsWare Android repository.
|
324
342
|
*/
|
325
343
|
externalConnection: ExternalConnectionName;
|
326
344
|
}
|
@@ -342,7 +360,7 @@ declare namespace CodeArtifact {
|
|
342
360
|
*/
|
343
361
|
domainOwner?: AccountId;
|
344
362
|
/**
|
345
|
-
* The name of the repository that contains the package versions to
|
363
|
+
* The name of the repository that contains the package versions to be copied.
|
346
364
|
*/
|
347
365
|
sourceRepository: RepositoryName;
|
348
366
|
/**
|
@@ -350,19 +368,19 @@ declare namespace CodeArtifact {
|
|
350
368
|
*/
|
351
369
|
destinationRepository: RepositoryName;
|
352
370
|
/**
|
353
|
-
* The format of the package
|
371
|
+
* The format of the package versions to be copied.
|
354
372
|
*/
|
355
373
|
format: PackageFormat;
|
356
374
|
/**
|
357
|
-
*
|
375
|
+
* The namespace of the package versions to be copied. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace is required when copying Maven package versions. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
358
376
|
*/
|
359
377
|
namespace?: PackageNamespace;
|
360
378
|
/**
|
361
|
-
* The name of the package that
|
379
|
+
* The name of the package that contains the versions to be copied.
|
362
380
|
*/
|
363
381
|
package: PackageName;
|
364
382
|
/**
|
365
|
-
* The versions of the package to
|
383
|
+
* The versions of the package to be copied. You must specify versions or versionRevisions. You cannot specify both.
|
366
384
|
*/
|
367
385
|
versions?: PackageVersionList;
|
368
386
|
/**
|
@@ -494,7 +512,7 @@ declare namespace CodeArtifact {
|
|
494
512
|
*/
|
495
513
|
format: PackageFormat;
|
496
514
|
/**
|
497
|
-
*
|
515
|
+
* The namespace of the package versions to be deleted. The package version component that specifies its namespace depends on its type. For example: The namespace of a Maven package version is its groupId. The namespace is required when deleting Maven package versions. The namespace of an npm package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
498
516
|
*/
|
499
517
|
namespace?: PackageNamespace;
|
500
518
|
/**
|
@@ -577,6 +595,38 @@ declare namespace CodeArtifact {
|
|
577
595
|
export interface DescribeDomainResult {
|
578
596
|
domain?: DomainDescription;
|
579
597
|
}
|
598
|
+
export interface DescribePackageRequest {
|
599
|
+
/**
|
600
|
+
* The name of the domain that contains the repository that contains the package.
|
601
|
+
*/
|
602
|
+
domain: DomainName;
|
603
|
+
/**
|
604
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
605
|
+
*/
|
606
|
+
domainOwner?: AccountId;
|
607
|
+
/**
|
608
|
+
* The name of the repository that contains the requested package.
|
609
|
+
*/
|
610
|
+
repository: RepositoryName;
|
611
|
+
/**
|
612
|
+
* A format that specifies the type of the requested package.
|
613
|
+
*/
|
614
|
+
format: PackageFormat;
|
615
|
+
/**
|
616
|
+
* The namespace of the requested 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 is required when requesting Maven packages. The namespace of an npm package is its scope. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
|
617
|
+
*/
|
618
|
+
namespace?: PackageNamespace;
|
619
|
+
/**
|
620
|
+
* The name of the requested package.
|
621
|
+
*/
|
622
|
+
package: PackageName;
|
623
|
+
}
|
624
|
+
export interface DescribePackageResult {
|
625
|
+
/**
|
626
|
+
* A PackageDescription object that contains information about the requested package.
|
627
|
+
*/
|
628
|
+
package: PackageDescription;
|
629
|
+
}
|
580
630
|
export interface DescribePackageVersionRequest {
|
581
631
|
/**
|
582
632
|
* The name of the domain that contains the repository that contains the package version.
|
@@ -595,7 +645,7 @@ declare namespace CodeArtifact {
|
|
595
645
|
*/
|
596
646
|
format: PackageFormat;
|
597
647
|
/**
|
598
|
-
*
|
648
|
+
* The namespace of the requested package version. The package version 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 package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
599
649
|
*/
|
600
650
|
namespace?: PackageNamespace;
|
601
651
|
/**
|
@@ -676,7 +726,7 @@ declare namespace CodeArtifact {
|
|
676
726
|
*/
|
677
727
|
format: PackageFormat;
|
678
728
|
/**
|
679
|
-
*
|
729
|
+
* The namespace of the package versions to be disposed. The package version 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 package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
680
730
|
*/
|
681
731
|
namespace?: PackageNamespace;
|
682
732
|
/**
|
@@ -744,6 +794,16 @@ declare namespace CodeArtifact {
|
|
744
794
|
*/
|
745
795
|
s3BucketArn?: Arn;
|
746
796
|
}
|
797
|
+
export interface DomainEntryPoint {
|
798
|
+
/**
|
799
|
+
* The name of the repository that a package was originally published to.
|
800
|
+
*/
|
801
|
+
repositoryName?: RepositoryName;
|
802
|
+
/**
|
803
|
+
* The name of the external connection that a package was ingested from.
|
804
|
+
*/
|
805
|
+
externalConnectionName?: ExternalConnectionName;
|
806
|
+
}
|
747
807
|
export type DomainName = string;
|
748
808
|
export type DomainStatus = "Active"|"Deleted"|string;
|
749
809
|
export interface DomainSummary {
|
@@ -834,7 +894,7 @@ declare namespace CodeArtifact {
|
|
834
894
|
*/
|
835
895
|
format: PackageFormat;
|
836
896
|
/**
|
837
|
-
*
|
897
|
+
* The namespace of the package version with the requested asset file. The package version 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 package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
838
898
|
*/
|
839
899
|
namespace?: PackageNamespace;
|
840
900
|
/**
|
@@ -886,11 +946,11 @@ declare namespace CodeArtifact {
|
|
886
946
|
*/
|
887
947
|
repository: RepositoryName;
|
888
948
|
/**
|
889
|
-
* A format that specifies the type of the package version with the requested readme file.
|
949
|
+
* A format that specifies the type of the package version with the requested readme file.
|
890
950
|
*/
|
891
951
|
format: PackageFormat;
|
892
952
|
/**
|
893
|
-
*
|
953
|
+
* The namespace of the package version with the requested readme file. The package version 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 package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
894
954
|
*/
|
895
955
|
namespace?: PackageNamespace;
|
896
956
|
/**
|
@@ -908,7 +968,7 @@ declare namespace CodeArtifact {
|
|
908
968
|
*/
|
909
969
|
format?: PackageFormat;
|
910
970
|
/**
|
911
|
-
*
|
971
|
+
* The namespace of the package version with the requested readme file. The package version 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 package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
912
972
|
*/
|
913
973
|
namespace?: PackageNamespace;
|
914
974
|
/**
|
@@ -1018,19 +1078,19 @@ declare namespace CodeArtifact {
|
|
1018
1078
|
*/
|
1019
1079
|
domainOwner?: AccountId;
|
1020
1080
|
/**
|
1021
|
-
* The name of the repository that contains the package that contains the
|
1081
|
+
* The name of the repository that contains the package that contains the requested package version assets.
|
1022
1082
|
*/
|
1023
1083
|
repository: RepositoryName;
|
1024
1084
|
/**
|
1025
|
-
* The format of the package that contains the
|
1085
|
+
* The format of the package that contains the requested package version assets.
|
1026
1086
|
*/
|
1027
1087
|
format: PackageFormat;
|
1028
1088
|
/**
|
1029
|
-
*
|
1089
|
+
* The namespace of the package version that contains the requested package version assets. The package version 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 package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1030
1090
|
*/
|
1031
1091
|
namespace?: PackageNamespace;
|
1032
1092
|
/**
|
1033
|
-
* The name of the package that contains the
|
1093
|
+
* The name of the package that contains the requested package version assets.
|
1034
1094
|
*/
|
1035
1095
|
package: PackageName;
|
1036
1096
|
/**
|
@@ -1048,19 +1108,19 @@ declare namespace CodeArtifact {
|
|
1048
1108
|
}
|
1049
1109
|
export interface ListPackageVersionAssetsResult {
|
1050
1110
|
/**
|
1051
|
-
* The format of the package that contains the
|
1111
|
+
* The format of the package that contains the requested package version assets.
|
1052
1112
|
*/
|
1053
1113
|
format?: PackageFormat;
|
1054
1114
|
/**
|
1055
|
-
*
|
1115
|
+
* The namespace of the package version that contains the requested package version assets. The package version 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 package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1056
1116
|
*/
|
1057
1117
|
namespace?: PackageNamespace;
|
1058
1118
|
/**
|
1059
|
-
* The name of the package that contains the
|
1119
|
+
* The name of the package that contains the requested package version assets.
|
1060
1120
|
*/
|
1061
1121
|
package?: PackageName;
|
1062
1122
|
/**
|
1063
|
-
* The version of the package associated with the
|
1123
|
+
* The version of the package associated with the requested assets.
|
1064
1124
|
*/
|
1065
1125
|
version?: PackageVersion;
|
1066
1126
|
/**
|
@@ -1094,7 +1154,7 @@ declare namespace CodeArtifact {
|
|
1094
1154
|
*/
|
1095
1155
|
format: PackageFormat;
|
1096
1156
|
/**
|
1097
|
-
*
|
1157
|
+
* The namespace of the package version with the requested dependencies. The package version 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 package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1098
1158
|
*/
|
1099
1159
|
namespace?: PackageNamespace;
|
1100
1160
|
/**
|
@@ -1116,7 +1176,7 @@ declare namespace CodeArtifact {
|
|
1116
1176
|
*/
|
1117
1177
|
format?: PackageFormat;
|
1118
1178
|
/**
|
1119
|
-
*
|
1179
|
+
* The namespace of the package version that contains the returned dependencies. The package version 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 package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1120
1180
|
*/
|
1121
1181
|
namespace?: PackageNamespace;
|
1122
1182
|
/**
|
@@ -1143,7 +1203,7 @@ declare namespace CodeArtifact {
|
|
1143
1203
|
export type ListPackageVersionsMaxResults = number;
|
1144
1204
|
export interface ListPackageVersionsRequest {
|
1145
1205
|
/**
|
1146
|
-
* The name of the domain that contains the repository that contains the
|
1206
|
+
* The name of the domain that contains the repository that contains the requested package versions.
|
1147
1207
|
*/
|
1148
1208
|
domain: DomainName;
|
1149
1209
|
/**
|
@@ -1151,27 +1211,27 @@ declare namespace CodeArtifact {
|
|
1151
1211
|
*/
|
1152
1212
|
domainOwner?: AccountId;
|
1153
1213
|
/**
|
1154
|
-
* The name of the repository that contains the package.
|
1214
|
+
* The name of the repository that contains the requested package versions.
|
1155
1215
|
*/
|
1156
1216
|
repository: RepositoryName;
|
1157
1217
|
/**
|
1158
|
-
* The format of the returned
|
1218
|
+
* The format of the returned package versions.
|
1159
1219
|
*/
|
1160
1220
|
format: PackageFormat;
|
1161
1221
|
/**
|
1162
|
-
*
|
1222
|
+
* 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. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
|
1163
1223
|
*/
|
1164
1224
|
namespace?: PackageNamespace;
|
1165
1225
|
/**
|
1166
|
-
* The name of the package for which you want to
|
1226
|
+
* The name of the package for which you want to request package versions.
|
1167
1227
|
*/
|
1168
1228
|
package: PackageName;
|
1169
1229
|
/**
|
1170
|
-
* A string that
|
1230
|
+
* A string that filters the requested package versions by status.
|
1171
1231
|
*/
|
1172
1232
|
status?: PackageVersionStatus;
|
1173
1233
|
/**
|
1174
|
-
* How to sort the
|
1234
|
+
* How to sort the requested list of package versions.
|
1175
1235
|
*/
|
1176
1236
|
sortBy?: PackageVersionSortType;
|
1177
1237
|
/**
|
@@ -1182,6 +1242,10 @@ declare namespace CodeArtifact {
|
|
1182
1242
|
* 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.
|
1183
1243
|
*/
|
1184
1244
|
nextToken?: PaginationToken;
|
1245
|
+
/**
|
1246
|
+
* The originType used to filter package versions. Only package versions with the provided originType will be returned.
|
1247
|
+
*/
|
1248
|
+
originType?: PackageVersionOriginType;
|
1185
1249
|
}
|
1186
1250
|
export interface ListPackageVersionsResult {
|
1187
1251
|
/**
|
@@ -1193,7 +1257,7 @@ declare namespace CodeArtifact {
|
|
1193
1257
|
*/
|
1194
1258
|
format?: PackageFormat;
|
1195
1259
|
/**
|
1196
|
-
*
|
1260
|
+
* 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. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
|
1197
1261
|
*/
|
1198
1262
|
namespace?: PackageNamespace;
|
1199
1263
|
/**
|
@@ -1212,7 +1276,7 @@ declare namespace CodeArtifact {
|
|
1212
1276
|
export type ListPackagesMaxResults = number;
|
1213
1277
|
export interface ListPackagesRequest {
|
1214
1278
|
/**
|
1215
|
-
* The name of the domain that contains the repository that contains the requested
|
1279
|
+
* The name of the domain that contains the repository that contains the requested packages.
|
1216
1280
|
*/
|
1217
1281
|
domain: DomainName;
|
1218
1282
|
/**
|
@@ -1220,19 +1284,19 @@ declare namespace CodeArtifact {
|
|
1220
1284
|
*/
|
1221
1285
|
domainOwner?: AccountId;
|
1222
1286
|
/**
|
1223
|
-
* The name of the repository
|
1287
|
+
* The name of the repository that contains the requested packages.
|
1224
1288
|
*/
|
1225
1289
|
repository: RepositoryName;
|
1226
1290
|
/**
|
1227
|
-
*
|
1291
|
+
* The format used to filter requested packages. Only packages from the provided format will be returned.
|
1228
1292
|
*/
|
1229
1293
|
format?: PackageFormat;
|
1230
1294
|
/**
|
1231
|
-
*
|
1295
|
+
* The namespace used to filter requested packages. Only packages with the provided namespace will be returned. 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. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
|
1232
1296
|
*/
|
1233
1297
|
namespace?: PackageNamespace;
|
1234
1298
|
/**
|
1235
|
-
* A prefix used to filter
|
1299
|
+
* A prefix used to filter requested packages. Only packages with names that start with packagePrefix are returned.
|
1236
1300
|
*/
|
1237
1301
|
packagePrefix?: PackageName;
|
1238
1302
|
/**
|
@@ -1243,6 +1307,14 @@ declare namespace CodeArtifact {
|
|
1243
1307
|
* 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.
|
1244
1308
|
*/
|
1245
1309
|
nextToken?: PaginationToken;
|
1310
|
+
/**
|
1311
|
+
* The value of the Publish package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
|
1312
|
+
*/
|
1313
|
+
publish?: AllowPublish;
|
1314
|
+
/**
|
1315
|
+
* The value of the Upstream package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
|
1316
|
+
*/
|
1317
|
+
upstream?: AllowUpstream;
|
1246
1318
|
}
|
1247
1319
|
export interface ListPackagesResult {
|
1248
1320
|
/**
|
@@ -1332,7 +1404,7 @@ declare namespace CodeArtifact {
|
|
1332
1404
|
export type LongOptional = number;
|
1333
1405
|
export interface PackageDependency {
|
1334
1406
|
/**
|
1335
|
-
*
|
1407
|
+
* 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. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
|
1336
1408
|
*/
|
1337
1409
|
namespace?: PackageNamespace;
|
1338
1410
|
/**
|
@@ -1349,22 +1421,60 @@ declare namespace CodeArtifact {
|
|
1349
1421
|
versionRequirement?: String;
|
1350
1422
|
}
|
1351
1423
|
export type PackageDependencyList = PackageDependency[];
|
1424
|
+
export interface PackageDescription {
|
1425
|
+
/**
|
1426
|
+
* A format that specifies the type of the package.
|
1427
|
+
*/
|
1428
|
+
format?: PackageFormat;
|
1429
|
+
/**
|
1430
|
+
* 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. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
|
1431
|
+
*/
|
1432
|
+
namespace?: PackageNamespace;
|
1433
|
+
/**
|
1434
|
+
* The name of the package.
|
1435
|
+
*/
|
1436
|
+
name?: PackageName;
|
1437
|
+
/**
|
1438
|
+
* The package origin configuration for the package.
|
1439
|
+
*/
|
1440
|
+
originConfiguration?: PackageOriginConfiguration;
|
1441
|
+
}
|
1352
1442
|
export type PackageFormat = "npm"|"pypi"|"maven"|"nuget"|string;
|
1353
1443
|
export type PackageName = string;
|
1354
1444
|
export type PackageNamespace = string;
|
1445
|
+
export interface PackageOriginConfiguration {
|
1446
|
+
/**
|
1447
|
+
* A PackageOriginRestrictions object that contains information about the upstream and publish package origin configuration for the package.
|
1448
|
+
*/
|
1449
|
+
restrictions?: PackageOriginRestrictions;
|
1450
|
+
}
|
1451
|
+
export interface PackageOriginRestrictions {
|
1452
|
+
/**
|
1453
|
+
* The package origin configuration that determines if new versions of the package can be published directly to the repository.
|
1454
|
+
*/
|
1455
|
+
publish: AllowPublish;
|
1456
|
+
/**
|
1457
|
+
* The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.
|
1458
|
+
*/
|
1459
|
+
upstream: AllowUpstream;
|
1460
|
+
}
|
1355
1461
|
export interface PackageSummary {
|
1356
1462
|
/**
|
1357
1463
|
* The format of the package.
|
1358
1464
|
*/
|
1359
1465
|
format?: PackageFormat;
|
1360
1466
|
/**
|
1361
|
-
*
|
1467
|
+
* 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. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
|
1362
1468
|
*/
|
1363
1469
|
namespace?: PackageNamespace;
|
1364
1470
|
/**
|
1365
1471
|
* The name of the package.
|
1366
1472
|
*/
|
1367
1473
|
package?: PackageName;
|
1474
|
+
/**
|
1475
|
+
* A PackageOriginConfiguration object that contains a PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions.
|
1476
|
+
*/
|
1477
|
+
originConfiguration?: PackageOriginConfiguration;
|
1368
1478
|
}
|
1369
1479
|
export type PackageSummaryList = PackageSummary[];
|
1370
1480
|
export type PackageVersion = string;
|
@@ -1374,7 +1484,7 @@ declare namespace CodeArtifact {
|
|
1374
1484
|
*/
|
1375
1485
|
format?: PackageFormat;
|
1376
1486
|
/**
|
1377
|
-
*
|
1487
|
+
* The namespace of the package version. The package version 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 package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1378
1488
|
*/
|
1379
1489
|
namespace?: PackageNamespace;
|
1380
1490
|
/**
|
@@ -1417,6 +1527,10 @@ declare namespace CodeArtifact {
|
|
1417
1527
|
* A string that contains the status of the package version.
|
1418
1528
|
*/
|
1419
1529
|
status?: PackageVersionStatus;
|
1530
|
+
/**
|
1531
|
+
* A PackageVersionOrigin object that contains information about how the package version was added to the repository.
|
1532
|
+
*/
|
1533
|
+
origin?: PackageVersionOrigin;
|
1420
1534
|
}
|
1421
1535
|
export interface PackageVersionError {
|
1422
1536
|
/**
|
@@ -1431,6 +1545,17 @@ declare namespace CodeArtifact {
|
|
1431
1545
|
export type PackageVersionErrorCode = "ALREADY_EXISTS"|"MISMATCHED_REVISION"|"MISMATCHED_STATUS"|"NOT_ALLOWED"|"NOT_FOUND"|"SKIPPED"|string;
|
1432
1546
|
export type PackageVersionErrorMap = {[key: string]: PackageVersionError};
|
1433
1547
|
export type PackageVersionList = PackageVersion[];
|
1548
|
+
export interface PackageVersionOrigin {
|
1549
|
+
/**
|
1550
|
+
* A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
|
1551
|
+
*/
|
1552
|
+
domainEntryPoint?: DomainEntryPoint;
|
1553
|
+
/**
|
1554
|
+
* Describes how the package version was originally added to the domain. An INTERNAL origin type means the package version was published directly to a repository in the domain. An EXTERNAL origin type means the package version was ingested from an external connection.
|
1555
|
+
*/
|
1556
|
+
originType?: PackageVersionOriginType;
|
1557
|
+
}
|
1558
|
+
export type PackageVersionOriginType = "INTERNAL"|"EXTERNAL"|"UNKNOWN"|string;
|
1434
1559
|
export type PackageVersionRevision = string;
|
1435
1560
|
export type PackageVersionRevisionMap = {[key: string]: PackageVersionRevision};
|
1436
1561
|
export type PackageVersionSortType = "PUBLISHED_TIME"|string;
|
@@ -1448,6 +1573,10 @@ declare namespace CodeArtifact {
|
|
1448
1573
|
* A string that contains the status of the package version. It can be one of the following:
|
1449
1574
|
*/
|
1450
1575
|
status: PackageVersionStatus;
|
1576
|
+
/**
|
1577
|
+
* A PackageVersionOrigin object that contains information about how the package version was added to the repository.
|
1578
|
+
*/
|
1579
|
+
origin?: PackageVersionOrigin;
|
1451
1580
|
}
|
1452
1581
|
export type PackageVersionSummaryList = PackageVersionSummary[];
|
1453
1582
|
export type PaginationToken = string;
|
@@ -1477,6 +1606,42 @@ declare namespace CodeArtifact {
|
|
1477
1606
|
*/
|
1478
1607
|
policy?: ResourcePolicy;
|
1479
1608
|
}
|
1609
|
+
export interface PutPackageOriginConfigurationRequest {
|
1610
|
+
/**
|
1611
|
+
* The name of the domain that contains the repository that contains the package.
|
1612
|
+
*/
|
1613
|
+
domain: DomainName;
|
1614
|
+
/**
|
1615
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
1616
|
+
*/
|
1617
|
+
domainOwner?: AccountId;
|
1618
|
+
/**
|
1619
|
+
* The name of the repository that contains the package.
|
1620
|
+
*/
|
1621
|
+
repository: RepositoryName;
|
1622
|
+
/**
|
1623
|
+
* A format that specifies the type of the package to be updated.
|
1624
|
+
*/
|
1625
|
+
format: PackageFormat;
|
1626
|
+
/**
|
1627
|
+
* 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. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
|
1628
|
+
*/
|
1629
|
+
namespace?: PackageNamespace;
|
1630
|
+
/**
|
1631
|
+
* The name of the package to be updated.
|
1632
|
+
*/
|
1633
|
+
package: PackageName;
|
1634
|
+
/**
|
1635
|
+
* A PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions. The upstream restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish restriction determines if new package versions can be published directly to the repository. You must include both the desired upstream and publish restrictions.
|
1636
|
+
*/
|
1637
|
+
restrictions: PackageOriginRestrictions;
|
1638
|
+
}
|
1639
|
+
export interface PutPackageOriginConfigurationResult {
|
1640
|
+
/**
|
1641
|
+
* A PackageOriginConfiguration object that describes the origin configuration set for the package. It contains a PackageOriginRestrictions object that describes how new versions of the package can be introduced to the repository.
|
1642
|
+
*/
|
1643
|
+
originConfiguration?: PackageOriginConfiguration;
|
1644
|
+
}
|
1480
1645
|
export interface PutRepositoryPermissionsPolicyRequest {
|
1481
1646
|
/**
|
1482
1647
|
* The name of the domain containing the repository to set the resource policy on.
|
@@ -1666,7 +1831,7 @@ declare namespace CodeArtifact {
|
|
1666
1831
|
*/
|
1667
1832
|
format: PackageFormat;
|
1668
1833
|
/**
|
1669
|
-
*
|
1834
|
+
* The namespace of the package version to be updated. The package version 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 package version is its scope. Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
|
1670
1835
|
*/
|
1671
1836
|
namespace?: PackageNamespace;
|
1672
1837
|
/**
|