@aws-sdk/client-compute-optimizer 3.300.0 → 3.301.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-types/commands/DeleteRecommendationPreferencesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +5 -5
- package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +9 -9
- package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +7 -7
- package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +9 -9
- package/dist-types/commands/ExportECSServiceRecommendationsCommand.d.ts +7 -7
- package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +7 -7
- package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +8 -8
- package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +6 -6
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +8 -8
- package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +3 -3
- package/dist-types/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +1 -1
- package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +6 -6
- package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +4 -4
- package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +6 -6
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +2 -2
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +2 -2
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +1 -1
- package/package.json +3 -3
|
@@ -29,13 +29,13 @@ export interface DeleteRecommendationPreferencesCommandOutput extends DeleteReco
|
|
|
29
29
|
* import { ComputeOptimizerClient, DeleteRecommendationPreferencesCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
30
30
|
* // const { ComputeOptimizerClient, DeleteRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
31
31
|
* const client = new ComputeOptimizerClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DeleteRecommendationPreferencesRequest
|
|
33
33
|
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService", // required
|
|
34
|
-
* scope: {
|
|
34
|
+
* scope: { // Scope
|
|
35
35
|
* name: "Organization" || "AccountId" || "ResourceArn",
|
|
36
36
|
* value: "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
|
-
* recommendationPreferenceNames: [ // required
|
|
38
|
+
* recommendationPreferenceNames: [ // RecommendationPreferenceNames // required
|
|
39
39
|
* "EnhancedInfrastructureMetrics" || "InferredWorkloadTypes" || "ExternalMetricsPreference",
|
|
40
40
|
* ],
|
|
41
41
|
* };
|
|
@@ -29,14 +29,14 @@ export interface DescribeRecommendationExportJobsCommandOutput extends DescribeR
|
|
|
29
29
|
* import { ComputeOptimizerClient, DescribeRecommendationExportJobsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
30
30
|
* // const { ComputeOptimizerClient, DescribeRecommendationExportJobsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
31
31
|
* const client = new ComputeOptimizerClient(config);
|
|
32
|
-
* const input = {
|
|
33
|
-
* jobIds: [
|
|
32
|
+
* const input = { // DescribeRecommendationExportJobsRequest
|
|
33
|
+
* jobIds: [ // JobIds
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
|
-
* filters: [
|
|
37
|
-
* {
|
|
36
|
+
* filters: [ // JobFilters
|
|
37
|
+
* { // JobFilter
|
|
38
38
|
* name: "ResourceType" || "JobStatus",
|
|
39
|
-
* values: [
|
|
39
|
+
* values: [ // FilterValues
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* },
|
|
@@ -31,29 +31,29 @@ export interface ExportAutoScalingGroupRecommendationsCommandOutput extends Expo
|
|
|
31
31
|
* import { ComputeOptimizerClient, ExportAutoScalingGroupRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
32
32
|
* // const { ComputeOptimizerClient, ExportAutoScalingGroupRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
33
33
|
* const client = new ComputeOptimizerClient(config);
|
|
34
|
-
* const input = {
|
|
35
|
-
* accountIds: [
|
|
34
|
+
* const input = { // ExportAutoScalingGroupRecommendationsRequest
|
|
35
|
+
* accountIds: [ // AccountIds
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
|
-
* filters: [
|
|
39
|
-
* {
|
|
38
|
+
* filters: [ // Filters
|
|
39
|
+
* { // Filter
|
|
40
40
|
* name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
|
|
41
|
-
* values: [
|
|
41
|
+
* values: [ // FilterValues
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
|
-
* fieldsToExport: [
|
|
46
|
+
* fieldsToExport: [ // ExportableAutoScalingGroupFields
|
|
47
47
|
* "AccountId" || "AutoScalingGroupArn" || "AutoScalingGroupName" || "Finding" || "UtilizationMetricsCpuMaximum" || "UtilizationMetricsMemoryMaximum" || "UtilizationMetricsEbsReadOpsPerSecondMaximum" || "UtilizationMetricsEbsWriteOpsPerSecondMaximum" || "UtilizationMetricsEbsReadBytesPerSecondMaximum" || "UtilizationMetricsEbsWriteBytesPerSecondMaximum" || "UtilizationMetricsDiskReadOpsPerSecondMaximum" || "UtilizationMetricsDiskWriteOpsPerSecondMaximum" || "UtilizationMetricsDiskReadBytesPerSecondMaximum" || "UtilizationMetricsDiskWriteBytesPerSecondMaximum" || "UtilizationMetricsNetworkInBytesPerSecondMaximum" || "UtilizationMetricsNetworkOutBytesPerSecondMaximum" || "UtilizationMetricsNetworkPacketsInPerSecondMaximum" || "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" || "LookbackPeriodInDays" || "CurrentConfigurationInstanceType" || "CurrentConfigurationDesiredCapacity" || "CurrentConfigurationMinSize" || "CurrentConfigurationMaxSize" || "CurrentOnDemandPrice" || "CurrentStandardOneYearNoUpfrontReservedPrice" || "CurrentStandardThreeYearNoUpfrontReservedPrice" || "CurrentVCpus" || "CurrentMemory" || "CurrentStorage" || "CurrentNetwork" || "RecommendationOptionsConfigurationInstanceType" || "RecommendationOptionsConfigurationDesiredCapacity" || "RecommendationOptionsConfigurationMinSize" || "RecommendationOptionsConfigurationMaxSize" || "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" || "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" || "RecommendationOptionsPerformanceRisk" || "RecommendationOptionsOnDemandPrice" || "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" || "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" || "RecommendationOptionsVcpus" || "RecommendationOptionsMemory" || "RecommendationOptionsStorage" || "RecommendationOptionsNetwork" || "LastRefreshTimestamp" || "CurrentPerformanceRisk" || "RecommendationOptionsSavingsOpportunityPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrency" || "RecommendationOptionsEstimatedMonthlySavingsValue" || "EffectiveRecommendationPreferencesCpuVendorArchitectures" || "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" || "EffectiveRecommendationPreferencesInferredWorkloadTypes" || "InferredWorkloadTypes" || "RecommendationOptionsMigrationEffort",
|
|
48
48
|
* ],
|
|
49
|
-
* s3DestinationConfig: {
|
|
49
|
+
* s3DestinationConfig: { // S3DestinationConfig
|
|
50
50
|
* bucket: "STRING_VALUE",
|
|
51
51
|
* keyPrefix: "STRING_VALUE",
|
|
52
52
|
* },
|
|
53
53
|
* fileFormat: "Csv",
|
|
54
54
|
* includeMemberAccounts: true || false,
|
|
55
|
-
* recommendationPreferences: {
|
|
56
|
-
* cpuVendorArchitectures: [
|
|
55
|
+
* recommendationPreferences: { // RecommendationPreferences
|
|
56
|
+
* cpuVendorArchitectures: [ // CpuVendorArchitectures
|
|
57
57
|
* "AWS_ARM64" || "CURRENT",
|
|
58
58
|
* ],
|
|
59
59
|
* },
|
|
@@ -31,22 +31,22 @@ export interface ExportEBSVolumeRecommendationsCommandOutput extends ExportEBSVo
|
|
|
31
31
|
* import { ComputeOptimizerClient, ExportEBSVolumeRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
32
32
|
* // const { ComputeOptimizerClient, ExportEBSVolumeRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
33
33
|
* const client = new ComputeOptimizerClient(config);
|
|
34
|
-
* const input = {
|
|
35
|
-
* accountIds: [
|
|
34
|
+
* const input = { // ExportEBSVolumeRecommendationsRequest
|
|
35
|
+
* accountIds: [ // AccountIds
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
|
-
* filters: [
|
|
39
|
-
* {
|
|
38
|
+
* filters: [ // EBSFilters
|
|
39
|
+
* { // EBSFilter
|
|
40
40
|
* name: "Finding",
|
|
41
|
-
* values: [
|
|
41
|
+
* values: [ // FilterValues
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
|
-
* fieldsToExport: [
|
|
46
|
+
* fieldsToExport: [ // ExportableVolumeFields
|
|
47
47
|
* "AccountId" || "VolumeArn" || "Finding" || "UtilizationMetricsVolumeReadOpsPerSecondMaximum" || "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" || "UtilizationMetricsVolumeReadBytesPerSecondMaximum" || "UtilizationMetricsVolumeWriteBytesPerSecondMaximum" || "LookbackPeriodInDays" || "CurrentConfigurationVolumeType" || "CurrentConfigurationVolumeBaselineIOPS" || "CurrentConfigurationVolumeBaselineThroughput" || "CurrentConfigurationVolumeBurstIOPS" || "CurrentConfigurationVolumeBurstThroughput" || "CurrentConfigurationVolumeSize" || "CurrentMonthlyPrice" || "RecommendationOptionsConfigurationVolumeType" || "RecommendationOptionsConfigurationVolumeBaselineIOPS" || "RecommendationOptionsConfigurationVolumeBaselineThroughput" || "RecommendationOptionsConfigurationVolumeBurstIOPS" || "RecommendationOptionsConfigurationVolumeBurstThroughput" || "RecommendationOptionsConfigurationVolumeSize" || "RecommendationOptionsMonthlyPrice" || "RecommendationOptionsPerformanceRisk" || "LastRefreshTimestamp" || "CurrentPerformanceRisk" || "RecommendationOptionsSavingsOpportunityPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrency" || "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
48
48
|
* ],
|
|
49
|
-
* s3DestinationConfig: {
|
|
49
|
+
* s3DestinationConfig: { // S3DestinationConfig
|
|
50
50
|
* bucket: "STRING_VALUE",
|
|
51
51
|
* keyPrefix: "STRING_VALUE",
|
|
52
52
|
* },
|
|
@@ -31,29 +31,29 @@ export interface ExportEC2InstanceRecommendationsCommandOutput extends ExportEC2
|
|
|
31
31
|
* import { ComputeOptimizerClient, ExportEC2InstanceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
32
32
|
* // const { ComputeOptimizerClient, ExportEC2InstanceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
33
33
|
* const client = new ComputeOptimizerClient(config);
|
|
34
|
-
* const input = {
|
|
35
|
-
* accountIds: [
|
|
34
|
+
* const input = { // ExportEC2InstanceRecommendationsRequest
|
|
35
|
+
* accountIds: [ // AccountIds
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
|
-
* filters: [
|
|
39
|
-
* {
|
|
38
|
+
* filters: [ // Filters
|
|
39
|
+
* { // Filter
|
|
40
40
|
* name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
|
|
41
|
-
* values: [
|
|
41
|
+
* values: [ // FilterValues
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
|
-
* fieldsToExport: [
|
|
46
|
+
* fieldsToExport: [ // ExportableInstanceFields
|
|
47
47
|
* "AccountId" || "InstanceArn" || "InstanceName" || "Finding" || "FindingReasonCodes" || "LookbackPeriodInDays" || "CurrentInstanceType" || "UtilizationMetricsCpuMaximum" || "UtilizationMetricsMemoryMaximum" || "UtilizationMetricsEbsReadOpsPerSecondMaximum" || "UtilizationMetricsEbsWriteOpsPerSecondMaximum" || "UtilizationMetricsEbsReadBytesPerSecondMaximum" || "UtilizationMetricsEbsWriteBytesPerSecondMaximum" || "UtilizationMetricsDiskReadOpsPerSecondMaximum" || "UtilizationMetricsDiskWriteOpsPerSecondMaximum" || "UtilizationMetricsDiskReadBytesPerSecondMaximum" || "UtilizationMetricsDiskWriteBytesPerSecondMaximum" || "UtilizationMetricsNetworkInBytesPerSecondMaximum" || "UtilizationMetricsNetworkOutBytesPerSecondMaximum" || "UtilizationMetricsNetworkPacketsInPerSecondMaximum" || "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" || "CurrentOnDemandPrice" || "CurrentStandardOneYearNoUpfrontReservedPrice" || "CurrentStandardThreeYearNoUpfrontReservedPrice" || "CurrentVCpus" || "CurrentMemory" || "CurrentStorage" || "CurrentNetwork" || "RecommendationOptionsInstanceType" || "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" || "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" || "RecommendationOptionsPlatformDifferences" || "RecommendationOptionsPerformanceRisk" || "RecommendationOptionsVcpus" || "RecommendationOptionsMemory" || "RecommendationOptionsStorage" || "RecommendationOptionsNetwork" || "RecommendationOptionsOnDemandPrice" || "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" || "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" || "RecommendationsSourcesRecommendationSourceArn" || "RecommendationsSourcesRecommendationSourceType" || "LastRefreshTimestamp" || "CurrentPerformanceRisk" || "RecommendationOptionsSavingsOpportunityPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrency" || "RecommendationOptionsEstimatedMonthlySavingsValue" || "EffectiveRecommendationPreferencesCpuVendorArchitectures" || "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" || "EffectiveRecommendationPreferencesInferredWorkloadTypes" || "InferredWorkloadTypes" || "RecommendationOptionsMigrationEffort" || "EffectiveRecommendationPreferencesExternalMetricsSource",
|
|
48
48
|
* ],
|
|
49
|
-
* s3DestinationConfig: {
|
|
49
|
+
* s3DestinationConfig: { // S3DestinationConfig
|
|
50
50
|
* bucket: "STRING_VALUE",
|
|
51
51
|
* keyPrefix: "STRING_VALUE",
|
|
52
52
|
* },
|
|
53
53
|
* fileFormat: "Csv",
|
|
54
54
|
* includeMemberAccounts: true || false,
|
|
55
|
-
* recommendationPreferences: {
|
|
56
|
-
* cpuVendorArchitectures: [
|
|
55
|
+
* recommendationPreferences: { // RecommendationPreferences
|
|
56
|
+
* cpuVendorArchitectures: [ // CpuVendorArchitectures
|
|
57
57
|
* "AWS_ARM64" || "CURRENT",
|
|
58
58
|
* ],
|
|
59
59
|
* },
|
|
@@ -33,22 +33,22 @@ export interface ExportECSServiceRecommendationsCommandOutput extends ExportECSS
|
|
|
33
33
|
* import { ComputeOptimizerClient, ExportECSServiceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
34
34
|
* // const { ComputeOptimizerClient, ExportECSServiceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
35
35
|
* const client = new ComputeOptimizerClient(config);
|
|
36
|
-
* const input = {
|
|
37
|
-
* accountIds: [
|
|
36
|
+
* const input = { // ExportECSServiceRecommendationsRequest
|
|
37
|
+
* accountIds: [ // AccountIds
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
|
-
* filters: [
|
|
41
|
-
* {
|
|
40
|
+
* filters: [ // ECSServiceRecommendationFilters
|
|
41
|
+
* { // ECSServiceRecommendationFilter
|
|
42
42
|
* name: "Finding" || "FindingReasonCode",
|
|
43
|
-
* values: [
|
|
43
|
+
* values: [ // FilterValues
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
46
|
* },
|
|
47
47
|
* ],
|
|
48
|
-
* fieldsToExport: [
|
|
48
|
+
* fieldsToExport: [ // ExportableECSServiceFields
|
|
49
49
|
* "AccountId" || "ServiceArn" || "LookbackPeriodInDays" || "LastRefreshTimestamp" || "LaunchType" || "CurrentPerformanceRisk" || "CurrentServiceConfigurationMemory" || "CurrentServiceConfigurationCpu" || "CurrentServiceConfigurationTaskDefinitionArn" || "CurrentServiceConfigurationAutoScalingConfiguration" || "CurrentServiceContainerConfigurations" || "UtilizationMetricsCpuMaximum" || "UtilizationMetricsMemoryMaximum" || "Finding" || "FindingReasonCodes" || "RecommendationOptionsMemory" || "RecommendationOptionsCpu" || "RecommendationOptionsSavingsOpportunityPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrency" || "RecommendationOptionsEstimatedMonthlySavingsValue" || "RecommendationOptionsContainerRecommendations" || "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" || "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum",
|
|
50
50
|
* ],
|
|
51
|
-
* s3DestinationConfig: {
|
|
51
|
+
* s3DestinationConfig: { // S3DestinationConfig
|
|
52
52
|
* bucket: "STRING_VALUE",
|
|
53
53
|
* keyPrefix: "STRING_VALUE",
|
|
54
54
|
* },
|
|
@@ -31,22 +31,22 @@ export interface ExportLambdaFunctionRecommendationsCommandOutput extends Export
|
|
|
31
31
|
* import { ComputeOptimizerClient, ExportLambdaFunctionRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
32
32
|
* // const { ComputeOptimizerClient, ExportLambdaFunctionRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
33
33
|
* const client = new ComputeOptimizerClient(config);
|
|
34
|
-
* const input = {
|
|
35
|
-
* accountIds: [
|
|
34
|
+
* const input = { // ExportLambdaFunctionRecommendationsRequest
|
|
35
|
+
* accountIds: [ // AccountIds
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
|
-
* filters: [
|
|
39
|
-
* {
|
|
38
|
+
* filters: [ // LambdaFunctionRecommendationFilters
|
|
39
|
+
* { // LambdaFunctionRecommendationFilter
|
|
40
40
|
* name: "Finding" || "FindingReasonCode",
|
|
41
|
-
* values: [
|
|
41
|
+
* values: [ // FilterValues
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
|
-
* fieldsToExport: [
|
|
46
|
+
* fieldsToExport: [ // ExportableLambdaFunctionFields
|
|
47
47
|
* "AccountId" || "FunctionArn" || "FunctionVersion" || "Finding" || "FindingReasonCodes" || "NumberOfInvocations" || "UtilizationMetricsDurationMaximum" || "UtilizationMetricsDurationAverage" || "UtilizationMetricsMemoryMaximum" || "UtilizationMetricsMemoryAverage" || "LookbackPeriodInDays" || "CurrentConfigurationMemorySize" || "CurrentConfigurationTimeout" || "CurrentCostTotal" || "CurrentCostAverage" || "RecommendationOptionsConfigurationMemorySize" || "RecommendationOptionsCostLow" || "RecommendationOptionsCostHigh" || "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound" || "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound" || "RecommendationOptionsProjectedUtilizationMetricsDurationExpected" || "LastRefreshTimestamp" || "CurrentPerformanceRisk" || "RecommendationOptionsSavingsOpportunityPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrency" || "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
48
48
|
* ],
|
|
49
|
-
* s3DestinationConfig: {
|
|
49
|
+
* s3DestinationConfig: { // S3DestinationConfig
|
|
50
50
|
* bucket: "STRING_VALUE",
|
|
51
51
|
* keyPrefix: "STRING_VALUE",
|
|
52
52
|
* },
|
|
@@ -30,25 +30,25 @@ export interface GetAutoScalingGroupRecommendationsCommandOutput extends GetAuto
|
|
|
30
30
|
* import { ComputeOptimizerClient, GetAutoScalingGroupRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
31
31
|
* // const { ComputeOptimizerClient, GetAutoScalingGroupRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
32
32
|
* const client = new ComputeOptimizerClient(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* accountIds: [
|
|
33
|
+
* const input = { // GetAutoScalingGroupRecommendationsRequest
|
|
34
|
+
* accountIds: [ // AccountIds
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
|
-
* autoScalingGroupArns: [
|
|
37
|
+
* autoScalingGroupArns: [ // AutoScalingGroupArns
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* nextToken: "STRING_VALUE",
|
|
41
41
|
* maxResults: Number("int"),
|
|
42
|
-
* filters: [
|
|
43
|
-
* {
|
|
42
|
+
* filters: [ // Filters
|
|
43
|
+
* { // Filter
|
|
44
44
|
* name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
|
|
45
|
-
* values: [
|
|
45
|
+
* values: [ // FilterValues
|
|
46
46
|
* "STRING_VALUE",
|
|
47
47
|
* ],
|
|
48
48
|
* },
|
|
49
49
|
* ],
|
|
50
|
-
* recommendationPreferences: {
|
|
51
|
-
* cpuVendorArchitectures: [
|
|
50
|
+
* recommendationPreferences: { // RecommendationPreferences
|
|
51
|
+
* cpuVendorArchitectures: [ // CpuVendorArchitectures
|
|
52
52
|
* "AWS_ARM64" || "CURRENT",
|
|
53
53
|
* ],
|
|
54
54
|
* },
|
|
@@ -30,21 +30,21 @@ export interface GetEBSVolumeRecommendationsCommandOutput extends GetEBSVolumeRe
|
|
|
30
30
|
* import { ComputeOptimizerClient, GetEBSVolumeRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
31
31
|
* // const { ComputeOptimizerClient, GetEBSVolumeRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
32
32
|
* const client = new ComputeOptimizerClient(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* volumeArns: [
|
|
33
|
+
* const input = { // GetEBSVolumeRecommendationsRequest
|
|
34
|
+
* volumeArns: [ // VolumeArns
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* nextToken: "STRING_VALUE",
|
|
38
38
|
* maxResults: Number("int"),
|
|
39
|
-
* filters: [
|
|
40
|
-
* {
|
|
39
|
+
* filters: [ // EBSFilters
|
|
40
|
+
* { // EBSFilter
|
|
41
41
|
* name: "Finding",
|
|
42
|
-
* values: [
|
|
42
|
+
* values: [ // FilterValues
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
47
|
-
* accountIds: [
|
|
47
|
+
* accountIds: [ // AccountIds
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* };
|
|
@@ -30,25 +30,25 @@ export interface GetEC2InstanceRecommendationsCommandOutput extends GetEC2Instan
|
|
|
30
30
|
* import { ComputeOptimizerClient, GetEC2InstanceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
31
31
|
* // const { ComputeOptimizerClient, GetEC2InstanceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
32
32
|
* const client = new ComputeOptimizerClient(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* instanceArns: [
|
|
33
|
+
* const input = { // GetEC2InstanceRecommendationsRequest
|
|
34
|
+
* instanceArns: [ // InstanceArns
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* nextToken: "STRING_VALUE",
|
|
38
38
|
* maxResults: Number("int"),
|
|
39
|
-
* filters: [
|
|
40
|
-
* {
|
|
39
|
+
* filters: [ // Filters
|
|
40
|
+
* { // Filter
|
|
41
41
|
* name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
|
|
42
|
-
* values: [
|
|
42
|
+
* values: [ // FilterValues
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
47
|
-
* accountIds: [
|
|
47
|
+
* accountIds: [ // AccountIds
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
|
-
* recommendationPreferences: {
|
|
51
|
-
* cpuVendorArchitectures: [
|
|
50
|
+
* recommendationPreferences: { // RecommendationPreferences
|
|
51
|
+
* cpuVendorArchitectures: [ // CpuVendorArchitectures
|
|
52
52
|
* "AWS_ARM64" || "CURRENT",
|
|
53
53
|
* ],
|
|
54
54
|
* },
|
|
@@ -33,14 +33,14 @@ export interface GetEC2RecommendationProjectedMetricsCommandOutput extends GetEC
|
|
|
33
33
|
* import { ComputeOptimizerClient, GetEC2RecommendationProjectedMetricsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
34
34
|
* // const { ComputeOptimizerClient, GetEC2RecommendationProjectedMetricsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
35
35
|
* const client = new ComputeOptimizerClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // GetEC2RecommendationProjectedMetricsRequest
|
|
37
37
|
* instanceArn: "STRING_VALUE", // required
|
|
38
38
|
* stat: "Maximum" || "Average", // required
|
|
39
39
|
* period: Number("int"), // required
|
|
40
40
|
* startTime: new Date("TIMESTAMP"), // required
|
|
41
41
|
* endTime: new Date("TIMESTAMP"), // required
|
|
42
|
-
* recommendationPreferences: {
|
|
43
|
-
* cpuVendorArchitectures: [
|
|
42
|
+
* recommendationPreferences: { // RecommendationPreferences
|
|
43
|
+
* cpuVendorArchitectures: [ // CpuVendorArchitectures
|
|
44
44
|
* "AWS_ARM64" || "CURRENT",
|
|
45
45
|
* ],
|
|
46
46
|
* },
|
|
@@ -28,7 +28,7 @@ export interface GetECSServiceRecommendationProjectedMetricsCommandOutput extend
|
|
|
28
28
|
* import { ComputeOptimizerClient, GetECSServiceRecommendationProjectedMetricsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
29
29
|
* // const { ComputeOptimizerClient, GetECSServiceRecommendationProjectedMetricsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
30
30
|
* const client = new ComputeOptimizerClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // GetECSServiceRecommendationProjectedMetricsRequest
|
|
32
32
|
* serviceArn: "STRING_VALUE", // required
|
|
33
33
|
* stat: "Maximum" || "Average", // required
|
|
34
34
|
* period: Number("int"), // required
|
|
@@ -35,21 +35,21 @@ export interface GetECSServiceRecommendationsCommandOutput extends GetECSService
|
|
|
35
35
|
* import { ComputeOptimizerClient, GetECSServiceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
36
36
|
* // const { ComputeOptimizerClient, GetECSServiceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
37
37
|
* const client = new ComputeOptimizerClient(config);
|
|
38
|
-
* const input = {
|
|
39
|
-
* serviceArns: [
|
|
38
|
+
* const input = { // GetECSServiceRecommendationsRequest
|
|
39
|
+
* serviceArns: [ // ServiceArns
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* nextToken: "STRING_VALUE",
|
|
43
43
|
* maxResults: Number("int"),
|
|
44
|
-
* filters: [
|
|
45
|
-
* {
|
|
44
|
+
* filters: [ // ECSServiceRecommendationFilters
|
|
45
|
+
* { // ECSServiceRecommendationFilter
|
|
46
46
|
* name: "Finding" || "FindingReasonCode",
|
|
47
|
-
* values: [
|
|
47
|
+
* values: [ // FilterValues
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* },
|
|
51
51
|
* ],
|
|
52
|
-
* accountIds: [
|
|
52
|
+
* accountIds: [ // AccountIds
|
|
53
53
|
* "STRING_VALUE",
|
|
54
54
|
* ],
|
|
55
55
|
* };
|
|
@@ -31,7 +31,7 @@ export interface GetEffectiveRecommendationPreferencesCommandOutput extends GetE
|
|
|
31
31
|
* import { ComputeOptimizerClient, GetEffectiveRecommendationPreferencesCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
32
32
|
* // const { ComputeOptimizerClient, GetEffectiveRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
33
33
|
* const client = new ComputeOptimizerClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // GetEffectiveRecommendationPreferencesRequest
|
|
35
35
|
* resourceArn: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
37
37
|
* const command = new GetEffectiveRecommendationPreferencesCommand(input);
|
|
@@ -28,11 +28,11 @@ export interface GetEnrollmentStatusesForOrganizationCommandOutput extends GetEn
|
|
|
28
28
|
* import { ComputeOptimizerClient, GetEnrollmentStatusesForOrganizationCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
29
29
|
* // const { ComputeOptimizerClient, GetEnrollmentStatusesForOrganizationCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
30
30
|
* const client = new ComputeOptimizerClient(config);
|
|
31
|
-
* const input = {
|
|
32
|
-
* filters: [
|
|
33
|
-
* {
|
|
31
|
+
* const input = { // GetEnrollmentStatusesForOrganizationRequest
|
|
32
|
+
* filters: [ // EnrollmentFilters
|
|
33
|
+
* { // EnrollmentFilter
|
|
34
34
|
* name: "Status",
|
|
35
|
-
* values: [
|
|
35
|
+
* values: [ // FilterValues
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
38
|
* },
|
|
@@ -30,17 +30,17 @@ export interface GetLambdaFunctionRecommendationsCommandOutput extends GetLambda
|
|
|
30
30
|
* import { ComputeOptimizerClient, GetLambdaFunctionRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
31
31
|
* // const { ComputeOptimizerClient, GetLambdaFunctionRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
32
32
|
* const client = new ComputeOptimizerClient(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* functionArns: [
|
|
33
|
+
* const input = { // GetLambdaFunctionRecommendationsRequest
|
|
34
|
+
* functionArns: [ // FunctionArns
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
|
-
* accountIds: [
|
|
37
|
+
* accountIds: [ // AccountIds
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
|
-
* filters: [
|
|
41
|
-
* {
|
|
40
|
+
* filters: [ // LambdaFunctionRecommendationFilters
|
|
41
|
+
* { // LambdaFunctionRecommendationFilter
|
|
42
42
|
* name: "Finding" || "FindingReasonCode",
|
|
43
|
-
* values: [
|
|
43
|
+
* values: [ // FilterValues
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
46
|
* },
|
|
@@ -33,9 +33,9 @@ export interface GetRecommendationPreferencesCommandOutput extends GetRecommenda
|
|
|
33
33
|
* import { ComputeOptimizerClient, GetRecommendationPreferencesCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
34
34
|
* // const { ComputeOptimizerClient, GetRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
35
35
|
* const client = new ComputeOptimizerClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // GetRecommendationPreferencesRequest
|
|
37
37
|
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService", // required
|
|
38
|
-
* scope: {
|
|
38
|
+
* scope: { // Scope
|
|
39
39
|
* name: "Organization" || "AccountId" || "ResourceArn",
|
|
40
40
|
* value: "STRING_VALUE",
|
|
41
41
|
* },
|
|
@@ -50,8 +50,8 @@ export interface GetRecommendationSummariesCommandOutput extends GetRecommendati
|
|
|
50
50
|
* import { ComputeOptimizerClient, GetRecommendationSummariesCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
51
51
|
* // const { ComputeOptimizerClient, GetRecommendationSummariesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
52
52
|
* const client = new ComputeOptimizerClient(config);
|
|
53
|
-
* const input = {
|
|
54
|
-
* accountIds: [
|
|
53
|
+
* const input = { // GetRecommendationSummariesRequest
|
|
54
|
+
* accountIds: [ // AccountIds
|
|
55
55
|
* "STRING_VALUE",
|
|
56
56
|
* ],
|
|
57
57
|
* nextToken: "STRING_VALUE",
|
|
@@ -30,15 +30,15 @@ export interface PutRecommendationPreferencesCommandOutput extends PutRecommenda
|
|
|
30
30
|
* import { ComputeOptimizerClient, PutRecommendationPreferencesCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
31
31
|
* // const { ComputeOptimizerClient, PutRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
32
32
|
* const client = new ComputeOptimizerClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // PutRecommendationPreferencesRequest
|
|
34
34
|
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService", // required
|
|
35
|
-
* scope: {
|
|
35
|
+
* scope: { // Scope
|
|
36
36
|
* name: "Organization" || "AccountId" || "ResourceArn",
|
|
37
37
|
* value: "STRING_VALUE",
|
|
38
38
|
* },
|
|
39
39
|
* enhancedInfrastructureMetrics: "Active" || "Inactive",
|
|
40
40
|
* inferredWorkloadTypes: "Active" || "Inactive",
|
|
41
|
-
* externalMetricsPreference: {
|
|
41
|
+
* externalMetricsPreference: { // ExternalMetricsPreference
|
|
42
42
|
* source: "Datadog" || "Dynatrace" || "NewRelic" || "Instana",
|
|
43
43
|
* },
|
|
44
44
|
* };
|
|
@@ -33,7 +33,7 @@ export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentSta
|
|
|
33
33
|
* import { ComputeOptimizerClient, UpdateEnrollmentStatusCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
34
34
|
* // const { ComputeOptimizerClient, UpdateEnrollmentStatusCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
35
35
|
* const client = new ComputeOptimizerClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // UpdateEnrollmentStatusRequest
|
|
37
37
|
* status: "Active" || "Inactive" || "Pending" || "Failed", // required
|
|
38
38
|
* includeMemberAccounts: true || false,
|
|
39
39
|
* };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|