diff --git a/clients/client-codeconnections/src/commands/CreateSyncConfigurationCommand.ts b/clients/client-codeconnections/src/commands/CreateSyncConfigurationCommand.ts index 07ce2733bfefe..40005c8d0c58e 100644 --- a/clients/client-codeconnections/src/commands/CreateSyncConfigurationCommand.ts +++ b/clients/client-codeconnections/src/commands/CreateSyncConfigurationCommand.ts @@ -46,6 +46,7 @@ export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigur * SyncType: "CFN_STACK_SYNC", // required * PublishDeploymentStatus: "ENABLED" || "DISABLED", * TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", + * PullRequestComment: "ENABLED" || "DISABLED", * }; * const command = new CreateSyncConfigurationCommand(input); * const response = await client.send(command); @@ -62,6 +63,7 @@ export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigur * // SyncType: "CFN_STACK_SYNC", // required * // PublishDeploymentStatus: "ENABLED" || "DISABLED", * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", + * // PullRequestComment: "ENABLED" || "DISABLED", * // }, * // }; * diff --git a/clients/client-codeconnections/src/commands/GetSyncConfigurationCommand.ts b/clients/client-codeconnections/src/commands/GetSyncConfigurationCommand.ts index a008d5760a372..aa6efc630a8d4 100644 --- a/clients/client-codeconnections/src/commands/GetSyncConfigurationCommand.ts +++ b/clients/client-codeconnections/src/commands/GetSyncConfigurationCommand.ts @@ -54,6 +54,7 @@ export interface GetSyncConfigurationCommandOutput extends GetSyncConfigurationO * // SyncType: "CFN_STACK_SYNC", // required * // PublishDeploymentStatus: "ENABLED" || "DISABLED", * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", + * // PullRequestComment: "ENABLED" || "DISABLED", * // }, * // }; * diff --git a/clients/client-codeconnections/src/commands/ListSyncConfigurationsCommand.ts b/clients/client-codeconnections/src/commands/ListSyncConfigurationsCommand.ts index 0c859d16c18a6..df3e383549905 100644 --- a/clients/client-codeconnections/src/commands/ListSyncConfigurationsCommand.ts +++ b/clients/client-codeconnections/src/commands/ListSyncConfigurationsCommand.ts @@ -57,6 +57,7 @@ export interface ListSyncConfigurationsCommandOutput extends ListSyncConfigurati * // SyncType: "CFN_STACK_SYNC", // required * // PublishDeploymentStatus: "ENABLED" || "DISABLED", * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", + * // PullRequestComment: "ENABLED" || "DISABLED", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-codeconnections/src/commands/UpdateSyncConfigurationCommand.ts b/clients/client-codeconnections/src/commands/UpdateSyncConfigurationCommand.ts index 2d5ea6880dd28..bc4636661850d 100644 --- a/clients/client-codeconnections/src/commands/UpdateSyncConfigurationCommand.ts +++ b/clients/client-codeconnections/src/commands/UpdateSyncConfigurationCommand.ts @@ -44,6 +44,7 @@ export interface UpdateSyncConfigurationCommandOutput extends UpdateSyncConfigur * SyncType: "CFN_STACK_SYNC", // required * PublishDeploymentStatus: "ENABLED" || "DISABLED", * TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", + * PullRequestComment: "ENABLED" || "DISABLED", * }; * const command = new UpdateSyncConfigurationCommand(input); * const response = await client.send(command); @@ -60,6 +61,7 @@ export interface UpdateSyncConfigurationCommandOutput extends UpdateSyncConfigur * // SyncType: "CFN_STACK_SYNC", // required * // PublishDeploymentStatus: "ENABLED" || "DISABLED", * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", + * // PullRequestComment: "ENABLED" || "DISABLED", * // }, * // }; * diff --git a/clients/client-codeconnections/src/models/models_0.ts b/clients/client-codeconnections/src/models/models_0.ts index 27ca8114c8a85..d6f66cecfdc04 100644 --- a/clients/client-codeconnections/src/models/models_0.ts +++ b/clients/client-codeconnections/src/models/models_0.ts @@ -514,6 +514,20 @@ export const PublishDeploymentStatus = { */ export type PublishDeploymentStatus = (typeof PublishDeploymentStatus)[keyof typeof PublishDeploymentStatus]; +/** + * @public + * @enum + */ +export const PullRequestComment = { + DISABLED: "DISABLED", + ENABLED: "ENABLED", +} as const; + +/** + * @public + */ +export type PullRequestComment = (typeof PullRequestComment)[keyof typeof PullRequestComment]; + /** * @public * @enum @@ -595,6 +609,12 @@ export interface CreateSyncConfigurationInput { * @public */ TriggerResourceUpdateOn?: TriggerResourceUpdateOn; + + /** + *

