1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Describes the enrollment status of an organization's member accounts in Cost
// Optimization Hub.
type AccountEnrollmentStatus struct {
// The Amazon Web Services account ID.
AccountId *string
// The time when the account enrollment status was created.
CreatedTimestamp *time.Time
// The time when the account enrollment status was last updated.
LastUpdatedTimestamp *time.Time
// The account enrollment status.
Status EnrollmentStatus
noSmithyDocumentSerde
}
// Describes the Amazon Elastic Block Store performance configuration of the
// current and recommended resource configuration for a recommendation.
type BlockStoragePerformanceConfiguration struct {
// The number of I/O operations per second.
Iops *float64
// The throughput that the volume supports.
Throughput *float64
noSmithyDocumentSerde
}
// Describes the performance configuration for compute services such as Amazon
// EC2, Lambda, and ECS.
type ComputeConfiguration struct {
// The architecture of the resource.
Architecture *string
// The memory size of the resource.
MemorySizeInMB *int32
// The platform of the resource. The platform is the specific combination of
// operating system, license model, and software on an instance.
Platform *string
// The number of vCPU cores in the resource.
VCpu *float64
noSmithyDocumentSerde
}
// The Compute Savings Plans recommendation details.
type ComputeSavingsPlans struct {
// Configuration details of the Compute Savings Plans to purchase.
Configuration *ComputeSavingsPlansConfiguration
// Cost impact of the Savings Plans purchase recommendation.
CostCalculation *SavingsPlansCostCalculation
noSmithyDocumentSerde
}
// The Compute Savings Plans configuration used for recommendations.
type ComputeSavingsPlansConfiguration struct {
// The account scope that you want your recommendations for. Amazon Web Services
// calculates recommendations including the management account and member accounts
// if the value is set to PAYER . If the value is LINKED , recommendations are
// calculated for individual member accounts only.
AccountScope *string
// The hourly commitment for the Savings Plans type.
HourlyCommitment *string
// The payment option for the commitment.
PaymentOption *string
// The Savings Plans recommendation term in years.
Term *string
noSmithyDocumentSerde
}
// Describes the Amazon Elastic Block Store volume configuration of the current
// and recommended resource configuration for a recommendation.
type EbsVolume struct {
// The Amazon Elastic Block Store volume configuration used for recommendations.
Configuration *EbsVolumeConfiguration
// Cost impact of the recommendation.
CostCalculation *ResourceCostCalculation
noSmithyDocumentSerde
}
// The Amazon Elastic Block Store volume configuration used for recommendations.
type EbsVolumeConfiguration struct {
// The Amazon Elastic Block Store attachment state.
AttachmentState *string
// The Amazon Elastic Block Store performance configuration.
Performance *BlockStoragePerformanceConfiguration
// The disk storage of the Amazon Elastic Block Store volume.
Storage *StorageConfiguration
noSmithyDocumentSerde
}
// The EC2 Auto Scaling group recommendation details.
type Ec2AutoScalingGroup struct {
// The EC2 Auto Scaling group configuration used for recommendations.
Configuration *Ec2AutoScalingGroupConfiguration
// Cost impact of the recommendation.
CostCalculation *ResourceCostCalculation
noSmithyDocumentSerde
}
// The EC2 auto scaling group configuration used for recommendations.
type Ec2AutoScalingGroupConfiguration struct {
// Details about the instance.
Instance *InstanceConfiguration
noSmithyDocumentSerde
}
// Describes the EC2 instance configuration of the current and recommended
// resource configuration for a recommendation.
type Ec2Instance struct {
// The EC2 instance configuration used for recommendations.
Configuration *Ec2InstanceConfiguration
// Cost impact of the recommendation.
CostCalculation *ResourceCostCalculation
noSmithyDocumentSerde
}
// The EC2 instance configuration used for recommendations.
type Ec2InstanceConfiguration struct {
// Details about the instance.
Instance *InstanceConfiguration
noSmithyDocumentSerde
}
// The EC2 instance Savings Plans recommendation details.
type Ec2InstanceSavingsPlans struct {
// The EC2 instance Savings Plans configuration used for recommendations.
Configuration *Ec2InstanceSavingsPlansConfiguration
// Cost impact of the Savings Plans purchase recommendation.
CostCalculation *SavingsPlansCostCalculation
noSmithyDocumentSerde
}
// The EC2 instance Savings Plans configuration used for recommendations.
type Ec2InstanceSavingsPlansConfiguration struct {
// The account scope that you want your recommendations for.
AccountScope *string
// The hourly commitment for the Savings Plans type.
HourlyCommitment *string
// The instance family of the recommended Savings Plan.
InstanceFamily *string
// The payment option for the commitment.
PaymentOption *string
// The Amazon Web Services Region of the commitment.
SavingsPlansRegion *string
// The Savings Plans recommendation term in years.
Term *string
noSmithyDocumentSerde
}
// The EC2 reserved instances recommendation details.
type Ec2ReservedInstances struct {
// The EC2 reserved instances configuration used for recommendations.
Configuration *Ec2ReservedInstancesConfiguration
// Cost impact of the purchase recommendation.
CostCalculation *ReservedInstancesCostCalculation
noSmithyDocumentSerde
}
// The EC2 reserved instances configuration used for recommendations.
type Ec2ReservedInstancesConfiguration struct {
// The account scope that you want your recommendations for.
AccountScope *string
// Determines whether the recommendation is for a current generation instance.
CurrentGeneration *string
// The instance family of the recommended reservation.
InstanceFamily *string
// The type of instance that Amazon Web Services recommends.
InstanceType *string
// How much purchasing reserved instances costs you on a monthly basis.
MonthlyRecurringCost *string
// The number of normalized units that Amazon Web Services recommends that you
// purchase.
NormalizedUnitsToPurchase *string
// The number of instances that Amazon Web Services recommends that you purchase.
NumberOfInstancesToPurchase *string
// Indicates whether the recommendation is for standard or convertible
// reservations.
OfferingClass *string
// The payment option for the commitment.
PaymentOption *string
// The platform of the recommended reservation. The platform is the specific
// combination of operating system, license model, and software on an instance.
Platform *string
// The Amazon Web Services Region of the commitment.
ReservedInstancesRegion *string
// The service that you want your recommendations for.
Service *string
// Determines whether the recommendation is size flexible.
SizeFlexEligible *bool
// Determines whether the recommended reservation is dedicated or shared.
Tenancy *string
// The reserved instances recommendation term in years.
Term *string
// How much purchasing this instance costs you upfront.
UpfrontCost *string
noSmithyDocumentSerde
}
// The ECS service recommendation details.
type EcsService struct {
// The ECS service configuration used for recommendations.
Configuration *EcsServiceConfiguration
// Cost impact of the recommendation.
CostCalculation *ResourceCostCalculation
noSmithyDocumentSerde
}
// The ECS service configuration used for recommendations.
type EcsServiceConfiguration struct {
// Details about the compute configuration.
Compute *ComputeConfiguration
noSmithyDocumentSerde
}
// The ElastiCache reserved instances recommendation details.
type ElastiCacheReservedInstances struct {
// The ElastiCache reserved instances configuration used for recommendations.
Configuration *ElastiCacheReservedInstancesConfiguration
// Cost impact of the purchase recommendation.
CostCalculation *ReservedInstancesCostCalculation
noSmithyDocumentSerde
}
// The ElastiCache reserved instances configuration used for recommendations.
type ElastiCacheReservedInstancesConfiguration struct {
// The account scope that you want your recommendations for.
AccountScope *string
// Determines whether the recommendation is for a current generation instance.
CurrentGeneration *string
// The instance family of the recommended reservation.
InstanceFamily *string
// The type of instance that Amazon Web Services recommends.
InstanceType *string
// How much purchasing reserved instances costs you on a monthly basis.
MonthlyRecurringCost *string
// The number of normalized units that Amazon Web Services recommends that you
// purchase.
NormalizedUnitsToPurchase *string
// The number of instances that Amazon Web Services recommends that you purchase.
NumberOfInstancesToPurchase *string
// The payment option for the commitment.
PaymentOption *string
// The Amazon Web Services Region of the commitment.
ReservedInstancesRegion *string
// The service that you want your recommendations for.
Service *string
// Determines whether the recommendation is size flexible.
SizeFlexEligible *bool
// The reserved instances recommendation term in years.
Term *string
// How much purchasing this instance costs you upfront.
UpfrontCost *string
noSmithyDocumentSerde
}
// Estimated discount details of the current and recommended resource
// configuration for a recommendation.
type EstimatedDiscounts struct {
// Estimated other discounts include all discounts that are not itemized. Itemized
// discounts include reservedInstanceDiscount and savingsPlansDiscount .
OtherDiscount *float64
// Estimated reserved instance discounts.
ReservedInstancesDiscount *float64
// Estimated Savings Plans discounts.
SavingsPlansDiscount *float64
noSmithyDocumentSerde
}
// Describes a filter that returns a more specific list of recommendations.
// Filters recommendations by different dimensions.
type Filter struct {
// The account that the recommendation is for.
AccountIds []string
// The type of action you can take by adopting the recommendation.
ActionTypes []ActionType
// The effort required to implement the recommendation.
ImplementationEfforts []ImplementationEffort
// The IDs for the recommendations.
RecommendationIds []string
// The Amazon Web Services Region of the resource.
Regions []string
// The Amazon Resource Name (ARN) of the recommendation.
ResourceArns []string
// The resource ID of the recommendation.
ResourceIds []string
// The resource type of the recommendation.
ResourceTypes []ResourceType
// Whether or not implementing the recommendation requires a restart.
RestartNeeded *bool
// Whether or not implementing the recommendation can be rolled back.
RollbackPossible *bool
// A list of tags assigned to the recommendation.
Tags []Tag
noSmithyDocumentSerde
}
// The Instance configuration used for recommendations.
type InstanceConfiguration struct {
// Details about the type.
Type *string
noSmithyDocumentSerde
}
// The Lambda function recommendation details.
type LambdaFunction struct {
// The Lambda function configuration used for recommendations.
Configuration *LambdaFunctionConfiguration
// Cost impact of the recommendation.
CostCalculation *ResourceCostCalculation
noSmithyDocumentSerde
}
// The Lambda function configuration used for recommendations.
type LambdaFunctionConfiguration struct {
// Details about the compute configuration.
Compute *ComputeConfiguration
noSmithyDocumentSerde
}
// The OpenSearch reserved instances recommendation details.
type OpenSearchReservedInstances struct {
// The OpenSearch reserved instances configuration used for recommendations.
Configuration *OpenSearchReservedInstancesConfiguration
// Cost impact of the purchase recommendation.
CostCalculation *ReservedInstancesCostCalculation
noSmithyDocumentSerde
}
// The OpenSearch reserved instances configuration used for recommendations.
type OpenSearchReservedInstancesConfiguration struct {
// The account scope that you want your recommendations for.
AccountScope *string
// Determines whether the recommendation is for a current generation instance.
CurrentGeneration *string
// The type of instance that Amazon Web Services recommends.
InstanceType *string
// How much purchasing reserved instances costs you on a monthly basis.
MonthlyRecurringCost *string
// The number of normalized units that Amazon Web Services recommends that you
// purchase.
NormalizedUnitsToPurchase *string
// The number of instances that Amazon Web Services recommends that you purchase.
NumberOfInstancesToPurchase *string
// The payment option for the commitment.
PaymentOption *string
// The Amazon Web Services Region of the commitment.
ReservedInstancesRegion *string
// The service that you want your recommendations for.
Service *string
// Determines whether the recommendation is size flexible.
SizeFlexEligible *bool
// The reserved instances recommendation term in years.
Term *string
// How much purchasing this instance costs you upfront.
UpfrontCost *string
noSmithyDocumentSerde
}
// Defines how rows will be sorted in the response.
type OrderBy struct {
// Sorts by dimension values.
Dimension *string
// The order that's used to sort the data.
Order Order
noSmithyDocumentSerde
}
// The RDS reserved instances recommendation details.
type RdsReservedInstances struct {
// The RDS reserved instances configuration used for recommendations.
Configuration *RdsReservedInstancesConfiguration
// Cost impact of the purchase recommendation.
CostCalculation *ReservedInstancesCostCalculation
noSmithyDocumentSerde
}
// The RDS reserved instances configuration used for recommendations.
type RdsReservedInstancesConfiguration struct {
// The account scope that you want your recommendations for.
AccountScope *string
// Determines whether the recommendation is for a current generation instance.
CurrentGeneration *string
// The database edition that the recommended reservation supports.
DatabaseEdition *string
// The database engine that the recommended reservation supports.
DatabaseEngine *string
// Determines whether the recommendation is for a reservation in a single
// Availability Zone or a reservation with a backup in a second Availability Zone.
DeploymentOption *string
// The instance family of the recommended reservation.
InstanceFamily *string
// The type of instance that Amazon Web Services recommends.
InstanceType *string
// The license model that the recommended reservation supports.
LicenseModel *string
// How much purchasing this instance costs you on a monthly basis.
MonthlyRecurringCost *string
// The number of normalized units that Amazon Web Services recommends that you
// purchase.
NormalizedUnitsToPurchase *string
// The number of instances that Amazon Web Services recommends that you purchase.
NumberOfInstancesToPurchase *string
// The payment option for the commitment.
PaymentOption *string
// The Amazon Web Services Region of the commitment.
ReservedInstancesRegion *string
// The service that you want your recommendations for.
Service *string
// Determines whether the recommendation is size flexible.
SizeFlexEligible *bool
// The reserved instances recommendation term in years.
Term *string
// How much purchasing this instance costs you upfront.
UpfrontCost *string
noSmithyDocumentSerde
}
// Describes a recommendation.
type Recommendation struct {
// The account that the recommendation is for.
AccountId *string
// The type of tasks that can be carried out by this action.
ActionType *string
// The currency code used for the recommendation.
CurrencyCode *string
// Describes the current resource.
CurrentResourceSummary *string
// The current resource type.
CurrentResourceType *string
// The estimated monthly cost for the recommendation.
EstimatedMonthlyCost *float64
// The estimated monthly savings amount for the recommendation.
EstimatedMonthlySavings *float64
// The estimated savings percentage relative to the total cost over the cost
// calculation lookback period.
EstimatedSavingsPercentage *float64
// The effort required to implement the recommendation.
ImplementationEffort *string
// The time when the recommendation was last generated.
LastRefreshTimestamp *time.Time
// The ID for the recommendation.
RecommendationId *string
// The lookback period that's used to generate the recommendation.
RecommendationLookbackPeriodInDays *int32
// Describes the recommended resource.
RecommendedResourceSummary *string
// The recommended resource type.
RecommendedResourceType *string
// The Amazon Web Services Region of the resource.
Region *string
// The Amazon Resource Name (ARN) for the recommendation.
ResourceArn *string
// The resource ID for the recommendation.
ResourceId *string
// Whether or not implementing the recommendation requires a restart.
RestartNeeded *bool
// Whether or not implementing the recommendation can be rolled back.
RollbackPossible *bool
// The source of the recommendation.
Source Source
// A list of tags assigned to the recommendation.
Tags []Tag
noSmithyDocumentSerde
}
// The summary of rightsizing recommendations, including de-duped savings from all
// types of recommendations.
type RecommendationSummary struct {
// The estimated total savings resulting from modifications, on a monthly basis.
EstimatedMonthlySavings *float64
// The grouping of recommendations.
Group *string
// The total number of instance recommendations.
RecommendationCount *int32
noSmithyDocumentSerde
}
// The Redshift reserved instances recommendation details.
type RedshiftReservedInstances struct {
// The Redshift reserved instances configuration used for recommendations.
Configuration *RedshiftReservedInstancesConfiguration
// Cost impact of the purchase recommendation.
CostCalculation *ReservedInstancesCostCalculation
noSmithyDocumentSerde
}
// The Redshift reserved instances configuration used for recommendations.
type RedshiftReservedInstancesConfiguration struct {
// The account scope that you want your recommendations for.
AccountScope *string
// Determines whether the recommendation is for a current generation instance.
CurrentGeneration *string
// The instance family of the recommended reservation.
InstanceFamily *string
// The type of instance that Amazon Web Services recommends.
InstanceType *string
// How much purchasing reserved instances costs you on a monthly basis.
MonthlyRecurringCost *string
// The number of normalized units that Amazon Web Services recommends that you
// purchase.
NormalizedUnitsToPurchase *string
// The number of instances that Amazon Web Services recommends that you purchase.
NumberOfInstancesToPurchase *string
// The payment option for the commitment.
PaymentOption *string
// The Amazon Web Services Region of the commitment.
ReservedInstancesRegion *string
// The service that you want your recommendations for.
Service *string
// Determines whether the recommendation is size flexible.
SizeFlexEligible *bool
// The reserved instances recommendation term in years.
Term *string
// How much purchasing this instance costs you upfront.
UpfrontCost *string
noSmithyDocumentSerde
}
// Cost impact of the purchase recommendation.
type ReservedInstancesCostCalculation struct {
// Pricing details of the purchase recommendation.
Pricing *ReservedInstancesPricing
noSmithyDocumentSerde
}
// Pricing details for your recommended reserved instance.
type ReservedInstancesPricing struct {
// The estimated cost of your recurring monthly fees for the recommended reserved
// instance across the month.
EstimatedMonthlyAmortizedReservationCost *float64
// The remaining On-Demand cost estimated to not be covered by the recommended
// reserved instance, over the length of the lookback period.
EstimatedOnDemandCost *float64
// The cost of paying for the recommended reserved instance monthly.
MonthlyReservationEligibleCost *float64
// The savings percentage relative to the total On-Demand costs that are
// associated with this instance.
SavingsPercentage *float64
noSmithyDocumentSerde
}
// Cost impact of the resource recommendation.
type ResourceCostCalculation struct {
// Pricing details of the resource recommendation.
Pricing *ResourcePricing
// Usage details of the resource recommendation.
Usages []Usage
noSmithyDocumentSerde
}
// Contains detailed information about the specified resource.
//
// The following types satisfy this interface:
//
// ResourceDetailsMemberComputeSavingsPlans
// ResourceDetailsMemberEbsVolume
// ResourceDetailsMemberEc2AutoScalingGroup
// ResourceDetailsMemberEc2Instance
// ResourceDetailsMemberEc2InstanceSavingsPlans
// ResourceDetailsMemberEc2ReservedInstances
// ResourceDetailsMemberEcsService
// ResourceDetailsMemberElastiCacheReservedInstances
// ResourceDetailsMemberLambdaFunction
// ResourceDetailsMemberOpenSearchReservedInstances
// ResourceDetailsMemberRdsReservedInstances
// ResourceDetailsMemberRedshiftReservedInstances
// ResourceDetailsMemberSageMakerSavingsPlans
type ResourceDetails interface {
isResourceDetails()
}
// The Compute Savings Plans recommendation details.
type ResourceDetailsMemberComputeSavingsPlans struct {
Value ComputeSavingsPlans
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberComputeSavingsPlans) isResourceDetails() {}
// The Amazon Elastic Block Store volume recommendation details.
type ResourceDetailsMemberEbsVolume struct {
Value EbsVolume
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberEbsVolume) isResourceDetails() {}
// The EC2 Auto Scaling group recommendation details.
type ResourceDetailsMemberEc2AutoScalingGroup struct {
Value Ec2AutoScalingGroup
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberEc2AutoScalingGroup) isResourceDetails() {}
// The EC2 instance recommendation details.
type ResourceDetailsMemberEc2Instance struct {
Value Ec2Instance
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberEc2Instance) isResourceDetails() {}
// The EC2 instance Savings Plans recommendation details.
type ResourceDetailsMemberEc2InstanceSavingsPlans struct {
Value Ec2InstanceSavingsPlans
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberEc2InstanceSavingsPlans) isResourceDetails() {}
// The EC2 reserved instances recommendation details.
type ResourceDetailsMemberEc2ReservedInstances struct {
Value Ec2ReservedInstances
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberEc2ReservedInstances) isResourceDetails() {}
// The ECS service recommendation details.
type ResourceDetailsMemberEcsService struct {
Value EcsService
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberEcsService) isResourceDetails() {}
// The ElastiCache reserved instances recommendation details.
type ResourceDetailsMemberElastiCacheReservedInstances struct {
Value ElastiCacheReservedInstances
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberElastiCacheReservedInstances) isResourceDetails() {}
// The Lambda function recommendation details.
type ResourceDetailsMemberLambdaFunction struct {
Value LambdaFunction
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberLambdaFunction) isResourceDetails() {}
// The OpenSearch reserved instances recommendation details.
type ResourceDetailsMemberOpenSearchReservedInstances struct {
Value OpenSearchReservedInstances
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberOpenSearchReservedInstances) isResourceDetails() {}
// The RDS reserved instances recommendation details.
type ResourceDetailsMemberRdsReservedInstances struct {
Value RdsReservedInstances
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberRdsReservedInstances) isResourceDetails() {}
// The Redshift reserved instances recommendation details.
type ResourceDetailsMemberRedshiftReservedInstances struct {
Value RedshiftReservedInstances
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberRedshiftReservedInstances) isResourceDetails() {}
// The SageMaker Savings Plans recommendation details.
type ResourceDetailsMemberSageMakerSavingsPlans struct {
Value SageMakerSavingsPlans
noSmithyDocumentSerde
}
func (*ResourceDetailsMemberSageMakerSavingsPlans) isResourceDetails() {}
// Contains pricing information about the specified resource.
type ResourcePricing struct {
// The savings estimate incorporating all discounts with Amazon Web Services, such
// as Reserved Instances and Savings Plans.
EstimatedCostAfterDiscounts *float64
// The savings estimate using Amazon Web Services public pricing without
// incorporating any discounts.
EstimatedCostBeforeDiscounts *float64
// The estimated discounts for a recommendation.
EstimatedDiscounts *EstimatedDiscounts
// The estimated net unused amortized commitment for the recommendation.
EstimatedNetUnusedAmortizedCommitments *float64
noSmithyDocumentSerde
}
// The SageMaker Savings Plans recommendation details.
type SageMakerSavingsPlans struct {
// The SageMaker Savings Plans configuration used for recommendations.
Configuration *SageMakerSavingsPlansConfiguration
// Cost impact of the Savings Plans purchase recommendation.
CostCalculation *SavingsPlansCostCalculation
noSmithyDocumentSerde
}
// The SageMaker Savings Plans configuration used for recommendations.
type SageMakerSavingsPlansConfiguration struct {
// The account scope that you want your recommendations for.
AccountScope *string
// The hourly commitment for the Savings Plans type.
HourlyCommitment *string
// The payment option for the commitment.
PaymentOption *string
// The Savings Plans recommendation term in years.
Term *string
noSmithyDocumentSerde
}
// Cost impact of the purchase recommendation.
type SavingsPlansCostCalculation struct {
// Pricing details of the purchase recommendation.
Pricing *SavingsPlansPricing
noSmithyDocumentSerde
}
// Pricing information about a Savings Plan.
type SavingsPlansPricing struct {
// Estimated monthly commitment for the Savings Plan.
EstimatedMonthlyCommitment *float64
// Estimated On-Demand cost you will pay after buying the Savings Plan.
EstimatedOnDemandCost *float64
// The cost of paying for the recommended Savings Plan monthly.
MonthlySavingsPlansEligibleCost *float64
// Estimated savings as a percentage of your overall costs after buying the
// Savings Plan.
SavingsPercentage *float64
noSmithyDocumentSerde
}
// The storage configuration used for recommendations.
type StorageConfiguration struct {
// The storage volume.
SizeInGb *float64
// The storage type.
Type *string
noSmithyDocumentSerde
}
// The tag structure that contains a tag key and value.
type Tag struct {
// The key that's associated with the tag.
Key *string
// The value that's associated with the tag.
Value *string
noSmithyDocumentSerde
}
// Details about the usage.
type Usage struct {
// The operation value.
Operation *string
// The product code.
ProductCode *string
// The usage unit.
Unit *string
// The usage amount.
UsageAmount *float64
// The usage type.
UsageType *string
noSmithyDocumentSerde
}
// The input failed to meet the constraints specified by the Amazon Web Services
// service in a specified field.
type ValidationExceptionDetail struct {
// The field name where the invalid entry was detected.
//
// This member is required.
FieldName *string
// A message with the reason for the validation exception error.
//
// This member is required.
Message *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
// UnknownUnionMember is returned when a union member is returned over the wire,
// but has an unknown tag.
type UnknownUnionMember struct {
Tag string
Value []byte
noSmithyDocumentSerde
}
func (*UnknownUnionMember) isResourceDetails() {}
|