Commit 2ed4f03d authored by AWS SDK Rust Bot's avatar AWS SDK Rust Bot
Browse files

Update SDK models

parent 71ed61cd
Loading
Loading
Loading
Loading
+59 −9
Original line number Diff line number Diff line
@@ -1503,6 +1503,16 @@
        "com.amazonaws.costexplorer#AmortizedUpfrontFee": {
            "type": "string"
        },
        "com.amazonaws.costexplorer#AnalysesPageSize": {
            "type": "integer",
            "traits": {
                "smithy.api#default": 0,
                "smithy.api#range": {
                    "min": 0,
                    "max": 600
                }
            }
        },
        "com.amazonaws.costexplorer#AnalysisDetails": {
            "type": "structure",
            "members": {
@@ -5942,7 +5952,13 @@
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Gets recommendations for reservation purchases. These recommendations might help you to\n      reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared to\n      On-Demand pricing.</p>\n         <p>Amazon Web Services generates your recommendations by identifying your On-Demand usage\n      during a specific time period and collecting your usage into categories that are eligible for\n      a reservation. After Amazon Web Services has these categories, it simulates every combination\n      of reservations in each category of usage to identify the best number of each type of Reserved\n      Instance (RI) to purchase to maximize your estimated savings. </p>\n         <p>For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared\n      tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you buy\n      size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services\n      recommends the smallest size instance in an instance family. This makes it easier to purchase\n      a size-flexible Reserved Instance (RI). Amazon Web Services also shows the equal number of\n      normalized units. This way, you can purchase any instance size that you want. For this\n      example, your RI recommendation is for <code>c4.large</code> because that is the smallest size\n      instance in the c4 instance family.</p>"
                "smithy.api#documentation": "<p>Gets recommendations for reservation purchases. These recommendations might help you to\n      reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared to\n      On-Demand pricing.</p>\n         <p>Amazon Web Services generates your recommendations by identifying your On-Demand usage\n      during a specific time period and collecting your usage into categories that are eligible for\n      a reservation. After Amazon Web Services has these categories, it simulates every combination\n      of reservations in each category of usage to identify the best number of each type of Reserved\n      Instance (RI) to purchase to maximize your estimated savings. </p>\n         <p>For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared\n      tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you buy\n      size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services\n      recommends the smallest size instance in an instance family. This makes it easier to purchase\n      a size-flexible Reserved Instance (RI). Amazon Web Services also shows the equal number of\n      normalized units. This way, you can purchase any instance size that you want. For this\n      example, your RI recommendation is for <code>c4.large</code> because that is the smallest size\n      instance in the c4 instance family.</p>",
                "smithy.api#paginated": {
                    "inputToken": "NextPageToken",
                    "outputToken": "NextPageToken",
                    "items": "Recommendations",
                    "pageSize": "PageSize"
                }
            }
        },
        "com.amazonaws.costexplorer#GetReservationPurchaseRecommendationRequest": {
@@ -5995,7 +6011,7 @@
                    }
                },
                "PageSize": {
                    "target": "com.amazonaws.costexplorer#NonNegativeInteger",
                    "target": "com.amazonaws.costexplorer#RecommendationsPageSize",
                    "traits": {
                        "smithy.api#default": 0,
                        "smithy.api#documentation": "<p>The number of recommendations that you want returned in a single response\n      object.</p>"
@@ -6156,7 +6172,13 @@
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Creates recommendations that help you save cost by identifying idle and underutilized\n      Amazon EC2 instances.</p>\n         <p>Recommendations are generated to either downsize or terminate instances, along with\n      providing savings detail and metrics. For more information about calculation and function, see\n        <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html\">Optimizing Your Cost with Rightsizing Recommendations</a> in the <i>Billing and Cost Management User Guide</i>.</p>"
                "smithy.api#documentation": "<p>Creates recommendations that help you save cost by identifying idle and underutilized\n      Amazon EC2 instances.</p>\n         <p>Recommendations are generated to either downsize or terminate instances, along with\n      providing savings detail and metrics. For more information about calculation and function, see\n        <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html\">Optimizing Your Cost with Rightsizing Recommendations</a> in the <i>Billing and Cost Management User Guide</i>.</p>",
                "smithy.api#paginated": {
                    "inputToken": "NextPageToken",
                    "outputToken": "NextPageToken",
                    "items": "RightsizingRecommendations",
                    "pageSize": "PageSize"
                }
            }
        },
        "com.amazonaws.costexplorer#GetRightsizingRecommendationRequest": {
@@ -6179,7 +6201,7 @@
                    }
                },
                "PageSize": {
                    "target": "com.amazonaws.costexplorer#NonNegativeInteger",
                    "target": "com.amazonaws.costexplorer#RecommendationsPageSize",
                    "traits": {
                        "smithy.api#default": 0,
                        "smithy.api#documentation": "<p>The number of recommendations that you want returned in a single response object.</p>"
@@ -6452,7 +6474,7 @@
                    }
                },
                "PageSize": {
                    "target": "com.amazonaws.costexplorer#NonNegativeInteger",
                    "target": "com.amazonaws.costexplorer#RecommendationsPageSize",
                    "traits": {
                        "smithy.api#default": 0,
                        "smithy.api#documentation": "<p>The number of recommendations that you want returned in a single response object.</p>"
@@ -7148,7 +7170,13 @@
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Lists the commitment purchase analyses for your account.</p>"
                "smithy.api#documentation": "<p>Lists the commitment purchase analyses for your account.</p>",
                "smithy.api#paginated": {
                    "inputToken": "NextPageToken",
                    "outputToken": "NextPageToken",
                    "items": "AnalysisSummaryList",
                    "pageSize": "PageSize"
                }
            }
        },
        "com.amazonaws.costexplorer#ListCommitmentPurchaseAnalysesRequest": {
@@ -7167,7 +7195,7 @@
                    }
                },
                "PageSize": {
                    "target": "com.amazonaws.costexplorer#NonNegativeInteger",
                    "target": "com.amazonaws.costexplorer#AnalysesPageSize",
                    "traits": {
                        "smithy.api#default": 0,
                        "smithy.api#documentation": "<p>The number of analyses that you want returned in a single response object.</p>"
@@ -7521,7 +7549,13 @@
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves a list of your historical recommendation generations within the past 30\n      days.</p>"
                "smithy.api#documentation": "<p>Retrieves a list of your historical recommendation generations within the past 30\n      days.</p>",
                "smithy.api#paginated": {
                    "inputToken": "NextPageToken",
                    "outputToken": "NextPageToken",
                    "items": "GenerationSummaryList",
                    "pageSize": "PageSize"
                }
            }
        },
        "com.amazonaws.costexplorer#ListSavingsPlansPurchaseRecommendationGenerationRequest": {
@@ -7540,7 +7574,7 @@
                    }
                },
                "PageSize": {
                    "target": "com.amazonaws.costexplorer#NonNegativeInteger",
                    "target": "com.amazonaws.costexplorer#RecommendationsPageSize",
                    "traits": {
                        "smithy.api#default": 0,
                        "smithy.api#documentation": "<p>The number of recommendations that you want returned in a single response object.</p>"
@@ -8279,6 +8313,12 @@
                        "smithy.api#default": false,
                        "smithy.api#documentation": "<p>Determines whether the recommended reservation is size flexible.</p>"
                    }
                },
                "DeploymentModel": {
                    "target": "com.amazonaws.costexplorer#GenericString",
                    "traits": {
                        "smithy.api#documentation": "<p>Determines whether the recommendation is for a reservation for RDS Custom.</p>"
                    }
                }
            },
            "traits": {
@@ -8545,6 +8585,16 @@
                }
            }
        },
        "com.amazonaws.costexplorer#RecommendationsPageSize": {
            "type": "integer",
            "traits": {
                "smithy.api#default": 0,
                "smithy.api#range": {
                    "min": 0,
                    "max": 6000
                }
            }
        },
        "com.amazonaws.costexplorer#RedshiftInstanceDetails": {
            "type": "structure",
            "members": {
+76 −0
Original line number Diff line number Diff line
@@ -129,6 +129,12 @@
                "monitoringConfiguration": {
                    "target": "com.amazonaws.emrserverless#MonitoringConfiguration"
                },
                "diskEncryptionConfiguration": {
                    "target": "com.amazonaws.emrserverless#DiskEncryptionConfiguration",
                    "traits": {
                        "smithy.api#documentation": "<p>The configuration object that allows encrypting local disks.</p>"
                    }
                },
                "interactiveConfiguration": {
                    "target": "com.amazonaws.emrserverless#InteractiveConfiguration",
                    "traits": {
@@ -1301,6 +1307,12 @@
                    "traits": {
                        "smithy.api#documentation": "<p>The override configurations for monitoring.</p>"
                    }
                },
                "diskEncryptionConfiguration": {
                    "target": "com.amazonaws.emrserverless#DiskEncryptionConfiguration",
                    "traits": {
                        "smithy.api#documentation": "<p>The override configuration to encrypt local disks.</p>"
                    }
                }
            },
            "traits": {
@@ -1481,6 +1493,12 @@
                        "smithy.api#documentation": "<p>The configuration setting for monitoring.</p>"
                    }
                },
                "diskEncryptionConfiguration": {
                    "target": "com.amazonaws.emrserverless#DiskEncryptionConfiguration",
                    "traits": {
                        "smithy.api#documentation": "<p>The configuration object that allows encrypting local disks.</p>"
                    }
                },
                "interactiveConfiguration": {
                    "target": "com.amazonaws.emrserverless#InteractiveConfiguration",
                    "traits": {
@@ -1582,6 +1600,26 @@
            "type": "structure",
            "members": {}
        },
        "com.amazonaws.emrserverless#DiskEncryptionConfiguration": {
            "type": "structure",
            "members": {
                "encryptionContext": {
                    "target": "com.amazonaws.emrserverless#EncryptionContext",
                    "traits": {
                        "smithy.api#documentation": "<p>Specifies the optional encryption context that will be used when encrypting the data. An encryption context is a collection of non-secret key-value pairs that represent additional authenticated data. </p>"
                    }
                },
                "encryptionKeyArn": {
                    "target": "com.amazonaws.emrserverless#EncryptionKeyArn",
                    "traits": {
                        "smithy.api#documentation": "<p>The KMS key ARN to encrypt local disks.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The configuration object that allows encrypting local disks.</p>"
            }
        },
        "com.amazonaws.emrserverless#DiskSize": {
            "type": "string",
            "traits": {
@@ -1608,6 +1646,38 @@
                }
            }
        },
        "com.amazonaws.emrserverless#EncryptionContext": {
            "type": "map",
            "key": {
                "target": "com.amazonaws.emrserverless#EncryptionContextKey"
            },
            "value": {
                "target": "com.amazonaws.emrserverless#EncryptionContextValue"
            },
            "traits": {
                "smithy.api#length": {
                    "max": 8
                }
            }
        },
        "com.amazonaws.emrserverless#EncryptionContextKey": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 128
                }
            }
        },
        "com.amazonaws.emrserverless#EncryptionContextValue": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 384
                }
            }
        },
        "com.amazonaws.emrserverless#EncryptionKeyArn": {
            "type": "string",
            "traits": {
@@ -4086,6 +4156,12 @@
                        "smithy.api#documentation": "<p>The configuration setting for monitoring.</p>"
                    }
                },
                "diskEncryptionConfiguration": {
                    "target": "com.amazonaws.emrserverless#DiskEncryptionConfiguration",
                    "traits": {
                        "smithy.api#documentation": "<p>The configuration object that allows encrypting local disks.</p>"
                    }
                },
                "schedulerConfiguration": {
                    "target": "com.amazonaws.emrserverless#SchedulerConfiguration",
                    "traits": {
+1 −1
Original line number Diff line number Diff line
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-costexplorer"
version = "1.106.0"
version = "1.107.0"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
description = "AWS SDK for AWS Cost Explorer Service"
edition = "2021"
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-costexplorer = "1.106.0"
aws-sdk-costexplorer = "1.107.0"
tokio = { version = "1", features = ["full"] }
```

+1 −0
Original line number Diff line number Diff line
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetReservationPurchaseRecommendation`](crate::operation::get_reservation_purchase_recommendation::builders::GetReservationPurchaseRecommendationFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_reservation_purchase_recommendation::builders::GetReservationPurchaseRecommendationFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::get_reservation_purchase_recommendation::builders::GetReservationPurchaseRecommendationFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_reservation_purchase_recommendation::builders::GetReservationPurchaseRecommendationFluentBuilder::set_account_id):<br>required: **false**<br><p>The account ID that's associated with the recommendation.</p><br>
Loading