diff --git a/clients/client-codestar-connections/src/commands/CreateSyncConfigurationCommand.ts b/clients/client-codestar-connections/src/commands/CreateSyncConfigurationCommand.ts index a8389f10b359..8fab197ce27f 100644 --- a/clients/client-codestar-connections/src/commands/CreateSyncConfigurationCommand.ts +++ b/clients/client-codestar-connections/src/commands/CreateSyncConfigurationCommand.ts @@ -48,6 +48,8 @@ export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigur * ResourceName: "STRING_VALUE", // required * RoleArn: "STRING_VALUE", // required * SyncType: "CFN_STACK_SYNC", // required + * PublishDeploymentStatus: "ENABLED" || "DISABLED", + * TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", * }; * const command = new CreateSyncConfigurationCommand(input); * const response = await client.send(command); @@ -62,6 +64,8 @@ export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigur * // ResourceName: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", // required * // SyncType: "CFN_STACK_SYNC", // required + * // PublishDeploymentStatus: "ENABLED" || "DISABLED", + * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", * // }, * // }; * diff --git a/clients/client-codestar-connections/src/commands/GetSyncConfigurationCommand.ts b/clients/client-codestar-connections/src/commands/GetSyncConfigurationCommand.ts index 085d460d4169..89dfe2005957 100644 --- a/clients/client-codestar-connections/src/commands/GetSyncConfigurationCommand.ts +++ b/clients/client-codestar-connections/src/commands/GetSyncConfigurationCommand.ts @@ -56,6 +56,8 @@ export interface GetSyncConfigurationCommandOutput extends GetSyncConfigurationO * // ResourceName: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", // required * // SyncType: "CFN_STACK_SYNC", // required + * // PublishDeploymentStatus: "ENABLED" || "DISABLED", + * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", * // }, * // }; * diff --git a/clients/client-codestar-connections/src/commands/ListSyncConfigurationsCommand.ts b/clients/client-codestar-connections/src/commands/ListSyncConfigurationsCommand.ts index 00027c82bd10..0f7e58e0156a 100644 --- a/clients/client-codestar-connections/src/commands/ListSyncConfigurationsCommand.ts +++ b/clients/client-codestar-connections/src/commands/ListSyncConfigurationsCommand.ts @@ -59,6 +59,8 @@ export interface ListSyncConfigurationsCommandOutput extends ListSyncConfigurati * // ResourceName: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", // required * // SyncType: "CFN_STACK_SYNC", // required + * // PublishDeploymentStatus: "ENABLED" || "DISABLED", + * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-codestar-connections/src/commands/UpdateSyncConfigurationCommand.ts b/clients/client-codestar-connections/src/commands/UpdateSyncConfigurationCommand.ts index d5015547f8ca..48471de07a8f 100644 --- a/clients/client-codestar-connections/src/commands/UpdateSyncConfigurationCommand.ts +++ b/clients/client-codestar-connections/src/commands/UpdateSyncConfigurationCommand.ts @@ -46,6 +46,8 @@ export interface UpdateSyncConfigurationCommandOutput extends UpdateSyncConfigur * ResourceName: "STRING_VALUE", // required * RoleArn: "STRING_VALUE", * SyncType: "CFN_STACK_SYNC", // required + * PublishDeploymentStatus: "ENABLED" || "DISABLED", + * TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", * }; * const command = new UpdateSyncConfigurationCommand(input); * const response = await client.send(command); @@ -60,6 +62,8 @@ export interface UpdateSyncConfigurationCommandOutput extends UpdateSyncConfigur * // ResourceName: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", // required * // SyncType: "CFN_STACK_SYNC", // required + * // PublishDeploymentStatus: "ENABLED" || "DISABLED", + * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE", * // }, * // }; * diff --git a/clients/client-codestar-connections/src/models/models_0.ts b/clients/client-codestar-connections/src/models/models_0.ts index b7af0f348596..0e1ad7f6acae 100644 --- a/clients/client-codestar-connections/src/models/models_0.ts +++ b/clients/client-codestar-connections/src/models/models_0.ts @@ -500,6 +500,20 @@ export class ThrottlingException extends __BaseException { } } +/** + * @public + * @enum + */ +export const PublishDeploymentStatus = { + DISABLED: "DISABLED", + ENABLED: "ENABLED", +} as const; + +/** + * @public + */ +export type PublishDeploymentStatus = (typeof PublishDeploymentStatus)[keyof typeof PublishDeploymentStatus]; + /** * @public * @enum @@ -513,6 +527,20 @@ export const SyncConfigurationType = { */ export type SyncConfigurationType = (typeof SyncConfigurationType)[keyof typeof SyncConfigurationType]; +/** + * @public + * @enum + */ +export const TriggerResourceUpdateOn = { + ANY_CHANGE: "ANY_CHANGE", + FILE_CHANGE: "FILE_CHANGE", +} as const; + +/** + * @public + */ +export type TriggerResourceUpdateOn = (typeof TriggerResourceUpdateOn)[keyof typeof TriggerResourceUpdateOn]; + /** * @public */ @@ -555,6 +583,18 @@ export interface CreateSyncConfigurationInput { *

