Skip to content

Commit 0b63507

Browse files
author
awstools
committed
feat(client-codeconnections): This release adds the PullRequestComment field to CreateSyncConfiguration API input, UpdateSyncConfiguration API input, GetSyncConfiguration API output and ListSyncConfiguration API output
1 parent dacf7b5 commit 0b63507

File tree

6 files changed

+75
-2
lines changed

6 files changed

+75
-2
lines changed

clients/client-codeconnections/src/commands/CreateSyncConfigurationCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigur
4646
* SyncType: "CFN_STACK_SYNC", // required
4747
* PublishDeploymentStatus: "ENABLED" || "DISABLED",
4848
* TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
49+
* PullRequestComment: "ENABLED" || "DISABLED",
4950
* };
5051
* const command = new CreateSyncConfigurationCommand(input);
5152
* const response = await client.send(command);
@@ -62,6 +63,7 @@ export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigur
6263
* // SyncType: "CFN_STACK_SYNC", // required
6364
* // PublishDeploymentStatus: "ENABLED" || "DISABLED",
6465
* // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
66+
* // PullRequestComment: "ENABLED" || "DISABLED",
6567
* // },
6668
* // };
6769
*

clients/client-codeconnections/src/commands/GetSyncConfigurationCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export interface GetSyncConfigurationCommandOutput extends GetSyncConfigurationO
5454
* // SyncType: "CFN_STACK_SYNC", // required
5555
* // PublishDeploymentStatus: "ENABLED" || "DISABLED",
5656
* // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
57+
* // PullRequestComment: "ENABLED" || "DISABLED",
5758
* // },
5859
* // };
5960
*

clients/client-codeconnections/src/commands/ListSyncConfigurationsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export interface ListSyncConfigurationsCommandOutput extends ListSyncConfigurati
5757
* // SyncType: "CFN_STACK_SYNC", // required
5858
* // PublishDeploymentStatus: "ENABLED" || "DISABLED",
5959
* // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
60+
* // PullRequestComment: "ENABLED" || "DISABLED",
6061
* // },
6162
* // ],
6263
* // NextToken: "STRING_VALUE",

clients/client-codeconnections/src/commands/UpdateSyncConfigurationCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export interface UpdateSyncConfigurationCommandOutput extends UpdateSyncConfigur
4444
* SyncType: "CFN_STACK_SYNC", // required
4545
* PublishDeploymentStatus: "ENABLED" || "DISABLED",
4646
* TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
47+
* PullRequestComment: "ENABLED" || "DISABLED",
4748
* };
4849
* const command = new UpdateSyncConfigurationCommand(input);
4950
* const response = await client.send(command);
@@ -60,6 +61,7 @@ export interface UpdateSyncConfigurationCommandOutput extends UpdateSyncConfigur
6061
* // SyncType: "CFN_STACK_SYNC", // required
6162
* // PublishDeploymentStatus: "ENABLED" || "DISABLED",
6263
* // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
64+
* // PullRequestComment: "ENABLED" || "DISABLED",
6365
* // },
6466
* // };
6567
*

clients/client-codeconnections/src/models/models_0.ts

+33-1
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,20 @@ export const PublishDeploymentStatus = {
514514
*/
515515
export type PublishDeploymentStatus = (typeof PublishDeploymentStatus)[keyof typeof PublishDeploymentStatus];
516516

517+
/**
518+
* @public
519+
* @enum
520+
*/
521+
export const PullRequestComment = {
522+
DISABLED: "DISABLED",
523+
ENABLED: "ENABLED",
524+
} as const;
525+
526+
/**
527+
* @public
528+
*/
529+
export type PullRequestComment = (typeof PullRequestComment)[keyof typeof PullRequestComment];
530+
517531
/**
518532
* @public
519533
* @enum
@@ -595,6 +609,12 @@ export interface CreateSyncConfigurationInput {
595609
* @public
596610
*/
597611
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
612+
613+
/**
614+
* <p>A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.</p>
615+
* @public
616+
*/
617+
PullRequestComment?: PullRequestComment;
598618
}
599619

600620
/**
@@ -669,6 +689,12 @@ export interface SyncConfiguration {
669689
* @public
670690
*/
671691
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
692+
693+
/**
694+
* <p>A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.</p>
695+
* @public
696+
*/
697+
PullRequestComment?: PullRequestComment;
672698
}
673699

674700
/**
@@ -842,7 +868,7 @@ export interface Connection {
842868

843869
/**
844870
* <p>The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection
845-
* reference when the connection is shared between Amazon Web Services.</p>
871+
* reference when the connection is shared between Amazon Web Servicesservices.</p>
846872
* <note>
847873
* <p>The ARN is never reused if the connection is deleted.</p>
848874
* </note>
@@ -2082,6 +2108,12 @@ export interface UpdateSyncConfigurationInput {
20822108
* @public
20832109
*/
20842110
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
2111+
2112+
/**
2113+
* <p>TA toggle that specifies whether to enable or disable pull request comments for the sync configuration to be updated.</p>
2114+
* @public
2115+
*/
2116+
PullRequestComment?: PullRequestComment;
20852117
}
20862118

20872119
/**

codegen/sdk-codegen/aws-models/codeconnections.json

+36-1
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@
917917
"ConnectionArn": {
918918
"target": "com.amazonaws.codeconnections#ConnectionArn",
919919
"traits": {
920-
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>The ARN is never reused if the connection is deleted.</p>\n </note>"
920+
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>The ARN is never reused if the connection is deleted.</p>\n </note>"
921921
}
922922
},
923923
"ProviderType": {
@@ -1335,6 +1335,12 @@
13351335
"traits": {
13361336
"smithy.api#documentation": "<p>When to trigger Git sync to begin the stack update.</p>"
13371337
}
1338+
},
1339+
"PullRequestComment": {
1340+
"target": "com.amazonaws.codeconnections#PullRequestComment",
1341+
"traits": {
1342+
"smithy.api#documentation": "<p>A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.</p>"
1343+
}
13381344
}
13391345
},
13401346
"traits": {
@@ -2717,6 +2723,23 @@
27172723
}
27182724
}
27192725
},
2726+
"com.amazonaws.codeconnections#PullRequestComment": {
2727+
"type": "enum",
2728+
"members": {
2729+
"ENABLED": {
2730+
"target": "smithy.api#Unit",
2731+
"traits": {
2732+
"smithy.api#enumValue": "ENABLED"
2733+
}
2734+
},
2735+
"DISABLED": {
2736+
"target": "smithy.api#Unit",
2737+
"traits": {
2738+
"smithy.api#enumValue": "DISABLED"
2739+
}
2740+
}
2741+
}
2742+
},
27202743
"com.amazonaws.codeconnections#RepositoryLinkArn": {
27212744
"type": "string",
27222745
"traits": {
@@ -3463,6 +3486,12 @@
34633486
"traits": {
34643487
"smithy.api#documentation": "<p>When to trigger Git sync to begin the stack update.</p>"
34653488
}
3489+
},
3490+
"PullRequestComment": {
3491+
"target": "com.amazonaws.codeconnections#PullRequestComment",
3492+
"traits": {
3493+
"smithy.api#documentation": "<p>A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.</p>"
3494+
}
34663495
}
34673496
},
34683497
"traits": {
@@ -4071,6 +4100,12 @@
40714100
"traits": {
40724101
"smithy.api#documentation": "<p>When to trigger Git sync to begin the stack update.</p>"
40734102
}
4103+
},
4104+
"PullRequestComment": {
4105+
"target": "com.amazonaws.codeconnections#PullRequestComment",
4106+
"traits": {
4107+
"smithy.api#documentation": "<p>TA toggle that specifies whether to enable or disable pull request comments for the sync configuration to be updated.</p>"
4108+
}
40744109
}
40754110
},
40764111
"traits": {

0 commit comments

Comments
 (0)