aws-sdk 2.1645.0 → 2.1646.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,10 @@
12
12
  "serviceId": "SecurityHub",
13
13
  "signatureVersion": "v4",
14
14
  "signingName": "securityhub",
15
- "uid": "securityhub-2018-10-26"
15
+ "uid": "securityhub-2018-10-26",
16
+ "auth": [
17
+ "aws.auth#sigv4"
18
+ ]
16
19
  },
17
20
  "operations": {
18
21
  "AcceptAdministratorInvitation": {
@@ -60,6 +60,10 @@ declare namespace BedrockRuntime {
60
60
  * Image to include in the message. This field is only supported by Anthropic Claude 3 models.
61
61
  */
62
62
  image?: ImageBlock;
63
+ /**
64
+ * A document to include in the message.
65
+ */
66
+ document?: DocumentBlock;
63
67
  /**
64
68
  * Information about a tool use request from a model.
65
69
  */
@@ -269,6 +273,29 @@ declare namespace BedrockRuntime {
269
273
  }
270
274
  export interface Document {
271
275
  }
276
+ export interface DocumentBlock {
277
+ /**
278
+ * The format of a document, or its extension.
279
+ */
280
+ format: DocumentFormat;
281
+ /**
282
+ * A name for the document.
283
+ */
284
+ name: DocumentBlockNameString;
285
+ /**
286
+ * Contains the content of the document.
287
+ */
288
+ source: DocumentSource;
289
+ }
290
+ export type DocumentBlockNameString = string;
291
+ export type DocumentFormat = "pdf"|"csv"|"doc"|"docx"|"xls"|"xlsx"|"html"|"txt"|"md"|string;
292
+ export interface DocumentSource {
293
+ /**
294
+ * A base64-encoded string of a UTF-8 encoded file, that is the document to include in the message.
295
+ */
296
+ bytes?: DocumentSourceBytesBlob;
297
+ }
298
+ export type DocumentSourceBytesBlob = Buffer|Uint8Array|Blob|string;
272
299
  export interface GuardrailAssessment {
273
300
  /**
274
301
  * The topic policy.
@@ -768,6 +795,10 @@ declare namespace BedrockRuntime {
768
795
  * A tool result that is an image. This field is only supported by Anthropic Claude 3 models.
769
796
  */
770
797
  image?: ImageBlock;
798
+ /**
799
+ * A tool result that is a document.
800
+ */
801
+ document?: DocumentBlock;
771
802
  }
772
803
  export type ToolResultContentBlocks = ToolResultContentBlock[];
773
804
  export type ToolResultStatus = "success"|"error"|string;
@@ -205,11 +205,11 @@ declare class CodeArtifact extends Service {
205
205
  */
206
206
  getPackageVersionReadme(callback?: (err: AWSError, data: CodeArtifact.Types.GetPackageVersionReadmeResult) => void): Request<CodeArtifact.Types.GetPackageVersionReadmeResult, AWSError>;
207
207
  /**
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 ruby swift
208
+ * Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: cargo generic maven npm nuget pypi ruby swift
209
209
  */
210
210
  getRepositoryEndpoint(params: CodeArtifact.Types.GetRepositoryEndpointRequest, callback?: (err: AWSError, data: CodeArtifact.Types.GetRepositoryEndpointResult) => void): Request<CodeArtifact.Types.GetRepositoryEndpointResult, AWSError>;
211
211
  /**
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 ruby swift
212
+ * Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: cargo generic maven npm nuget pypi ruby swift
213
213
  */
214
214
  getRepositoryEndpoint(callback?: (err: AWSError, data: CodeArtifact.Types.GetRepositoryEndpointResult) => void): Request<CodeArtifact.Types.GetRepositoryEndpointResult, AWSError>;
215
215
  /**
@@ -434,7 +434,7 @@ declare namespace CodeArtifact {
434
434
  */
435
435
  repository: RepositoryName;
436
436
  /**
437
- * The name of the external connection to add to the repository. The following values are supported: public:npmjs - for the npm public repository. public:nuget-org - for the NuGet Gallery. 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. public:maven-clojars - for the Clojars repository.
437
+ * The name of the external connection to add to the repository. The following values are supported: public:npmjs - for the npm public repository. public:nuget-org - for the NuGet Gallery. 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. public:maven-clojars - for the Clojars repository. public:ruby-gems-org - for RubyGems.org. public:crates-io - for Crates.io.
438
438
  */
439
439
  externalConnection: ExternalConnectionName;
440
440
  }
@@ -450,7 +450,7 @@ declare namespace CodeArtifact {
450
450
  */
451
451
  format?: PackageFormat;
452
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
454
454
  */
455
455
  namespace?: PackageNamespace;
456
456
  /**
@@ -487,7 +487,7 @@ declare namespace CodeArtifact {
487
487
  */
488
488
  format: PackageFormat;
489
489
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
491
491
  */
492
492
  namespace?: PackageNamespace;
493
493
  /**
@@ -679,7 +679,7 @@ declare namespace CodeArtifact {
679
679
  */
680
680
  format: PackageFormat;
681
681
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
683
683
  */
684
684
  namespace?: PackageNamespace;
685
685
  /**
@@ -708,7 +708,7 @@ declare namespace CodeArtifact {
708
708
  */
709
709
  format: PackageFormat;
710
710
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
712
712
  */
713
713
  namespace?: PackageNamespace;
714
714
  /**
@@ -829,7 +829,7 @@ declare namespace CodeArtifact {
829
829
  */
830
830
  format: PackageFormat;
831
831
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
833
833
  */
834
834
  namespace?: PackageNamespace;
835
835
  /**
@@ -861,7 +861,7 @@ declare namespace CodeArtifact {
861
861
  */
862
862
  format: PackageFormat;
863
863
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
865
865
  */
866
866
  namespace?: PackageNamespace;
867
867
  /**
@@ -942,7 +942,7 @@ declare namespace CodeArtifact {
942
942
  */
943
943
  format: PackageFormat;
944
944
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
946
946
  */
947
947
  namespace?: PackageNamespace;
948
948
  /**
@@ -1066,7 +1066,7 @@ declare namespace CodeArtifact {
1066
1066
  */
1067
1067
  format: PackageFormat;
1068
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1070
1070
  */
1071
1071
  namespace?: PackageNamespace;
1072
1072
  /**
@@ -1142,7 +1142,7 @@ declare namespace CodeArtifact {
1142
1142
  */
1143
1143
  format: PackageFormat;
1144
1144
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1146
1146
  */
1147
1147
  namespace?: PackageNamespace;
1148
1148
  /**
@@ -1198,7 +1198,7 @@ declare namespace CodeArtifact {
1198
1198
  */
1199
1199
  format: PackageFormat;
1200
1200
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1202
1202
  */
1203
1203
  namespace?: PackageNamespace;
1204
1204
  /**
@@ -1216,7 +1216,7 @@ declare namespace CodeArtifact {
1216
1216
  */
1217
1217
  format?: PackageFormat;
1218
1218
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1220
1220
  */
1221
1221
  namespace?: PackageNamespace;
1222
1222
  /**
@@ -1440,7 +1440,7 @@ declare namespace CodeArtifact {
1440
1440
  */
1441
1441
  format: PackageFormat;
1442
1442
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1444
1444
  */
1445
1445
  namespace?: PackageNamespace;
1446
1446
  /**
@@ -1466,7 +1466,7 @@ declare namespace CodeArtifact {
1466
1466
  */
1467
1467
  format?: PackageFormat;
1468
1468
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1470
1470
  */
1471
1471
  namespace?: PackageNamespace;
1472
1472
  /**
@@ -1508,7 +1508,7 @@ declare namespace CodeArtifact {
1508
1508
  */
1509
1509
  format: PackageFormat;
1510
1510
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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 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.
1512
1512
  */
1513
1513
  namespace?: PackageNamespace;
1514
1514
  /**
@@ -1530,7 +1530,7 @@ declare namespace CodeArtifact {
1530
1530
  */
1531
1531
  format?: PackageFormat;
1532
1532
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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 is required when listing dependencies from package versions of the following formats: Maven 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.
1534
1534
  */
1535
1535
  namespace?: PackageNamespace;
1536
1536
  /**
@@ -1573,7 +1573,7 @@ declare namespace CodeArtifact {
1573
1573
  */
1574
1574
  format: PackageFormat;
1575
1575
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1577
1577
  */
1578
1578
  namespace?: PackageNamespace;
1579
1579
  /**
@@ -1611,7 +1611,7 @@ declare namespace CodeArtifact {
1611
1611
  */
1612
1612
  format?: PackageFormat;
1613
1613
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1615
1615
  */
1616
1616
  namespace?: PackageNamespace;
1617
1617
  /**
@@ -1646,7 +1646,7 @@ declare namespace CodeArtifact {
1646
1646
  */
1647
1647
  format?: PackageFormat;
1648
1648
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1650
1650
  */
1651
1651
  namespace?: PackageNamespace;
1652
1652
  /**
@@ -1791,7 +1791,7 @@ declare namespace CodeArtifact {
1791
1791
  export type OriginRestrictions = {[key: string]: PackageGroupOriginRestrictionMode};
1792
1792
  export interface PackageDependency {
1793
1793
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1795
1795
  */
1796
1796
  namespace?: PackageNamespace;
1797
1797
  /**
@@ -1814,7 +1814,7 @@ declare namespace CodeArtifact {
1814
1814
  */
1815
1815
  format?: PackageFormat;
1816
1816
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1818
1818
  */
1819
1819
  namespace?: PackageNamespace;
1820
1820
  /**
@@ -1826,7 +1826,7 @@ declare namespace CodeArtifact {
1826
1826
  */
1827
1827
  originConfiguration?: PackageOriginConfiguration;
1828
1828
  }
1829
- export type PackageFormat = "npm"|"pypi"|"maven"|"nuget"|"generic"|"ruby"|"swift"|string;
1829
+ export type PackageFormat = "npm"|"pypi"|"maven"|"nuget"|"generic"|"ruby"|"swift"|"cargo"|string;
1830
1830
  export interface PackageGroupAllowedRepository {
1831
1831
  /**
1832
1832
  * The name of the allowed repository.
@@ -1983,7 +1983,7 @@ declare namespace CodeArtifact {
1983
1983
  */
1984
1984
  format?: PackageFormat;
1985
1985
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
1987
1987
  */
1988
1988
  namespace?: PackageNamespace;
1989
1989
  /**
@@ -2003,7 +2003,7 @@ declare namespace CodeArtifact {
2003
2003
  */
2004
2004
  format?: PackageFormat;
2005
2005
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
2007
2007
  */
2008
2008
  namespace?: PackageNamespace;
2009
2009
  /**
@@ -2219,7 +2219,7 @@ declare namespace CodeArtifact {
2219
2219
  */
2220
2220
  format: PackageFormat;
2221
2221
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
2223
2223
  */
2224
2224
  namespace?: PackageNamespace;
2225
2225
  /**
@@ -2500,7 +2500,7 @@ declare namespace CodeArtifact {
2500
2500
  */
2501
2501
  format: PackageFormat;
2502
2502
  /**
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, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
2504
2504
  */
2505
2505
  namespace?: PackageNamespace;
2506
2506
  /**