@cdk8s/awscdk-resolver 0.0.217 → 0.0.218

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.
Files changed (83) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +8 -6
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +8 -6
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +18 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -0
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +1 -0
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  13. package/node_modules/@aws-sdk/client-cloudformation/package.json +14 -14
  14. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +8 -6
  15. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +8 -6
  16. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +18 -0
  17. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
  18. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
  19. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
  20. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +1 -0
  21. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  22. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  23. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  24. package/node_modules/@aws-sdk/client-sso/package.json +11 -11
  25. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +8 -6
  26. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +8 -6
  27. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +18 -0
  28. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -0
  29. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -0
  30. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +1 -0
  31. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +1 -0
  32. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  33. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  34. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  35. package/node_modules/@aws-sdk/client-sso-oidc/package.json +13 -13
  36. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +8 -6
  37. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +8 -6
  38. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +18 -0
  39. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -0
  40. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -0
  41. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -0
  42. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +1 -0
  43. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  44. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  45. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  46. package/node_modules/@aws-sdk/client-sts/package.json +13 -13
  47. package/node_modules/@aws-sdk/core/package.json +2 -2
  48. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  49. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  50. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +12 -8
  51. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +7 -7
  52. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  53. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  54. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +8 -2
  55. package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +4 -2
  56. package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +2 -3
  57. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +5 -3
  58. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  59. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -2
  60. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +4 -2
  61. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +2 -3
  62. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +5 -3
  63. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  64. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +4 -8
  65. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +4 -8
  66. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  67. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  68. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  69. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  70. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
  71. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  72. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +10 -10
  73. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -10
  74. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  75. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
  76. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
  77. package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
  78. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
  79. package/node_modules/@aws-sdk/types/package.json +1 -1
  80. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  81. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
  82. package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
  83. package/package.json +4 -4
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://aws.amazon.com"
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-cloudformation": "^3.713.0"
10
+ "@aws-sdk/client-cloudformation": "^3.714.0"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.106.1",
@@ -3674,6 +3674,6 @@
3674
3674
  "symbolId": "src/resolve:AwsCdkResolver"
3675
3675
  }
3676
3676
  },
3677
- "version": "0.0.217",
3678
- "fingerprint": "VQn68YYSOk5VlXQfFYhoGEdbIXki5mYIu7+lVlPB9CI="
3677
+ "version": "0.0.218",
3678
+ "fingerprint": "3AkCbQIV/FCIztEsDizdmWaAMwMEk3NBBsQqtWMpW5I="
3679
3679
  }
package/lib/resolve.js CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
61
61
  }
62
62
  exports.AwsCdkResolver = AwsCdkResolver;
63
63
  _a = JSII_RTTI_SYMBOL_1;
64
- AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.217" };
64
+ AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.218" };
65
65
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUM7WUFDdkMsT0FBTztRQUNULENBQUM7UUFFRCxJQUFJLE9BQU8sT0FBTyxDQUFDLEtBQUssS0FBSyxRQUFRLEVBQUUsQ0FBQztZQUN0QywrREFBK0Q7WUFDL0QsbUJBQW1CO1lBQ25CLE1BQU0sSUFBSSxLQUFLLENBQUMsdUJBQXVCLE9BQU0sQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLHNCQUFzQixDQUFDLENBQUM7UUFDdEYsQ0FBQztRQUVELE1BQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFDO1FBQzlDLElBQUksQ0FBQztZQUNILE1BQU0sV0FBVyxHQU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lwdCxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
@@ -23,6 +23,7 @@ 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
27
  return {
27
28
  ...clientSharedValues,
28
29
  ...config,
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
32
33
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
34
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
35
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
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),
36
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
37
+ region: config?.region ??
38
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
37
39
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
40
  retryMode: config?.retryMode ??
39
41
  (0, node_config_provider_1.loadConfig)({
40
42
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
43
  default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
42
- }),
44
+ }, config),
43
45
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
44
46
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
45
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
47
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
49
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
48
50
  };
49
51
  };
50
52
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -19,6 +19,7 @@ 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
23
  return {
23
24
  ...clientSharedValues,
24
25
  ...config,
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
28
29
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
30
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
30
31
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
- maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
33
+ region: config?.region ??
34
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
33
35
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
36
  retryMode: config?.retryMode ??
35
37
  loadNodeConfig({
36
38
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
37
39
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
38
- }),
40
+ }, config),
39
41
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
40
42
  streamCollector: config?.streamCollector ?? streamCollector,
41
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
42
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
43
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
43
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
44
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
46
  };
