@aws-sdk/client-compute-optimizer-automation 3.1086.0 → 3.1088.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/index.js +1 -1
- package/dist-types/ts3.4/ComputeOptimizerAutomation.d.ts +79 -88
- package/dist-types/ts3.4/ComputeOptimizerAutomationClient.d.ts +6 -17
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -10
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/AssociateAccountsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteAutomationRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DisassociateAccountsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetAutomationEventCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetAutomationRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetEnrollmentConfigurationCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListAutomationEventStepsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListAutomationEventSummariesCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListAutomationEventsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListAutomationRulePreviewCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListAutomationRulePreviewSummariesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListRecommendedActionSummariesCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListRecommendedActionsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/RollbackAutomationEventCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StartAutomationEventCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateAutomationRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateEnrollmentConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +5 -10
- package/dist-types/ts3.4/models/errors.d.ts +11 -36
- package/dist-types/ts3.4/models/models_0.d.ts +1 -3
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/package.json +39 -39
|
@@ -2,16 +2,14 @@ export declare const OrganizationRuleMode: {
|
|
|
2
2
|
readonly ANY_ALLOWED: "AnyAllowed";
|
|
3
3
|
readonly NONE_ALLOWED: "NoneAllowed";
|
|
4
4
|
};
|
|
5
|
-
export type OrganizationRuleMode =
|
|
6
|
-
(typeof OrganizationRuleMode)[keyof typeof OrganizationRuleMode];
|
|
5
|
+
export type OrganizationRuleMode = (typeof OrganizationRuleMode)[keyof typeof OrganizationRuleMode];
|
|
7
6
|
export declare const EnrollmentStatus: {
|
|
8
7
|
readonly ACTIVE: "Active";
|
|
9
8
|
readonly FAILED: "Failed";
|
|
10
9
|
readonly INACTIVE: "Inactive";
|
|
11
10
|
readonly PENDING: "Pending";
|
|
12
11
|
};
|
|
13
|
-
export type EnrollmentStatus =
|
|
14
|
-
(typeof EnrollmentStatus)[keyof typeof EnrollmentStatus];
|
|
12
|
+
export type EnrollmentStatus = (typeof EnrollmentStatus)[keyof typeof EnrollmentStatus];
|
|
15
13
|
export declare const SavingsEstimationMode: {
|
|
16
14
|
readonly AFTER_DISCOUNT: "AfterDiscount";
|
|
17
15
|
readonly BEFORE_DISCOUNT: "BeforeDiscount";
|
|
@@ -64,14 +62,12 @@ export type StepType = (typeof StepType)[keyof typeof StepType];
|
|
|
64
62
|
export declare const SummaryDimensionKey: {
|
|
65
63
|
readonly EVENT_STATUS: "EventStatus";
|
|
66
64
|
};
|
|
67
|
-
export type SummaryDimensionKey =
|
|
68
|
-
(typeof SummaryDimensionKey)[keyof typeof SummaryDimensionKey];
|
|
65
|
+
export type SummaryDimensionKey = (typeof SummaryDimensionKey)[keyof typeof SummaryDimensionKey];
|
|
69
66
|
export declare const RuleApplyOrder: {
|
|
70
67
|
readonly AFTER_ACCOUNT_RULES: "AfterAccountRules";
|
|
71
68
|
readonly BEFORE_ACCOUNT_RULES: "BeforeAccountRules";
|
|
72
69
|
};
|
|
73
|
-
export type RuleApplyOrder =
|
|
74
|
-
(typeof RuleApplyOrder)[keyof typeof RuleApplyOrder];
|
|
70
|
+
export type RuleApplyOrder = (typeof RuleApplyOrder)[keyof typeof RuleApplyOrder];
|
|
75
71
|
export declare const RecommendedActionType: {
|
|
76
72
|
readonly SNAPSHOT_AND_DELETE_UNATTACHED_EBS_VOLUME: "SnapshotAndDeleteUnattachedEbsVolume";
|
|
77
73
|
readonly UPGRADE_EBS_VOLUME_TYPE: "UpgradeEbsVolumeType";
|
|
@@ -124,8 +120,7 @@ export declare const ComparisonOperator: {
|
|
|
124
120
|
readonly STRING_NOT_LIKE: "StringNotLike";
|
|
125
121
|
readonly STRING_NOT_LIKE_IF_EXISTS: "StringNotLikeIfExists";
|
|
126
122
|
};
|
|
127
|
-
export type ComparisonOperator =
|
|
128
|
-
(typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
123
|
+
export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
129
124
|
export declare const RecommendedActionFilterName: {
|
|
130
125
|
readonly ACCOUNT_ID: "AccountId";
|
|
131
126
|
readonly CURRENT_RESOURCE_DETAILS_EBS_VOLUME_TYPE: "CurrentResourceDetailsEbsVolumeType";
|
|
@@ -3,9 +3,7 @@ import { ComputeOptimizerAutomationServiceException as __BaseException } from ".
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
6
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
7
|
}
|
|
10
8
|
export declare class ForbiddenException extends __BaseException {
|
|
11
9
|
readonly name: "ForbiddenException";
|
|
@@ -15,73 +13,50 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
15
13
|
export declare class IdempotencyTokenInUseException extends __BaseException {
|
|
16
14
|
readonly name: "IdempotencyTokenInUseException";
|
|
17
15
|
readonly $fault: "client";
|
|
18
|
-
constructor(
|
|
19
|
-
opts: __ExceptionOptionType<IdempotencyTokenInUseException, __BaseException>
|
|
20
|
-
);
|
|
16
|
+
constructor(opts: __ExceptionOptionType<IdempotencyTokenInUseException, __BaseException>);
|
|
21
17
|
}
|
|
22
18
|
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
23
19
|
readonly name: "IdempotentParameterMismatchException";
|
|
24
20
|
readonly $fault: "client";
|
|
25
|
-
constructor(
|
|
26
|
-
opts: __ExceptionOptionType<
|
|
27
|
-
IdempotentParameterMismatchException,
|
|
28
|
-
__BaseException
|
|
29
|
-
>
|
|
30
|
-
);
|
|
21
|
+
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
31
22
|
}
|
|
32
23
|
export declare class InternalServerException extends __BaseException {
|
|
33
24
|
readonly name: "InternalServerException";
|
|
34
25
|
readonly $fault: "server";
|
|
35
|
-
constructor(
|
|
36
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
37
|
-
);
|
|
26
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
38
27
|
}
|
|
39
28
|
export declare class InvalidParameterValueException extends __BaseException {
|
|
40
29
|
readonly name: "InvalidParameterValueException";
|
|
41
30
|
readonly $fault: "client";
|
|
42
|
-
constructor(
|
|
43
|
-
opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
|
|
44
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
45
32
|
}
|
|
46
33
|
export declare class NotManagementAccountException extends __BaseException {
|
|
47
34
|
readonly name: "NotManagementAccountException";
|
|
48
35
|
readonly $fault: "client";
|
|
49
|
-
constructor(
|
|
50
|
-
opts: __ExceptionOptionType<NotManagementAccountException, __BaseException>
|
|
51
|
-
);
|
|
36
|
+
constructor(opts: __ExceptionOptionType<NotManagementAccountException, __BaseException>);
|
|
52
37
|
}
|
|
53
38
|
export declare class OptInRequiredException extends __BaseException {
|
|
54
39
|
readonly name: "OptInRequiredException";
|
|
55
40
|
readonly $fault: "client";
|
|
56
|
-
constructor(
|
|
57
|
-
opts: __ExceptionOptionType<OptInRequiredException, __BaseException>
|
|
58
|
-
);
|
|
41
|
+
constructor(opts: __ExceptionOptionType<OptInRequiredException, __BaseException>);
|
|
59
42
|
}
|
|
60
43
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
61
44
|
readonly name: "ServiceUnavailableException";
|
|
62
45
|
readonly $fault: "server";
|
|
63
|
-
constructor(
|
|
64
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
65
|
-
);
|
|
46
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
66
47
|
}
|
|
67
48
|
export declare class ThrottlingException extends __BaseException {
|
|
68
49
|
readonly name: "ThrottlingException";
|
|
69
50
|
readonly $fault: "client";
|
|
70
|
-
constructor(
|
|
71
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
72
|
-
);
|
|
51
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
73
52
|
}
|
|
74
53
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
75
54
|
readonly name: "ResourceNotFoundException";
|
|
76
55
|
readonly $fault: "client";
|
|
77
|
-
constructor(
|
|
78
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
79
|
-
);
|
|
56
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
80
57
|
}
|
|
81
58
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
82
59
|
readonly name: "ServiceQuotaExceededException";
|
|
83
60
|
readonly $fault: "client";
|
|
84
|
-
constructor(
|
|
85
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
86
|
-
);
|
|
61
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
87
62
|
}
|
|
@@ -293,9 +293,7 @@ export interface EbsVolumeConfiguration {
|
|
|
293
293
|
export interface EbsVolume {
|
|
294
294
|
configuration?: EbsVolumeConfiguration | undefined;
|
|
295
295
|
}
|
|
296
|
-
export type ResourceDetails =
|
|
297
|
-
| ResourceDetails.EbsVolumeMember
|
|
298
|
-
| ResourceDetails.$UnknownMember;
|
|
296
|
+
export type ResourceDetails = ResourceDetails.EbsVolumeMember | ResourceDetails.$UnknownMember;
|
|
299
297
|
export declare namespace ResourceDetails {
|
|
300
298
|
interface EbsVolumeMember {
|
|
301
299
|
ebsVolume: EbsVolume;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { ComputeOptimizerAutomationClient } from "../ComputeOptimizerAutomationClient";
|
|
3
|
-
export interface ComputeOptimizerAutomationPaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface ComputeOptimizerAutomationPaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: ComputeOptimizerAutomationClient;
|
|
6
5
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: ComputeOptimizerAutomationClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: ComputeOptimizerAutomationClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider:
|
|
12
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
-
| ((
|
|
14
|
-
_: unknown
|
|
15
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
12
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
18
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
24
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
19
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
21
|
) => Promise<Uint8Array>;
|
|
32
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
|
|
|
55
45
|
logger: import("@smithy/types").Logger;
|
|
56
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
userAgentAppId?:
|
|
59
|
-
|
|
60
|
-
| undefined
|
|
61
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
62
|
-
retryStrategy?:
|
|
63
|
-
| import("@smithy/types").RetryStrategy
|
|
64
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
65
50
|
endpoint?:
|
|
66
51
|
| ((
|
|
67
52
|
| string
|
|
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
|
|
|
83
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
84
69
|
context?: {
|
|
85
70
|
logger?: import("@smithy/types").Logger;
|
|
86
|
-
}
|
|
71
|
+
},
|
|
87
72
|
) => import("@smithy/types").EndpointV2;
|
|
88
73
|
tls?: boolean;
|
|
89
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -96,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
96
81
|
signer?:
|
|
97
82
|
| import("@smithy/types").RequestSigner
|
|
98
83
|
| ((
|
|
99
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
100
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
101
86
|
signingEscapePath?: boolean;
|
|
102
87
|
systemClockOffset?: number;
|
|
103
88
|
signingRegion?: string;
|
|
104
89
|
signerConstructor?: new (
|
|
105
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
106
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
107
92
|
) => import("@smithy/types").RequestSigner;
|
|
108
93
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: ComputeOptimizerAutomationClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: ComputeOptimizerAutomationClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
|
|
|
12
10
|
credentialDefaultProvider:
|
|
13
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
12
|
| ((
|
|
15
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
16
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
22
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
24
|
) => Promise<Uint8Array>;
|
|
33
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
|
|
|
55
47
|
logger: import("@smithy/types").Logger;
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
retryStrategy?:
|
|
59
|
-
| import("@smithy/types").RetryStrategy
|
|
60
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
61
51
|
endpoint?:
|
|
62
52
|
| ((
|
|
63
53
|
| string
|
|
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
79
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
80
70
|
context?: {
|
|
81
71
|
logger?: import("@smithy/types").Logger;
|
|
82
|
-
}
|
|
72
|
+
},
|
|
83
73
|
) => import("@smithy/types").EndpointV2;
|
|
84
74
|
tls?: boolean;
|
|
85
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -91,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
91
81
|
signer?:
|
|
92
82
|
| import("@smithy/types").RequestSigner
|
|
93
83
|
| ((
|
|
94
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
95
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
96
86
|
signingEscapePath?: boolean;
|
|
97
87
|
systemClockOffset?: number;
|
|
98
88
|
signingRegion?: string;
|
|
99
89
|
signerConstructor?: new (
|
|
100
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
101
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
102
92
|
) => import("@smithy/types").RequestSigner;
|
|
103
93
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: ComputeOptimizerAutomationClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: ComputeOptimizerAutomationClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
requestHandler:
|
|
7
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
|
|
|
42
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
43
37
|
profile?: string;
|
|
44
38
|
defaultUserAgentProvider: (
|
|
45
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
46
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
47
41
|
credentialDefaultProvider:
|
|
48
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
49
|
-
| ((
|
|
50
|
-
_: unknown
|
|
51
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
52
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
53
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
defaultsMode:
|
|
57
49
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
62
|
-
userAgentAppId?:
|
|
63
|
-
|
|
64
|
-
| undefined
|
|
65
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
66
|
-
retryStrategy?:
|
|
67
|
-
| import("@smithy/types").RetryStrategy
|
|
68
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
69
54
|
endpoint?:
|
|
70
55
|
| ((
|
|
71
56
|
| string
|
|
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
|
|
|
87
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
88
73
|
context?: {
|
|
89
74
|
logger?: import("@smithy/types").Logger;
|
|
90
|
-
}
|
|
75
|
+
},
|
|
91
76
|
) => import("@smithy/types").EndpointV2;
|
|
92
77
|
tls?: boolean;
|
|
93
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
|
|
|
100
85
|
signer?:
|
|
101
86
|
| import("@smithy/types").RequestSigner
|
|
102
87
|
| ((
|
|
103
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
104
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
105
90
|
signingEscapePath?: boolean;
|
|
106
91
|
systemClockOffset?: number;
|
|
107
92
|
signingRegion?: string;
|
|
108
93
|
signerConstructor?: new (
|
|
109
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
110
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
111
96
|
) => import("@smithy/types").RequestSigner;
|
|
112
97
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
2
2
|
import { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: ComputeOptimizerAutomationClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: ComputeOptimizerAutomationClientConfig) => {
|
|
6
4
|
apiVersion: string;
|
|
7
5
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
6
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
10
|
context?: {
|
|
13
11
|
logger?: import("@smithy/types").Logger;
|
|
14
|
-
}
|
|
12
|
+
},
|
|
15
13
|
) => import("@smithy/types").EndpointV2;
|
|
16
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ComputeOptimizerAutomationHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { ComputeOptimizerAutomationExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: ComputeOptimizerAutomationExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: ComputeOptimizerAutomationExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
|
9
7
|
}
|
|
10
8
|
export declare const resolveRuntimeExtensions: (
|
|
11
9
|
runtimeConfig: any,
|
|
12
|
-
extensions: RuntimeExtension[]
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
13
11
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer-automation",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Compute Optimizer Automation Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-compute-optimizer-automation",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-compute-optimizer-automation"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,18 +45,14 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.16.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
55
|
+
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
31
58
|
"devDependencies": {
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-compute-optimizer-automation",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-compute-optimizer-automation"
|
|
68
68
|
}
|
|
69
69
|
}
|