@aws-sdk/client-codepipeline
Advanced tools
Comparing version 3.713.0 to 3.714.0
@@ -26,2 +26,3 @@ "use strict"; | ||
(0, core_1.emitWarningIfUnsupportedVersion)(process.version); | ||
const profileConfig = { profile: config?.profile }; | ||
return { | ||
@@ -36,4 +37,5 @@ ...clientSharedValues, | ||
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), | ||
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), | ||
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), | ||
region: config?.region ?? | ||
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }), | ||
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), | ||
@@ -44,10 +46,10 @@ retryMode: config?.retryMode ?? | ||
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, | ||
}), | ||
}, config), | ||
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), | ||
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, | ||
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), | ||
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), | ||
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS), | ||
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig), | ||
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig), | ||
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig), | ||
}; | ||
}; | ||
exports.getRuntimeConfig = getRuntimeConfig; |
@@ -22,2 +22,3 @@ import packageInfo from "../package.json"; | ||
awsCheckVersion(process.version); | ||
const profileConfig = { profile: config?.profile }; | ||
return { | ||
@@ -32,4 +33,5 @@ ...clientSharedValues, | ||
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), | ||
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), | ||
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), | ||
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), | ||
region: config?.region ?? | ||
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }), | ||
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), | ||
@@ -40,9 +42,9 @@ retryMode: config?.retryMode ?? | ||
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, | ||
}), | ||
}, config), | ||
sha256: config?.sha256 ?? Hash.bind(null, "sha256"), | ||
streamCollector: config?.streamCollector ?? streamCollector, | ||
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), | ||
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), | ||
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS), | ||
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig), | ||
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig), | ||
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig), | ||
}; | ||
}; |
@@ -141,2 +141,20 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; | ||
/** | ||
* Setting a client profile is similar to setting a value for the | ||
* AWS_PROFILE environment variable. Setting a profile on a client | ||
* in code only affects the single client instance, unlike AWS_PROFILE. | ||
* | ||
* When set, and only for environments where an AWS configuration | ||
* file exists, fields configurable by this file will be retrieved | ||
* from the specified profile within that file. | ||
* Conflicting code configuration and environment variables will | ||
* still have higher priority. | ||
* | ||
* For client credential resolution that involves checking the AWS | ||
* configuration file, the client's profile (this value) will be | ||
* used unless a different profile is set in the credential | ||
* provider options. | ||
* | ||
*/ | ||
profile?: string; | ||
/** | ||
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header | ||
@@ -143,0 +161,0 @@ * @internal |
@@ -132,2 +132,5 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* }, | ||
* commands: [ | ||
* "STRING_VALUE", | ||
* ], | ||
* inputArtifacts: [ | ||
@@ -162,2 +165,5 @@ * { | ||
* }, | ||
* commands: [ | ||
* "STRING_VALUE", | ||
* ], | ||
* inputArtifacts: [ | ||
@@ -192,2 +198,5 @@ * { | ||
* }, | ||
* commands: [ | ||
* "STRING_VALUE", | ||
* ], | ||
* inputArtifacts: [ | ||
@@ -376,2 +385,5 @@ * { | ||
* // }, | ||
* // commands: [ | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // inputArtifacts: [ | ||
@@ -406,2 +418,5 @@ * // { | ||
* // }, | ||
* // commands: [ | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // inputArtifacts: [ | ||
@@ -436,2 +451,5 @@ * // { | ||
* // }, | ||
* // commands: [ | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // inputArtifacts: [ | ||
@@ -438,0 +456,0 @@ * // { |
@@ -134,2 +134,5 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* // }, | ||
* // commands: [ | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // inputArtifacts: [ | ||
@@ -164,2 +167,5 @@ * // { | ||
* // }, | ||
* // commands: [ | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // inputArtifacts: [ | ||
@@ -194,2 +200,5 @@ * // { | ||
* // }, | ||
* // commands: [ | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // inputArtifacts: [ | ||
@@ -196,0 +205,0 @@ * // { |
@@ -30,3 +30,4 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
/** | ||
* <p>Lists the rules for the condition.</p> | ||
* <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 | ||
* 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> | ||
* @example | ||
@@ -33,0 +34,0 @@ * Use a bare-bones client and the command you need to make an API call. |
@@ -129,2 +129,5 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* }, | ||
* commands: [ | ||
* "STRING_VALUE", | ||
* ], | ||
* inputArtifacts: [ | ||
@@ -159,2 +162,5 @@ * { | ||
* }, | ||
* commands: [ | ||
* "STRING_VALUE", | ||
* ], | ||
* inputArtifacts: [ | ||
@@ -189,2 +195,5 @@ * { | ||
* }, | ||
* commands: [ | ||
* "STRING_VALUE", | ||
* ], | ||
* inputArtifacts: [ | ||
@@ -367,2 +376,5 @@ * { | ||
* // }, | ||
* // commands: [ | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // inputArtifacts: [ | ||
@@ -397,2 +409,5 @@ * // { | ||
* // }, | ||
* // commands: [ | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // inputArtifacts: [ | ||
@@ -427,2 +442,5 @@ * // { | ||
* // }, | ||
* // commands: [ | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // inputArtifacts: [ | ||
@@ -429,0 +447,0 @@ * // { |
@@ -29,2 +29,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
serviceId: string; | ||
profile?: string | undefined; | ||
logger: import("@smithy/types").Logger; | ||
@@ -31,0 +32,0 @@ extensions: import("./runtimeExtensions").RuntimeExtension[]; |
@@ -30,2 +30,3 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
serviceId: string; | ||
profile?: string | undefined; | ||
logger: import("@smithy/types").Logger; | ||
@@ -32,0 +33,0 @@ extensions: import("./runtimeExtensions").RuntimeExtension[]; |
@@ -23,2 +23,3 @@ import { CodePipelineClientConfig } from "./CodePipelineClient"; | ||
region: string | import("@smithy/types").Provider<any>; | ||
profile?: string | undefined; | ||
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>; | ||
@@ -25,0 +26,0 @@ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider; |
@@ -332,2 +332,3 @@ import { | ||
region?: string | __Provider<string>; | ||
profile?: string; | ||
defaultUserAgentProvider?: Provider<__UserAgent>; | ||
@@ -334,0 +335,0 @@ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; |
@@ -401,2 +401,3 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; | ||
configuration?: Record<string, string> | undefined; | ||
commands?: string[] | undefined; | ||
inputArtifacts?: InputArtifact[] | undefined; | ||
@@ -403,0 +404,0 @@ roleArn?: string | undefined; |
@@ -36,2 +36,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
serviceId: string; | ||
profile?: string | undefined; | ||
logger: import("@smithy/types").Logger; | ||
@@ -38,0 +39,0 @@ extensions: import("./runtimeExtensions").RuntimeExtension[]; |
@@ -41,2 +41,3 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
serviceId: string; | ||
profile?: string | undefined; | ||
logger: import("@smithy/types").Logger; | ||
@@ -43,0 +44,0 @@ extensions: import("./runtimeExtensions").RuntimeExtension[]; |
@@ -25,2 +25,3 @@ import { CodePipelineClientConfig } from "./CodePipelineClient"; | ||
region: string | import("@smithy/types").Provider<any>; | ||
profile?: string | undefined; | ||
defaultUserAgentProvider: ( | ||
@@ -27,0 +28,0 @@ config?: |
{ | ||
"name": "@aws-sdk/client-codepipeline", | ||
"description": "AWS SDK for JavaScript Codepipeline Client for Node.js, Browser and React Native", | ||
"version": "3.713.0", | ||
"version": "3.714.0", | ||
"scripts": { | ||
@@ -23,15 +23,15 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "5.2.0", | ||
"@aws-sdk/client-sso-oidc": "3.713.0", | ||
"@aws-sdk/client-sts": "3.713.0", | ||
"@aws-sdk/core": "3.713.0", | ||
"@aws-sdk/credential-provider-node": "3.713.0", | ||
"@aws-sdk/middleware-host-header": "3.713.0", | ||
"@aws-sdk/middleware-logger": "3.713.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.713.0", | ||
"@aws-sdk/middleware-user-agent": "3.713.0", | ||
"@aws-sdk/region-config-resolver": "3.713.0", | ||
"@aws-sdk/types": "3.713.0", | ||
"@aws-sdk/util-endpoints": "3.713.0", | ||
"@aws-sdk/util-user-agent-browser": "3.713.0", | ||
"@aws-sdk/util-user-agent-node": "3.713.0", | ||
"@aws-sdk/client-sso-oidc": "3.714.0", | ||
"@aws-sdk/client-sts": "3.714.0", | ||
"@aws-sdk/core": "3.714.0", | ||
"@aws-sdk/credential-provider-node": "3.714.0", | ||
"@aws-sdk/middleware-host-header": "3.714.0", | ||
"@aws-sdk/middleware-logger": "3.714.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.714.0", | ||
"@aws-sdk/middleware-user-agent": "3.714.0", | ||
"@aws-sdk/region-config-resolver": "3.714.0", | ||
"@aws-sdk/types": "3.714.0", | ||
"@aws-sdk/util-endpoints": "3.714.0", | ||
"@aws-sdk/util-user-agent-browser": "3.714.0", | ||
"@aws-sdk/util-user-agent-node": "3.714.0", | ||
"@smithy/config-resolver": "^3.0.13", | ||
@@ -38,0 +38,0 @@ "@smithy/core": "^2.5.5", |
Sorry, the diff of this file is too big to display
1142688
27141
+ Added@aws-sdk/client-sso@3.714.0(transitive)
+ Added@aws-sdk/client-sso-oidc@3.714.0(transitive)
+ Added@aws-sdk/client-sts@3.714.0(transitive)
+ Added@aws-sdk/core@3.714.0(transitive)
+ Added@aws-sdk/credential-provider-env@3.714.0(transitive)
+ Added@aws-sdk/credential-provider-http@3.714.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.714.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.714.0(transitive)
+ Added@aws-sdk/credential-provider-process@3.714.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.714.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.714.0(transitive)
+ Added@aws-sdk/middleware-host-header@3.714.0(transitive)
+ Added@aws-sdk/middleware-logger@3.714.0(transitive)
+ Added@aws-sdk/middleware-recursion-detection@3.714.0(transitive)
+ Added@aws-sdk/middleware-user-agent@3.714.0(transitive)
+ Added@aws-sdk/region-config-resolver@3.714.0(transitive)
+ Added@aws-sdk/token-providers@3.714.0(transitive)
+ Added@aws-sdk/types@3.714.0(transitive)
+ Added@aws-sdk/util-endpoints@3.714.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.714.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.714.0(transitive)
- Removed@aws-sdk/client-sso@3.713.0(transitive)
- Removed@aws-sdk/client-sso-oidc@3.713.0(transitive)
- Removed@aws-sdk/client-sts@3.713.0(transitive)
- Removed@aws-sdk/core@3.713.0(transitive)
- Removed@aws-sdk/credential-provider-env@3.713.0(transitive)
- Removed@aws-sdk/credential-provider-http@3.713.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.713.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.713.0(transitive)
- Removed@aws-sdk/credential-provider-process@3.713.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.713.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.713.0(transitive)
- Removed@aws-sdk/middleware-host-header@3.713.0(transitive)
- Removed@aws-sdk/middleware-logger@3.713.0(transitive)
- Removed@aws-sdk/middleware-recursion-detection@3.713.0(transitive)
- Removed@aws-sdk/middleware-user-agent@3.713.0(transitive)
- Removed@aws-sdk/region-config-resolver@3.713.0(transitive)
- Removed@aws-sdk/token-providers@3.713.0(transitive)
- Removed@aws-sdk/types@3.713.0(transitive)
- Removed@aws-sdk/util-endpoints@3.713.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.713.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.713.0(transitive)
Updated@aws-sdk/client-sts@3.714.0
Updated@aws-sdk/core@3.714.0
Updated@aws-sdk/types@3.714.0