@aws-sdk/client-compute-optimizer 3.299.0 → 3.300.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.
Files changed (22) hide show
  1. package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +10 -0
  2. package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +15 -0
  3. package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +27 -0
  4. package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +22 -0
  5. package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +27 -0
  6. package/dist-types/commands/ExportECSServiceRecommendationsCommand.d.ts +22 -0
  7. package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +22 -0
  8. package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +23 -0
  9. package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +18 -0
  10. package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +23 -0
  11. package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +12 -0
  12. package/dist-types/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +7 -0
  13. package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +18 -0
  14. package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +3 -0
  15. package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +1 -0
  16. package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +12 -0
  17. package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +18 -0
  18. package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +9 -0
  19. package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +7 -0
  20. package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +12 -0
  21. package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +4 -0
  22. package/package.json +8 -8
@@ -29,6 +29,16 @@ 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 = {
33
+ * resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService", // required
34
+ * scope: {
35
+ * name: "Organization" || "AccountId" || "ResourceArn",
36
+ * value: "STRING_VALUE",
37
+ * },
38
+ * recommendationPreferenceNames: [ // required
39
+ * "EnhancedInfrastructureMetrics" || "InferredWorkloadTypes" || "ExternalMetricsPreference",
40
+ * ],
41
+ * };
32
42
  * const command = new DeleteRecommendationPreferencesCommand(input);
33
43
  * const response = await client.send(command);
34
44
  * ```
@@ -29,6 +29,21 @@ 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: [
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * filters: [
37
+ * {
38
+ * name: "ResourceType" || "JobStatus",
39
+ * values: [
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * },
43
+ * ],
44
+ * nextToken: "STRING_VALUE",
45
+ * maxResults: Number("int"),
46
+ * };
32
47
  * const command = new DescribeRecommendationExportJobsCommand(input);
33
48
  * const response = await client.send(command);
34
49
  * ```