45
47
  };
@@ -177,6 +177,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
177
177
  * The AWS region to which this client will send requests
178
178
  */
179
179
  region?: string | __Provider<string>;
180
+ /**
181
+ * Setting a client profile is similar to setting a value for the
182
+ * AWS_PROFILE environment variable. Setting a profile on a client
183
+ * in code only affects the single client instance, unlike AWS_PROFILE.
184
+ *
185
+ * When set, and only for environments where an AWS configuration
186
+ * file exists, fields configurable by this file will be retrieved
187
+ * from the specified profile within that file.
188
+ * Conflicting code configuration and environment variables will
189
+ * still have higher priority.
190
+ *
191
+ * For client credential resolution that involves checking the AWS
192
+ * configuration file, the client's profile (this value) will be
193
+ * used unless a different profile is set in the credential
194
+ * provider options.
195
+ *
196
+ */
197
+ profile?: string;
180
198
  /**
181
199
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
182
200
  * @internal
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
26
26
  utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
+ profile?: string | undefined;
29
30
  logger: import("@smithy/types").Logger;
30
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
27
27
  utf8Encoder: (input: string | Uint8Array) => string;
28
28
  disableHostPrefix: boolean;
29
29
  serviceId: string;
30
+ profile?: string | undefined;
30
31
  logger: import("@smithy/types").Logger;
31
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string | undefined;
23
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
25
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -569,6 +569,7 @@ export interface ClientDefaults
569
569
  useDualstackEndpoint?: boolean | __Provider<boolean>;
570
570
  useFipsEndpoint?: boolean | __Provider<boolean>;
571
571
  region?: string | __Provider<string>;
572
+ profile?: string;
572
573
  defaultUserAgentProvider?: Provider<__UserAgent>;
573
574
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
574
575
  maxAttempts?: number | __Provider<number>;
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
33
33
  utf8Encoder: (input: string | Uint8Array) => string;
34
34
  disableHostPrefix: boolean;
35
35
  serviceId: string;
36
+ profile?: string | undefined;
36
37
  logger: import("@smithy/types").Logger;
37
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
38
39
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
38
38
  utf8Encoder: (input: string | Uint8Array) => string;
39
39
  disableHostPrefix: boolean;
40
40
  serviceId: string;
41
+ profile?: string | undefined;
41
42
  logger: import("@smithy/types").Logger;
42
43
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
44
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
+ profile?: string | undefined;
25
26
  defaultUserAgentProvider: (
26
27
  config?:
27
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.713.0",
4
+ "version": "3.714.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-cloudformation",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.713.0",
24
- "@aws-sdk/client-sts": "3.713.0",
25
- "@aws-sdk/core": "3.713.0",
26
- "@aws-sdk/credential-provider-node": "3.713.0",
27
- "@aws-sdk/middleware-host-header": "3.713.0",
28
- "@aws-sdk/middleware-logger": "3.713.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.713.0",
30
- "@aws-sdk/middleware-user-agent": "3.713.0",
31
- "@aws-sdk/region-config-resolver": "3.713.0",
32
- "@aws-sdk/types": "3.713.0",
33
- "@aws-sdk/util-endpoints": "3.713.0",
34
- "@aws-sdk/util-user-agent-browser": "3.713.0",
35
- "@aws-sdk/util-user-agent-node": "3.713.0",
23
+ "@aws-sdk/client-sso-oidc": "3.714.0",
24
+ "@aws-sdk/client-sts": "3.714.0",
25
+ "@aws-sdk/core": "3.714.0",
26
+ "@aws-sdk/credential-provider-node": "3.714.0",
27
+ "@aws-sdk/middleware-host-header": "3.714.0",
28
+ "@aws-sdk/middleware-logger": "3.714.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
+ "@aws-sdk/middleware-user-agent": "3.714.0",
31
+ "@aws-sdk/region-config-resolver": "3.714.0",
32
+ "@aws-sdk/types": "3.714.0",
33
+ "@aws-sdk/util-endpoints": "3.714.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.714.0",
35
+ "@aws-sdk/util-user-agent-node": "3.714.0",
36
36
  "@smithy/config-resolver": "^3.0.13",
37
37
  "@smithy/core": "^2.5.5",
38
38
  "@smithy/fetch-http-handler": "^4.1.2",
@@ -22,6 +22,7 @@ const getRuntimeConfig = (config) => {
22
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
23
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
24
24
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
25
+ const profileConfig = { profile: config?.profile };
25
26
  return {
26
27
  ...clientSharedValues,
27
28
  ...config,
@@ -30,19 +31,20 @@ const getRuntimeConfig = (config) => {
30
31
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
31
32
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
33
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
34
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
35
+ region: config?.region ??
36
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
35
37
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
36
38
  retryMode: config?.retryMode ??
37
39
  (0, node_config_provider_1.loadConfig)({
38
40
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
39
41
  default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
40
- }),
42
+ }, config),
41
43
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
42
44
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
43
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
44
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
45
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
45
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
46
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
47
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
46
48
  };
47
49
  };
48
50
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -18,6 +18,7 @@ export const getRuntimeConfig = (config) => {
18
18
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
19
19
  const clientSharedValues = getSharedRuntimeConfig(config);
20
20
  awsCheckVersion(process.version);
21
+ const profileConfig = { profile: config?.profile };
21
22
  return {
22
23
  ...clientSharedValues,
23
24
  ...config,
@@ -26,18 +27,19 @@ export const getRuntimeConfig = (config) => {
26
27
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
27
28
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
29
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
29
- maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
30
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
30
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
31
+ region: config?.region ??
32
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
31
33
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
32
34
  retryMode: config?.retryMode ??
33
35
  loadNodeConfig({
34
36
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
35
37
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
36
- }),
38
+ }, config),
37
39
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
38
40
  streamCollector: config?.streamCollector ?? streamCollector,
39
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
40
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
41
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
41
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
42
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
43
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
42
44
  };
43
45
  };
@@ -98,6 +98,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
98
98
  * The AWS region to which this client will send requests
99
99
  */
