aws-sdk 2.1644.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.
Files changed (39) hide show
  1. package/README.md +1 -1
  2. package/apis/artifact-2018-05-10.examples.json +113 -0
  3. package/apis/artifact-2018-05-10.min.json +47 -41
  4. package/apis/artifact-2018-05-10.waiters2.json +5 -0
  5. package/apis/athena-2017-05-18.min.json +4 -1
  6. package/apis/bedrock-runtime-2023-09-30.min.json +72 -45
  7. package/apis/codeartifact-2018-09-22.min.json +7 -1
  8. package/apis/compute-optimizer-2019-11-01.min.json +447 -134
  9. package/apis/cost-optimization-hub-2022-07-26.min.json +310 -262
  10. package/apis/cost-optimization-hub-2022-07-26.waiters2.json +5 -0
  11. package/apis/cur-2017-01-06.min.json +7 -1
  12. package/apis/directconnect-2012-10-25.min.json +7 -1
  13. package/apis/dynamodb-2011-12-05.min.json +4 -1
  14. package/apis/dynamodb-2012-08-10.min.json +4 -1
  15. package/apis/elastictranscoder-2012-09-25.min.json +7 -1
  16. package/apis/glue-2017-03-31.paginators.json +16 -8
  17. package/apis/ivs-realtime-2020-07-14.min.json +272 -245
  18. package/apis/ivs-realtime-2020-07-14.waiters2.json +5 -0
  19. package/apis/opensearch-2021-01-01.min.json +137 -112
  20. package/apis/sagemaker-2017-07-24.min.json +1261 -1207
  21. package/apis/securityhub-2018-10-26.min.json +4 -1
  22. package/clients/artifact.d.ts +68 -64
  23. package/clients/artifact.js +1 -0
  24. package/clients/bedrockruntime.d.ts +31 -0
  25. package/clients/codeartifact.d.ts +28 -28
  26. package/clients/computeoptimizer.d.ts +449 -47
  27. package/clients/costoptimizationhub.d.ts +380 -328
  28. package/clients/costoptimizationhub.js +1 -0
  29. package/clients/dynamodb.d.ts +12 -12
  30. package/clients/ivsrealtime.d.ts +282 -233
  31. package/clients/ivsrealtime.js +1 -0
  32. package/clients/opensearch.d.ts +48 -2
  33. package/clients/sagemaker.d.ts +134 -34
  34. package/dist/aws-sdk-core-react-native.js +1 -1
  35. package/dist/aws-sdk-react-native.js +347 -326
  36. package/dist/aws-sdk.js +36 -9
  37. package/dist/aws-sdk.min.js +105 -105
  38. package/lib/core.js +1 -1
  39. package/package.json +1 -1
@@ -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": {
@@ -142,14 +142,14 @@ declare namespace Artifact {
142
142
  nextToken?: NextTokenAttribute;
143
143
  }
144
144
  export interface ListReportsResponse {
145
- /**
146
- * Pagination token to request the next page of resources.
147
- */
148
- nextToken?: NextTokenAttribute;
149
145
  /**
150
146
  * List of report resources.
151
147
  */
152
148
  reports?: ReportsList;
149
+ /**
150
+ * Pagination token to request the next page of resources.
151
+ */
152
+ nextToken?: NextTokenAttribute;
153
153
  }
154
154
  export type LongStringAttribute = string;
155
155
  export type MaxResultsAttribute = number;
@@ -167,144 +167,148 @@ declare namespace Artifact {
167
167
  }
168
168
  export interface ReportDetail {
169
169
  /**
170
- * Acceptance type for report.
170
+ * Unique resource ID for the report resource.
171
171
  */
172
- acceptanceType?: AcceptanceType;
172
+ id?: ReportId;
173
173
  /**
174
- * ARN for the report resource.
174
+ * Name for the report resource.
175
175
  */
176
- arn?: LongStringAttribute;
176
+ name?: ShortStringAttribute;
177
177
  /**
178
- * Category for the report resource.
178
+ * Description for the report resource.
179
179
  */
180
- category?: ShortStringAttribute;
180
+ description?: LongStringAttribute;
181
181
  /**
182
- * Associated company name for the report resource.
182
+ * Timestamp indicating the report resource effective start.
183
183
  */
184
- companyName?: ShortStringAttribute;
184
+ periodStart?: TimestampAttribute;
185
+ /**
186
+ * Timestamp indicating the report resource effective end.
187
+ */
188
+ periodEnd?: TimestampAttribute;
185
189
  /**
186
190
  * Timestamp indicating when the report resource was created.
187
191
  */
188
192
  createdAt?: TimestampAttribute;
189
193
  /**
190
- * Timestamp indicating when the report resource was deleted.
194
+ * Timestamp indicating when the report resource was last modified.
191
195
  */
192
- deletedAt?: TimestampAttribute;
196
+ lastModifiedAt?: TimestampAttribute;
193
197
  /**
194
- * Description for the report resource.
198
+ * Timestamp indicating when the report resource was deleted.
195
199
  */
196
- description?: LongStringAttribute;
200
+ deletedAt?: TimestampAttribute;
197
201
  /**
198
- * Unique resource ID for the report resource.
202
+ * Current state of the report resource
199
203
  */
200
- id?: ReportId;
204
+ state?: PublishedState;
201
205
  /**
202
- * Timestamp indicating when the report resource was last modified.
206
+ * ARN for the report resource.
203
207
  */
204
- lastModifiedAt?: TimestampAttribute;
208
+ arn?: LongStringAttribute;
205
209
  /**
206
- * Name for the report resource.
210
+ * Series for the report resource.
207
211
  */
208
- name?: ShortStringAttribute;
212
+ series?: ShortStringAttribute;
209
213
  /**
210
- * Timestamp indicating the report resource effective end.
214
+ * Category for the report resource.
211
215
  */
212
- periodEnd?: TimestampAttribute;
216
+ category?: ShortStringAttribute;
213
217
  /**
214
- * Timestamp indicating the report resource effective start.
218
+ * Associated company name for the report resource.
215
219
  */
216
- periodStart?: TimestampAttribute;
220
+ companyName?: ShortStringAttribute;
217
221
  /**
218
222
  * Associated product name for the report resource.
219
223
  */
220
224
  productName?: ShortStringAttribute;
221
225
  /**
222
- * Sequence number to enforce optimistic locking.
223
- */
224
- sequenceNumber?: SequenceNumberAttribute;
225
- /**
226
- * Series for the report resource.
226
+ * Unique resource ARN for term resource.
227
227
  */
228
- series?: ShortStringAttribute;
228
+ termArn?: LongStringAttribute;
229
229
  /**
230
- * Current state of the report resource
230
+ * Version for the report resource.
231
231
  */
232
- state?: PublishedState;
232
+ version?: VersionAttribute;
233
233
  /**
234
- * The message associated with the current upload state.
234
+ * Acceptance type for report.
235
235
  */
236
- statusMessage?: StatusMessage;
236
+ acceptanceType?: AcceptanceType;
237
237
  /**
238
- * Unique resource ARN for term resource.
238
+ * Sequence number to enforce optimistic locking.
239
239
  */
240
- termArn?: LongStringAttribute;
240
+ sequenceNumber?: SequenceNumberAttribute;
241
241
  /**
242
242
  * The current state of the document upload.
243
243
  */
244
244
  uploadState?: UploadState;
245
245
  /**
246
- * Version for the report resource.
246
+ * The message associated with the current upload state.
247
247
  */
248
- version?: VersionAttribute;
248
+ statusMessage?: StatusMessage;
249
249
  }