@@ -31,6 +31,33 @@ 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: [
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * filters: [
39
+ * {
40
+ * name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
41
+ * values: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * fieldsToExport: [
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
+ * ],
49
+ * s3DestinationConfig: {
50
+ * bucket: "STRING_VALUE",
51
+ * keyPrefix: "STRING_VALUE",
52
+ * },
53
+ * fileFormat: "Csv",
54
+ * includeMemberAccounts: true || false,
55
+ * recommendationPreferences: {
56
+ * cpuVendorArchitectures: [
57
+ * "AWS_ARM64" || "CURRENT",
58
+ * ],
59
+ * },
60
+ * };
34
61
  * const command = new ExportAutoScalingGroupRecommendationsCommand(input);
35
62
  * const response = await client.send(command);
36
63
  * ```
@@ -31,6 +31,28 @@ 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: [
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * filters: [
39
+ * {
40
+ * name: "Finding",
41
+ * values: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * fieldsToExport: [
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
+ * ],
49
+ * s3DestinationConfig: {
50
+ * bucket: "STRING_VALUE",
51
+ * keyPrefix: "STRING_VALUE",
52
+ * },
53
+ * fileFormat: "Csv",
54
+ * includeMemberAccounts: true || false,
55
+ * };
34
56
  * const command = new ExportEBSVolumeRecommendationsCommand(input);
35
57
  * const response = await client.send(command);
36
58
  * ```
@@ -31,6 +31,33 @@ 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: [
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * filters: [
39
+ * {
40
+ * name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
41
+ * values: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * fieldsToExport: [
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
+ * ],
49
+ * s3DestinationConfig: {
50
+ * bucket: "STRING_VALUE",
51
+ * keyPrefix: "STRING_VALUE",
52
+ * },
53
+ * fileFormat: "Csv",
54
+ * includeMemberAccounts: true || false,
55
+ * recommendationPreferences: {
56
+ * cpuVendorArchitectures: [
57
+ * "AWS_ARM64" || "CURRENT",
58
+ * ],
59
+ * },
60
+ * };
34
61
  * const command = new ExportEC2InstanceRecommendationsCommand(input);
35
62
  * const response = await client.send(command);
36
63
  * ```
@@ -33,6 +33,28 @@ 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: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * filters: [
41
+ * {
42
+ * name: "Finding" || "FindingReasonCode",
43
+ * values: [
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * ],
48
+ * fieldsToExport: [
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
+ * ],
51
+ * s3DestinationConfig: {
52
+ * bucket: "STRING_VALUE",
53
+ * keyPrefix: "STRING_VALUE",
54
+ * },
55
+ * fileFormat: "Csv",
56
+ * includeMemberAccounts: true || false,
57
+ * };
36
58
  * const command = new ExportECSServiceRecommendationsCommand(input);
37
59
  * const response = await client.send(command);
38
60
  * ```
@@ -31,6 +31,28 @@ 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: [
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * filters: [
39
+ * {
40
+ * name: "Finding" || "FindingReasonCode",
41
+ * values: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * fieldsToExport: [
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
+ * ],
49
+ * s3DestinationConfig: {
50
+ * bucket: "STRING_VALUE",
51
+ * keyPrefix: "STRING_VALUE",
52
+ * },
53
+ * fileFormat: "Csv",
54
+ * includeMemberAccounts: true || false,
55
+ * };
34
56
  * const command = new ExportLambdaFunctionRecommendationsCommand(input);
35
57
  * const response = await client.send(command);
36
58
  * ```
@@ -30,6 +30,29 @@ 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: [
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * autoScalingGroupArns: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * filters: [
43
+ * {
44
+ * name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
45
+ * values: [
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * },
49
+ * ],
50
+ * recommendationPreferences: {
51
+ * cpuVendorArchitectures: [
52
+ * "AWS_ARM64" || "CURRENT",
53
+ * ],
54
+ * },
55
+ * };
33
56
  * const command = new GetAutoScalingGroupRecommendationsCommand(input);
34
57
  * const response = await client.send(command);
35
58
  * ```
@@ -30,6 +30,24 @@ 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: [
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * nextToken: "STRING_VALUE",
38
+ * maxResults: Number("int"),
39
+ * filters: [
40
+ * {
41
+ * name: "Finding",
42
+ * values: [
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * },
46
+ * ],
47
+ * accountIds: [
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * };
33
51
  * const command = new GetEBSVolumeRecommendationsCommand(input);
34
52
  * const response = await client.send(command);
35
53
  * ```
@@ -30,6 +30,29 @@ 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: [
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * nextToken: "STRING_VALUE",
38
+ * maxResults: Number("int"),
39
+ * filters: [
40
+ * {
41
+ * name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
42
+ * values: [
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * },
46
+ * ],
47
+ * accountIds: [
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * recommendationPreferences: {
51
+ * cpuVendorArchitectures: [
52
+ * "AWS_ARM64" || "CURRENT",
53
+ * ],
54
+ * },
55
+ * };
33
56
  * const command = new GetEC2InstanceRecommendationsCommand(input);
34
57
  * const response = await client.send(command);
35
58
  * ```
@@ -33,6 +33,18 @@ 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 = {
37
+ * instanceArn: "STRING_VALUE", // required
38
+ * stat: "Maximum" || "Average", // required
39
+ * period: Number("int"), // required
40
+ * startTime: new Date("TIMESTAMP"), // required
41
+ * endTime: new Date("TIMESTAMP"), // required
42
+ * recommendationPreferences: {
43
+ * cpuVendorArchitectures: [
44
+ * "AWS_ARM64" || "CURRENT",
45
+ * ],
46
+ * },
47
+ * };
36
48
  * const command = new GetEC2RecommendationProjectedMetricsCommand(input);
37
49
  * const response = await client.send(command);
38
50
  * ```
@@ -28,6 +28,13 @@ 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 = {
32
+ * serviceArn: "STRING_VALUE", // required
33
+ * stat: "Maximum" || "Average", // required
34
+ * period: Number("int"), // required
35
+ * startTime: new Date("TIMESTAMP"), // required
36
+ * endTime: new Date("TIMESTAMP"), // required
37
+ * };
31
38
  * const command = new GetECSServiceRecommendationProjectedMetricsCommand(input);
32
39
  * const response = await client.send(command);
33
40
  * ```
@@ -35,6 +35,24 @@ 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: [
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * nextToken: "STRING_VALUE",
43
+ * maxResults: Number("int"),
44
+ * filters: [
45
+ * {
46
+ * name: "Finding" || "FindingReasonCode",
47
+ * values: [
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * },
51
+ * ],
52
+ * accountIds: [
53
+ * "STRING_VALUE",
54
+ * ],
55
+ * };
38
56
  * const command = new GetECSServiceRecommendationsCommand(input);
39
57
  * const response = await client.send(command);
40
58
  * ```
@@ -31,6 +31,9 @@ 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 = {
35
+ * resourceArn: "STRING_VALUE", // required
36
+ * };
34
37
  * const command = new GetEffectiveRecommendationPreferencesCommand(input);
35
38
  * const response = await client.send(command);
36
39
  * ```
@@ -30,6 +30,7 @@ export interface GetEnrollmentStatusCommandOutput extends GetEnrollmentStatusRes
30
30
  * import { ComputeOptimizerClient, GetEnrollmentStatusCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
31
31
  * // const { ComputeOptimizerClient, GetEnrollmentStatusCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
32
32
  * const client = new ComputeOptimizerClient(config);
33
+ * const input = {};
33
34
  * const command = new GetEnrollmentStatusCommand(input);
34
35
  * const response = await client.send(command);
35
36
  * ```
@@ -28,6 +28,18 @@ 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
+ * {
34
+ * name: "Status",
35
+ * values: [
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * },
39
+ * ],
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * };
31
43
  * const command = new GetEnrollmentStatusesForOrganizationCommand(input);
32
44
  * const response = await client.send(command);
33
45
  * ```
@@ -30,6 +30,24 @@ 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: [
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * accountIds: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * filters: [
41
+ * {
42
+ * name: "Finding" || "FindingReasonCode",
43
+ * values: [
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * ],
48
+ * nextToken: "STRING_VALUE",
49
+ * maxResults: Number("int"),
50
+ * };
33
51
  * const command = new GetLambdaFunctionRecommendationsCommand(input);
34
52
  * const response = await client.send(command);
35
53
  * ```
@@ -33,6 +33,15 @@ 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 = {
37
+ * resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService", // required
38
+ * scope: {
39
+ * name: "Organization" || "AccountId" || "ResourceArn",
40
+ * value: "STRING_VALUE",
41
+ * },
42
+ * nextToken: "STRING_VALUE",
43
+ * maxResults: Number("int"),
44
+ * };
36
45
  * const command = new GetRecommendationPreferencesCommand(input);
37
46
  * const response = await client.send(command);
38
47
  * ```
@@ -50,6 +50,13 @@ 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: [
55
+ * "STRING_VALUE",
56
+ * ],
57
+ * nextToken: "STRING_VALUE",
58
+ * maxResults: Number("int"),
59
+ * };
53
60
  * const command = new GetRecommendationSummariesCommand(input);
54
61
  * const response = await client.send(command);
55
62
  * ```
@@ -30,6 +30,18 @@ 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 = {
34
+ * resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService", // required
35
+ * scope: {
36
+ * name: "Organization" || "AccountId" || "ResourceArn",
37
+ * value: "STRING_VALUE",
38
+ * },
39
+ * enhancedInfrastructureMetrics: "Active" || "Inactive",
40
+ * inferredWorkloadTypes: "Active" || "Inactive",
41
+ * externalMetricsPreference: {
42
+ * source: "Datadog" || "Dynatrace" || "NewRelic" || "Instana",
43
+ * },
44
+ * };
33
45
  * const command = new PutRecommendationPreferencesCommand(input);
34
46
  * const response = await client.send(command);
35
47
  * ```
@@ -33,6 +33,10 @@ 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 = {
37
+ * status: "Active" || "Inactive" || "Pending" || "Failed", // required
38
+ * includeMemberAccounts: true || false,
39
+ * };
36
40
  * const command = new UpdateEnrollmentStatusCommand(input);
37
41
  * const response = await client.send(command);
38
42
  * ```
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.299.0",
4
+ "version": "3.300.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.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",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },