@aws-sdk/client-ecs 3.795.0 → 3.797.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/auth/httpAuthSchemeProvider.js +3 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/dist-types/commands/RunTaskCommand.d.ts +15 -14
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +4 -26
- package/dist-types/models/models_0.d.ts +11 -113
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/package.json +5 -5
|
@@ -40,6 +40,8 @@ const defaultECSHttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultECSHttpAuthSchemeProvider = defaultECSHttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return Object.assign(config_0, {
|
|
43
|
+
return Object.assign(config_0, {
|
|
44
|
+
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
45
|
+
});
|
|
44
46
|
};
|
|
45
47
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
@@ -35,5 +35,7 @@ export const defaultECSHttpAuthSchemeProvider = (authParameters) => {
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return Object.assign(config_0, {
|
|
38
|
+
return Object.assign(config_0, {
|
|
39
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
40
|
+
});
|
|
39
41
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { ECSClientResolvedConfig } from "../ECSClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
@@ -29,6 +29,13 @@ export declare const defaultECSHttpAuthSchemeProvider: ECSHttpAuthSchemeProvider
|
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
32
39
|
/**
|
|
33
40
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
41
|
* @internal
|
|
@@ -44,6 +51,13 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
44
51
|
* @internal
|
|
45
52
|
*/
|
|
46
53
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
47
61
|
/**
|
|
48
62
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
63
|
* @internal
|
|
@@ -63,6 +63,20 @@ declare const RunTaskCommand_base: {
|
|
|
63
63
|
* minutes of wait time.</p>
|
|
64
64
|
* </li>
|
|
65
65
|
* </ul>
|
|
66
|
+
* <p>If you get a <code>ConflictException</code> error, the <code>RunTask</code> request could
|
|
67
|
+
* not be processed due to conflicts. The provided <code>clientToken</code> is already in
|
|
68
|
+
* use with a different <code>RunTask</code> request. The <code>resourceIds</code> are the
|
|
69
|
+
* existing task ARNs which are already associated with the <code>clientToken</code>. </p>
|
|
70
|
+
* <p>To fix this issue:</p>
|
|
71
|
+
* <ul>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original
|
|
77
|
+
* set of parameters</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* </ul>
|
|
66
80
|
* @example
|
|
67
81
|
* Use a bare-bones client and the command you need to make an API call.
|
|
68
82
|
* ```javascript
|
|
@@ -402,20 +416,7 @@ declare const RunTaskCommand_base: {
|
|
|
402
416
|
* <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
|
|
403
417
|
*
|
|
404
418
|
* @throws {@link ConflictException} (client fault)
|
|
405
|
-
* <p>The
|
|
406
|
-
* <code>clientToken</code> is already in use with a different <code>RunTask</code>
|
|
407
|
-
* request. The <code>resourceIds</code> are the existing task ARNs which are already
|
|
408
|
-
* associated with the <code>clientToken</code>. </p>
|
|
409
|
-
* <p>To fix this issue:</p>
|
|
410
|
-
* <ul>
|
|
411
|
-
* <li>
|
|
412
|
-
* <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p>
|
|
413
|
-
* </li>
|
|
414
|
-
* <li>
|
|
415
|
-
* <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original
|
|
416
|
-
* set of parameters</p>
|
|
417
|
-
* </li>
|
|
418
|
-
* </ul>
|
|
419
|
+
* <p>The request could not be processed because of conflict in the current state of the resource. </p>
|
|
419
420
|
*
|
|
420
421
|
* @throws {@link InvalidParameterException} (client fault)
|
|
421
422
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -28,18 +28,9 @@ declare const StopServiceDeploymentCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Stops an ongoing service deployment.</p>
|
|
31
|
-
* <
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* <p>ROLLBACK - This option rolls back the service deployment to the previous
|
|
35
|
-
* service revision. </p>
|
|
36
|
-
* <p>You can use this option even if you didn't configure the service deployment
|
|
37
|
-
* for the rollback option. </p>
|
|
38
|
-
* </li>
|
|
39
|
-
* </ul>
|
|
40
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stop-service-deployment.html">Stopping Amazon ECS
|
|
41
|
-
* service deployments</a> in the <i>Amazon Elastic Container Service Developer
|
|
42
|
-
* Guide</i>.</p>
|
|
31
|
+
* <note>
|
|
32
|
+
* <p>StopServiceDeployment isn't currently supported.</p>
|
|
33
|
+
* </note>
|
|
43
34
|
* @example
|
|
44
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
45
36
|
* ```javascript
|
|
@@ -83,20 +74,7 @@ declare const StopServiceDeploymentCommand_base: {
|
|
|
83
74
|
* </ul>
|
|
84
75
|
*
|
|
85
76
|
* @throws {@link ConflictException} (client fault)
|
|
86
|
-
* <p>The
|
|
87
|
-
* <code>clientToken</code> is already in use with a different <code>RunTask</code>
|
|
88
|
-
* request. The <code>resourceIds</code> are the existing task ARNs which are already
|
|
89
|
-
* associated with the <code>clientToken</code>. </p>
|
|
90
|
-
* <p>To fix this issue:</p>
|
|
91
|
-
* <ul>
|
|
92
|
-
* <li>
|
|
93
|
-
* <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p>
|
|
94
|
-
* </li>
|
|
95
|
-
* <li>
|
|
96
|
-
* <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original
|
|
97
|
-
* set of parameters</p>
|
|
98
|
-
* </li>
|
|
99
|
-
* </ul>
|
|
77
|
+
* <p>The request could not be processed because of conflict in the current state of the resource. </p>
|
|
100
78
|
*
|
|
101
79
|
* @throws {@link InvalidParameterException} (client fault)
|
|
102
80
|
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
@@ -6781,35 +6781,8 @@ export interface TaskDefinition {
|
|
|
6781
6781
|
* <p>If you're using the EC2 launch type or the external launch type, this
|
|
6782
6782
|
* field is optional. Supported values are between <code>128</code> CPU units
|
|
6783
6783
|
* (<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>
|
|
6784
|
-
* vCPUs).
|
|
6785
|
-
*
|
|
6786
|
-
* <ul>
|
|
6787
|
-
* <li>
|
|
6788
|
-
* <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>
|
|
6789
|
-
* </li>
|
|
6790
|
-
* <li>
|
|
6791
|
-
* <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>
|
|
6792
|
-
* </li>
|
|
6793
|
-
* <li>
|
|
6794
|
-
* <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>
|
|
6795
|
-
* </li>
|
|
6796
|
-
* <li>
|
|
6797
|
-
* <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
|
|
6798
|
-
* </li>
|
|
6799
|
-
* <li>
|
|
6800
|
-
* <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
|
|
6801
|
-
* </li>
|
|
6802
|
-
* <li>
|
|
6803
|
-
* <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
|
|
6804
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
6805
|
-
* later.</p>
|
|
6806
|
-
* </li>
|
|
6807
|
-
* <li>
|
|
6808
|
-
* <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
|
|
6809
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
6810
|
-
* later.</p>
|
|
6811
|
-
* </li>
|
|
6812
|
-
* </ul>
|
|
6784
|
+
* vCPUs). </p>
|
|
6785
|
+
* <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
6813
6786
|
* @public
|
|
6814
6787
|
*/
|
|
6815
6788
|
cpu?: string | undefined;
|
|
@@ -8711,42 +8684,11 @@ export interface Task {
|
|
|
8711
8684
|
* expressed as a string using vCPUs (for example, <code>1 vCPU</code> or <code>1
|
|
8712
8685
|
* vcpu</code>). String values are converted to an integer that indicates the CPU units
|
|
8713
8686
|
* when the task definition is registered.</p>
|
|
8714
|
-
* <p>If you're using the EC2 launch type or the external launch type, this
|
|
8715
|
-
*
|
|
8716
|
-
*
|
|
8717
|
-
*
|
|
8718
|
-
* <p>
|
|
8719
|
-
* must use one of the following values. These values determine the range of supported
|
|
8720
|
-
* values for the <code>memory</code> parameter:</p>
|
|
8721
|
-
* <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on
|
|
8722
|
-
* Fargate.</p>
|
|
8723
|
-
* <ul>
|
|
8724
|
-
* <li>
|
|
8725
|
-
* <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>
|
|
8726
|
-
* </li>
|
|
8727
|
-
* <li>
|
|
8728
|
-
* <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>
|
|
8729
|
-
* </li>
|
|
8730
|
-
* <li>
|
|
8731
|
-
* <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>
|
|
8732
|
-
* </li>
|
|
8733
|
-
* <li>
|
|
8734
|
-
* <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
|
|
8735
|
-
* </li>
|
|
8736
|
-
* <li>
|
|
8737
|
-
* <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
|
|
8738
|
-
* </li>
|
|
8739
|
-
* <li>
|
|
8740
|
-
* <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
|
|
8741
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
8742
|
-
* later.</p>
|
|
8743
|
-
* </li>
|
|
8744
|
-
* <li>
|
|
8745
|
-
* <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
|
|
8746
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
8747
|
-
* later.</p>
|
|
8748
|
-
* </li>
|
|
8749
|
-
* </ul>
|
|
8687
|
+
* <p>If you're using the EC2 launch type or the external launch type, this field is
|
|
8688
|
+
* optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
|
|
8689
|
+
* vCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify
|
|
8690
|
+
* a value, the parameter is ignored.</p>
|
|
8691
|
+
* <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
8750
8692
|
* @public
|
|
8751
8693
|
*/
|
|
8752
8694
|
cpu?: string | undefined;
|
|
@@ -10866,38 +10808,7 @@ export interface RegisterTaskDefinitionRequest {
|
|
|
10866
10808
|
* is optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>
|
|
10867
10809
|
* vCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify
|
|
10868
10810
|
* a value, the parameter is ignored.</p>
|
|
10869
|
-
* <p>
|
|
10870
|
-
* must use one of the following values, which determines your range of supported values
|
|
10871
|
-
* for the <code>memory</code> parameter:</p>
|
|
10872
|
-
* <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on
|
|
10873
|
-
* Fargate.</p>
|
|
10874
|
-
* <ul>
|
|
10875
|
-
* <li>
|
|
10876
|
-
* <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>
|
|
10877
|
-
* </li>
|
|
10878
|
-
* <li>
|
|
10879
|
-
* <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>
|
|
10880
|
-
* </li>
|
|
10881
|
-
* <li>
|
|
10882
|
-
* <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>
|
|
10883
|
-
* </li>
|
|
10884
|
-
* <li>
|
|
10885
|
-
* <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>
|
|
10886
|
-
* </li>
|
|
10887
|
-
* <li>
|
|
10888
|
-
* <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>
|
|
10889
|
-
* </li>
|
|
10890
|
-
* <li>
|
|
10891
|
-
* <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>
|
|
10892
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
10893
|
-
* later.</p>
|
|
10894
|
-
* </li>
|
|
10895
|
-
* <li>
|
|
10896
|
-
* <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>
|
|
10897
|
-
* <p>This option requires Linux platform <code>1.4.0</code> or
|
|
10898
|
-
* later.</p>
|
|
10899
|
-
* </li>
|
|
10900
|
-
* </ul>
|
|
10811
|
+
* <p>This field is required for Fargate. For information about the valid values, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
10901
10812
|
* @public
|
|
10902
10813
|
*/
|
|
10903
10814
|
cpu?: string | undefined;
|
|
@@ -11124,20 +11035,7 @@ export declare class BlockedException extends __BaseException {
|
|
|
11124
11035
|
constructor(opts: __ExceptionOptionType<BlockedException, __BaseException>);
|
|
11125
11036
|
}
|
|
11126
11037
|
/**
|
|
11127
|
-
* <p>The
|
|
11128
|
-
* <code>clientToken</code> is already in use with a different <code>RunTask</code>
|
|
11129
|
-
* request. The <code>resourceIds</code> are the existing task ARNs which are already
|
|
11130
|
-
* associated with the <code>clientToken</code>. </p>
|
|
11131
|
-
* <p>To fix this issue:</p>
|
|
11132
|
-
* <ul>
|
|
11133
|
-
* <li>
|
|
11134
|
-
* <p>Run <code>RunTask</code> with a unique <code>clientToken</code>.</p>
|
|
11135
|
-
* </li>
|
|
11136
|
-
* <li>
|
|
11137
|
-
* <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original
|
|
11138
|
-
* set of parameters</p>
|
|
11139
|
-
* </li>
|
|
11140
|
-
* </ul>
|
|
11038
|
+
* <p>The request could not be processed because of conflict in the current state of the resource. </p>
|
|
11141
11039
|
* @public
|
|
11142
11040
|
*/
|
|
11143
11041
|
export declare class ConflictException extends __BaseException {
|
|
@@ -11777,8 +11675,8 @@ export interface StopServiceDeploymentRequest {
|
|
|
11777
11675
|
*/
|
|
11778
11676
|
serviceDeploymentArn: string | undefined;
|
|
11779
11677
|
/**
|
|
11780
|
-
* <p>How you want Amazon ECS to stop the
|
|
11781
|
-
* <p>The
|
|
11678
|
+
* <p>How you want Amazon ECS to stop the service. </p>
|
|
11679
|
+
* <p>The ROLLBACK and ABORT stopType aren't supported.</p>
|
|
11782
11680
|
* @public
|
|
11783
11681
|
*/
|
|
11784
11682
|
stopType?: StopServiceDeploymentStopType | undefined;
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean | undefined;
|
|
40
40
|
serviceConfiguredEndpoint?: undefined;
|
|
41
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
41
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
42
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ECSHttpAuthSchemeProvider;
|
|
43
44
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean | undefined;
|
|
40
40
|
serviceConfiguredEndpoint?: undefined;
|
|
41
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
41
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
42
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ECSHttpAuthSchemeProvider;
|
|
43
44
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -37,6 +37,7 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
38
38
|
tls?: boolean | undefined;
|
|
39
39
|
serviceConfiguredEndpoint?: undefined;
|
|
40
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
40
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
41
42
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ECSHttpAuthSchemeProvider;
|
|
42
43
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
HttpAuthSchemeParameters,
|
|
10
10
|
HttpAuthSchemeParametersProvider,
|
|
11
11
|
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
12
13
|
} from "@smithy/types";
|
|
13
14
|
import { ECSClientResolvedConfig } from "../ECSClient";
|
|
14
15
|
export interface ECSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
@@ -30,11 +31,13 @@ export interface ECSHttpAuthSchemeProvider
|
|
|
30
31
|
extends HttpAuthSchemeProvider<ECSHttpAuthSchemeParameters> {}
|
|
31
32
|
export declare const defaultECSHttpAuthSchemeProvider: ECSHttpAuthSchemeProvider;
|
|
32
33
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
34
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
33
35
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
34
36
|
httpAuthSchemeProvider?: ECSHttpAuthSchemeProvider;
|
|
35
37
|
}
|
|
36
38
|
export interface HttpAuthSchemeResolvedConfig
|
|
37
39
|
extends AwsSdkSigV4AuthResolvedConfig {
|
|
40
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
38
41
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
39
42
|
readonly httpAuthSchemeProvider: ECSHttpAuthSchemeProvider;
|
|
40
43
|
}
|
|
@@ -72,6 +72,10 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
72
72
|
) => import("@smithy/types").EndpointV2;
|
|
73
73
|
tls?: boolean | undefined;
|
|
74
74
|
serviceConfiguredEndpoint?: undefined;
|
|
75
|
+
authSchemePreference?:
|
|
76
|
+
| string[]
|
|
77
|
+
| import("@smithy/types").Provider<string[]>
|
|
78
|
+
| undefined;
|
|
75
79
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
76
80
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ECSHttpAuthSchemeProvider;
|
|
77
81
|
credentials?:
|
|
@@ -73,6 +73,10 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
73
73
|
) => import("@smithy/types").EndpointV2;
|
|
74
74
|
tls?: boolean | undefined;
|
|
75
75
|
serviceConfiguredEndpoint?: undefined;
|
|
76
|
+
authSchemePreference?:
|
|
77
|
+
| string[]
|
|
78
|
+
| import("@smithy/types").Provider<string[]>
|
|
79
|
+
| undefined;
|
|
76
80
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
77
81
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ECSHttpAuthSchemeProvider;
|
|
78
82
|
credentials?:
|
|
@@ -76,6 +76,10 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
76
76
|
) => import("@smithy/types").EndpointV2;
|
|
77
77
|
tls?: boolean | undefined;
|
|
78
78
|
serviceConfiguredEndpoint?: undefined;
|
|
79
|
+
authSchemePreference?:
|
|
80
|
+
| string[]
|
|
81
|
+
| import("@smithy/types").Provider<string[]>
|
|
82
|
+
| undefined;
|
|
79
83
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
80
84
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ECSHttpAuthSchemeProvider;
|
|
81
85
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.797.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-ecs",
|
|
@@ -20,17 +20,17 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.796.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.797.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.796.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.796.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|