250
250
  export type ReportId = string;
251
251
  export interface ReportSummary {
252
252
  /**
253
- * ARN for the report resource.
253
+ * Unique resource ID for the report resource.
254
254
  */
255
- arn?: LongStringAttribute;
255
+ id?: ReportId;
256
256
  /**
257
- * Category for the report resource.
257
+ * Name for the report resource.
258
258
  */
259
- category?: ShortStringAttribute;
259
+ name?: ShortStringAttribute;
260
260
  /**
261
- * Associated company name for the report resource.
261
+ * Current state of the report resource.
262
262
  */
263
- companyName?: ShortStringAttribute;
263
+ state?: PublishedState;
264
264
  /**
265
- * Description for the report resource.
265
+ * ARN for the report resource.
266
266
  */
267
- description?: LongStringAttribute;
267
+ arn?: LongStringAttribute;
268
268
  /**
269
- * Unique resource ID for the report resource.
269
+ * Version for the report resource.
270
270
  */
271
- id?: ReportId;
271
+ version?: VersionAttribute;
272
272
  /**
273
- * Name for the report resource.
273
+ * The current state of the document upload.
274
274
  */
275
- name?: ShortStringAttribute;
275
+ uploadState?: UploadState;
276
276
  /**
277
- * Timestamp indicating the report resource effective end.
277
+ * Description for the report resource.
278
278
  */
279
- periodEnd?: TimestampAttribute;
279
+ description?: LongStringAttribute;
280
280
  /**
281
281
  * Timestamp indicating the report resource effective start.
282
282
  */
283
283
  periodStart?: TimestampAttribute;
284
284
  /**
285
- * Associated product name for the report resource.
285
+ * Timestamp indicating the report resource effective end.
286
286
  */
287
- productName?: ShortStringAttribute;
287
+ periodEnd?: TimestampAttribute;
288
288
  /**
289
289
  * Series for the report resource.
290
290
  */
291
291
  series?: ShortStringAttribute;
292
292
  /**
293
- * Current state of the report resource.
293
+ * Category for the report resource.
294
294
  */
295
- state?: PublishedState;
295
+ category?: ShortStringAttribute;
296
296
  /**
297
- * The message associated with the current upload state.
297
+ * Associated company name for the report resource.
298
298
  */
299
- statusMessage?: StatusMessage;
299
+ companyName?: ShortStringAttribute;
300
300
  /**
301
- * The current state of the document upload.
301
+ * Associated product name for the report resource.
302
302
  */
303
- uploadState?: UploadState;
303
+ productName?: ShortStringAttribute;
304
304
  /**
305
- * Version for the report resource.
305
+ * The message associated with the current upload state.
306
306
  */
307
- version?: VersionAttribute;
307
+ statusMessage?: StatusMessage;
308
+ /**
309
+ * Acceptance type for report.
310
+ */
311
+ acceptanceType?: AcceptanceType;
308
312
  }
309
313
  export type ReportsList = ReportSummary[];
310
314
  export type SequenceNumberAttribute = number;
@@ -9,6 +9,7 @@ Object.defineProperty(apiLoader.services['artifact'], '2018-05-10', {
9
9
  get: function get() {
10
10
  var model = require('../apis/artifact-2018-05-10.min.json');
11
11
  model.paginators = require('../apis/artifact-2018-05-10.paginators.json').pagination;
12
+ model.waiters = require('../apis/artifact-2018-05-10.waiters2.json').waiters;
12
13
  return model;
13
14
  },
14
15
  enumerable: true,
@@ -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
  /**