The type of sync configuration.

*/ SyncType: SyncConfigurationType | undefined; + + /** + * @public + *

Whether to enable or disable publishing of deployment status to source providers.

+ */ + PublishDeploymentStatus?: PublishDeploymentStatus; + + /** + * @public + *

When to trigger Git sync to begin the stack update.

+ */ + TriggerResourceUpdateOn?: TriggerResourceUpdateOn; } /** @@ -617,6 +657,18 @@ export interface SyncConfiguration { *

The type of sync for a specific sync configuration.

*/ SyncType: SyncConfigurationType | undefined; + + /** + * @public + *

Whether to enable or disable publishing of deployment status to source providers.

+ */ + PublishDeploymentStatus?: PublishDeploymentStatus; + + /** + * @public + *

When to trigger Git sync to begin the stack update.

+ */ + TriggerResourceUpdateOn?: TriggerResourceUpdateOn; } /** @@ -2018,6 +2070,18 @@ export interface UpdateSyncConfigurationInput { *

The sync type for the sync configuration to be updated.

*/ SyncType: SyncConfigurationType | undefined; + + /** + * @public + *

Whether to enable or disable publishing of deployment status to source providers.

+ */ + PublishDeploymentStatus?: PublishDeploymentStatus; + + /** + * @public + *

When to trigger Git sync to begin the stack update.

+ */ + TriggerResourceUpdateOn?: TriggerResourceUpdateOn; } /** diff --git a/codegen/sdk-codegen/aws-models/codestar-connections.json b/codegen/sdk-codegen/aws-models/codestar-connections.json index 8f8c613c17f3..913bfe60b469 100644 --- a/codegen/sdk-codegen/aws-models/codestar-connections.json +++ b/codegen/sdk-codegen/aws-models/codestar-connections.json @@ -1482,6 +1482,18 @@ "smithy.api#documentation": "

The type of sync configuration.

", "smithy.api#required": {} } + }, + "PublishDeploymentStatus": { + "target": "com.amazonaws.codestarconnections#PublishDeploymentStatus", + "traits": { + "smithy.api#documentation": "

Whether to enable or disable publishing of deployment status to source providers.

" + } + }, + "TriggerResourceUpdateOn": { + "target": "com.amazonaws.codestarconnections#TriggerResourceUpdateOn", + "traits": { + "smithy.api#documentation": "

When to trigger Git sync to begin the stack update.

" + } } }, "traits": { @@ -2847,6 +2859,23 @@ } } }, + "com.amazonaws.codestarconnections#PublishDeploymentStatus": { + "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.codestarconnections#RepositoryLinkArn": { "type": "string", "traits": { @@ -3581,6 +3610,18 @@ "smithy.api#documentation": "

The type of sync for a specific sync configuration.

", "smithy.api#required": {} } + }, + "PublishDeploymentStatus": { + "target": "com.amazonaws.codestarconnections#PublishDeploymentStatus", + "traits": { + "smithy.api#documentation": "

Whether to enable or disable publishing of deployment status to source providers.

" + } + }, + "TriggerResourceUpdateOn": { + "target": "com.amazonaws.codestarconnections#TriggerResourceUpdateOn", + "traits": { + "smithy.api#documentation": "

When to trigger Git sync to begin the stack update.

" + } } }, "traits": { @@ -3761,6 +3802,23 @@ "smithy.api#pattern": "^[\\s\\S]*$" } }, + "com.amazonaws.codestarconnections#TriggerResourceUpdateOn": { + "type": "enum", + "members": { + "ANY_CHANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANY_CHANGE" + } + }, + "FILE_CHANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_CHANGE" + } + } + } + }, "com.amazonaws.codestarconnections#Type": { "type": "string" }, @@ -4160,6 +4218,18 @@ "smithy.api#documentation": "

The sync type for the sync configuration to be updated.

", "smithy.api#required": {} } + }, + "PublishDeploymentStatus": { + "target": "com.amazonaws.codestarconnections#PublishDeploymentStatus", + "traits": { + "smithy.api#documentation": "

Whether to enable or disable publishing of deployment status to source providers.

" + } + }, + "TriggerResourceUpdateOn": { + "target": "com.amazonaws.codestarconnections#TriggerResourceUpdateOn", + "traits": { + "smithy.api#documentation": "

When to trigger Git sync to begin the stack update.

" + } } }, "traits": {