A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.

+ * @public + */ + PullRequestComment?: PullRequestComment; } /** @@ -669,6 +689,12 @@ export interface SyncConfiguration { * @public */ TriggerResourceUpdateOn?: TriggerResourceUpdateOn; + + /** + *

A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.

+ * @public + */ + PullRequestComment?: PullRequestComment; } /** @@ -842,7 +868,7 @@ export interface Connection { /** *

The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection - * reference when the connection is shared between Amazon Web Services.

+ * reference when the connection is shared between Amazon Web Servicesservices.

* *

The ARN is never reused if the connection is deleted.

*
@@ -2082,6 +2108,12 @@ export interface UpdateSyncConfigurationInput { * @public */ TriggerResourceUpdateOn?: TriggerResourceUpdateOn; + + /** + *

TA toggle that specifies whether to enable or disable pull request comments for the sync configuration to be updated.

+ * @public + */ + PullRequestComment?: PullRequestComment; } /** diff --git a/codegen/sdk-codegen/aws-models/codeconnections.json b/codegen/sdk-codegen/aws-models/codeconnections.json index fb121557410f8..e6450eea50f68 100644 --- a/codegen/sdk-codegen/aws-models/codeconnections.json +++ b/codegen/sdk-codegen/aws-models/codeconnections.json @@ -917,7 +917,7 @@ "ConnectionArn": { "target": "com.amazonaws.codeconnections#ConnectionArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection\n reference when the connection is shared between Amazon Web Services.

\n \n

The ARN is never reused if the connection is deleted.

\n
" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection\n reference when the connection is shared between Amazon Web Servicesservices.

\n \n

The ARN is never reused if the connection is deleted.

\n
" } }, "ProviderType": { @@ -1335,6 +1335,12 @@ "traits": { "smithy.api#documentation": "

When to trigger Git sync to begin the stack update.

" } + }, + "PullRequestComment": { + "target": "com.amazonaws.codeconnections#PullRequestComment", + "traits": { + "smithy.api#documentation": "

A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.

" + } } }, "traits": { @@ -2717,6 +2723,23 @@ } } }, + "com.amazonaws.codeconnections#PullRequestComment": { + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + } + }, "com.amazonaws.codeconnections#RepositoryLinkArn": { "type": "string", "traits": { @@ -3463,6 +3486,12 @@ "traits": { "smithy.api#documentation": "

When to trigger Git sync to begin the stack update.

" } + }, + "PullRequestComment": { + "target": "com.amazonaws.codeconnections#PullRequestComment", + "traits": { + "smithy.api#documentation": "

A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.

" + } } }, "traits": { @@ -4071,6 +4100,12 @@ "traits": { "smithy.api#documentation": "

When to trigger Git sync to begin the stack update.

" } + }, + "PullRequestComment": { + "target": "com.amazonaws.codeconnections#PullRequestComment", + "traits": { + "smithy.api#documentation": "

TA toggle that specifies whether to enable or disable pull request comments for the sync configuration to be updated.

" + } } }, "traits": {