@aws-sdk/client-codepipeline 3.804.0 → 3.806.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
@@ -54,6 +54,7 @@ __export(index_exports, {
54
54
  DuplicatedStopRequestException: () => DuplicatedStopRequestException,
55
55
  EnableStageTransitionCommand: () => EnableStageTransitionCommand,
56
56
  EncryptionKeyType: () => EncryptionKeyType,
57
+ EnvironmentVariableType: () => EnvironmentVariableType,
57
58
  ExecutionMode: () => ExecutionMode,
58
59
  ExecutionType: () => ExecutionType,
59
60
  ExecutorType: () => ExecutorType,
@@ -432,6 +433,10 @@ var ActionOwner = {
432
433
  Custom: "Custom",
433
434
  ThirdParty: "ThirdParty"
434
435
  };
436
+ var EnvironmentVariableType = {
437
+ PLAINTEXT: "PLAINTEXT",
438
+ SECRETS_MANAGER: "SECRETS_MANAGER"
439
+ };
435
440
  var ActionExecutionStatus = {
436
441
  Abandoned: "Abandoned",
437
442
  Failed: "Failed",
@@ -3762,6 +3767,7 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
3762
3767
  ActionCategory,
3763
3768
  ActionConfigurationPropertyType,
3764
3769
  ActionOwner,
3770
+ EnvironmentVariableType,
3765
3771
  ActionExecutionStatus,
3766
3772
  StartTimeRange,
3767
3773
  ActionNotFoundException,
@@ -23,20 +23,20 @@ const getRuntimeConfig = (config) => {
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
24
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
- const profileConfig = { profile: config?.profile };
26
+ const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
27
27
  return {
28
28
  ...clientSharedValues,
29
29
  ...config,
30
30
  runtime: "node",
31
31
  defaultsMode,
32
- authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
32
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
33
33
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
34
34
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
35
35
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
36
36
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
37
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
38
38
  region: config?.region ??
39
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
39
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
40
40
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
41
41
  retryMode: config?.retryMode ??
42
42
  (0, node_config_provider_1.loadConfig)({
@@ -45,9 +45,9 @@ const getRuntimeConfig = (config) => {
45
45
  }, config),
46
46
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
47
47
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
48
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
49
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
50
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
48
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
49
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
50
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
51
51
  };
52
52
  };
53
53
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -76,6 +76,10 @@ export const ActionOwner = {
76
76
  Custom: "Custom",
77
77
  ThirdParty: "ThirdParty",
78
78
  };
79
+ export const EnvironmentVariableType = {
80
+ PLAINTEXT: "PLAINTEXT",
81
+ SECRETS_MANAGER: "SECRETS_MANAGER",
82
+ };
79
83
  export const ActionExecutionStatus = {
80
84
  Abandoned: "Abandoned",
81
85
  Failed: "Failed",
@@ -19,20 +19,20 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
- const profileConfig = { profile: config?.profile };
22
+ const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
26
26
  runtime: "node",
27
27
  defaultsMode,
28
- authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
28
+ authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
29
29
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
30
30
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
31
31
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
32
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
33
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
34
34
  region: config?.region ??
35
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
35
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
36
36
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
37
37
  retryMode: config?.retryMode ??
38
38
  loadNodeConfig({
@@ -41,8 +41,8 @@ export const getRuntimeConfig = (config) => {
41
41
  }, config),
42
42
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
43
43
  streamCollector: config?.streamCollector ?? streamCollector,
44
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
46
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
45
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
46
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
47
47
  };
48
48
  };
@@ -111,6 +111,7 @@ declare const CreatePipelineCommand_base: {
111
111
  * { // EnvironmentVariable
112
112
  * name: "STRING_VALUE", // required
113
113
  * value: "STRING_VALUE", // required
114
+ * type: "PLAINTEXT" || "SECRETS_MANAGER",
114
115
  * },
115
116
  * ],
116
117
  * },
@@ -367,6 +368,7 @@ declare const CreatePipelineCommand_base: {
367
368
  * // { // EnvironmentVariable
368
369
  * // name: "STRING_VALUE", // required
369
370
  * // value: "STRING_VALUE", // required
371
+ * // type: "PLAINTEXT" || "SECRETS_MANAGER",
370
372
  * // },
371
373
  * // ],
372
374
  * // },
@@ -113,6 +113,7 @@ declare const GetPipelineCommand_base: {
113
113
  * // { // EnvironmentVariable
114
114
  * // name: "STRING_VALUE", // required
115
115
  * // value: "STRING_VALUE", // required
116
+ * // type: "PLAINTEXT" || "SECRETS_MANAGER",
116
117
  * // },
117
118
  * // ],
118
119
  * // },
@@ -28,7 +28,8 @@ declare const ListRuleTypesCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Lists the rules for the condition. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
31
- * conditions</a> and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do stage conditions work?</a>.For more information about rules, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule reference</a>.</p>
31
+ * conditions</a> and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do
32
+ * stage conditions work?</a>.For more information about rules, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule reference</a>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -28,7 +28,8 @@ declare const OverrideStageConditionCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Used to override a stage condition. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
31
- * conditions</a> and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do stage conditions work?</a>.</p>
31
+ * conditions</a> and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do
32
+ * stage conditions work?</a>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -108,6 +108,7 @@ declare const UpdatePipelineCommand_base: {
108
108
  * { // EnvironmentVariable
109
109
  * name: "STRING_VALUE", // required
110
110
  * value: "STRING_VALUE", // required
111
+ * type: "PLAINTEXT" || "SECRETS_MANAGER",
111
112
  * },
112
113
  * ],
113
114
  * },
@@ -358,6 +359,7 @@ declare const UpdatePipelineCommand_base: {
358
359
  * // { // EnvironmentVariable
359
360
  * // name: "STRING_VALUE", // required
360
361
  * // value: "STRING_VALUE", // required
362
+ * // type: "PLAINTEXT" || "SECRETS_MANAGER",
361
363
  * // },
362
364
  * // ],
363
365
  * // },
@@ -310,6 +310,18 @@ export interface ActionTypeId {
310
310
  */
311
311
  version: string | undefined;
312
312
  }
313
+ /**
314
+ * @public
315
+ * @enum
316
+ */
317
+ export declare const EnvironmentVariableType: {
318
+ readonly PLAINTEXT: "PLAINTEXT";
319
+ readonly SECRETS_MANAGER: "SECRETS_MANAGER";
320
+ };
321
+ /**
322
+ * @public
323
+ */
324
+ export type EnvironmentVariableType = (typeof EnvironmentVariableType)[keyof typeof EnvironmentVariableType];
313
325
  /**
314
326
  * <p>The environment variables for the action.</p>
315
327
  * @public
@@ -325,6 +337,13 @@ export interface EnvironmentVariable {
325
337
  * @public
326
338
  */
327
339
  value: string | undefined;
340
+ /**
341
+ * <p>Specifies the type of use for the environment variable value. The value can be either
342
+ * <code>PLAINTEXT</code> or <code>SECRETS_MANAGER</code>. If the value is <code>SECRETS_MANAGER</code>, provide the Secrets
343
+ * reference in the EnvironmentVariable value.</p>
344
+ * @public
345
+ */
346
+ type?: EnvironmentVariableType | undefined;
328
347
  }
329
348
  /**
330
349
  * <p>Represents information about an artifact to be worked on, such as a test or build
@@ -1604,10 +1623,8 @@ export declare const RuleOwner: {
1604
1623
  export type RuleOwner = (typeof RuleOwner)[keyof typeof RuleOwner];
1605
1624
  /**
1606
1625
  * <p>The ID for the rule type, which is made up of the combined values for category, owner,
1607
- * provider, and version. For more
1608
- * information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage conditions</a>.
1609
- * For more information about rules, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule
1610
- * reference</a>.</p>
1626
+ * provider, and version. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
1627
+ * conditions</a>. For more information about rules, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule reference</a>.</p>
1611
1628
  * @public
1612
1629
  */
1613
1630
  export interface RuleTypeId {
@@ -1624,7 +1641,8 @@ export interface RuleTypeId {
1624
1641
  */
1625
1642
  owner?: RuleOwner | undefined;
1626
1643
  /**
1627
- * <p>The rule provider, such as the <code>DeploymentWindow</code> rule. For a list of rule provider names, see the rules listed in the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule
1644
+ * <p>The rule provider, such as the <code>DeploymentWindow</code> rule. For a list of rule
1645
+ * provider names, see the rules listed in the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule
1628
1646
  * reference</a>.</p>
1629
1647
  * @public
1630
1648
  */
@@ -1638,10 +1656,10 @@ export interface RuleTypeId {
1638
1656
  /**
1639
1657
  * <p>Represents information about the rule to be created for an associated condition. An
1640
1658
  * example would be creating a new rule for an entry condition, such as a rule that checks
1641
- * for a test result before allowing the run to enter the deployment stage. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
1642
- * conditions</a> and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do stage conditions work?</a>.
1643
- * For more information about rules, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule
1644
- * reference</a>.</p>
1659
+ * for a test result before allowing the run to enter the deployment stage. For more
1660
+ * information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage conditions</a>
1661
+ * and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do
1662
+ * stage conditions work?</a>. For more information about rules, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule reference</a>.</p>
1645
1663
  * @public
1646
1664
  */
1647
1665
  export interface RuleDeclaration {
@@ -1696,10 +1714,9 @@ export interface RuleDeclaration {
1696
1714
  }
1697
1715
  /**
1698
1716
  * <p>The condition for the stage. A condition is made up of the rules and the result for
1699
- * the condition. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
1700
- * conditions</a> and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do stage conditions work?</a>..
1701
- * For more information about rules, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule
1702
- * reference</a>.</p>
1717
+ * the condition. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage conditions</a>
1718
+ * and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do
1719
+ * stage conditions work?</a>.. For more information about rules, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule reference</a>.</p>
1703
1720
  * @public
1704
1721
  */
1705
1722
  export interface Condition {
@@ -1716,8 +1733,10 @@ export interface Condition {
1716
1733
  rules?: RuleDeclaration[] | undefined;
1717
1734
  }
1718
1735
  /**
1719
- * <p>The conditions for making checks for entry to a stage. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
1720
- * conditions</a> and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do stage conditions work?</a>. </p>
1736
+ * <p>The conditions for making checks for entry to a stage. For more information about
1737
+ * conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage conditions</a>
1738
+ * and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do
1739
+ * stage conditions work?</a>. </p>
1721
1740
  * @public
1722
1741
  */
1723
1742
  export interface BeforeEntryConditions {
@@ -1942,8 +1961,9 @@ export interface RetryConfiguration {
1942
1961
  }
1943
1962
  /**
1944
1963
  * <p>The configuration that specifies the result, such as rollback, to occur upon stage
1945
- * failure. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
1946
- * conditions</a> and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do stage conditions work?</a>. </p>
1964
+ * failure. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage conditions</a>
1965
+ * and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do
1966
+ * stage conditions work?</a>. </p>
1947
1967
  * @public
1948
1968
  */
1949
1969
  export interface FailureConditions {
@@ -1960,15 +1980,19 @@ export interface FailureConditions {
1960
1980
  */
1961
1981
  retryConfiguration?: RetryConfiguration | undefined;
1962
1982
  /**
1963
- * <p>The conditions that are configured as failure conditions. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
1964
- * conditions</a> and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do stage conditions work?</a>.</p>
1983
+ * <p>The conditions that are configured as failure conditions. For more information about
1984
+ * conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage conditions</a>
1985
+ * and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do
1986
+ * stage conditions work?</a>.</p>
1965
1987
  * @public
1966
1988
  */
1967
1989
  conditions?: Condition[] | undefined;
1968
1990
  }
1969
1991
  /**
1970
- * <p>The conditions for making checks that, if met, succeed a stage. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
1971
- * conditions</a> and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do stage conditions work?</a>.</p>
1992
+ * <p>The conditions for making checks that, if met, succeed a stage. For more information
1993
+ * about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage conditions</a>
1994
+ * and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do
1995
+ * stage conditions work?</a>.</p>
1972
1996
  * @public
1973
1997
  */
1974
1998
  export interface SuccessConditions {
@@ -2881,12 +2905,17 @@ export interface PipelineMetadata {
2881
2905
  updated?: Date | undefined;
2882
2906
  /**
2883
2907
  * <p>The date and time that polling for source changes (periodic checks) was stopped for
2884
- * the pipeline, in timestamp format. You can migrate (update) a polling pipeline to use
2885
- * event-based change detection. For example, for a pipeline with a CodeCommit
2886
- * source, we recommend you migrate (update) your pipeline to use CloudWatch Events. To
2887
- * learn more, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/update-change-detection.html">Migrate polling
2888
- * pipelines to use event-based change detection</a> in the CodePipeline
2889
- * User Guide.</p>
2908
+ * the pipeline, in timestamp format. </p>
2909
+ * <important>
2910
+ * <p>Pipelines that are inactive for longer than 30 days will have polling disabled for
2911
+ * the pipeline. For more information, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#metadata.pollingDisabledAt">pollingDisabledAt</a> in the pipeline structure reference. For the steps to
2912
+ * migrate your pipeline from polling to event-based change detection, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/update-change-detection.html">Migrate polling
2913
+ * pipelines to use event-based change detection</a>.</p>
2914
+ * </important>
2915
+ * <p>You can migrate (update) a polling pipeline to use event-based change detection. For
2916
+ * example, for a pipeline with a CodeCommit source, we recommend you migrate
2917
+ * (update) your pipeline to use CloudWatch Events. To learn more, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/update-change-detection.html">Migrate polling
2918
+ * pipelines to use event-based change detection</a> in the <i>CodePipeline User Guide</i>.</p>
2890
2919
  * @public
2891
2920
  */
2892
2921
  pollingDisabledAt?: Date | undefined;
@@ -4164,10 +4193,8 @@ export interface ListRuleExecutionsInput {
4164
4193
  export interface RuleExecutionInput {
4165
4194
  /**
4166
4195
  * <p>The ID for the rule type, which is made up of the combined values for category, owner,
4167
- * provider, and version. For more
4168
- * information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage conditions</a>.
4169
- * For more information about rules, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule
4170
- * reference</a>.</p>
4196
+ * provider, and version. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage
4197
+ * conditions</a>. For more information about rules, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html">CodePipeline rule reference</a>.</p>
4171
4198
  * @public
4172
4199
  */
4173
4200
  ruleTypeId?: RuleTypeId | undefined;
@@ -99,9 +99,16 @@ export interface ActionTypeId {
99
99
  provider: string | undefined;
100
100
  version: string | undefined;
101
101
  }
102
+ export declare const EnvironmentVariableType: {
103
+ readonly PLAINTEXT: "PLAINTEXT";
104
+ readonly SECRETS_MANAGER: "SECRETS_MANAGER";
105
+ };
106
+ export type EnvironmentVariableType =
107
+ (typeof EnvironmentVariableType)[keyof typeof EnvironmentVariableType];
102
108
  export interface EnvironmentVariable {
103
109
  name: string | undefined;
104
110
  value: string | undefined;
111
+ type?: EnvironmentVariableType | undefined;
105
112
  }
106
113
  export interface InputArtifact {
107
114
  name: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codepipeline",
3
3
  "description": "AWS SDK for JavaScript Codepipeline Client for Node.js, Browser and React Native",
4
- "version": "3.804.0",
4
+ "version": "3.806.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-codepipeline",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.804.0",
24
- "@aws-sdk/credential-provider-node": "3.804.0",
23
+ "@aws-sdk/core": "3.806.0",
24
+ "@aws-sdk/credential-provider-node": "3.806.0",
25
25
  "@aws-sdk/middleware-host-header": "3.804.0",
26
26
  "@aws-sdk/middleware-logger": "3.804.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
- "@aws-sdk/middleware-user-agent": "3.804.0",
29
- "@aws-sdk/region-config-resolver": "3.804.0",
28
+ "@aws-sdk/middleware-user-agent": "3.806.0",
29
+ "@aws-sdk/region-config-resolver": "3.806.0",
30
30
  "@aws-sdk/types": "3.804.0",
31
- "@aws-sdk/util-endpoints": "3.804.0",
31
+ "@aws-sdk/util-endpoints": "3.806.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.804.0",
33
- "@aws-sdk/util-user-agent-node": "3.804.0",
34
- "@smithy/config-resolver": "^4.1.0",
33
+ "@aws-sdk/util-user-agent-node": "3.806.0",
34
+ "@smithy/config-resolver": "^4.1.1",
35
35
  "@smithy/core": "^3.3.1",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",
37
37
  "@smithy/hash-node": "^4.0.2",
38
38
  "@smithy/invalid-dependency": "^4.0.2",
39
39
  "@smithy/middleware-content-length": "^4.0.2",
40
- "@smithy/middleware-endpoint": "^4.1.2",
41
- "@smithy/middleware-retry": "^4.1.3",
40
+ "@smithy/middleware-endpoint": "^4.1.3",
41
+ "@smithy/middleware-retry": "^4.1.4",
42
42
  "@smithy/middleware-serde": "^4.0.3",
43
43
  "@smithy/middleware-stack": "^4.0.2",
44
- "@smithy/node-config-provider": "^4.0.2",
44
+ "@smithy/node-config-provider": "^4.1.0",
45
45
  "@smithy/node-http-handler": "^4.0.4",
46
46
  "@smithy/protocol-http": "^5.1.0",
47
- "@smithy/smithy-client": "^4.2.2",
47
+ "@smithy/smithy-client": "^4.2.3",
48
48
  "@smithy/types": "^4.2.0",
49
49
  "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.10",
54
- "@smithy/util-defaults-mode-node": "^4.0.10",
55
- "@smithy/util-endpoints": "^3.0.2",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.11",
54
+ "@smithy/util-defaults-mode-node": "^4.0.11",
55
+ "@smithy/util-endpoints": "^3.0.3",
56
56
  "@smithy/util-middleware": "^4.0.2",
57
57
  "@smithy/util-retry": "^4.0.3",
58
58
  "@smithy/util-utf8": "^4.0.0",