@aws-sdk/client-codepipeline 3.514.0 → 3.521.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/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -1
- package/dist-types/CodePipelineClient.d.ts +4 -4
- package/dist-types/commands/CreatePipelineCommand.d.ts +2 -0
- package/dist-types/commands/GetPipelineCommand.d.ts +1 -0
- package/dist-types/commands/RetryStageExecutionCommand.d.ts +8 -4
- package/dist-types/commands/UpdatePipelineCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +66 -34
- package/dist-types/runtimeConfig.browser.d.ts +1 -4
- package/dist-types/runtimeConfig.d.ts +1 -4
- package/dist-types/runtimeConfig.native.d.ts +1 -4
- package/dist-types/ts3.4/CodePipelineClient.d.ts +3 -3
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
- package/package.json +36 -36
|
@@ -28,7 +28,7 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
29
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
30
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
|
-
requestHandler: config?.requestHandler ??
|
|
31
|
+
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
32
32
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
33
33
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
34
34
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
@@ -34,7 +34,7 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
35
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
36
|
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
|
-
requestHandler: config?.requestHandler ??
|
|
37
|
+
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
38
38
|
retryMode: config?.retryMode ??
|
|
39
39
|
(0, node_config_provider_1.loadConfig)({
|
|
40
40
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
@@ -24,7 +24,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
25
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
26
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
|
-
requestHandler: config?.requestHandler ??
|
|
27
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
28
28
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
29
29
|
sha256: config?.sha256 ?? Sha256,
|
|
30
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -30,7 +30,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
-
requestHandler: config?.requestHandler ??
|
|
33
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
34
34
|
retryMode: config?.retryMode ??
|
|
35
35
|
loadNodeConfig({
|
|
36
36
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
@@ -3,7 +3,7 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
3
3
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
4
|
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import {
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
@@ -60,11 +60,11 @@ export type ServiceOutputTypes = AcknowledgeJobCommandOutput | AcknowledgeThirdP
|
|
|
60
60
|
/**
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
|
-
export interface ClientDefaults extends Partial<
|
|
63
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
64
64
|
/**
|
|
65
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
65
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
66
66
|
*/
|
|
67
|
-
requestHandler?:
|
|
67
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
68
68
|
/**
|
|
69
69
|
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
70
70
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
@@ -96,6 +96,7 @@ declare const CreatePipelineCommand_base: {
|
|
|
96
96
|
* roleArn: "STRING_VALUE",
|
|
97
97
|
* region: "STRING_VALUE",
|
|
98
98
|
* namespace: "STRING_VALUE",
|
|
99
|
+
* timeoutInMinutes: Number("int"),
|
|
99
100
|
* },
|
|
100
101
|
* ],
|
|
101
102
|
* },
|
|
@@ -236,6 +237,7 @@ declare const CreatePipelineCommand_base: {
|
|
|
236
237
|
* // roleArn: "STRING_VALUE",
|
|
237
238
|
* // region: "STRING_VALUE",
|
|
238
239
|
* // namespace: "STRING_VALUE",
|
|
240
|
+
* // timeoutInMinutes: Number("int"),
|
|
239
241
|
* // },
|
|
240
242
|
* // ],
|
|
241
243
|
* // },
|
|
@@ -26,10 +26,14 @@ declare const RetryStageExecutionCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>You can retry a stage that has failed without having to run a pipeline again from
|
|
30
|
-
* this by either retrying the failed actions in a stage or by
|
|
31
|
-
* all actions
|
|
32
|
-
*
|
|
29
|
+
* <p>You can retry a stage that has failed without having to run a pipeline again from
|
|
30
|
+
* the beginning. You do this by either retrying the failed actions in a stage or by
|
|
31
|
+
* retrying all actions in the stage starting from the first action in the stage. When you
|
|
32
|
+
* retry the failed actions in a stage, all actions that are still in progress continue
|
|
33
|
+
* working, and failed actions are triggered again. When you retry a failed stage from the
|
|
34
|
+
* first action in the stage, the stage cannot have any actions in progress. Before a stage
|
|
35
|
+
* can be retried, it must either have all actions failed or some actions failed and some
|
|
36
|
+
* succeeded.</p>
|
|
33
37
|
* @example
|
|
34
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
39
|
* ```javascript
|
|
@@ -93,6 +93,7 @@ declare const UpdatePipelineCommand_base: {
|
|
|
93
93
|
* roleArn: "STRING_VALUE",
|
|
94
94
|
* region: "STRING_VALUE",
|
|
95
95
|
* namespace: "STRING_VALUE",
|
|
96
|
+
* timeoutInMinutes: Number("int"),
|
|
96
97
|
* },
|
|
97
98
|
* ],
|
|
98
99
|
* },
|
|
@@ -227,6 +228,7 @@ declare const UpdatePipelineCommand_base: {
|
|
|
227
228
|
* // roleArn: "STRING_VALUE",
|
|
228
229
|
* // region: "STRING_VALUE",
|
|
229
230
|
* // namespace: "STRING_VALUE",
|
|
231
|
+
* // timeoutInMinutes: Number("int"),
|
|
230
232
|
* // },
|
|
231
233
|
* // ],
|
|
232
234
|
* // },
|
|
@@ -410,6 +410,13 @@ export interface ActionDeclaration {
|
|
|
410
410
|
* this action fall under this namespace.</p>
|
|
411
411
|
*/
|
|
412
412
|
namespace?: string;
|
|
413
|
+
/**
|
|
414
|
+
* @public
|
|
415
|
+
* <p>A timeout duration in minutes that can be applied against the ActionType’s default
|
|
416
|
+
* timeout value specified in <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/limits.html">Quotas for CodePipeline
|
|
417
|
+
* </a>. This attribute is available only to the manual approval ActionType.</p>
|
|
418
|
+
*/
|
|
419
|
+
timeoutInMinutes?: number;
|
|
413
420
|
}
|
|
414
421
|
/**
|
|
415
422
|
* @public
|
|
@@ -714,7 +721,8 @@ export declare const StartTimeRange: {
|
|
|
714
721
|
export type StartTimeRange = (typeof StartTimeRange)[keyof typeof StartTimeRange];
|
|
715
722
|
/**
|
|
716
723
|
* @public
|
|
717
|
-
* <p>The field that specifies to filter on the latest execution in the
|
|
724
|
+
* <p>The field that specifies to filter on the latest execution in the
|
|
725
|
+
* pipeline.</p>
|
|
718
726
|
* <note>
|
|
719
727
|
* <p>Filtering on the latest execution is available for executions run on or after
|
|
720
728
|
* February 08, 2024.</p>
|
|
@@ -1712,17 +1720,20 @@ export interface StageDeclaration {
|
|
|
1712
1720
|
}
|
|
1713
1721
|
/**
|
|
1714
1722
|
* @public
|
|
1715
|
-
* <p>The Git repository branches specified as filter criteria to start the
|
|
1723
|
+
* <p>The Git repository branches specified as filter criteria to start the
|
|
1724
|
+
* pipeline.</p>
|
|
1716
1725
|
*/
|
|
1717
1726
|
export interface GitBranchFilterCriteria {
|
|
1718
1727
|
/**
|
|
1719
1728
|
* @public
|
|
1720
|
-
* <p>The list of patterns of Git branches that, when a commit is pushed, are to be
|
|
1729
|
+
* <p>The list of patterns of Git branches that, when a commit is pushed, are to be
|
|
1730
|
+
* included as criteria that starts the pipeline.</p>
|
|
1721
1731
|
*/
|
|
1722
1732
|
includes?: string[];
|
|
1723
1733
|
/**
|
|
1724
1734
|
* @public
|
|
1725
|
-
* <p>The list of patterns of Git branches that, when a commit is pushed, are to be
|
|
1735
|
+
* <p>The list of patterns of Git branches that, when a commit is pushed, are to be
|
|
1736
|
+
* excluded from starting the pipeline.</p>
|
|
1726
1737
|
*/
|
|
1727
1738
|
excludes?: string[];
|
|
1728
1739
|
}
|
|
@@ -1741,38 +1752,45 @@ export declare const GitPullRequestEventType: {
|
|
|
1741
1752
|
export type GitPullRequestEventType = (typeof GitPullRequestEventType)[keyof typeof GitPullRequestEventType];
|
|
1742
1753
|
/**
|
|
1743
1754
|
* @public
|
|
1744
|
-
* <p>The Git repository file paths specified as filter criteria to start the
|
|
1755
|
+
* <p>The Git repository file paths specified as filter criteria to start the
|
|
1756
|
+
* pipeline.</p>
|
|
1745
1757
|
*/
|
|
1746
1758
|
export interface GitFilePathFilterCriteria {
|
|
1747
1759
|
/**
|
|
1748
1760
|
* @public
|
|
1749
|
-
* <p>The list of patterns of Git repository file paths that, when a commit is pushed,
|
|
1761
|
+
* <p>The list of patterns of Git repository file paths that, when a commit is pushed,
|
|
1762
|
+
* are to be included as criteria that starts the pipeline.</p>
|
|
1750
1763
|
*/
|
|
1751
1764
|
includes?: string[];
|
|
1752
1765
|
/**
|
|
1753
1766
|
* @public
|
|
1754
|
-
* <p>The list of patterns of Git repository file paths that, when a commit is pushed,
|
|
1767
|
+
* <p>The list of patterns of Git repository file paths that, when a commit is pushed,
|
|
1768
|
+
* are to be excluded from starting the pipeline.</p>
|
|
1755
1769
|
*/
|
|
1756
1770
|
excludes?: string[];
|
|
1757
1771
|
}
|
|
1758
1772
|
/**
|
|
1759
1773
|
* @public
|
|
1760
|
-
* <p>The event criteria for the pull request trigger configuration, such as the lists of
|
|
1774
|
+
* <p>The event criteria for the pull request trigger configuration, such as the lists of
|
|
1775
|
+
* branches or file paths to include and exclude.</p>
|
|
1761
1776
|
*/
|
|
1762
1777
|
export interface GitPullRequestFilter {
|
|
1763
1778
|
/**
|
|
1764
1779
|
* @public
|
|
1765
|
-
* <p>The field that specifies which pull request events to filter on (opened, updated,
|
|
1780
|
+
* <p>The field that specifies which pull request events to filter on (opened, updated,
|
|
1781
|
+
* closed) for the trigger configuration.</p>
|
|
1766
1782
|
*/
|
|
1767
1783
|
events?: GitPullRequestEventType[];
|
|
1768
1784
|
/**
|
|
1769
1785
|
* @public
|
|
1770
|
-
* <p>The field that specifies to filter on branches for the pull request trigger
|
|
1786
|
+
* <p>The field that specifies to filter on branches for the pull request trigger
|
|
1787
|
+
* configuration.</p>
|
|
1771
1788
|
*/
|
|
1772
1789
|
branches?: GitBranchFilterCriteria;
|
|
1773
1790
|
/**
|
|
1774
1791
|
* @public
|
|
1775
|
-
* <p>The field that specifies to filter on file paths for the pull request trigger
|
|
1792
|
+
* <p>The field that specifies to filter on file paths for the pull request trigger
|
|
1793
|
+
* configuration.</p>
|
|
1776
1794
|
*/
|
|
1777
1795
|
filePaths?: GitFilePathFilterCriteria;
|
|
1778
1796
|
}
|
|
@@ -1797,7 +1815,9 @@ export interface GitTagFilterCriteria {
|
|
|
1797
1815
|
}
|
|
1798
1816
|
/**
|
|
1799
1817
|
* @public
|
|
1800
|
-
* <p>The event criteria that specify when a specified repository event will start the
|
|
1818
|
+
* <p>The event criteria that specify when a specified repository event will start the
|
|
1819
|
+
* pipeline for the specified trigger configuration, such as the lists of Git tags to
|
|
1820
|
+
* include and exclude.</p>
|
|
1801
1821
|
*/
|
|
1802
1822
|
export interface GitPushFilter {
|
|
1803
1823
|
/**
|
|
@@ -1808,12 +1828,14 @@ export interface GitPushFilter {
|
|
|
1808
1828
|
tags?: GitTagFilterCriteria;
|
|
1809
1829
|
/**
|
|
1810
1830
|
* @public
|
|
1811
|
-
* <p>The field that specifies to filter on branches for the push trigger
|
|
1831
|
+
* <p>The field that specifies to filter on branches for the push trigger
|
|
1832
|
+
* configuration.</p>
|
|
1812
1833
|
*/
|
|
1813
1834
|
branches?: GitBranchFilterCriteria;
|
|
1814
1835
|
/**
|
|
1815
1836
|
* @public
|
|
1816
|
-
* <p>The field that specifies to filter on file paths for the push trigger
|
|
1837
|
+
* <p>The field that specifies to filter on file paths for the push trigger
|
|
1838
|
+
* configuration.</p>
|
|
1817
1839
|
*/
|
|
1818
1840
|
filePaths?: GitFilePathFilterCriteria;
|
|
1819
1841
|
}
|
|
@@ -1845,7 +1867,8 @@ export interface GitConfiguration {
|
|
|
1845
1867
|
push?: GitPushFilter[];
|
|
1846
1868
|
/**
|
|
1847
1869
|
* @public
|
|
1848
|
-
* <p>The field where the repository event that will start the pipeline is specified as
|
|
1870
|
+
* <p>The field where the repository event that will start the pipeline is specified as
|
|
1871
|
+
* pull requests.</p>
|
|
1849
1872
|
*/
|
|
1850
1873
|
pullRequest?: GitPullRequestFilter[];
|
|
1851
1874
|
}
|
|
@@ -1904,7 +1927,8 @@ export interface PipelineVariableDeclaration {
|
|
|
1904
1927
|
defaultValue?: string;
|
|
1905
1928
|
/**
|
|
1906
1929
|
* @public
|
|
1907
|
-
* <p>The description of a pipeline-level variable. It's used to add additional context
|
|
1930
|
+
* <p>The description of a pipeline-level variable. It's used to add additional context
|
|
1931
|
+
* about the variable, and not being used at time when pipeline executes.</p>
|
|
1908
1932
|
*/
|
|
1909
1933
|
description?: string;
|
|
1910
1934
|
}
|
|
@@ -1963,14 +1987,15 @@ export interface PipelineDeclaration {
|
|
|
1963
1987
|
version?: number;
|
|
1964
1988
|
/**
|
|
1965
1989
|
* @public
|
|
1966
|
-
* <p>The method that the pipeline will use to handle multiple executions. The default
|
|
1990
|
+
* <p>The method that the pipeline will use to handle multiple executions. The default
|
|
1991
|
+
* mode is SUPERSEDED.</p>
|
|
1967
1992
|
*/
|
|
1968
1993
|
executionMode?: ExecutionMode;
|
|
1969
1994
|
/**
|
|
1970
1995
|
* @public
|
|
1971
|
-
* <p>CodePipeline provides the following pipeline types, which differ in
|
|
1972
|
-
* price, so that you can tailor your pipeline features and cost to the
|
|
1973
|
-
* applications.</p>
|
|
1996
|
+
* <p>CodePipeline provides the following pipeline types, which differ in
|
|
1997
|
+
* characteristics and price, so that you can tailor your pipeline features and cost to the
|
|
1998
|
+
* needs of your applications.</p>
|
|
1974
1999
|
* <ul>
|
|
1975
2000
|
* <li>
|
|
1976
2001
|
* <p>V1 type pipelines have a JSON structure that contains standard pipeline,
|
|
@@ -1987,8 +2012,8 @@ export interface PipelineDeclaration {
|
|
|
1987
2012
|
* pipeline and the associated costs.</p>
|
|
1988
2013
|
* </important>
|
|
1989
2014
|
* <p>For information about pricing for CodePipeline, see <a href="http://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
|
|
1990
|
-
* <p>
|
|
1991
|
-
*
|
|
2015
|
+
* <p> For information about which type of pipeline to choose, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html">What type of
|
|
2016
|
+
* pipeline is right for me?</a>.</p>
|
|
1992
2017
|
*/
|
|
1993
2018
|
pipelineType?: PipelineType;
|
|
1994
2019
|
/**
|
|
@@ -2000,7 +2025,8 @@ export interface PipelineDeclaration {
|
|
|
2000
2025
|
variables?: PipelineVariableDeclaration[];
|
|
2001
2026
|
/**
|
|
2002
2027
|
* @public
|
|
2003
|
-
* <p>The trigger configuration specifying a type of event, such as Git tags, that starts
|
|
2028
|
+
* <p>The trigger configuration specifying a type of event, such as Git tags, that starts
|
|
2029
|
+
* the pipeline.</p>
|
|
2004
2030
|
* <note>
|
|
2005
2031
|
* <p>When a trigger configuration is specified, default change detection for
|
|
2006
2032
|
* repository and branch commits is disabled.</p>
|
|
@@ -2742,7 +2768,8 @@ export interface PipelineExecution {
|
|
|
2742
2768
|
trigger?: ExecutionTrigger;
|
|
2743
2769
|
/**
|
|
2744
2770
|
* @public
|
|
2745
|
-
* <p>The method that the pipeline will use to handle multiple executions. The default
|
|
2771
|
+
* <p>The method that the pipeline will use to handle multiple executions. The default
|
|
2772
|
+
* mode is SUPERSEDED.</p>
|
|
2746
2773
|
*/
|
|
2747
2774
|
executionMode?: ExecutionMode;
|
|
2748
2775
|
}
|
|
@@ -3289,7 +3316,8 @@ export interface PipelineExecutionSummary {
|
|
|
3289
3316
|
stopTrigger?: StopExecutionTrigger;
|
|
3290
3317
|
/**
|
|
3291
3318
|
* @public
|
|
3292
|
-
* <p>The method that the pipeline will use to handle multiple executions. The default
|
|
3319
|
+
* <p>The method that the pipeline will use to handle multiple executions. The default
|
|
3320
|
+
* mode is SUPERSEDED.</p>
|
|
3293
3321
|
*/
|
|
3294
3322
|
executionMode?: ExecutionMode;
|
|
3295
3323
|
}
|
|
@@ -3347,9 +3375,9 @@ export interface PipelineSummary {
|
|
|
3347
3375
|
version?: number;
|
|
3348
3376
|
/**
|
|
3349
3377
|
* @public
|
|
3350
|
-
* <p>CodePipeline provides the following pipeline types, which differ in
|
|
3351
|
-
* price, so that you can tailor your pipeline features and cost to the
|
|
3352
|
-
* applications.</p>
|
|
3378
|
+
* <p>CodePipeline provides the following pipeline types, which differ in
|
|
3379
|
+
* characteristics and price, so that you can tailor your pipeline features and cost to the
|
|
3380
|
+
* needs of your applications.</p>
|
|
3353
3381
|
* <ul>
|
|
3354
3382
|
* <li>
|
|
3355
3383
|
* <p>V1 type pipelines have a JSON structure that contains standard pipeline,
|
|
@@ -3366,13 +3394,14 @@ export interface PipelineSummary {
|
|
|
3366
3394
|
* pipeline and the associated costs.</p>
|
|
3367
3395
|
* </important>
|
|
3368
3396
|
* <p>For information about pricing for CodePipeline, see <a href="http://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
|
|
3369
|
-
* <p>
|
|
3370
|
-
*
|
|
3397
|
+
* <p> For information about which type of pipeline to choose, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html">What type of
|
|
3398
|
+
* pipeline is right for me?</a>.</p>
|
|
3371
3399
|
*/
|
|
3372
3400
|
pipelineType?: PipelineType;
|
|
3373
3401
|
/**
|
|
3374
3402
|
* @public
|
|
3375
|
-
* <p>The method that the pipeline will use to handle multiple executions. The default
|
|
3403
|
+
* <p>The method that the pipeline will use to handle multiple executions. The default
|
|
3404
|
+
* mode is SUPERSEDED.</p>
|
|
3376
3405
|
*/
|
|
3377
3406
|
executionMode?: ExecutionMode;
|
|
3378
3407
|
/**
|
|
@@ -4347,8 +4376,9 @@ export interface StartPipelineExecutionInput {
|
|
|
4347
4376
|
name: string | undefined;
|
|
4348
4377
|
/**
|
|
4349
4378
|
* @public
|
|
4350
|
-
* <p>A list that overrides pipeline variables for a pipeline execution that's being
|
|
4351
|
-
* and the values can be
|
|
4379
|
+
* <p>A list that overrides pipeline variables for a pipeline execution that's being
|
|
4380
|
+
* started. Variable names must match <code>[A-Za-z0-9@\-_]+</code>, and the values can be
|
|
4381
|
+
* anything except an empty string.</p>
|
|
4352
4382
|
*/
|
|
4353
4383
|
variables?: PipelineVariable[];
|
|
4354
4384
|
/**
|
|
@@ -4359,7 +4389,9 @@ export interface StartPipelineExecutionInput {
|
|
|
4359
4389
|
clientRequestToken?: string;
|
|
4360
4390
|
/**
|
|
4361
4391
|
* @public
|
|
4362
|
-
* <p>A list that allows you to specify, or override, the source revision for a pipeline
|
|
4392
|
+
* <p>A list that allows you to specify, or override, the source revision for a pipeline
|
|
4393
|
+
* execution that's being started. A source revision is the version with all the changes to
|
|
4394
|
+
* your application code, or source artifact, for the pipeline execution.</p>
|
|
4363
4395
|
*/
|
|
4364
4396
|
sourceRevisions?: SourceRevisionOverride[];
|
|
4365
4397
|
}
|
|
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: CodePipelineClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler:
|
|
15
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
-
httpHandlerConfigs(): {};
|
|
17
|
-
}) | RequestHandler;
|
|
14
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
18
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
20
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: CodePipelineClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
-
requestHandler:
|
|
15
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
-
httpHandlerConfigs(): {};
|
|
17
|
-
}) | RequestHandler;
|
|
14
|
+
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
18
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
20
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,10 +5,7 @@ import { CodePipelineClientConfig } from "./CodePipelineClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: CodePipelineClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler:
|
|
9
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
-
httpHandlerConfigs(): {};
|
|
11
|
-
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
12
9
|
apiVersion: string;
|
|
13
10
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
RetryInputConfig,
|
|
19
19
|
RetryResolvedConfig,
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
|
-
import {
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
23
|
Client as __Client,
|
|
24
24
|
DefaultsMode as __DefaultsMode,
|
|
@@ -289,8 +289,8 @@ export type ServiceOutputTypes =
|
|
|
289
289
|
| UpdateActionTypeCommandOutput
|
|
290
290
|
| UpdatePipelineCommandOutput;
|
|
291
291
|
export interface ClientDefaults
|
|
292
|
-
extends Partial<
|
|
293
|
-
requestHandler?:
|
|
292
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
293
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
294
294
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
295
295
|
urlParser?: __UrlParser;
|
|
296
296
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
@@ -15,19 +15,7 @@ export declare const getRuntimeConfig: (config: CodePipelineClientConfig) => {
|
|
|
15
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
17
17
|
requestHandler:
|
|
18
|
-
|
|
|
19
|
-
any,
|
|
20
|
-
any,
|
|
21
|
-
import("@smithy/types").HttpHandlerOptions
|
|
22
|
-
> &
|
|
23
|
-
import("@smithy/types").RequestHandler<
|
|
24
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
-
import("@smithy/types").HttpHandlerOptions
|
|
27
|
-
> & {
|
|
28
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
-
httpHandlerConfigs(): {};
|
|
30
|
-
})
|
|
18
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
31
19
|
| RequestHandler;
|
|
32
20
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
21
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -19,20 +19,8 @@ export declare const getRuntimeConfig: (config: CodePipelineClientConfig) => {
|
|
|
19
19
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
20
|
region: string | import("@smithy/types").Provider<string>;
|
|
21
21
|
requestHandler:
|
|
22
|
-
|
|
|
23
|
-
|
|
24
|
-
any,
|
|
25
|
-
import("@smithy/types").HttpHandlerOptions
|
|
26
|
-
> &
|
|
27
|
-
import("@smithy/types").RequestHandler<
|
|
28
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
29
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
30
|
-
import("@smithy/types").HttpHandlerOptions
|
|
31
|
-
> & {
|
|
32
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
33
|
-
httpHandlerConfigs(): {};
|
|
34
|
-
})
|
|
35
|
-
| RequestHandler;
|
|
22
|
+
| RequestHandler
|
|
23
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
36
24
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
37
25
|
sha256: import("@smithy/types").HashConstructor;
|
|
38
26
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -3,19 +3,10 @@ export declare const getRuntimeConfig: (config: CodePipelineClientConfig) => {
|
|
|
3
3
|
runtime: string;
|
|
4
4
|
sha256: import("@smithy/types").HashConstructor;
|
|
5
5
|
requestHandler:
|
|
6
|
-
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
> &
|
|
11
|
-
import("@smithy/types").RequestHandler<
|
|
12
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
13
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
14
|
-
import("@smithy/types").HttpHandlerOptions
|
|
15
|
-
> & {
|
|
16
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
-
httpHandlerConfigs(): {};
|
|
18
|
-
})
|
|
6
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
8
|
+
| Record<string, unknown>
|
|
9
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
19
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
20
11
|
apiVersion: string;
|
|
21
12
|
urlParser: import("@smithy/types").UrlParser;
|
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.
|
|
4
|
+
"version": "3.521.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,51 +20,51 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
38
|
-
"@smithy/hash-node": "^2.1.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
43
|
-
"@smithy/middleware-serde": "^2.1.
|
|
44
|
-
"@smithy/middleware-stack": "^2.1.
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.1.
|
|
23
|
+
"@aws-sdk/client-sts": "3.521.0",
|
|
24
|
+
"@aws-sdk/core": "3.521.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.521.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.521.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.521.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.521.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.521.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.521.0",
|
|
31
|
+
"@aws-sdk/types": "3.521.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.521.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.521.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.521.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.2",
|
|
36
|
+
"@smithy/core": "^1.3.3",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.4.2",
|
|
38
|
+
"@smithy/hash-node": "^2.1.2",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.1.2",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.1.2",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.2",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.2",
|
|
43
|
+
"@smithy/middleware-serde": "^2.1.2",
|
|
44
|
+
"@smithy/middleware-stack": "^2.1.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.2",
|
|
46
|
+
"@smithy/node-http-handler": "^2.4.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.2.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.4.0",
|
|
49
|
+
"@smithy/types": "^2.10.0",
|
|
50
|
+
"@smithy/url-parser": "^2.1.2",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
57
|
-
"@smithy/util-middleware": "^2.1.
|
|
58
|
-
"@smithy/util-retry": "^2.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.2",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.1",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.2",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.2",
|
|
58
|
+
"@smithy/util-retry": "^2.1.2",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"tslib": "^2.5.0",
|
|
61
|
-
"uuid": "^
|
|
61
|
+
"uuid": "^9.0.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@smithy/service-client-documentation-generator": "^2.1.1",
|
|
65
65
|
"@tsconfig/node14": "1.0.3",
|
|
66
66
|
"@types/node": "^14.14.31",
|
|
67
|
-
"@types/uuid": "^
|
|
67
|
+
"@types/uuid": "^9.0.4",
|
|
68
68
|
"concurrently": "7.0.0",
|
|
69
69
|
"downlevel-dts": "0.10.1",
|
|
70
70
|
"rimraf": "3.0.2",
|