@aws-sdk/client-compute-optimizer 3.299.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.
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 = { // DeleteRecommendationPreferencesRequest
33
+ * resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService", // required
34
+ * scope: { // Scope
35
+ * name: "Organization" || "AccountId" || "ResourceArn",
36
+ * value: "STRING_VALUE",
37
+ * },
38
+ * recommendationPreferenceNames: [ // 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 = { // DescribeRecommendationExportJobsRequest
33
+ * jobIds: [ // JobIds
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * filters: [ // JobFilters
37
+ * { // JobFilter
38
+ * name: "ResourceType" || "JobStatus",
39
+ * values: [ // FilterValues
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 = { // ExportAutoScalingGroupRecommendationsRequest
35
+ * accountIds: [ // AccountIds
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * filters: [ // Filters
39
+ * { // Filter
40
+ * name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
41
+ * values: [ // FilterValues
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * fieldsToExport: [ // ExportableAutoScalingGroupFields
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: { // S3DestinationConfig
50
+ * bucket: "STRING_VALUE",
51
+ * keyPrefix: "STRING_VALUE",
52
+ * },
53
+ * fileFormat: "Csv",
54
+ * includeMemberAccounts: true || false,
55
+ * recommendationPreferences: { // RecommendationPreferences
56
+ * cpuVendorArchitectures: [ // 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 = { // ExportEBSVolumeRecommendationsRequest
35
+ * accountIds: [ // AccountIds
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * filters: [ // EBSFilters
39
+ * { // EBSFilter
40
+ * name: "Finding",
41
+ * values: [ // FilterValues
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * fieldsToExport: [ // ExportableVolumeFields
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: { // 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 = { // ExportEC2InstanceRecommendationsRequest
35
+ * accountIds: [ // AccountIds
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * filters: [ // Filters
39
+ * { // Filter
40
+ * name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
41
+ * values: [ // FilterValues
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * fieldsToExport: [ // ExportableInstanceFields
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: { // S3DestinationConfig
50
+ * bucket: "STRING_VALUE",
51
+ * keyPrefix: "STRING_VALUE",
52
+ * },
53
+ * fileFormat: "Csv",
54
+ * includeMemberAccounts: true || false,
55
+ * recommendationPreferences: { // RecommendationPreferences
56
+ * cpuVendorArchitectures: [ // 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 = { // ExportECSServiceRecommendationsRequest
37
+ * accountIds: [ // AccountIds
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * filters: [ // ECSServiceRecommendationFilters
41
+ * { // ECSServiceRecommendationFilter
42
+ * name: "Finding" || "FindingReasonCode",
43
+ * values: [ // FilterValues
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * ],
48
+ * fieldsToExport: [ // ExportableECSServiceFields
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: { // 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 = { // ExportLambdaFunctionRecommendationsRequest
35
+ * accountIds: [ // AccountIds
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * filters: [ // LambdaFunctionRecommendationFilters
39
+ * { // LambdaFunctionRecommendationFilter
40
+ * name: "Finding" || "FindingReasonCode",
41
+ * values: [ // FilterValues
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * fieldsToExport: [ // ExportableLambdaFunctionFields
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: { // 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 = { // GetAutoScalingGroupRecommendationsRequest
34
+ * accountIds: [ // AccountIds
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * autoScalingGroupArns: [ // AutoScalingGroupArns
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * filters: [ // Filters
43
+ * { // Filter
44
+ * name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
45
+ * values: [ // FilterValues
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * },
49
+ * ],
50
+ * recommendationPreferences: { // RecommendationPreferences
51
+ * cpuVendorArchitectures: [ // 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 = { // GetEBSVolumeRecommendationsRequest
34
+ * volumeArns: [ // VolumeArns
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * nextToken: "STRING_VALUE",
38
+ * maxResults: Number("int"),
39
+ * filters: [ // EBSFilters
40
+ * { // EBSFilter
41
+ * name: "Finding",
42
+ * values: [ // FilterValues
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * },
46
+ * ],
47
+ * accountIds: [ // 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 = { // GetEC2InstanceRecommendationsRequest
34
+ * instanceArns: [ // InstanceArns
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * nextToken: "STRING_VALUE",
38
+ * maxResults: Number("int"),
39
+ * filters: [ // Filters
40
+ * { // Filter
41
+ * name: "Finding" || "FindingReasonCodes" || "RecommendationSourceType",
42
+ * values: [ // FilterValues
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * },
46
+ * ],
47
+ * accountIds: [ // AccountIds
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * recommendationPreferences: { // RecommendationPreferences
51
+ * cpuVendorArchitectures: [ // 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 = { // GetEC2RecommendationProjectedMetricsRequest
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: { // RecommendationPreferences
43
+ * cpuVendorArchitectures: [ // 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 = { // GetECSServiceRecommendationProjectedMetricsRequest
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 = { // GetECSServiceRecommendationsRequest
39
+ * serviceArns: [ // ServiceArns
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * nextToken: "STRING_VALUE",
43
+ * maxResults: Number("int"),
44
+ * filters: [ // ECSServiceRecommendationFilters
45
+ * { // ECSServiceRecommendationFilter
46
+ * name: "Finding" || "FindingReasonCode",
47
+ * values: [ // FilterValues
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * },
51
+ * ],
52
+ * accountIds: [ // 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 = { // GetEffectiveRecommendationPreferencesRequest
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 = { // GetEnrollmentStatusesForOrganizationRequest
32
+ * filters: [ // EnrollmentFilters
33
+ * { // EnrollmentFilter
34
+ * name: "Status",
35
+ * values: [ // FilterValues
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 = { // GetLambdaFunctionRecommendationsRequest
34
+ * functionArns: [ // FunctionArns
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * accountIds: [ // AccountIds
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * filters: [ // LambdaFunctionRecommendationFilters
41
+ * { // LambdaFunctionRecommendationFilter
42
+ * name: "Finding" || "FindingReasonCode",
43
+ * values: [ // FilterValues
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 = { // GetRecommendationPreferencesRequest
37
+ * resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService", // required
38
+ * scope: { // 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 = { // GetRecommendationSummariesRequest
54
+ * accountIds: [ // 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 = { // PutRecommendationPreferencesRequest
34
+ * resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService", // required
35
+ * scope: { // Scope
36
+ * name: "Organization" || "AccountId" || "ResourceArn",
37
+ * value: "STRING_VALUE",
38
+ * },
39
+ * enhancedInfrastructureMetrics: "Active" || "Inactive",
40
+ * inferredWorkloadTypes: "Active" || "Inactive",
41
+ * externalMetricsPreference: { // 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 = { // UpdateEnrollmentStatusRequest
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.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.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.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
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",
@@ -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
  },