@aws-sdk/client-codestar-connections 3.529.0 → 3.531.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.
package/dist-cjs/index.js CHANGED
@@ -56,6 +56,7 @@ __export(src_exports, {
56
56
  ListSyncConfigurationsCommand: () => ListSyncConfigurationsCommand,
57
57
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
58
58
  ProviderType: () => ProviderType,
59
+ PublishDeploymentStatus: () => PublishDeploymentStatus,
59
60
  RepositorySyncStatus: () => RepositorySyncStatus,
60
61
  ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
61
62
  ResourceNotFoundException: () => ResourceNotFoundException,
@@ -67,6 +68,7 @@ __export(src_exports, {
67
68
  SyncConfigurationType: () => SyncConfigurationType,
68
69
  TagResourceCommand: () => TagResourceCommand,
69
70
  ThrottlingException: () => ThrottlingException,
71
+ TriggerResourceUpdateOn: () => TriggerResourceUpdateOn,
70
72
  UnsupportedOperationException: () => UnsupportedOperationException,
71
73
  UnsupportedProviderTypeException: () => UnsupportedProviderTypeException,
72
74
  UntagResourceCommand: () => UntagResourceCommand,
@@ -431,9 +433,17 @@ var _ThrottlingException = class _ThrottlingException extends CodeStarConnection
431
433
  };
432
434
  __name(_ThrottlingException, "ThrottlingException");
433
435
  var ThrottlingException = _ThrottlingException;
436
+ var PublishDeploymentStatus = {
437
+ DISABLED: "DISABLED",
438
+ ENABLED: "ENABLED"
439
+ };
434
440
  var SyncConfigurationType = {
435
441
  CFN_STACK_SYNC: "CFN_STACK_SYNC"
436
442
  };
443
+ var TriggerResourceUpdateOn = {
444
+ ANY_CHANGE: "ANY_CHANGE",
445
+ FILE_CHANGE: "FILE_CHANGE"
446
+ };
437
447
  var _SyncConfigurationStillExistsException = class _SyncConfigurationStillExistsException extends CodeStarConnectionsServiceException {
438
448
  /**
439
449
  * @internal
@@ -2018,7 +2028,9 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
2018
2028
  InvalidInputException,
2019
2029
  ResourceAlreadyExistsException,
2020
2030
  ThrottlingException,
2031
+ PublishDeploymentStatus,
2021
2032
  SyncConfigurationType,
2033
+ TriggerResourceUpdateOn,
2022
2034
  SyncConfigurationStillExistsException,
2023
2035
  UnsupportedProviderTypeException,
2024
2036
  ConnectionStatus,
@@ -130,9 +130,17 @@ export class ThrottlingException extends __BaseException {
130
130
  this.Message = opts.Message;
131
131
  }
132
132
  }
133
+ export const PublishDeploymentStatus = {
134
+ DISABLED: "DISABLED",
135
+ ENABLED: "ENABLED",
136
+ };
133
137
  export const SyncConfigurationType = {
134
138
  CFN_STACK_SYNC: "CFN_STACK_SYNC",
135
139
  };
140
+ export const TriggerResourceUpdateOn = {
141
+ ANY_CHANGE: "ANY_CHANGE",
142
+ FILE_CHANGE: "FILE_CHANGE",
143
+ };
136
144
  export class SyncConfigurationStillExistsException extends __BaseException {
137
145
  constructor(opts) {
138
146
  super({
@@ -42,6 +42,8 @@ declare const CreateSyncConfigurationCommand_base: {
42
42
  * ResourceName: "STRING_VALUE", // required
43
43
  * RoleArn: "STRING_VALUE", // required
44
44
  * SyncType: "CFN_STACK_SYNC", // required
45
+ * PublishDeploymentStatus: "ENABLED" || "DISABLED",
46
+ * TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
45
47
  * };
46
48
  * const command = new CreateSyncConfigurationCommand(input);
47
49
  * const response = await client.send(command);
@@ -56,6 +58,8 @@ declare const CreateSyncConfigurationCommand_base: {
56
58
  * // ResourceName: "STRING_VALUE", // required
57
59
  * // RoleArn: "STRING_VALUE", // required
58
60
  * // SyncType: "CFN_STACK_SYNC", // required
61
+ * // PublishDeploymentStatus: "ENABLED" || "DISABLED",
62
+ * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
59
63
  * // },
60
64
  * // };
61
65
  *
@@ -50,6 +50,8 @@ declare const GetSyncConfigurationCommand_base: {
50
50
  * // ResourceName: "STRING_VALUE", // required
51
51
  * // RoleArn: "STRING_VALUE", // required
52
52
  * // SyncType: "CFN_STACK_SYNC", // required
53
+ * // PublishDeploymentStatus: "ENABLED" || "DISABLED",
54
+ * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
53
55
  * // },
54
56
  * // };
55
57
  *
@@ -53,6 +53,8 @@ declare const ListSyncConfigurationsCommand_base: {
53
53
  * // ResourceName: "STRING_VALUE", // required
54
54
  * // RoleArn: "STRING_VALUE", // required
55
55
  * // SyncType: "CFN_STACK_SYNC", // required
56
+ * // PublishDeploymentStatus: "ENABLED" || "DISABLED",
57
+ * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
56
58
  * // },
57
59
  * // ],
58
60
  * // NextToken: "STRING_VALUE",
@@ -40,6 +40,8 @@ declare const UpdateSyncConfigurationCommand_base: {
40
40
  * ResourceName: "STRING_VALUE", // required
41
41
  * RoleArn: "STRING_VALUE",
42
42
  * SyncType: "CFN_STACK_SYNC", // required
43
+ * PublishDeploymentStatus: "ENABLED" || "DISABLED",
44
+ * TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
43
45
  * };
44
46
  * const command = new UpdateSyncConfigurationCommand(input);
45
47
  * const response = await client.send(command);
@@ -54,6 +56,8 @@ declare const UpdateSyncConfigurationCommand_base: {
54
56
  * // ResourceName: "STRING_VALUE", // required
55
57
  * // RoleArn: "STRING_VALUE", // required
56
58
  * // SyncType: "CFN_STACK_SYNC", // required
59
+ * // PublishDeploymentStatus: "ENABLED" || "DISABLED",
60
+ * // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
57
61
  * // },
58
62
  * // };
59
63
  *
@@ -378,6 +378,18 @@ export declare class ThrottlingException extends __BaseException {
378
378
  */
379
379
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
380
380
  }
381
+ /**
382
+ * @public
383
+ * @enum
384
+ */
385
+ export declare const PublishDeploymentStatus: {
386
+ readonly DISABLED: "DISABLED";
387
+ readonly ENABLED: "ENABLED";
388
+ };
389
+ /**
390
+ * @public
391
+ */
392
+ export type PublishDeploymentStatus = (typeof PublishDeploymentStatus)[keyof typeof PublishDeploymentStatus];
381
393
  /**
382
394
  * @public
383
395
  * @enum
@@ -389,6 +401,18 @@ export declare const SyncConfigurationType: {
389
401
  * @public
390
402
  */
391
403
  export type SyncConfigurationType = (typeof SyncConfigurationType)[keyof typeof SyncConfigurationType];
404
+ /**
405
+ * @public
406
+ * @enum
407
+ */
408
+ export declare const TriggerResourceUpdateOn: {
409
+ readonly ANY_CHANGE: "ANY_CHANGE";
410
+ readonly FILE_CHANGE: "FILE_CHANGE";
411
+ };
412
+ /**
413
+ * @public
414
+ */
415
+ export type TriggerResourceUpdateOn = (typeof TriggerResourceUpdateOn)[keyof typeof TriggerResourceUpdateOn];
392
416
  /**
393
417
  * @public
394
418
  */
@@ -426,6 +450,16 @@ export interface CreateSyncConfigurationInput {
426
450
  * <p>The type of sync configuration.</p>
427
451
  */
428
452
  SyncType: SyncConfigurationType | undefined;
453
+ /**
454
+ * @public
455
+ * <p>Whether to enable or disable publishing of deployment status to source providers.</p>
456
+ */
457
+ PublishDeploymentStatus?: PublishDeploymentStatus;
458
+ /**
459
+ * @public
460
+ * <p>When to trigger Git sync to begin the stack update.</p>
461
+ */
462
+ TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
429
463
  }
430
464
  /**
431
465
  * @public
@@ -479,6 +513,16 @@ export interface SyncConfiguration {
479
513
  * <p>The type of sync for a specific sync configuration.</p>
480
514
  */
481
515
  SyncType: SyncConfigurationType | undefined;
516
+ /**
517
+ * @public
518
+ * <p>Whether to enable or disable publishing of deployment status to source providers.</p>
519
+ */
520
+ PublishDeploymentStatus?: PublishDeploymentStatus;
521
+ /**
522
+ * @public
523
+ * <p>When to trigger Git sync to begin the stack update.</p>
524
+ */
525
+ TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
482
526
  }
483
527
  /**
484
528
  * @public
@@ -1668,6 +1712,16 @@ export interface UpdateSyncConfigurationInput {
1668
1712
  * <p>The sync type for the sync configuration to be updated.</p>
1669
1713
  */
1670
1714
  SyncType: SyncConfigurationType | undefined;
1715
+ /**
1716
+ * @public
1717
+ * <p>Whether to enable or disable publishing of deployment status to source providers.</p>
1718
+ */
1719
+ PublishDeploymentStatus?: PublishDeploymentStatus;
1720
+ /**
1721
+ * @public
1722
+ * <p>When to trigger Git sync to begin the stack update.</p>
1723
+ */
1724
+ TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
1671
1725
  }
1672
1726
  /**
1673
1727
  * @public
@@ -142,11 +142,23 @@ export declare class ThrottlingException extends __BaseException {
142
142
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
143
143
  );
144
144
  }
145
+ export declare const PublishDeploymentStatus: {
146
+ readonly DISABLED: "DISABLED";
147
+ readonly ENABLED: "ENABLED";
148
+ };
149
+ export type PublishDeploymentStatus =
150
+ (typeof PublishDeploymentStatus)[keyof typeof PublishDeploymentStatus];
145
151
  export declare const SyncConfigurationType: {
146
152
  readonly CFN_STACK_SYNC: "CFN_STACK_SYNC";
147
153
  };
148
154
  export type SyncConfigurationType =
149
155
  (typeof SyncConfigurationType)[keyof typeof SyncConfigurationType];
156
+ export declare const TriggerResourceUpdateOn: {
157
+ readonly ANY_CHANGE: "ANY_CHANGE";
158
+ readonly FILE_CHANGE: "FILE_CHANGE";
159
+ };
160
+ export type TriggerResourceUpdateOn =
161
+ (typeof TriggerResourceUpdateOn)[keyof typeof TriggerResourceUpdateOn];
150
162
  export interface CreateSyncConfigurationInput {
151
163
  Branch: string | undefined;
152
164
  ConfigFile: string | undefined;
@@ -154,6 +166,8 @@ export interface CreateSyncConfigurationInput {
154
166
  ResourceName: string | undefined;
155
167
  RoleArn: string | undefined;
156
168
  SyncType: SyncConfigurationType | undefined;
169
+ PublishDeploymentStatus?: PublishDeploymentStatus;
170
+ TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
157
171
  }
158
172
  export interface SyncConfiguration {
159
173
  Branch: string | undefined;
@@ -165,6 +179,8 @@ export interface SyncConfiguration {
165
179
  ResourceName: string | undefined;
166
180
  RoleArn: string | undefined;
167
181
  SyncType: SyncConfigurationType | undefined;
182
+ PublishDeploymentStatus?: PublishDeploymentStatus;
183
+ TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
168
184
  }
169
185
  export interface CreateSyncConfigurationOutput {
170
186
  SyncConfiguration: SyncConfiguration | undefined;
@@ -507,6 +523,8 @@ export interface UpdateSyncConfigurationInput {
507
523
  ResourceName: string | undefined;
508
524
  RoleArn?: string;
509
525
  SyncType: SyncConfigurationType | undefined;
526
+ PublishDeploymentStatus?: PublishDeploymentStatus;
527
+ TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
510
528
  }
511
529
  export interface UpdateSyncConfigurationOutput {
512
530
  SyncConfiguration: SyncConfiguration | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codestar-connections",
3
3
  "description": "AWS SDK for JavaScript Codestar Connections Client for Node.js, Browser and React Native",
4
- "version": "3.529.0",
4
+ "version": "3.531.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codestar-connections",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.529.0",
24
- "@aws-sdk/core": "3.529.0",
25
- "@aws-sdk/credential-provider-node": "3.529.0",
23
+ "@aws-sdk/client-sts": "3.529.1",
24
+ "@aws-sdk/core": "3.529.1",
25
+ "@aws-sdk/credential-provider-node": "3.529.1",
26
26
  "@aws-sdk/middleware-host-header": "3.523.0",
27
27
  "@aws-sdk/middleware-logger": "3.523.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.523.0",