@aws-sdk/client-resiliencehub 3.713.0 → 3.715.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.js +8 -6
- package/dist-es/runtimeConfig.js +8 -6
- package/dist-types/ResiliencehubClient.d.ts +18 -0
- package/dist-types/commands/BatchUpdateRecommendationStatusCommand.d.ts +2 -0
- package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +8 -0
- package/dist-types/commands/ListSopRecommendationsCommand.d.ts +8 -0
- package/dist-types/commands/ListTestRecommendationsCommand.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +67 -7
- 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/ResiliencehubClient.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +14 -14
|
@@ -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 ??
|
|
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;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -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 ??
|
|
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
|
};
|
|
@@ -157,6 +157,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
157
157
|
* The AWS region to which this client will send requests
|
|
158
158
|
*/
|
|
159
159
|
region?: string | __Provider<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Setting a client profile is similar to setting a value for the
|
|
162
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
163
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
164
|
+
*
|
|
165
|
+
* When set, and only for environments where an AWS configuration
|
|
166
|
+
* file exists, fields configurable by this file will be retrieved
|
|
167
|
+
* from the specified profile within that file.
|
|
168
|
+
* Conflicting code configuration and environment variables will
|
|
169
|
+
* still have higher priority.
|
|
170
|
+
*
|
|
171
|
+
* For client credential resolution that involves checking the AWS
|
|
172
|
+
* configuration file, the client's profile (this value) will be
|
|
173
|
+
* used unless a different profile is set in the credential
|
|
174
|
+
* provider options.
|
|
175
|
+
*
|
|
176
|
+
*/
|
|
177
|
+
profile?: string;
|
|
160
178
|
/**
|
|
161
179
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
162
180
|
* @internal
|
|
@@ -46,6 +46,7 @@ declare const BatchUpdateRecommendationStatusCommand_base: {
|
|
|
46
46
|
* targetRegion: "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
48
|
* excluded: true || false, // required
|
|
49
|
+
* appComponentId: "STRING_VALUE",
|
|
49
50
|
* excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation",
|
|
50
51
|
* },
|
|
51
52
|
* ],
|
|
@@ -64,6 +65,7 @@ declare const BatchUpdateRecommendationStatusCommand_base: {
|
|
|
64
65
|
* // targetRegion: "STRING_VALUE",
|
|
65
66
|
* // },
|
|
66
67
|
* // excluded: true || false, // required
|
|
68
|
+
* // appComponentId: "STRING_VALUE",
|
|
67
69
|
* // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation",
|
|
68
70
|
* // },
|
|
69
71
|
* // ],
|
|
@@ -58,6 +58,14 @@ declare const ListAlarmRecommendationsCommand_base: {
|
|
|
58
58
|
* // alreadyImplemented: true || false,
|
|
59
59
|
* // excluded: true || false,
|
|
60
60
|
* // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation",
|
|
61
|
+
* // latestDiscoveredExperiment: { // Experiment
|
|
62
|
+
* // experimentArn: "STRING_VALUE",
|
|
63
|
+
* // experimentTemplateId: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // discoveredAlarm: { // Alarm
|
|
66
|
+
* // alarmArn: "STRING_VALUE",
|
|
67
|
+
* // source: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
61
69
|
* // },
|
|
62
70
|
* // ],
|
|
63
71
|
* // prerequisite: "STRING_VALUE",
|
|
@@ -58,6 +58,14 @@ declare const ListSopRecommendationsCommand_base: {
|
|
|
58
58
|
* // alreadyImplemented: true || false,
|
|
59
59
|
* // excluded: true || false,
|
|
60
60
|
* // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation",
|
|
61
|
+
* // latestDiscoveredExperiment: { // Experiment
|
|
62
|
+
* // experimentArn: "STRING_VALUE",
|
|
63
|
+
* // experimentTemplateId: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // discoveredAlarm: { // Alarm
|
|
66
|
+
* // alarmArn: "STRING_VALUE",
|
|
67
|
+
* // source: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
61
69
|
* // },
|
|
62
70
|
* // ],
|
|
63
71
|
* // referenceId: "STRING_VALUE", // required
|
|
@@ -47,6 +47,7 @@ declare const ListTestRecommendationsCommand_base: {
|
|
|
47
47
|
* // { // TestRecommendation
|
|
48
48
|
* // recommendationId: "STRING_VALUE",
|
|
49
49
|
* // referenceId: "STRING_VALUE", // required
|
|
50
|
+
* // appComponentId: "STRING_VALUE",
|
|
50
51
|
* // appComponentName: "STRING_VALUE",
|
|
51
52
|
* // name: "STRING_VALUE",
|
|
52
53
|
* // intent: "STRING_VALUE",
|
|
@@ -61,6 +62,14 @@ declare const ListTestRecommendationsCommand_base: {
|
|
|
61
62
|
* // alreadyImplemented: true || false,
|
|
62
63
|
* // excluded: true || false,
|
|
63
64
|
* // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation",
|
|
65
|
+
* // latestDiscoveredExperiment: { // Experiment
|
|
66
|
+
* // experimentArn: "STRING_VALUE",
|
|
67
|
+
* // experimentTemplateId: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // discoveredAlarm: { // Alarm
|
|
70
|
+
* // alarmArn: "STRING_VALUE",
|
|
71
|
+
* // source: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
64
73
|
* // },
|
|
65
74
|
* // ],
|
|
66
75
|
* // prerequisite: "STRING_VALUE",
|
|
@@ -470,6 +470,24 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
470
470
|
*/
|
|
471
471
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
472
472
|
}
|
|
473
|
+
/**
|
|
474
|
+
* <p>Indicates the Amazon CloudWatch alarm detected while running an assessment.</p>
|
|
475
|
+
* @public
|
|
476
|
+
*/
|
|
477
|
+
export interface Alarm {
|
|
478
|
+
/**
|
|
479
|
+
* <p>Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.</p>
|
|
480
|
+
* @public
|
|
481
|
+
*/
|
|
482
|
+
alarmArn?: string | undefined;
|
|
483
|
+
/**
|
|
484
|
+
* <p>Indicates the source of the Amazon CloudWatch alarm. That is, it indicates if the
|
|
485
|
+
* alarm was created using Resilience Hub recommendation (<code>AwsResilienceHub</code>),
|
|
486
|
+
* or if you had created the alarm in Amazon CloudWatch (<code>Customer</code>).</p>
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
source?: string | undefined;
|
|
490
|
+
}
|
|
473
491
|
/**
|
|
474
492
|
* @public
|
|
475
493
|
* @enum
|
|
@@ -483,6 +501,22 @@ export declare const ExcludeRecommendationReason: {
|
|
|
483
501
|
* @public
|
|
484
502
|
*/
|
|
485
503
|
export type ExcludeRecommendationReason = (typeof ExcludeRecommendationReason)[keyof typeof ExcludeRecommendationReason];
|
|
504
|
+
/**
|
|
505
|
+
* <p>Indicates the FIS experiment detected while running an assessment.</p>
|
|
506
|
+
* @public
|
|
507
|
+
*/
|
|
508
|
+
export interface Experiment {
|
|
509
|
+
/**
|
|
510
|
+
* <p>Amazon Resource Name (ARN) of the FIS experiment.</p>
|
|
511
|
+
* @public
|
|
512
|
+
*/
|
|
513
|
+
experimentArn?: string | undefined;
|
|
514
|
+
/**
|
|
515
|
+
* <p>Identifier of the FIS experiment template.</p>
|
|
516
|
+
* @public
|
|
517
|
+
*/
|
|
518
|
+
experimentTemplateId?: string | undefined;
|
|
519
|
+
}
|
|
486
520
|
/**
|
|
487
521
|
* <p>Defines a recommendation.</p>
|
|
488
522
|
* @public
|
|
@@ -518,6 +552,16 @@ export interface RecommendationItem {
|
|
|
518
552
|
* @public
|
|
519
553
|
*/
|
|
520
554
|
excludeReason?: ExcludeRecommendationReason | undefined;
|
|
555
|
+
/**
|
|
556
|
+
* <p>Indicates the experiment created in FIS that was discovered by Resilience Hub, which matches the recommendation.</p>
|
|
557
|
+
* @public
|
|
558
|
+
*/
|
|
559
|
+
latestDiscoveredExperiment?: Experiment | undefined;
|
|
560
|
+
/**
|
|
561
|
+
* <p>Indicates the previously implemented Amazon CloudWatch alarm discovered by Resilience Hub.</p>
|
|
562
|
+
* @public
|
|
563
|
+
*/
|
|
564
|
+
discoveredAlarm?: Alarm | undefined;
|
|
521
565
|
}
|
|
522
566
|
/**
|
|
523
567
|
* @public
|
|
@@ -719,7 +763,10 @@ export interface PermissionModel {
|
|
|
719
763
|
* <p>Existing Amazon Web Services
|
|
720
764
|
* IAM role name in the primary Amazon Web Services account that will be assumed by
|
|
721
765
|
* Resilience Hub Service Principle to obtain a read-only access to your application
|
|
722
|
-
* resources while running an assessment
|
|
766
|
+
* resources while running an assessment. </p>
|
|
767
|
+
* <p>If your IAM role includes a path, you must include the path in the <code>invokerRoleName</code> parameter.
|
|
768
|
+
* For example, if your IAM role's ARN is <code>arn:aws:iam:123456789012:role/my-path/role-name</code>, you should pass <code>my-path/role-name</code>.
|
|
769
|
+
* </p>
|
|
723
770
|
* <note>
|
|
724
771
|
* <ul>
|
|
725
772
|
* <li>
|
|
@@ -1280,8 +1327,7 @@ export interface ResourceErrorsDetails {
|
|
|
1280
1327
|
*/
|
|
1281
1328
|
resourceErrors?: ResourceError[] | undefined;
|
|
1282
1329
|
/**
|
|
1283
|
-
* <p> This indicates if there are more errors not listed in the
|
|
1284
|
-
* <code>resourceErrors</code>
|
|
1330
|
+
* <p> This indicates if there are more errors not listed in the <code>resourceErrors</code>
|
|
1285
1331
|
* list. </p>
|
|
1286
1332
|
* @public
|
|
1287
1333
|
*/
|
|
@@ -1320,7 +1366,7 @@ export interface AssessmentRiskRecommendation {
|
|
|
1320
1366
|
recommendation?: string | undefined;
|
|
1321
1367
|
/**
|
|
1322
1368
|
* <p>Indicates the Application Components (AppComponents) that were assessed as part of the
|
|
1323
|
-
*
|
|
1369
|
+
* assessment and are associated with the identified risk and recommendation.</p>
|
|
1324
1370
|
* <note>
|
|
1325
1371
|
* <p>This property is available only in the US East (N. Virginia) Region.</p>
|
|
1326
1372
|
* </note>
|
|
@@ -1528,8 +1574,7 @@ export interface AppAssessmentSummary {
|
|
|
1528
1574
|
*/
|
|
1529
1575
|
assessmentArn: string | undefined;
|
|
1530
1576
|
/**
|
|
1531
|
-
* <p>Current
|
|
1532
|
-
* status of compliance for the resiliency policy.</p>
|
|
1577
|
+
* <p>Current status of compliance for the resiliency policy.</p>
|
|
1533
1578
|
* @public
|
|
1534
1579
|
*/
|
|
1535
1580
|
complianceStatus?: ComplianceStatus | undefined;
|
|
@@ -1850,6 +1895,11 @@ export interface UpdateRecommendationStatusRequestEntry {
|
|
|
1850
1895
|
* @public
|
|
1851
1896
|
*/
|
|
1852
1897
|
excluded: boolean | undefined;
|
|
1898
|
+
/**
|
|
1899
|
+
* <p>Indicates the identifier of the AppComponent.</p>
|
|
1900
|
+
* @public
|
|
1901
|
+
*/
|
|
1902
|
+
appComponentId?: string | undefined;
|
|
1853
1903
|
/**
|
|
1854
1904
|
* <p>Indicates the reason for excluding an operational recommendation.</p>
|
|
1855
1905
|
* @public
|
|
@@ -1923,6 +1973,11 @@ export interface BatchUpdateRecommendationStatusSuccessfulEntry {
|
|
|
1923
1973
|
* @public
|
|
1924
1974
|
*/
|
|
1925
1975
|
excluded: boolean | undefined;
|
|
1976
|
+
/**
|
|
1977
|
+
* <p>Indicates the identifier of an AppComponent.</p>
|
|
1978
|
+
* @public
|
|
1979
|
+
*/
|
|
1980
|
+
appComponentId?: string | undefined;
|
|
1926
1981
|
/**
|
|
1927
1982
|
* <p>Indicates the reason for excluding an operational recommendation.</p>
|
|
1928
1983
|
* @public
|
|
@@ -3954,7 +4009,7 @@ export interface ComplianceDrift {
|
|
|
3954
4009
|
/**
|
|
3955
4010
|
* <p>Difference type between actual and expected recovery point objective (RPO) and recovery
|
|
3956
4011
|
* time objective (RTO) values. Currently, Resilience Hub supports only
|
|
3957
|
-
*
|
|
4012
|
+
* <code>NotEqual</code> difference type.</p>
|
|
3958
4013
|
* @public
|
|
3959
4014
|
*/
|
|
3960
4015
|
diffType?: DifferenceType | undefined;
|
|
@@ -5344,6 +5399,11 @@ export interface TestRecommendation {
|
|
|
5344
5399
|
* @public
|
|
5345
5400
|
*/
|
|
5346
5401
|
referenceId: string | undefined;
|
|
5402
|
+
/**
|
|
5403
|
+
* <p>Indicates the identifier of the AppComponent.</p>
|
|
5404
|
+
* @public
|
|
5405
|
+
*/
|
|
5406
|
+
appComponentId?: string | undefined;
|
|
5347
5407
|
/**
|
|
5348
5408
|
* <p>Name of the Application Component.</p>
|
|
5349
5409
|
* @public
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: ResiliencehubClientConfig) => {
|
|
|
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: ResiliencehubClientConfig) => {
|
|
|
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: ResiliencehubClientConfig) => {
|
|
|
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>;
|
|
@@ -449,6 +449,7 @@ export interface ClientDefaults
|
|
|
449
449
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
450
450
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
451
451
|
region?: string | __Provider<string>;
|
|
452
|
+
profile?: string;
|
|
452
453
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
453
454
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
454
455
|
maxAttempts?: number | __Provider<number>;
|
|
@@ -108,6 +108,10 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
108
108
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
109
109
|
);
|
|
110
110
|
}
|
|
111
|
+
export interface Alarm {
|
|
112
|
+
alarmArn?: string | undefined;
|
|
113
|
+
source?: string | undefined;
|
|
114
|
+
}
|
|
111
115
|
export declare const ExcludeRecommendationReason: {
|
|
112
116
|
readonly ALREADY_IMPLEMENTED: "AlreadyImplemented";
|
|
113
117
|
readonly COMPLEXITY_OF_IMPLEMENTATION: "ComplexityOfImplementation";
|
|
@@ -115,6 +119,10 @@ export declare const ExcludeRecommendationReason: {
|
|
|
115
119
|
};
|
|
116
120
|
export type ExcludeRecommendationReason =
|
|
117
121
|
(typeof ExcludeRecommendationReason)[keyof typeof ExcludeRecommendationReason];
|
|
122
|
+
export interface Experiment {
|
|
123
|
+
experimentArn?: string | undefined;
|
|
124
|
+
experimentTemplateId?: string | undefined;
|
|
125
|
+
}
|
|
118
126
|
export interface RecommendationItem {
|
|
119
127
|
resourceId?: string | undefined;
|
|
120
128
|
targetAccountId?: string | undefined;
|
|
@@ -122,6 +130,8 @@ export interface RecommendationItem {
|
|
|
122
130
|
alreadyImplemented?: boolean | undefined;
|
|
123
131
|
excluded?: boolean | undefined;
|
|
124
132
|
excludeReason?: ExcludeRecommendationReason | undefined;
|
|
133
|
+
latestDiscoveredExperiment?: Experiment | undefined;
|
|
134
|
+
discoveredAlarm?: Alarm | undefined;
|
|
125
135
|
}
|
|
126
136
|
export declare const RecommendationStatus: {
|
|
127
137
|
readonly EXCLUDED: "Excluded";
|
|
@@ -461,6 +471,7 @@ export interface UpdateRecommendationStatusRequestEntry {
|
|
|
461
471
|
referenceId: string | undefined;
|
|
462
472
|
item?: UpdateRecommendationStatusItem | undefined;
|
|
463
473
|
excluded: boolean | undefined;
|
|
474
|
+
appComponentId?: string | undefined;
|
|
464
475
|
excludeReason?: ExcludeRecommendationReason | undefined;
|
|
465
476
|
}
|
|
466
477
|
export interface BatchUpdateRecommendationStatusRequest {
|
|
@@ -476,6 +487,7 @@ export interface BatchUpdateRecommendationStatusSuccessfulEntry {
|
|
|
476
487
|
referenceId: string | undefined;
|
|
477
488
|
item?: UpdateRecommendationStatusItem | undefined;
|
|
478
489
|
excluded: boolean | undefined;
|
|
490
|
+
appComponentId?: string | undefined;
|
|
479
491
|
excludeReason?: ExcludeRecommendationReason | undefined;
|
|
480
492
|
}
|
|
481
493
|
export interface BatchUpdateRecommendationStatusResponse {
|
|
@@ -1247,6 +1259,7 @@ export type TestType = (typeof TestType)[keyof typeof TestType];
|
|
|
1247
1259
|
export interface TestRecommendation {
|
|
1248
1260
|
recommendationId?: string | undefined;
|
|
1249
1261
|
referenceId: string | undefined;
|
|
1262
|
+
appComponentId?: string | undefined;
|
|
1250
1263
|
appComponentName?: string | undefined;
|
|
1251
1264
|
name?: string | undefined;
|
|
1252
1265
|
intent?: string | undefined;
|
|
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: ResiliencehubClientConfig) => {
|
|
|
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: ResiliencehubClientConfig) => {
|
|
|
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: ResiliencehubClientConfig) => {
|
|
|
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
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resiliencehub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resiliencehub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.715.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-resiliencehub",
|
|
@@ -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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
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",
|