100
100
  region?: string | __Provider<string>;
101
+ /**
102
+ * Setting a client profile is similar to setting a value for the
103
+ * AWS_PROFILE environment variable. Setting a profile on a client
104
+ * in code only affects the single client instance, unlike AWS_PROFILE.
105
+ *
106
+ * When set, and only for environments where an AWS configuration
107
+ * file exists, fields configurable by this file will be retrieved
108
+ * from the specified profile within that file.
109
+ * Conflicting code configuration and environment variables will
110
+ * still have higher priority.
111
+ *
112
+ * For client credential resolution that involves checking the AWS
113
+ * configuration file, the client's profile (this value) will be
114
+ * used unless a different profile is set in the credential
115
+ * provider options.
116
+ *
117
+ */
118
+ profile?: string;
101
119
  /**
102
120
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
103
121
  * @internal
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
25
25
  utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
+ profile?: string | undefined;
28
29
  logger: import("@smithy/types").Logger;
29
30
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
26
26
  utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
+ profile?: string | undefined;
29
30
  logger: import("@smithy/types").Logger;
30
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string | undefined;
23
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
25
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
26
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -94,6 +94,7 @@ export interface ClientDefaults
94
94
  useDualstackEndpoint?: boolean | __Provider<boolean>;
95
95
  useFipsEndpoint?: boolean | __Provider<boolean>;
96
96
  region?: string | __Provider<string>;
97
+ profile?: string;
97
98
  defaultUserAgentProvider?: Provider<__UserAgent>;
98
99
  maxAttempts?: number | __Provider<number>;
99
100
  retryMode?: string | __Provider<string>;
@@ -30,6 +30,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
30
30
  utf8Encoder: (input: string | Uint8Array) => string;
31
31
  disableHostPrefix: boolean;
32
32
  serviceId: string;
33
+ profile?: string | undefined;
33
34
  logger: import("@smithy/types").Logger;
34
35
  extensions: import("./runtimeExtensions").RuntimeExtension[];
35
36
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
31
31
  utf8Encoder: (input: string | Uint8Array) => string;
32
32
  disableHostPrefix: boolean;
33
33
  serviceId: string;
34
+ profile?: string | undefined;
34
35
  logger: import("@smithy/types").Logger;
35
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
36
37
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
+ profile?: string | undefined;
25
26
  defaultUserAgentProvider: (
26
27
  config?:
27
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.713.0",
4
+ "version": "3.714.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-sso",
@@ -20,16 +20,16 @@
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.713.0",
24
- "@aws-sdk/middleware-host-header": "3.713.0",
25
- "@aws-sdk/middleware-logger": "3.713.0",
26
- "@aws-sdk/middleware-recursion-detection": "3.713.0",
27
- "@aws-sdk/middleware-user-agent": "3.713.0",
28
- "@aws-sdk/region-config-resolver": "3.713.0",
29
- "@aws-sdk/types": "3.713.0",
30
- "@aws-sdk/util-endpoints": "3.713.0",
31
- "@aws-sdk/util-user-agent-browser": "3.713.0",
32
- "@aws-sdk/util-user-agent-node": "3.713.0",
23
+ "@aws-sdk/core": "3.714.0",
24
+ "@aws-sdk/middleware-host-header": "3.714.0",
25
+ "@aws-sdk/middleware-logger": "3.714.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.714.0",
27
+ "@aws-sdk/middleware-user-agent": "3.714.0",
28
+ "@aws-sdk/region-config-resolver": "3.714.0",
29
+ "@aws-sdk/types": "3.714.0",
30
+ "@aws-sdk/util-endpoints": "3.714.0",
31
+ "@aws-sdk/util-user-agent-browser": "3.714.0",
32
+ "@aws-sdk/util-user-agent-node": "3.714.0",
33
33
  "@smithy/config-resolver": "^3.0.13",
34
34
  "@smithy/core": "^2.5.5",
35
35
  "@smithy/fetch-http-handler": "^4.1.2",
@@ -23,6 +23,7 @@ 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
27
  return {
27
28
  ...clientSharedValues,
28
29
  ...config,
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
32
33
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
34
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
35
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
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),
36
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
37
+ region: config?.region ??
38
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
37
39
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
40
  retryMode: config?.retryMode ??
39
41
  (0, node_config_provider_1.loadConfig)({
40
42
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
43
  default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
42
- }),
44
+ }, config),
43
45
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
44
46
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
45
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
47
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
49
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
48
50
  };
49
51
  };
50
52
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -19,6 +19,7 @@ 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
23
  return {
23
24
  ...clientSharedValues,
24
25
  ...config,
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
28
29
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
30
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
30
31
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
- maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
33
+ region: config?.region ??
34
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
33
35
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
36
  retryMode: config?.retryMode ??
35
37
  loadNodeConfig({
36
38
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
37
39
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
38
- }),
40
+ }, config),
39
41
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
40
42
  streamCollector: config?.streamCollector ?? streamCollector,
41
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
42
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
43
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
43
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
44
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
46
  };
45
47
  };
@@ -98,6 +98,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
98
98
  * The AWS region to which this client will send requests
99
99
  */
