From 24d8dfec0838e00b19e513e0c8ca43d42fa80d63 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 20 Sep 2023 19:23:45 +0000 Subject: [PATCH] feat(client-codeartifact): Add support for the Swift package format. --- .../src/commands/AssociateExternalConnectionCommand.ts | 2 +- .../src/commands/CopyPackageVersionsCommand.ts | 2 +- .../src/commands/CreateRepositoryCommand.ts | 2 +- .../src/commands/DeletePackageCommand.ts | 4 ++-- .../src/commands/DeletePackageVersionsCommand.ts | 2 +- .../src/commands/DeleteRepositoryCommand.ts | 2 +- .../src/commands/DescribePackageCommand.ts | 4 ++-- .../src/commands/DescribePackageVersionCommand.ts | 4 ++-- .../src/commands/DescribeRepositoryCommand.ts | 2 +- .../src/commands/DisassociateExternalConnectionCommand.ts | 2 +- .../src/commands/DisposePackageVersionsCommand.ts | 2 +- .../src/commands/GetPackageVersionAssetCommand.ts | 2 +- .../src/commands/GetPackageVersionReadmeCommand.ts | 4 ++-- .../src/commands/GetRepositoryEndpointCommand.ts | 2 +- .../src/commands/ListPackageVersionAssetsCommand.ts | 4 ++-- .../src/commands/ListPackageVersionDependenciesCommand.ts | 4 ++-- .../src/commands/ListPackageVersionsCommand.ts | 4 ++-- .../src/commands/ListPackagesCommand.ts | 4 ++-- .../src/commands/PublishPackageVersionCommand.ts | 4 ++-- .../src/commands/PutPackageOriginConfigurationCommand.ts | 2 +- .../src/commands/UpdatePackageVersionsStatusCommand.ts | 2 +- .../src/commands/UpdateRepositoryCommand.ts | 2 +- clients/client-codeartifact/src/models/models_0.ts | 1 + codegen/sdk-codegen/aws-models/codeartifact.json | 8 +++++++- 24 files changed, 39 insertions(+), 32 deletions(-) diff --git a/clients/client-codeartifact/src/commands/AssociateExternalConnectionCommand.ts b/clients/client-codeartifact/src/commands/AssociateExternalConnectionCommand.ts index 655f740835a83..3324bf9baff76 100644 --- a/clients/client-codeartifact/src/commands/AssociateExternalConnectionCommand.ts +++ b/clients/client-codeartifact/src/commands/AssociateExternalConnectionCommand.ts @@ -74,7 +74,7 @@ export interface AssociateExternalConnectionCommandOutput extends AssociateExter * // externalConnections: [ // RepositoryExternalConnectionInfoList * // { // RepositoryExternalConnectionInfo * // externalConnectionName: "STRING_VALUE", - * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // status: "Available", * // }, * // ], diff --git a/clients/client-codeartifact/src/commands/CopyPackageVersionsCommand.ts b/clients/client-codeartifact/src/commands/CopyPackageVersionsCommand.ts index 28902d6b2be97..b6c10f1e4d3de 100644 --- a/clients/client-codeartifact/src/commands/CopyPackageVersionsCommand.ts +++ b/clients/client-codeartifact/src/commands/CopyPackageVersionsCommand.ts @@ -55,7 +55,7 @@ export interface CopyPackageVersionsCommandOutput extends CopyPackageVersionsRes * domainOwner: "STRING_VALUE", * sourceRepository: "STRING_VALUE", // required * destinationRepository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * versions: [ // PackageVersionList diff --git a/clients/client-codeartifact/src/commands/CreateRepositoryCommand.ts b/clients/client-codeartifact/src/commands/CreateRepositoryCommand.ts index 9e01f5542a11f..49ac2fcb335c2 100644 --- a/clients/client-codeartifact/src/commands/CreateRepositoryCommand.ts +++ b/clients/client-codeartifact/src/commands/CreateRepositoryCommand.ts @@ -80,7 +80,7 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResult, _ * // externalConnections: [ // RepositoryExternalConnectionInfoList * // { // RepositoryExternalConnectionInfo * // externalConnectionName: "STRING_VALUE", - * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // status: "Available", * // }, * // ], diff --git a/clients/client-codeartifact/src/commands/DeletePackageCommand.ts b/clients/client-codeartifact/src/commands/DeletePackageCommand.ts index 8bceeb7e55cad..20ee2dc3c8efc 100644 --- a/clients/client-codeartifact/src/commands/DeletePackageCommand.ts +++ b/clients/client-codeartifact/src/commands/DeletePackageCommand.ts @@ -48,7 +48,7 @@ export interface DeletePackageCommandOutput extends DeletePackageResult, __Metad * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * }; @@ -56,7 +56,7 @@ export interface DeletePackageCommandOutput extends DeletePackageResult, __Metad * const response = await client.send(command); * // { // DeletePackageResult * // deletedPackage: { // PackageSummary - * // format: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // namespace: "STRING_VALUE", * // package: "STRING_VALUE", * // originConfiguration: { // PackageOriginConfiguration diff --git a/clients/client-codeartifact/src/commands/DeletePackageVersionsCommand.ts b/clients/client-codeartifact/src/commands/DeletePackageVersionsCommand.ts index 85e8eafe0cc7f..66e6ca3c64ea1 100644 --- a/clients/client-codeartifact/src/commands/DeletePackageVersionsCommand.ts +++ b/clients/client-codeartifact/src/commands/DeletePackageVersionsCommand.ts @@ -51,7 +51,7 @@ export interface DeletePackageVersionsCommandOutput extends DeletePackageVersion * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * versions: [ // PackageVersionList // required diff --git a/clients/client-codeartifact/src/commands/DeleteRepositoryCommand.ts b/clients/client-codeartifact/src/commands/DeleteRepositoryCommand.ts index 97c6cf54d0cc0..aadaa2e9d9ab8 100644 --- a/clients/client-codeartifact/src/commands/DeleteRepositoryCommand.ts +++ b/clients/client-codeartifact/src/commands/DeleteRepositoryCommand.ts @@ -68,7 +68,7 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResult, _ * // externalConnections: [ // RepositoryExternalConnectionInfoList * // { // RepositoryExternalConnectionInfo * // externalConnectionName: "STRING_VALUE", - * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // status: "Available", * // }, * // ], diff --git a/clients/client-codeartifact/src/commands/DescribePackageCommand.ts b/clients/client-codeartifact/src/commands/DescribePackageCommand.ts index 74c26911365ea..bae9b8a36586f 100644 --- a/clients/client-codeartifact/src/commands/DescribePackageCommand.ts +++ b/clients/client-codeartifact/src/commands/DescribePackageCommand.ts @@ -49,7 +49,7 @@ export interface DescribePackageCommandOutput extends DescribePackageResult, __M * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * }; @@ -57,7 +57,7 @@ export interface DescribePackageCommandOutput extends DescribePackageResult, __M * const response = await client.send(command); * // { // DescribePackageResult * // package: { // PackageDescription - * // format: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // namespace: "STRING_VALUE", * // name: "STRING_VALUE", * // originConfiguration: { // PackageOriginConfiguration diff --git a/clients/client-codeartifact/src/commands/DescribePackageVersionCommand.ts b/clients/client-codeartifact/src/commands/DescribePackageVersionCommand.ts index f55fe7f75830e..fbbad2f7b0858 100644 --- a/clients/client-codeartifact/src/commands/DescribePackageVersionCommand.ts +++ b/clients/client-codeartifact/src/commands/DescribePackageVersionCommand.ts @@ -51,7 +51,7 @@ export interface DescribePackageVersionCommandOutput extends DescribePackageVers * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * packageVersion: "STRING_VALUE", // required @@ -60,7 +60,7 @@ export interface DescribePackageVersionCommandOutput extends DescribePackageVers * const response = await client.send(command); * // { // DescribePackageVersionResult * // packageVersion: { // PackageVersionDescription - * // format: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // namespace: "STRING_VALUE", * // packageName: "STRING_VALUE", * // displayName: "STRING_VALUE", diff --git a/clients/client-codeartifact/src/commands/DescribeRepositoryCommand.ts b/clients/client-codeartifact/src/commands/DescribeRepositoryCommand.ts index 55f1b4d6097ed..ba093d07afe16 100644 --- a/clients/client-codeartifact/src/commands/DescribeRepositoryCommand.ts +++ b/clients/client-codeartifact/src/commands/DescribeRepositoryCommand.ts @@ -69,7 +69,7 @@ export interface DescribeRepositoryCommandOutput extends DescribeRepositoryResul * // externalConnections: [ // RepositoryExternalConnectionInfoList * // { // RepositoryExternalConnectionInfo * // externalConnectionName: "STRING_VALUE", - * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // status: "Available", * // }, * // ], diff --git a/clients/client-codeartifact/src/commands/DisassociateExternalConnectionCommand.ts b/clients/client-codeartifact/src/commands/DisassociateExternalConnectionCommand.ts index 6249cc2a820e5..d7548b2eb3842 100644 --- a/clients/client-codeartifact/src/commands/DisassociateExternalConnectionCommand.ts +++ b/clients/client-codeartifact/src/commands/DisassociateExternalConnectionCommand.ts @@ -74,7 +74,7 @@ export interface DisassociateExternalConnectionCommandOutput * // externalConnections: [ // RepositoryExternalConnectionInfoList * // { // RepositoryExternalConnectionInfo * // externalConnectionName: "STRING_VALUE", - * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // status: "Available", * // }, * // ], diff --git a/clients/client-codeartifact/src/commands/DisposePackageVersionsCommand.ts b/clients/client-codeartifact/src/commands/DisposePackageVersionsCommand.ts index 10c6011c2396e..6f0676268552c 100644 --- a/clients/client-codeartifact/src/commands/DisposePackageVersionsCommand.ts +++ b/clients/client-codeartifact/src/commands/DisposePackageVersionsCommand.ts @@ -58,7 +58,7 @@ export interface DisposePackageVersionsCommandOutput extends DisposePackageVersi * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * versions: [ // PackageVersionList // required diff --git a/clients/client-codeartifact/src/commands/GetPackageVersionAssetCommand.ts b/clients/client-codeartifact/src/commands/GetPackageVersionAssetCommand.ts index accd97733bc03..49f8f26c686ed 100644 --- a/clients/client-codeartifact/src/commands/GetPackageVersionAssetCommand.ts +++ b/clients/client-codeartifact/src/commands/GetPackageVersionAssetCommand.ts @@ -61,7 +61,7 @@ export interface GetPackageVersionAssetCommandOutput * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * packageVersion: "STRING_VALUE", // required diff --git a/clients/client-codeartifact/src/commands/GetPackageVersionReadmeCommand.ts b/clients/client-codeartifact/src/commands/GetPackageVersionReadmeCommand.ts index b3debdc9526c9..0b916ce1d929a 100644 --- a/clients/client-codeartifact/src/commands/GetPackageVersionReadmeCommand.ts +++ b/clients/client-codeartifact/src/commands/GetPackageVersionReadmeCommand.ts @@ -52,7 +52,7 @@ export interface GetPackageVersionReadmeCommandOutput extends GetPackageVersionR * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * packageVersion: "STRING_VALUE", // required @@ -60,7 +60,7 @@ export interface GetPackageVersionReadmeCommandOutput extends GetPackageVersionR * const command = new GetPackageVersionReadmeCommand(input); * const response = await client.send(command); * // { // GetPackageVersionReadmeResult - * // format: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // namespace: "STRING_VALUE", * // package: "STRING_VALUE", * // version: "STRING_VALUE", diff --git a/clients/client-codeartifact/src/commands/GetRepositoryEndpointCommand.ts b/clients/client-codeartifact/src/commands/GetRepositoryEndpointCommand.ts index a44730c908806..4ef494839ea40 100644 --- a/clients/client-codeartifact/src/commands/GetRepositoryEndpointCommand.ts +++ b/clients/client-codeartifact/src/commands/GetRepositoryEndpointCommand.ts @@ -72,7 +72,7 @@ export interface GetRepositoryEndpointCommandOutput extends GetRepositoryEndpoin * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * }; * const command = new GetRepositoryEndpointCommand(input); * const response = await client.send(command); diff --git a/clients/client-codeartifact/src/commands/ListPackageVersionAssetsCommand.ts b/clients/client-codeartifact/src/commands/ListPackageVersionAssetsCommand.ts index 87a494fa6e50e..ed1e90f897973 100644 --- a/clients/client-codeartifact/src/commands/ListPackageVersionAssetsCommand.ts +++ b/clients/client-codeartifact/src/commands/ListPackageVersionAssetsCommand.ts @@ -51,7 +51,7 @@ export interface ListPackageVersionAssetsCommandOutput extends ListPackageVersio * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * packageVersion: "STRING_VALUE", // required @@ -61,7 +61,7 @@ export interface ListPackageVersionAssetsCommandOutput extends ListPackageVersio * const command = new ListPackageVersionAssetsCommand(input); * const response = await client.send(command); * // { // ListPackageVersionAssetsResult - * // format: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // namespace: "STRING_VALUE", * // package: "STRING_VALUE", * // version: "STRING_VALUE", diff --git a/clients/client-codeartifact/src/commands/ListPackageVersionDependenciesCommand.ts b/clients/client-codeartifact/src/commands/ListPackageVersionDependenciesCommand.ts index cbb39d72d8885..62c133d21010d 100644 --- a/clients/client-codeartifact/src/commands/ListPackageVersionDependenciesCommand.ts +++ b/clients/client-codeartifact/src/commands/ListPackageVersionDependenciesCommand.ts @@ -58,7 +58,7 @@ export interface ListPackageVersionDependenciesCommandOutput * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * packageVersion: "STRING_VALUE", // required @@ -67,7 +67,7 @@ export interface ListPackageVersionDependenciesCommandOutput * const command = new ListPackageVersionDependenciesCommand(input); * const response = await client.send(command); * // { // ListPackageVersionDependenciesResult - * // format: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // namespace: "STRING_VALUE", * // package: "STRING_VALUE", * // version: "STRING_VALUE", diff --git a/clients/client-codeartifact/src/commands/ListPackageVersionsCommand.ts b/clients/client-codeartifact/src/commands/ListPackageVersionsCommand.ts index 54a2c3fbd338b..cea089fcca2ef 100644 --- a/clients/client-codeartifact/src/commands/ListPackageVersionsCommand.ts +++ b/clients/client-codeartifact/src/commands/ListPackageVersionsCommand.ts @@ -51,7 +51,7 @@ export interface ListPackageVersionsCommandOutput extends ListPackageVersionsRes * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * status: "Published" || "Unfinished" || "Unlisted" || "Archived" || "Disposed" || "Deleted", @@ -64,7 +64,7 @@ export interface ListPackageVersionsCommandOutput extends ListPackageVersionsRes * const response = await client.send(command); * // { // ListPackageVersionsResult * // defaultDisplayVersion: "STRING_VALUE", - * // format: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // namespace: "STRING_VALUE", * // package: "STRING_VALUE", * // versions: [ // PackageVersionSummaryList diff --git a/clients/client-codeartifact/src/commands/ListPackagesCommand.ts b/clients/client-codeartifact/src/commands/ListPackagesCommand.ts index ef517f4d85ec2..55a513c50bb00 100644 --- a/clients/client-codeartifact/src/commands/ListPackagesCommand.ts +++ b/clients/client-codeartifact/src/commands/ListPackagesCommand.ts @@ -51,7 +51,7 @@ export interface ListPackagesCommandOutput extends ListPackagesResult, __Metadat * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * namespace: "STRING_VALUE", * packagePrefix: "STRING_VALUE", * maxResults: Number("int"), @@ -64,7 +64,7 @@ export interface ListPackagesCommandOutput extends ListPackagesResult, __Metadat * // { // ListPackagesResult * // packages: [ // PackageSummaryList * // { // PackageSummary - * // format: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // namespace: "STRING_VALUE", * // package: "STRING_VALUE", * // originConfiguration: { // PackageOriginConfiguration diff --git a/clients/client-codeartifact/src/commands/PublishPackageVersionCommand.ts b/clients/client-codeartifact/src/commands/PublishPackageVersionCommand.ts index c00dc5d5213d9..665a9725e88f4 100644 --- a/clients/client-codeartifact/src/commands/PublishPackageVersionCommand.ts +++ b/clients/client-codeartifact/src/commands/PublishPackageVersionCommand.ts @@ -64,7 +64,7 @@ export interface PublishPackageVersionCommandOutput extends PublishPackageVersio * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * packageVersion: "STRING_VALUE", // required @@ -76,7 +76,7 @@ export interface PublishPackageVersionCommandOutput extends PublishPackageVersio * const command = new PublishPackageVersionCommand(input); * const response = await client.send(command); * // { // PublishPackageVersionResult - * // format: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // namespace: "STRING_VALUE", * // package: "STRING_VALUE", * // version: "STRING_VALUE", diff --git a/clients/client-codeartifact/src/commands/PutPackageOriginConfigurationCommand.ts b/clients/client-codeartifact/src/commands/PutPackageOriginConfigurationCommand.ts index 2029de01bba86..b81df906c3995 100644 --- a/clients/client-codeartifact/src/commands/PutPackageOriginConfigurationCommand.ts +++ b/clients/client-codeartifact/src/commands/PutPackageOriginConfigurationCommand.ts @@ -60,7 +60,7 @@ export interface PutPackageOriginConfigurationCommandOutput * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * restrictions: { // PackageOriginRestrictions diff --git a/clients/client-codeartifact/src/commands/UpdatePackageVersionsStatusCommand.ts b/clients/client-codeartifact/src/commands/UpdatePackageVersionsStatusCommand.ts index 7467f5ca01f5a..12882402885bd 100644 --- a/clients/client-codeartifact/src/commands/UpdatePackageVersionsStatusCommand.ts +++ b/clients/client-codeartifact/src/commands/UpdatePackageVersionsStatusCommand.ts @@ -55,7 +55,7 @@ export interface UpdatePackageVersionsStatusCommandOutput extends UpdatePackageV * domain: "STRING_VALUE", // required * domainOwner: "STRING_VALUE", * repository: "STRING_VALUE", // required - * format: "npm" || "pypi" || "maven" || "nuget" || "generic", // required + * format: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", // required * namespace: "STRING_VALUE", * package: "STRING_VALUE", // required * versions: [ // PackageVersionList // required diff --git a/clients/client-codeartifact/src/commands/UpdateRepositoryCommand.ts b/clients/client-codeartifact/src/commands/UpdateRepositoryCommand.ts index 10deb9be79187..5ac2461867cd4 100644 --- a/clients/client-codeartifact/src/commands/UpdateRepositoryCommand.ts +++ b/clients/client-codeartifact/src/commands/UpdateRepositoryCommand.ts @@ -74,7 +74,7 @@ export interface UpdateRepositoryCommandOutput extends UpdateRepositoryResult, _ * // externalConnections: [ // RepositoryExternalConnectionInfoList * // { // RepositoryExternalConnectionInfo * // externalConnectionName: "STRING_VALUE", - * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic", + * // packageFormat: "npm" || "pypi" || "maven" || "nuget" || "generic" || "swift", * // status: "Available", * // }, * // ], diff --git a/clients/client-codeartifact/src/models/models_0.ts b/clients/client-codeartifact/src/models/models_0.ts index bb2c177fe2975..36f040f98e531 100644 --- a/clients/client-codeartifact/src/models/models_0.ts +++ b/clients/client-codeartifact/src/models/models_0.ts @@ -189,6 +189,7 @@ export const PackageFormat = { NPM: "npm", NUGET: "nuget", PYPI: "pypi", + SWIFT: "swift", } as const; /** diff --git a/codegen/sdk-codegen/aws-models/codeartifact.json b/codegen/sdk-codegen/aws-models/codeartifact.json index cb3d1836f85eb..f1a7014b8c542 100644 --- a/codegen/sdk-codegen/aws-models/codeartifact.json +++ b/codegen/sdk-codegen/aws-models/codeartifact.json @@ -4702,6 +4702,12 @@ "traits": { "smithy.api#enumValue": "generic" } + }, + "SWIFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "swift" + } } } }, @@ -6520,4 +6526,4 @@ } } } -} \ No newline at end of file +}