100
100
  region?: string | __Provider<string>;
101
+ /**
102
+ * Setting a client profile is similar to setting a value for the
103
+ * AWS_PROFILE environment variable. Setting a profile on a client
104
+ * in code only affects the single client instance, unlike AWS_PROFILE.
105
+ *
106
+ * When set, and only for environments where an AWS configuration
107
+ * file exists, fields configurable by this file will be retrieved
108
+ * from the specified profile within that file.
109
+ * Conflicting code configuration and environment variables will
110
+ * still have higher priority.
111
+ *
112
+ * For client credential resolution that involves checking the AWS
113
+ * configuration file, the client's profile (this value) will be
114
+ * used unless a different profile is set in the credential
115
+ * provider options.
116
+ *
117
+ */
118
+ profile?: string;
101
119
  /**
102
120
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
103
121
  * @internal
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
26
26
  utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
+ profile?: string | undefined;
29
30
  logger: import("@smithy/types").Logger;
30
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
27
27
  utf8Encoder: (input: string | Uint8Array) => string;
28
28
  disableHostPrefix: boolean;
29
29
  serviceId: string;
30
+ profile?: string | undefined;
30
31
  logger: import("@smithy/types").Logger;
31
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string | undefined;
23
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
25
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -95,6 +95,7 @@ export interface ClientDefaults
95
95
  useDualstackEndpoint?: boolean | __Provider<boolean>;
96
96
  useFipsEndpoint?: boolean | __Provider<boolean>;
97
97
  region?: string | __Provider<string>;
98
+ profile?: string;
98
99
  defaultUserAgentProvider?: Provider<__UserAgent>;
99
100
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
100
101
  maxAttempts?: number | __Provider<number>;
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
33
33
  utf8Encoder: (input: string | Uint8Array) => string;
34
34
  disableHostPrefix: boolean;
35
35
  serviceId: string;
36
+ profile?: string | undefined;
36
37
  logger: import("@smithy/types").Logger;
37
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
38
39
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
38
38
  utf8Encoder: (input: string | Uint8Array) => string;
39
39
  disableHostPrefix: boolean;
40
40
  serviceId: string;
41
+ profile?: string | undefined;
41
42
  logger: import("@smithy/types").Logger;
42
43
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
44
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
+ profile?: string | undefined;
25
26
  defaultUserAgentProvider: (
26
27
  config?:
27
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved