From 07f85e17060a80e4f9750f1b9e85034b9ea9a1c1 Mon Sep 17 00:00:00 2001 From: AWS SDK Rust Bot Date: Fri, 31 Jan 2025 19:19:53 +0000 Subject: [PATCH] Update SDK models --- Cargo.toml | 8 +- aws-models/amp.json | 45 +- aws-models/bedrock-agent-runtime.json | 16 + aws-models/codebuild.json | 10 +- aws-models/geo-routes.json | 530 ++++++++++-------- aws-models/rds.json | 16 +- aws-models/sagemaker.json | 10 +- examples/examples/aurora/Cargo.toml | 2 +- examples/examples/rds/Cargo.toml | 2 +- examples/examples/sagemaker/Cargo.toml | 2 +- sdk/amp/Cargo.toml | 2 +- sdk/amp/README.md | 2 +- sdk/amp/src/client/create_scraper.rs | 1 + sdk/amp/src/client/update_scraper.rs | 1 + sdk/amp/src/lib.rs | 2 +- .../create_scraper/_create_scraper_input.rs | 22 + .../src/operation/create_scraper/builders.rs | 14 + .../update_scraper/_update_scraper_input.rs | 22 + .../src/operation/update_scraper/builders.rs | 14 + sdk/amp/src/protocol_serde.rs | 2 + .../shape_create_scraper_input.rs | 28 +- .../shape_role_configuration.rs | 60 ++ .../shape_scrape_configuration.rs | 4 +- .../shape_scraper_description.rs | 3 + .../protocol_serde/shape_scraper_summary.rs | 3 + sdk/amp/src/protocol_serde/shape_source.rs | 4 +- .../shape_update_scraper_input.rs | 12 +- sdk/amp/src/types.rs | 4 + sdk/amp/src/types/_role_configuration.rs | 72 +++ sdk/amp/src/types/_scraper_description.rs | 22 + sdk/amp/src/types/_scraper_summary.rs | 22 + sdk/amp/src/types/builders.rs | 2 + sdk/bedrockagentruntime/Cargo.toml | 2 +- sdk/bedrockagentruntime/README.md | 2 +- sdk/bedrockagentruntime/src/lib.rs | 2 +- .../protocol_serde/shape_citation_event.rs | 9 + sdk/bedrockagentruntime/src/types.rs | 4 +- .../src/types/_citation_event.rs | 76 ++- sdk/bedrockagentruntime/src/types/builders.rs | 4 +- sdk/codebuild/Cargo.toml | 2 +- sdk/codebuild/README.md | 2 +- sdk/codebuild/src/lib.rs | 2 +- .../src/types/_webhook_build_type.rs | 8 +- sdk/codebuild/src/types/_webhook_filter.rs | 10 + sdk/georoutes/Cargo.toml | 2 +- sdk/georoutes/README.md | 2 +- .../src/client/calculate_isolines.rs | 6 +- .../src/client/calculate_route_matrix.rs | 6 +- sdk/georoutes/src/client/calculate_routes.rs | 4 +- .../src/client/optimize_waypoints.rs | 3 +- sdk/georoutes/src/lib.rs | 2 +- .../_calculate_isolines_input.rs | 25 +- .../operation/calculate_isolines/builders.rs | 15 +- .../_calculate_route_matrix_input.rs | 50 +- .../calculate_route_matrix/builders.rs | 32 +- .../_calculate_routes_input.rs | 20 +- .../operation/calculate_routes/builders.rs | 14 +- .../_optimize_waypoints_input.rs | 34 +- .../operation/optimize_waypoints/builders.rs | 22 +- .../src/operation/snap_to_roads/builders.rs | 2 +- sdk/georoutes/src/protocol_serde.rs | 4 + .../shape_optimize_waypoints_input.rs | 106 ++-- ...aypoint_optimization_clustering_options.rs | 19 + ...t_optimization_driving_distance_options.rs | 13 + ...aypoint_optimization_optimized_waypoint.rs | 7 + sdk/georoutes/src/types.rs | 12 + .../src/types/_isoline_allow_options.rs | 32 +- .../src/types/_isoline_avoidance_area.rs | 10 +- .../types/_isoline_avoidance_area_geometry.rs | 2 +- .../src/types/_isoline_avoidance_options.rs | 62 +- .../src/types/_isoline_car_options.rs | 2 +- .../src/types/_isoline_connection_geometry.rs | 2 +- .../src/types/_isoline_granularity_options.rs | 10 +- .../src/types/_isoline_origin_options.rs | 2 +- .../src/types/_isoline_scooter_options.rs | 2 +- .../src/types/_isoline_thresholds.rs | 2 +- .../src/types/_isoline_travel_mode_options.rs | 20 +- .../src/types/_route_allow_options.rs | 12 +- .../src/types/_route_avoidance_options.rs | 2 +- sdk/georoutes/src/types/_route_car_options.rs | 2 +- .../src/types/_route_exclusion_options.rs | 2 +- .../src/types/_route_ferry_notice_code.rs | 7 + sdk/georoutes/src/types/_route_ferry_span.rs | 5 + .../src/types/_route_leg_travel_mode.rs | 8 +- .../src/types/_route_matrix_allow_options.rs | 10 + .../types/_route_matrix_avoidance_options.rs | 2 +- .../src/types/_route_matrix_car_options.rs | 2 +- .../types/_route_matrix_exclusion_options.rs | 2 +- .../types/_route_matrix_scooter_options.rs | 2 +- .../_route_matrix_travel_mode_options.rs | 20 +- .../src/types/_route_scooter_options.rs | 2 +- .../src/types/_route_travel_mode_options.rs | 20 +- ...waypoint_optimization_avoidance_options.rs | 2 +- ...point_optimization_clustering_algorithm.rs | 108 ++++ ...aypoint_optimization_clustering_options.rs | 82 +++ ...t_optimization_driving_distance_options.rs | 51 ++ ...waypoint_optimization_exclusion_options.rs | 2 +- ...aypoint_optimization_optimized_waypoint.rs | 24 + .../_waypoint_optimization_origin_options.rs | 2 +- sdk/georoutes/src/types/builders.rs | 4 + sdk/rds/Cargo.toml | 2 +- sdk/rds/README.md | 2 +- sdk/rds/src/client/create_db_cluster.rs | 2 +- sdk/rds/src/client/create_db_instance.rs | 2 +- sdk/rds/src/client/modify_db_cluster.rs | 2 +- .../src/client/restore_db_cluster_from_s3.rs | 2 +- .../restore_db_cluster_from_snapshot.rs | 2 +- .../restore_db_cluster_to_point_in_time.rs | 2 +- sdk/rds/src/lib.rs | 2 +- .../_create_db_cluster_input.rs | 20 +- .../operation/create_db_cluster/builders.rs | 12 +- .../_create_db_instance_input.rs | 10 +- .../operation/create_db_instance/builders.rs | 6 +- .../_modify_db_cluster_input.rs | 20 +- .../operation/modify_db_cluster/builders.rs | 12 +- .../_restore_db_cluster_from_s3_input.rs | 25 +- .../restore_db_cluster_from_s3/builders.rs | 15 +- ..._restore_db_cluster_from_snapshot_input.rs | 20 +- .../builders.rs | 12 +- ...store_db_cluster_to_point_in_time_input.rs | 20 +- .../builders.rs | 12 +- .../operation/stop_db_instance/builders.rs | 2 +- sdk/rds/src/types/_db_cluster.rs | 20 +- sdk/sagemaker/Cargo.toml | 2 +- sdk/sagemaker/README.md | 2 +- sdk/sagemaker/src/lib.rs | 2 +- sdk/sagemaker/src/types/_app_details.rs | 20 +- .../src/types/_code_editor_app_settings.rs | 20 +- .../src/types/_jupyter_lab_app_settings.rs | 20 +- .../_production_variant_instance_type.rs | 7 + .../src/types/_r_session_app_settings.rs | 20 +- .../_r_studio_server_pro_domain_settings.rs | 20 +- ...o_server_pro_domain_settings_for_update.rs | 20 +- sdk/sagemaker/src/types/_resource_spec.rs | 14 +- .../types/_space_code_editor_app_settings.rs | 20 +- .../types/_space_jupyter_lab_app_settings.rs | 20 +- versions.toml | 54 +- 137 files changed, 1796 insertions(+), 670 deletions(-) create mode 100644 sdk/amp/src/protocol_serde/shape_role_configuration.rs create mode 100644 sdk/amp/src/types/_role_configuration.rs create mode 100644 sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_clustering_options.rs create mode 100644 sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_driving_distance_options.rs create mode 100644 sdk/georoutes/src/types/_waypoint_optimization_clustering_algorithm.rs create mode 100644 sdk/georoutes/src/types/_waypoint_optimization_clustering_options.rs create mode 100644 sdk/georoutes/src/types/_waypoint_optimization_driving_distance_options.rs diff --git a/Cargo.toml b/Cargo.toml index cf9ace87a43b..a05769e2fa6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,13 @@ [workspace] resolver = "2" exclude = [ + "examples/lambda", "examples/examples", - "examples/cross_service", "examples/test-utils", - "examples/lambda", "examples/webassembly", - "tests/webassembly", - "tests/no-default-features" + "examples/cross_service", + "tests/no-default-features", + "tests/webassembly" ] members = [ "sdk/accessanalyzer", diff --git a/aws-models/amp.json b/aws-models/amp.json index 6631ffdf1b86..ca1198b876d6 100644 --- a/aws-models/amp.json +++ b/aws-models/amp.json @@ -1402,6 +1402,12 @@ "smithy.api#required": {} } }, + "roleConfiguration": { + "target": "com.amazonaws.amp#RoleConfiguration", + "traits": { + "smithy.api#documentation": "

The scraper role configuration for the workspace.

" + } + }, "clientToken": { "target": "com.amazonaws.amp#IdempotencyToken", "traits": { @@ -2552,7 +2558,8 @@ "aws.api#arnReference": { "type": "AWS::IAM::Role" }, - "smithy.api#documentation": "

An ARN identifying an IAM role used by the scraper.

" + "smithy.api#documentation": "

An ARN identifying an IAM role used by the scraper.

", + "smithy.api#pattern": "^arn:aws[-a-z]*:iam::[0-9]{12}:role/.+$" } }, "com.amazonaws.amp#IdempotencyToken": { @@ -2602,7 +2609,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "^arn:aws:kms:[a-z0-9\\-]+:\\d+:key/[a-f0-9\\-]+$" + "smithy.api#pattern": "^arn:aws[-a-z]*:kms:[-a-z0-9]+:[0-9]{12}:key/[-a-f0-9]+$" } }, "com.amazonaws.amp#ListRuleGroupsNamespaces": { @@ -3081,7 +3088,7 @@ "aws.api#arnReference": { "type": "AWS::Logs::LogGroup" }, - "smithy.api#pattern": "^arn:aws[a-z0-9-]*:logs:[a-z0-9-]+:\\d{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*$" + "smithy.api#pattern": "^arn:aws[-a-z]*:logs:[-a-z0-9]+:[0-9]{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*$" } }, "com.amazonaws.amp#LoggingConfiguration": { @@ -3452,6 +3459,26 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.amp#RoleConfiguration": { + "type": "structure", + "members": { + "sourceRoleArn": { + "target": "com.amazonaws.amp#IamRoleArn", + "traits": { + "smithy.api#documentation": "

A ARN identifying the source role configuration.

" + } + }, + "targetRoleArn": { + "target": "com.amazonaws.amp#IamRoleArn", + "traits": { + "smithy.api#documentation": "

A ARN identifying the target role configuration.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

" + } + }, "com.amazonaws.amp#RuleGroupsNamespace": { "type": "resource", "identifiers": { @@ -3833,6 +3860,9 @@ "smithy.api#documentation": "

The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.

", "smithy.api#required": {} } + }, + "roleConfiguration": { + "target": "com.amazonaws.amp#RoleConfiguration" } }, "traits": { @@ -4011,6 +4041,9 @@ "smithy.api#documentation": "

The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.

", "smithy.api#required": {} } + }, + "roleConfiguration": { + "target": "com.amazonaws.amp#RoleConfiguration" } }, "traits": { @@ -4526,6 +4559,12 @@ "smithy.api#documentation": "

The new Amazon Managed Service for Prometheus workspace to send metrics to.

" } }, + "roleConfiguration": { + "target": "com.amazonaws.amp#RoleConfiguration", + "traits": { + "smithy.api#documentation": "

The scraper role configuration for the workspace.

" + } + }, "clientToken": { "target": "com.amazonaws.amp#IdempotencyToken", "traits": { diff --git a/aws-models/bedrock-agent-runtime.json b/aws-models/bedrock-agent-runtime.json index 6218426b5893..ccb565300029 100644 --- a/aws-models/bedrock-agent-runtime.json +++ b/aws-models/bedrock-agent-runtime.json @@ -1567,8 +1567,24 @@ "citation": { "target": "com.amazonaws.bedrockagentruntime#Citation", "traits": { + "smithy.api#deprecated": { + "since": "2024-12-17", + "message": "Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event." + }, "smithy.api#documentation": "

The citation.

" } + }, + "generatedResponsePart": { + "target": "com.amazonaws.bedrockagentruntime#GeneratedResponsePart", + "traits": { + "smithy.api#documentation": "

The generated response to the citation event.

" + } + }, + "retrievedReferences": { + "target": "com.amazonaws.bedrockagentruntime#RetrievedReferences", + "traits": { + "smithy.api#documentation": "

The retrieved references of the citation event.

" + } } }, "traits": { diff --git a/aws-models/codebuild.json b/aws-models/codebuild.json index b0c1b09d9746..17df85fe63d5 100644 --- a/aws-models/codebuild.json +++ b/aws-models/codebuild.json @@ -9415,6 +9415,12 @@ "traits": { "smithy.api#enumValue": "BUILD_BATCH" } + }, + "RUNNER_BUILDKITE_BUILD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNER_BUILDKITE_BUILD" + } } } }, @@ -9424,7 +9430,7 @@ "type": { "target": "com.amazonaws.codebuild#WebhookFilterType", "traits": { - "smithy.api#documentation": "

The type of webhook filter. There are nine webhook filter types: EVENT,\n ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF,\n FILE_PATH, COMMIT_MESSAGE, TAG_NAME, RELEASE_NAME, \n and WORKFLOW_NAME.

\n ", + "smithy.api#documentation": "

The type of webhook filter. There are nine webhook filter types: EVENT,\n ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF,\n FILE_PATH, COMMIT_MESSAGE, TAG_NAME, RELEASE_NAME, \n and WORKFLOW_NAME.

\n ", "smithy.api#required": {} } }, @@ -9443,7 +9449,7 @@ } }, "traits": { - "smithy.api#documentation": "

A filter used to determine which webhooks trigger a build.

" + "smithy.api#documentation": "

A filter used to determine which webhooks trigger a build.

" } }, "com.amazonaws.codebuild#WebhookFilterType": { diff --git a/aws-models/geo-routes.json b/aws-models/geo-routes.json index aa9c2cf304e3..54445b7382f9 100644 --- a/aws-models/geo-routes.json +++ b/aws-models/geo-routes.json @@ -113,19 +113,19 @@ "Allow": { "target": "com.amazonaws.georoutes#IsolineAllowOptions", "traits": { - "smithy.api#documentation": "

Features that are allowed while calculating. a route

" + "smithy.api#documentation": "

Features that are allowed while calculating an isoline.

" } }, "ArrivalTime": { "target": "com.amazonaws.georoutes#TimestampWithTimezoneOffset", "traits": { - "smithy.api#documentation": "

Time of arrival at the destination.

\n

Time format: YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm\n

\n

Examples:

\n

\n 2020-04-22T17:57:24Z\n

\n

\n 2020-04-22T17:57:24+02:00\n

" + "smithy.api#documentation": "

Time of arrival at the destination.

\n

Time format: YYYY-MM-DDThh:mm:ss.sssZ |\n YYYY-MM-DDThh:mm:ss.sss+hh:mm\n

\n

Examples:

\n

\n 2020-04-22T17:57:24Z\n

\n

\n 2020-04-22T17:57:24+02:00\n

" } }, "Avoid": { "target": "com.amazonaws.georoutes#IsolineAvoidanceOptions", "traits": { - "smithy.api#documentation": "

Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an\n avoidance can't be satisfied for a particular case, it violates the avoidance and the\n returned response produces a notice for the violation.

" + "smithy.api#documentation": "

Features that are avoided while calculating a route. Avoidance is on a best-case basis.\n If an avoidance can't be satisfied for a particular case, it violates the avoidance and the\n returned response produces a notice for the violation.

" } }, "DepartNow": { @@ -143,7 +143,7 @@ "Destination": { "target": "com.amazonaws.georoutes#Position", "traits": { - "smithy.api#documentation": "

The final position for the route. In the World Geodetic System (WGS 84) format: [longitude, latitude].

" + "smithy.api#documentation": "

The final position for the route. In the World Geodetic System (WGS 84) format:\n [longitude, latitude].

" } }, "DestinationOptions": { @@ -161,7 +161,7 @@ "IsolineGranularity": { "target": "com.amazonaws.georoutes#IsolineGranularityOptions", "traits": { - "smithy.api#documentation": "

Defines the granularity of the returned Isoline

" + "smithy.api#documentation": "

Defines the granularity of the returned Isoline.

" } }, "Key": { @@ -174,7 +174,7 @@ "OptimizeIsolineFor": { "target": "com.amazonaws.georoutes#IsolineOptimizationObjective", "traits": { - "smithy.api#documentation": "

Specifies the optimization criteria for when calculating an isoline. AccurateCalculation generates an isoline of higher granularity that is more precise. \nFastCalculation generates an isoline faster by reducing the granularity, and in turn the quality of the isoline. BalancedCalculation generates an isoline by balancing between quality and performance. \n

\n

Default Value: BalancedCalculation\n

" + "smithy.api#documentation": "

Specifies the optimization criteria for when calculating an isoline. AccurateCalculation\n generates an isoline of higher granularity that is more precise. FastCalculation generates\n an isoline faster by reducing the granularity, and in turn the quality of the isoline.\n BalancedCalculation generates an isoline by balancing between quality and performance.

\n

Default Value: BalancedCalculation\n

" } }, "OptimizeRoutingFor": { @@ -198,7 +198,7 @@ "Thresholds": { "target": "com.amazonaws.georoutes#IsolineThresholds", "traits": { - "smithy.api#documentation": "

Threshold to be used for the isoline calculation. Up to \n 3 thresholds per provided type can be requested.

", + "smithy.api#documentation": "

Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type\n can be requested.

\n

You incur a calculation charge for each threshold. Using a large amount of thresholds in a\n request can lead you to incur unexpected charges. See\n \n Amazon Location's pricing page for more information.

", "smithy.api#required": {} } }, @@ -211,7 +211,7 @@ "TravelMode": { "target": "com.amazonaws.georoutes#IsolineTravelMode", "traits": { - "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. \n Used in estimating the speed of travel and road compatibility.

\n \n

The mode Scooter also applies to motorcycles, set to Scooter when wanted to calculate options for motorcycles.

\n
\n

Default Value: Car\n

" + "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. Used in estimating the speed\n of travel and road compatibility.

\n \n

The mode Scooter also applies to motorcycles, set to\n Scooter when wanted to calculate options for motorcycles.

\n
\n

Default Value: Car\n

" } }, "TravelModeOptions": { @@ -231,7 +231,7 @@ "ArrivalTime": { "target": "com.amazonaws.georoutes#TimestampWithTimezoneOffset", "traits": { - "smithy.api#documentation": "

Time of arrival at the destination. This parameter is returned only if the Destination parameters was provided in the request.

\n

Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm\n

\n

Examples:

\n

\n 2020-04-22T17:57:24Z\n

\n

\n 2020-04-22T17:57:24+02:00\n

" + "smithy.api#documentation": "

Time of arrival at the destination. This parameter is returned only if the Destination\n parameters was provided in the request.

\n

Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm\n

\n

Examples:

\n

\n 2020-04-22T17:57:24Z\n

\n

\n 2020-04-22T17:57:24+02:00\n

" } }, "DepartureTime": { @@ -303,7 +303,7 @@ ], "traits": { "aws.api#dataPlane": {}, - "smithy.api#documentation": "

Calculates route matrix containing the results for all pairs of \n Origins to Destinations. Each row corresponds to one entry in Origins. \n Each entry in the row corresponds to the route from that entry in Origins to an entry in Destinations positions.

", + "smithy.api#documentation": "

Use CalculateRouteMatrix to compute results for all pairs of Origins to\n Destinations. Each row corresponds to one entry in Origins. Each entry in the row\n corresponds to the route from that entry in Origins to an entry in Destinations\n positions.

", "smithy.api#http": { "uri": "/route-matrix", "method": "POST" @@ -350,13 +350,13 @@ "Allow": { "target": "com.amazonaws.georoutes#RouteMatrixAllowOptions", "traits": { - "smithy.api#documentation": "

Features that are allowed while calculating. a route

" + "smithy.api#documentation": "

Features that are allowed while calculating a route.

" } }, "Avoid": { "target": "com.amazonaws.georoutes#RouteMatrixAvoidanceOptions", "traits": { - "smithy.api#documentation": "

Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an\n avoidance can't be satisfied for a particular case, it violates the avoidance and the\n returned response produces a notice for the violation.

" + "smithy.api#documentation": "

Features that are avoided while calculating a route. Avoidance is on a best-case basis.\n If an avoidance can't be satisfied for a particular case, it violates the avoidance and the\n returned response produces a notice for the violation.

" } }, "DepartNow": { @@ -374,7 +374,7 @@ "Destinations": { "target": "com.amazonaws.georoutes#RouteMatrixDestinationList", "traits": { - "smithy.api#documentation": "

List of destinations for the route.

", + "smithy.api#documentation": "

List of destinations for the route.

\n \n

Route calculations are billed for each origin and destination pair. If you use a large matrix of origins and destinations, your costs will increase accordingly. See\n \n Amazon Location's pricing page for more information.

\n
", "smithy.api#length": { "min": 1 }, @@ -403,7 +403,7 @@ "Origins": { "target": "com.amazonaws.georoutes#RouteMatrixOriginList", "traits": { - "smithy.api#documentation": "

The position in longitude and latitude for the origin.

", + "smithy.api#documentation": "

The position in longitude and latitude for the origin.

\n \n

Route calculations are billed for each origin and destination pair. Using a large amount of Origins in a\n request can lead you to incur unexpected charges. See\n \n Amazon Location's pricing page for more information.

\n
", "smithy.api#length": { "min": 1 }, @@ -413,7 +413,7 @@ "RoutingBoundary": { "target": "com.amazonaws.georoutes#RouteMatrixBoundary", "traits": { - "smithy.api#documentation": "

Boundary within which the matrix is to be calculated. \n All data, origins and destinations outside the boundary are considered invalid.

\n \n

When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.

\n
", + "smithy.api#documentation": "

Boundary within which the matrix is to be calculated. All data, origins and destinations\n outside the boundary are considered invalid.

\n \n

When request routing boundary was set as AutoCircle, the response routing boundary\n will return Circle derived from the AutoCircle settings.

\n
", "smithy.api#required": {} } }, @@ -426,7 +426,7 @@ "TravelMode": { "target": "com.amazonaws.georoutes#RouteMatrixTravelMode", "traits": { - "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. \n Used in estimating the speed of travel and road compatibility.

\n

Default Value: Car\n

" + "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. Used in estimating the speed\n of travel and road compatibility.

\n

Default Value: Car\n

" } }, "TravelModeOptions": { @@ -446,7 +446,7 @@ "ErrorCount": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.

", + "smithy.api#documentation": "

The count of error results in the route matrix. If this number is 0, all routes were\n calculated successfully.

", "smithy.api#range": { "min": 0 }, @@ -464,14 +464,14 @@ "RouteMatrix": { "target": "com.amazonaws.georoutes#RouteMatrix", "traits": { - "smithy.api#documentation": "

The calculated route matrix containing the results for all pairs of Origins to Destination positions. Each row corresponds to one entry in Origins. Each entry in the row corresponds to the route from that entry in Origins to an entry in Destination positions.

", + "smithy.api#documentation": "

The calculated route matrix containing the results for all pairs of Origins to\n Destination positions. Each row corresponds to one entry in Origins. Each entry in the row\n corresponds to the route from that entry in Origins to an entry in Destination\n positions.

", "smithy.api#required": {} } }, "RoutingBoundary": { "target": "com.amazonaws.georoutes#RouteMatrixBoundary", "traits": { - "smithy.api#documentation": "

Boundary within which the matrix is to be calculated. All data, origins and destinations outside the boundary are considered invalid.

\n \n

When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.

\n
", + "smithy.api#documentation": "

Boundary within which the matrix is to be calculated. All data, origins and destinations\n outside the boundary are considered invalid.

\n \n

When request routing boundary was set as AutoCircle, the response routing boundary\n will return Circle derived from the AutoCircle settings.

\n
", "smithy.api#required": {} } } @@ -504,7 +504,7 @@ ], "traits": { "aws.api#dataPlane": {}, - "smithy.api#documentation": "

Calculates a route given the following required parameters: \n Origin and Destination.

", + "smithy.api#documentation": "

\n CalculateRoutes computes routes given the following required parameters:\n Origin and Destination.

", "smithy.api#http": { "uri": "/routes", "method": "POST" @@ -540,7 +540,7 @@ "Allow": { "target": "com.amazonaws.georoutes#RouteAllowOptions", "traits": { - "smithy.api#documentation": "

Features that are allowed while calculating. a route

" + "smithy.api#documentation": "

Features that are allowed while calculating a route.

" } }, "ArrivalTime": { @@ -552,7 +552,7 @@ "Avoid": { "target": "com.amazonaws.georoutes#RouteAvoidanceOptions", "traits": { - "smithy.api#documentation": "

Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an\n avoidance can't be satisfied for a particular case, it violates the avoidance and the\n returned response produces a notice for the violation.

" + "smithy.api#documentation": "

Features that are avoided while calculating a route. Avoidance is on a best-case basis.\n If an avoidance can't be satisfied for a particular case, it violates the avoidance and the\n returned response produces a notice for the violation.

" } }, "DepartNow": { @@ -570,7 +570,7 @@ "Destination": { "target": "com.amazonaws.georoutes#Position", "traits": { - "smithy.api#documentation": "

The final position for the route. In the World Geodetic System (WGS 84) format: [longitude, latitude].

", + "smithy.api#documentation": "

The final position for the route. In the World Geodetic System (WGS 84) format:\n [longitude, latitude].

", "smithy.api#required": {} } }, @@ -608,7 +608,7 @@ "Languages": { "target": "com.amazonaws.georoutes#LanguageTagList", "traits": { - "smithy.api#documentation": "

List of languages for instructions within steps in the response.

\n \n

Instructions in the requested language are returned only if they are available.

\n
", + "smithy.api#documentation": "

List of languages for instructions within steps in the response.

\n \n

Instructions in the requested language are returned only if they are\n available.

\n
", "smithy.api#length": { "max": 10 } @@ -617,19 +617,19 @@ "LegAdditionalFeatures": { "target": "com.amazonaws.georoutes#RouteLegAdditionalFeatureList", "traits": { - "smithy.api#documentation": "

A list of optional additional parameters such as timezone that can be requested for each result.

\n " + "smithy.api#documentation": "

A list of optional additional parameters such as timezone that can be requested for each\n result.

\n " } }, "LegGeometryFormat": { "target": "com.amazonaws.georoutes#GeometryFormat", "traits": { - "smithy.api#documentation": "

Specifies the format of the geometry returned for each leg of the route. You can \n choose between two different geometry encoding formats.

\n

\n FlexiblePolyline: A compact and precise encoding format for the \n leg geometry. For more information on the format, see the GitHub repository for \n FlexiblePolyline\n .

\n

\n Simple: A less compact encoding,\n which is easier to decode but may be less precise and result in larger payloads.

" + "smithy.api#documentation": "

Specifies the format of the geometry returned for each leg of the route. You can choose\n between two different geometry encoding formats.

\n

\n FlexiblePolyline: A compact and precise encoding format for the leg\n geometry. For more information on the format, see the GitHub repository for \n FlexiblePolyline\n .

\n

\n Simple: A less compact encoding, which is easier to decode but may be less\n precise and result in larger payloads.

" } }, "MaxAlternatives": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

Maximum number of alternative routes to be provided in the response, if available.

", + "smithy.api#documentation": "

Maximum number of alternative routes to be provided in the response, if\n available.

", "smithy.api#range": { "min": 0, "max": 5 @@ -658,7 +658,7 @@ "SpanAdditionalFeatures": { "target": "com.amazonaws.georoutes#RouteSpanAdditionalFeatureList", "traits": { - "smithy.api#documentation": "

A list of optional features such as SpeedLimit that can be requested for a Span. A span is a section of a Leg for which the requested features have the same values.

" + "smithy.api#documentation": "

A list of optional features such as SpeedLimit that can be requested for a Span. A span\n is a section of a Leg for which the requested features have the same values.

" } }, "Tolls": { @@ -676,7 +676,7 @@ "TravelMode": { "target": "com.amazonaws.georoutes#RouteTravelMode", "traits": { - "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. \n Used in estimating the speed of travel and road compatibility.

\n

Default Value: Car\n

" + "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. Used in estimating the speed\n of travel and road compatibility.

\n

Default Value: Car\n

" } }, "TravelModeOptions": { @@ -688,7 +688,7 @@ "TravelStepType": { "target": "com.amazonaws.georoutes#RouteTravelStepType", "traits": { - "smithy.api#documentation": "

Type of step returned by the response.\nDefault provides basic steps intended for web based applications.\nTurnByTurn provides detailed instructions with more granularity intended for a turn based naviagtion system.

" + "smithy.api#documentation": "

Type of step returned by the response. Default provides basic steps intended for web\n based applications. TurnByTurn provides detailed instructions with more granularity\n intended for a turn based navigation system.

" } }, "Waypoints": { @@ -715,7 +715,7 @@ "Notices": { "target": "com.amazonaws.georoutes#RouteResponseNoticeList", "traits": { - "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during route calculation.

", + "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during\n route calculation.

", "smithy.api#required": {} } }, @@ -745,7 +745,7 @@ "Center": { "target": "com.amazonaws.georoutes#Position", "traits": { - "smithy.api#documentation": "

Center of the Circle defined in longitude and latitude coordinates.

\n

Example: [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

", + "smithy.api#documentation": "

Center of the Circle defined in longitude and latitude coordinates.

\n

Example: [-123.1174, 49.2847] represents the position with longitude\n -123.1174 and latitude 49.2847.

", "smithy.api#required": {} } }, @@ -758,10 +758,18 @@ } }, "traits": { - "smithy.api#documentation": "

Geometry defined as a circle. When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.

", + "smithy.api#documentation": "

Geometry defined as a circle. When request routing boundary was set as\n AutoCircle, the response routing boundary will return Circle\n derived from the AutoCircle settings.

", "smithy.api#sensitive": {} } }, + "com.amazonaws.georoutes#ClusterIndex": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0 + } + } + }, "com.amazonaws.georoutes#Corridor": { "type": "structure", "members": { @@ -781,7 +789,7 @@ } }, "traits": { - "smithy.api#documentation": "

Geometry defined as a corridor - a LineString with a radius that defines the width of the corridor.

", + "smithy.api#documentation": "

Geometry defined as a corridor - a LineString with a radius that defines the width of\n the corridor.

", "smithy.api#sensitive": {} } }, @@ -954,7 +962,7 @@ } }, "traits": { - "smithy.api#documentation": "

The request processing has failed because of an unknown error, exception or failure.

", + "smithy.api#documentation": "

The request processing has failed because of an unknown error, exception or\n failure.

", "smithy.api#error": "server", "smithy.api#httpError": 500, "smithy.api#retryable": {} @@ -966,7 +974,7 @@ "Connections": { "target": "com.amazonaws.georoutes#IsolineConnectionList", "traits": { - "smithy.api#documentation": "

Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.

", + "smithy.api#documentation": "

Isolines may contain multiple components, if these components are connected by ferry\n links. These components are returned as separate polygons while the ferry links are\n returned as connections.

", "smithy.api#required": {} } }, @@ -1002,18 +1010,18 @@ "Hot": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Allow Hot (High Occupancy Toll) lanes while calculating the route.

" + "smithy.api#documentation": "

Allow Hot (High Occupancy Toll) lanes while calculating an isoline.

\n

Default value: false\n

" } }, "Hov": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Allow Hov (High Occupancy vehicle) lanes while calculating the route.

" + "smithy.api#documentation": "

Allow Hov (High Occupancy vehicle) lanes while calculating an isoline.

\n

Default value: false\n

" } } }, "traits": { - "smithy.api#documentation": "

Features that are allowed while calculating. a route

" + "smithy.api#documentation": "

Features that are allowed while calculating an isoline.

" } }, "com.amazonaws.georoutes#IsolineAvoidanceArea": { @@ -1022,7 +1030,7 @@ "Except": { "target": "com.amazonaws.georoutes#IsolineAvoidanceAreaGeometryList", "traits": { - "smithy.api#documentation": "

Exceptions to the provided avoidance geometry, to be included while calculating the route.

" + "smithy.api#documentation": "

Exceptions to the provided avoidance geometry, to be included while calculating an\n isoline.

" } }, "Geometry": { @@ -1049,13 +1057,13 @@ "Corridor": { "target": "com.amazonaws.georoutes#Corridor", "traits": { - "smithy.api#documentation": "

Geometry defined as a corridor - a LineString with a radius that defines the width of the corridor.

" + "smithy.api#documentation": "

Geometry defined as a corridor - a LineString with a radius that defines the width of\n the corridor.

" } }, "Polygon": { "target": "com.amazonaws.georoutes#LinearRings", "traits": { - "smithy.api#documentation": "

A list of Polygon will be excluded for calculating isolines, the list can only contain 1 polygon.

", + "smithy.api#documentation": "

A list of Polygon will be excluded for calculating isolines, the list can only contain 1\n polygon.

", "smithy.api#length": { "min": 1, "max": 1 @@ -1065,13 +1073,13 @@ "PolylineCorridor": { "target": "com.amazonaws.georoutes#PolylineCorridor", "traits": { - "smithy.api#documentation": "

Geometry defined as an encoded corridor – a polyline with a radius that defines the width of the corridor. For more information on polyline \nencoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.

" + "smithy.api#documentation": "

Geometry defined as an encoded corridor – a polyline with a radius that defines the\n width of the corridor. For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.

" } }, "PolylinePolygon": { "target": "com.amazonaws.georoutes#PolylineRingList", "traits": { - "smithy.api#documentation": "

A list of PolylinePolygon's that are excluded for calculating isolines, the list can only contain 1 polygon. For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md. \n

", + "smithy.api#documentation": "

A list of PolylinePolygon's that are excluded for calculating isolines, the list can\n only contain 1 polygon. For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.

", "smithy.api#length": { "min": 1, "max": 1 @@ -1080,7 +1088,7 @@ } }, "traits": { - "smithy.api#documentation": "

The avoidance geometry, to be included while calculating the route.

" + "smithy.api#documentation": "

The avoidance geometry, to be included while calculating an isoline.

" } }, "com.amazonaws.georoutes#IsolineAvoidanceAreaGeometryList": { @@ -1107,31 +1115,31 @@ "CarShuttleTrains": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Avoid car-shuttle-trains while calculating the route.

" + "smithy.api#documentation": "

Avoid car-shuttle-trains while calculating an isoline.

" } }, "ControlledAccessHighways": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Avoid controlled access highways while calculating the route.

" + "smithy.api#documentation": "

Avoid controlled access highways while calculating an isoline.

" } }, "DirtRoads": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Avoid dirt roads while calculating the route.

" + "smithy.api#documentation": "

Avoid dirt roads while calculating an isoline.

" } }, "Ferries": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Avoid ferries while calculating the route.

" + "smithy.api#documentation": "

Avoid ferries while calculating an isoline.

" } }, "SeasonalClosure": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Avoid roads that have seasonal closure while calculating the route.

" + "smithy.api#documentation": "

Avoid roads that have seasonal closure while calculating an isoline.

" } }, "TollRoads": { @@ -1149,13 +1157,13 @@ "TruckRoadTypes": { "target": "com.amazonaws.georoutes#TruckRoadTypeList", "traits": { - "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to Sweden. \nA2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
" + "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to\n Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
" } }, "Tunnels": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Avoid tunnels while calculating the route.

" + "smithy.api#documentation": "

Avoid tunnels while calculating an isoline.

" } }, "UTurns": { @@ -1172,7 +1180,7 @@ } }, "traits": { - "smithy.api#documentation": "

Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an\n avoidance can't be satisfied for a particular case, it violates the avoidance and the\n returned response produces a notice for the violation.

" + "smithy.api#documentation": "

Features that are avoided while calculating isolines. Avoidance is on a best-case basis.\n If an avoidance can't be satisfied for a particular case, it violates the avoidance and the\n returned response produces a notice for the violation.

" } }, "com.amazonaws.georoutes#IsolineAvoidanceZoneCategory": { @@ -1239,7 +1247,7 @@ } }, "traits": { - "smithy.api#documentation": "

Options for vehicles.

" + "smithy.api#documentation": "

Travel mode options when the provided travel mode is Car.

" } }, "com.amazonaws.georoutes#IsolineConnection": { @@ -1248,7 +1256,7 @@ "FromPolygonIndex": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

Index of the polygon corresponding to the \"from\" component of the connection. The polygon is available from Isoline[].Geometries.

", + "smithy.api#documentation": "

Index of the polygon corresponding to the \"from\" component of the connection.\n The polygon is available from Isoline[].Geometries.

", "smithy.api#range": { "min": 0 }, @@ -1265,7 +1273,7 @@ "ToPolygonIndex": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

Index of the polygon corresponding to the \"to\" component of the connection. The polygon is available from Isoline[].Geometries.

", + "smithy.api#documentation": "

Index of the polygon corresponding to the \"to\" component of the connection.\n The polygon is available from Isoline[].Geometries.

", "smithy.api#range": { "min": 0 }, @@ -1274,7 +1282,7 @@ } }, "traits": { - "smithy.api#documentation": "

Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.

" + "smithy.api#documentation": "

Isolines may contain multiple components, if these components are connected by ferry\n links. These components are returned as separate polygons while the ferry links are\n returned as connections.

" } }, "com.amazonaws.georoutes#IsolineConnectionGeometry": { @@ -1289,12 +1297,12 @@ "Polyline": { "target": "com.amazonaws.georoutes#Polyline", "traits": { - "smithy.api#documentation": "

An ordered list of positions used to plot a route on a map in a lossy compression format.

\n \n

LineString and Polyline are mutually exclusive properties.

\n
" + "smithy.api#documentation": "

An ordered list of positions used to plot a route on a map in a lossy compression\n format.

\n \n

LineString and Polyline are mutually exclusive properties.

\n
" } } }, "traits": { - "smithy.api#documentation": "

Geometry of the connection between different Isoline components.

" + "smithy.api#documentation": "

Geometry of the connection between different isoline components.

" } }, "com.amazonaws.georoutes#IsolineConnectionList": { @@ -1310,7 +1318,7 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination.

" + "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in\n moving vehicles who may not have sufficient time to make an action at an origin or a\n destination.

" } }, "Heading": { @@ -1373,7 +1381,7 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Maximum resolution of the returned isoline.

\n

\n Unit: centimeters\n

" + "smithy.api#documentation": "

Maximum resolution of the returned isoline.

\n

\n Unit: meters\n

" } } }, @@ -1469,20 +1477,20 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.

\n

\n Unit: meters\n

" + "smithy.api#documentation": "

If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint\n will be snapped to the highway/bridge/tunnel/sliproad.

\n

\n Unit: meters\n

" } }, "Radius": { "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.

\n

\n Unit: Meters\n

" + "smithy.api#documentation": "

Considers all roads within the provided radius to match the provided destination to. The\n roads that are considered are determined by the provided Strategy.

\n

\n Unit: Meters\n

" } }, "Strategy": { "target": "com.amazonaws.georoutes#MatchingStrategy", "traits": { - "smithy.api#documentation": "

Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.

" + "smithy.api#documentation": "

Strategy that defines matching of the position onto the road network. MatchAny considers\n all roads possible, whereas MatchMostSignificantRoad matches to the most significant\n road.

" } } }, @@ -1516,7 +1524,7 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination.

" + "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in\n moving vehicles who may not have sufficient time to make an action at an origin or a\n destination.

" } }, "Heading": { @@ -1540,7 +1548,7 @@ } }, "traits": { - "smithy.api#documentation": "

Options for the property.

" + "smithy.api#documentation": "

Origin related options.

" } }, "com.amazonaws.georoutes#IsolineScooterOptions": { @@ -1581,7 +1589,7 @@ } }, "traits": { - "smithy.api#documentation": "

Options for the property.

" + "smithy.api#documentation": "

Travel mode options when the provided travel mode is Scooter\n

" } }, "com.amazonaws.georoutes#IsolineShapeGeometry": { @@ -1590,13 +1598,13 @@ "Polygon": { "target": "com.amazonaws.georoutes#LinearRings", "traits": { - "smithy.api#documentation": "

A list of Isoline Polygons, for each isoline polygon, it contains polygons of the first linear ring (the outer ring) and from 2nd item to the last item (the inner rings).

" + "smithy.api#documentation": "

A list of Isoline Polygons, for each isoline polygon, it contains polygons of the first\n linear ring (the outer ring) and from 2nd item to the last item (the inner rings).

" } }, "PolylinePolygon": { "target": "com.amazonaws.georoutes#PolylineRingList", "traits": { - "smithy.api#documentation": "

A list of Isoline PolylinePolygon, for each isoline PolylinePolygon, it contains PolylinePolygon \n of the first linear ring (the outer ring) and from 2nd item to the last item (the inner rings). \n For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.

" + "smithy.api#documentation": "

A list of Isoline PolylinePolygon, for each isoline PolylinePolygon, it contains\n PolylinePolygon of the first linear ring (the outer ring) and from 2nd item to the last\n item (the inner rings). For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.

" } } }, @@ -1623,7 +1631,7 @@ "UseWith": { "target": "com.amazonaws.georoutes#SideOfStreetMatchingStrategy", "traits": { - "smithy.api#documentation": "

Strategy that defines when the side of street position should be used. AnyStreet will always use the provided position.

\n

Default Value: DividedStreetOnly\n

" + "smithy.api#documentation": "

Strategy that defines when the side of street position should be used. AnyStreet will\n always use the provided position.

\n

Default Value: DividedStreetOnly\n

" } } }, @@ -1648,7 +1656,7 @@ } }, "traits": { - "smithy.api#documentation": "

Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type\n can be requested.

" + "smithy.api#documentation": "

Threshold to be used for the isoline calculation. Up to 5 thresholds per provided type\n can be requested.

" } }, "com.amazonaws.georoutes#IsolineTrafficOptions": { @@ -1658,7 +1666,7 @@ "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Duration for which flow traffic is considered valid. For this period, the flow traffic is used over historical traffic data. Flow traffic refers to congestion, which changes very quickly. Duration in seconds for which flow traffic event would be considered valid. While flow traffic event is valid it will be used over the historical traffic data.

\n

\n Unit: seconds\n

" + "smithy.api#documentation": "

Duration for which flow traffic is considered valid. For this period, the flow traffic\n is used over historical traffic data. Flow traffic refers to congestion, which changes very\n quickly. Duration in seconds for which flow traffic event would be considered valid. While\n flow traffic event is valid it will be used over the historical traffic data.

\n

\n Unit: seconds\n

" } }, "Usage": { @@ -1736,7 +1744,7 @@ "Scooter": { "target": "com.amazonaws.georoutes#IsolineScooterOptions", "traits": { - "smithy.api#documentation": "

Travel mode options when the provided travel mode is \"Scooter\"

" + "smithy.api#documentation": "

Travel mode options when the provided travel mode is Scooter\n

\n \n

When travel mode is set to Scooter, then the avoidance option\n ControlledAccessHighways defaults to true.

\n
" } }, "Truck": { @@ -1883,20 +1891,20 @@ "TunnelRestrictionCode": { "target": "com.amazonaws.georoutes#TunnelRestrictionCode", "traits": { - "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. \n They relate to the types of dangerous goods that can be transported through them.

\n " + "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels\n in Great Britain. They relate to the types of dangerous goods that can be transported\n through them.

\n " } }, "WeightPerAxle": { "target": "com.amazonaws.georoutes#WeightKilograms", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Heaviest weight per axle irrespective of the axle type or the axle group. Meant for usage in countries where the differences in axle types or axle groups are not distinguished.

\n

\n Unit: Kilograms\n

" + "smithy.api#documentation": "

Heaviest weight per axle irrespective of the axle type or the axle group. Meant for\n usage in countries where the differences in axle types or axle groups are not\n distinguished.

\n

\n Unit: Kilograms\n

" } }, "WeightPerAxleGroup": { "target": "com.amazonaws.georoutes#WeightPerAxleGroup", "traits": { - "smithy.api#documentation": "

Specifies the total weight for the specified axle group. Meant for usage in countries that have different regulations based on the axle group type.

\n

\n Unit: Kilograms\n

" + "smithy.api#documentation": "

Specifies the total weight for the specified axle group. Meant for usage in countries\n that have different regulations based on the axle group type.

\n

\n Unit: Kilograms\n

" } }, "Width": { @@ -2106,7 +2114,7 @@ ], "traits": { "aws.api#dataPlane": {}, - "smithy.api#documentation": "

Calculates the optimal order to travel between a set of waypoints to minimize either the\n travel time or the distance travelled during the journey, based on road network\n restrictions and the traffic pattern data.

", + "smithy.api#documentation": "

\n OptimizeWaypoints calculates the optimal order to travel between a set of\n waypoints to minimize either the travel time or the distance travelled during the journey,\n based on road network restrictions and the traffic pattern data.

", "smithy.api#http": { "uri": "/optimize-waypoints", "method": "POST" @@ -2142,7 +2150,13 @@ "Avoid": { "target": "com.amazonaws.georoutes#WaypointOptimizationAvoidanceOptions", "traits": { - "smithy.api#documentation": "

Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an\n avoidance can't be satisfied for a particular case, this setting is ignored.

" + "smithy.api#documentation": "

Features that are avoided. Avoidance is on a best-case basis. If an avoidance can't be\n satisfied for a particular case, this setting is ignored.

" + } + }, + "Clustering": { + "target": "com.amazonaws.georoutes#WaypointOptimizationClusteringOptions", + "traits": { + "smithy.api#documentation": "

Clustering allows you to specify how nearby waypoints can be clustered to improve the\n optimized sequence.

" } }, "DepartureTime": { @@ -2210,7 +2224,7 @@ "TravelMode": { "target": "com.amazonaws.georoutes#WaypointOptimizationTravelMode", "traits": { - "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. \n Used in estimating the speed of travel and road compatibility.

\n

Default Value: Car\n

" + "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. Used in estimating the speed\n of travel and road compatibility.

\n

Default Value: Car\n

" } }, "TravelModeOptions": { @@ -2236,7 +2250,7 @@ "Connections": { "target": "com.amazonaws.georoutes#WaypointOptimizationConnectionList", "traits": { - "smithy.api#documentation": "

Details about the connection from one waypoint to the next, within the optimized sequence.

", + "smithy.api#documentation": "

Details about the connection from one waypoint to the next, within the optimized\n sequence.

", "smithy.api#required": {} } }, @@ -2259,7 +2273,7 @@ "ImpedingWaypoints": { "target": "com.amazonaws.georoutes#WaypointOptimizationImpedingWaypointList", "traits": { - "smithy.api#documentation": "

Returns waypoints that caused the optimization problem to fail, and the constraints that were unsatisfied leading to the failure.

", + "smithy.api#documentation": "

Returns waypoints that caused the optimization problem to fail, and the constraints that\n were unsatisfied leading to the failure.

", "smithy.api#required": {} } }, @@ -2308,14 +2322,14 @@ "Polyline": { "target": "com.amazonaws.georoutes#Polyline", "traits": { - "smithy.api#documentation": "

An ordered list of positions used to plot a route on a map in a lossy compression format.

\n \n

LineString and Polyline are mutually exclusive properties.

\n
", + "smithy.api#documentation": "

An ordered list of positions used to plot a route on a map in a lossy compression\n format.

\n \n

LineString and Polyline are mutually exclusive properties.

\n
", "smithy.api#required": {} } }, "Radius": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.

\n

\n Unit: Meters\n

", + "smithy.api#documentation": "

Considers all roads within the provided radius to match the provided destination to. The\n roads that are considered are determined by the provided Strategy.

\n

\n Unit: Meters\n

", "smithy.api#required": {} } } @@ -2489,7 +2503,7 @@ } }, "traits": { - "smithy.api#documentation": "

Notices provide information around factors that may have influenced snapping in a manner atypical to the standard use cases.

" + "smithy.api#documentation": "

Notices provide information around factors that may have influenced snapping in a manner\n atypical to the standard use cases.

" } }, "com.amazonaws.georoutes#RoadSnapNoticeCode": { @@ -2545,7 +2559,7 @@ "Polyline": { "target": "com.amazonaws.georoutes#Polyline", "traits": { - "smithy.api#documentation": "

An ordered list of positions used to plot a route on a map in a lossy compression format.

\n \n

LineString and Polyline are mutually exclusive properties.

\n
" + "smithy.api#documentation": "

An ordered list of positions used to plot a route on a map in a lossy compression\n format.

\n \n

LineString and Polyline are mutually exclusive properties.

\n
" } } }, @@ -2577,7 +2591,7 @@ "SnappedPosition": { "target": "com.amazonaws.georoutes#Position", "traits": { - "smithy.api#documentation": "

Snapped position of the TracePoint provided within the request, at the same index.

", + "smithy.api#documentation": "

Snapped position of the TracePoint provided within the request, at the same index.\n

", "smithy.api#required": {} } } @@ -2747,7 +2761,7 @@ "TunnelRestrictionCode": { "target": "com.amazonaws.georoutes#TunnelRestrictionCode", "traits": { - "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. \n They relate to the types of dangerous goods that can be transported through them.

\n " + "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels\n in Great Britain. They relate to the types of dangerous goods that can be transported\n through them.

\n " } }, "Width": { @@ -2782,14 +2796,14 @@ "Legs": { "target": "com.amazonaws.georoutes#RouteLegList", "traits": { - "smithy.api#documentation": "

A leg is a section of a route from one waypoint to the next. A leg could be of type Vehicle, Pedestrian or Ferry.\nLegs of different types could occur together within a single route. For example, a car employing the use of a Ferry will contain Vehicle legs corresponding to journey on land, and Ferry legs corresponding to the journey via Ferry.

", + "smithy.api#documentation": "

A leg is a section of a route from one waypoint to the next. A leg could be of type\n Vehicle, Pedestrian or Ferry. Legs of different types could occur together within a single\n route. For example, a car employing the use of a Ferry will contain Vehicle legs\n corresponding to journey on land, and Ferry legs corresponding to the journey via\n Ferry.

", "smithy.api#required": {} } }, "MajorRoadLabels": { "target": "com.amazonaws.georoutes#RouteMajorRoadLabelList", "traits": { - "smithy.api#documentation": "

Important labels including names and route numbers that differentiate the current route from the alternatives presented.

", + "smithy.api#documentation": "

Important labels including names and route numbers that differentiate the current route\n from the alternatives presented.

", "smithy.api#length": { "min": 0, "max": 2 @@ -2814,18 +2828,18 @@ "Hot": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Allow Hot (High Occupancy Toll) lanes while calculating the route.

" + "smithy.api#documentation": "

Allow Hot (High Occupancy Toll) lanes while calculating the route.

\n

Default value: false\n

" } }, "Hov": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Allow Hov (High Occupancy vehicle) lanes while calculating the route.

" + "smithy.api#documentation": "

Allow Hov (High Occupancy vehicle) lanes while calculating the route.

\n

Default value: false\n

" } } }, "traits": { - "smithy.api#documentation": "

Features that are allowed while calculating. a route

" + "smithy.api#documentation": "

Features that are allowed while calculating a route.

" } }, "com.amazonaws.georoutes#RouteAvoidanceArea": { @@ -2834,7 +2848,7 @@ "Except": { "target": "com.amazonaws.georoutes#RouteAvoidanceAreaGeometryList", "traits": { - "smithy.api#documentation": "

Exceptions to the provided avoidance geometry, to be included while calculating the route.

" + "smithy.api#documentation": "

Exceptions to the provided avoidance geometry, to be included while calculating the\n route.

" } }, "Geometry": { @@ -2854,7 +2868,7 @@ "Corridor": { "target": "com.amazonaws.georoutes#Corridor", "traits": { - "smithy.api#documentation": "

Geometry defined as a corridor - a LineString with a radius that defines the width of the corridor.

" + "smithy.api#documentation": "

Geometry defined as a corridor - a LineString with a radius that defines the width of\n the corridor.

" } }, "BoundingBox": { @@ -2882,7 +2896,7 @@ "PolylinePolygon": { "target": "com.amazonaws.georoutes#PolylineRingList", "traits": { - "smithy.api#documentation": "

A list of Isoline PolylinePolygon, for each isoline PolylinePolygon, it contains PolylinePolygon \n of the first linear ring (the outer ring) and from 2nd item to the last item (the inner rings). \n For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.

", + "smithy.api#documentation": "

A list of Isoline PolylinePolygon, for each isoline PolylinePolygon, it contains\n PolylinePolygon of the first linear ring (the outer ring) and from 2nd item to the last\n item (the inner rings). For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.

", "smithy.api#length": { "min": 1, "max": 1 @@ -2960,7 +2974,7 @@ "TruckRoadTypes": { "target": "com.amazonaws.georoutes#TruckRoadTypeList", "traits": { - "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to Sweden. \n A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
" + "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to\n Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
" } }, "Tunnels": { @@ -2983,7 +2997,7 @@ } }, "traits": { - "smithy.api#documentation": "

Options related to areas to be avoided.

" + "smithy.api#documentation": "

Specifies options for areas to avoid when calculating the route. This is a best-effort\n avoidance setting, meaning the router will try to honor the avoidance preferences but may\n still include restricted areas if no feasible alternative route exists. If avoidance\n options are not followed, the response will indicate that the avoidance criteria were\n violated.

" } }, "com.amazonaws.georoutes#RouteAvoidanceZoneCategory": { @@ -3050,7 +3064,7 @@ } }, "traits": { - "smithy.api#documentation": "

Travel mode options when the provided travel mode is \"Car\"

" + "smithy.api#documentation": "

Travel mode options when the provided travel mode is Car.

" } }, "com.amazonaws.georoutes#RouteContinueHighwayStepDetails": { @@ -3109,7 +3123,7 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination.

", + "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in\n moving vehicles who may not have sufficient time to make an action at an origin or a\n destination.

", "smithy.api#range": { "max": 2000 } @@ -3210,7 +3224,7 @@ } }, "traits": { - "smithy.api#documentation": "

Interval of the driver work-rest schedule. \n Stops are added to fulfil the provided rest schedule.

" + "smithy.api#documentation": "

Interval of the driver work-rest schedule. Stops are added to fulfil the provided rest\n schedule.

" } }, "com.amazonaws.georoutes#RouteDriverScheduleIntervalList": { @@ -3225,19 +3239,19 @@ "Co2EmissionClass": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

The CO 2 emission classes.

" + "smithy.api#documentation": "

The CO 2 emission classes.

" } }, "Type": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

Type of the emission.

\n

\n Valid values: Euro1, Euro2, Euro3, Euro4, Euro5, Euro6, EuroEev\n

", + "smithy.api#documentation": "

Type of the emission.

\n

\n Valid values: Euro1, Euro2, Euro3, Euro4, Euro5,\n Euro6, EuroEev\n

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Type of the emission.

\n

\n Valid values: Euro1, Euro2, Euro3, Euro4, Euro5, Euro6, EuroEev\n

" + "smithy.api#documentation": "

Type of the emission.

\n

\n Valid values: Euro1, Euro2, Euro3, Euro4, Euro5,\n Euro6, EuroEev\n

" } }, "com.amazonaws.georoutes#RouteEngineType": { @@ -3299,13 +3313,13 @@ "Countries": { "target": "com.amazonaws.georoutes#CountryCodeList", "traits": { - "smithy.api#documentation": "

List of countries to be avoided defined by two-letter or three-letter country codes.

", + "smithy.api#documentation": "

List of countries to be avoided defined by two-letter or three-letter country\n codes.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Exclusion options for the route.

" + "smithy.api#documentation": "

Specifies strict exclusion options for the route calculation. This setting mandates that\n the router will avoid any routes that include the specified options, rather than merely\n attempting to minimize them.

" } }, "com.amazonaws.georoutes#RouteExitStepDetails": { @@ -3521,14 +3535,14 @@ "Notices": { "target": "com.amazonaws.georoutes#RouteFerryNoticeList", "traits": { - "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during route calculation.

", + "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during\n route calculation.

", "smithy.api#required": {} } }, "PassThroughWaypoints": { "target": "com.amazonaws.georoutes#RoutePassThroughWaypointList", "traits": { - "smithy.api#documentation": "

Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option.

", + "smithy.api#documentation": "

Waypoints that were passed through during the leg. This includes the waypoints that were\n configured with the PassThrough option.

", "smithy.api#required": {} } }, @@ -3576,12 +3590,12 @@ "Impact": { "target": "com.amazonaws.georoutes#RouteNoticeImpact", "traits": { - "smithy.api#documentation": "

Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact.

" + "smithy.api#documentation": "

Impact corresponding to the issue. While Low impact notices can be safely ignored, High\n impact notices must be evaluated further to determine the impact.

" } } }, "traits": { - "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during route calculation.

" + "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during\n route calculation.

" } }, "com.amazonaws.georoutes#RouteFerryNoticeCode": { @@ -3607,6 +3621,10 @@ { "name": "VIOLATED_AVOID_RAIL_FERRY", "value": "ViolatedAvoidRailFerry" + }, + { + "name": "SEASONAL_CLOSURE", + "value": "SeasonalClosure" } ] } @@ -3690,14 +3708,14 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

" + "smithy.api#documentation": "

Distance of the computed span. This feature doesn't split a span, but is always computed\n on a span split by other properties.

\n

\n Unit: meters\n

" } }, "Duration": { "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

\n

\n Unit: seconds\n

" + "smithy.api#documentation": "

Duration of the computed span. This feature doesn't split a span, but is always computed\n on a span split by other properties.

\n

\n Unit: seconds\n

" } }, "GeometryOffset": { @@ -3718,7 +3736,7 @@ "Region": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

2-3 letter Region code corresponding to the Span. This is either a province or a state.

", + "smithy.api#documentation": "

2-3 letter Region code corresponding to the Span. This is either a province or a\n state.

", "smithy.api#length": { "min": 0, "max": 3 @@ -3727,7 +3745,7 @@ } }, "traits": { - "smithy.api#documentation": "

Span computed for the requested SpanAdditionalFeatures.

" + "smithy.api#documentation": "

Span computed for the requested SpanAdditionalFeatures.

" } }, "com.amazonaws.georoutes#RouteFerrySpanList": { @@ -3742,18 +3760,18 @@ "Overview": { "target": "com.amazonaws.georoutes#RouteFerryOverviewSummary", "traits": { - "smithy.api#documentation": "

Summarized details for the leg including before travel, travel and after travel steps.

" + "smithy.api#documentation": "

Summarized details for the leg including before travel, travel and after travel\n steps.

" } }, "TravelOnly": { "target": "com.amazonaws.georoutes#RouteFerryTravelOnlySummary", "traits": { - "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel only portion of the journey is in meters

" + "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel\n only portion of the journey is in meters

" } } }, "traits": { - "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel only portion of the journey is the same as the Distance within the Overview summary.

" + "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel\n only portion of the journey is the same as the Distance within the Overview summary.

" } }, "com.amazonaws.georoutes#RouteFerryTravelOnlySummary": { @@ -3763,13 +3781,13 @@ "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Total duration in free flowing traffic, which is the best case or shortest duration possible to cover the leg.

\n

\n Unit: seconds\n

", + "smithy.api#documentation": "

Total duration in free flowing traffic, which is the best case or shortest duration\n possible to cover the leg.

\n

\n Unit: seconds\n

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel only portion of the journey is the same as the Distance within the Overview summary.

" + "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel\n only portion of the journey is the same as the Distance within the Overview summary.

" } }, "com.amazonaws.georoutes#RouteFerryTravelStep": { @@ -3970,7 +3988,7 @@ "TravelMode": { "target": "com.amazonaws.georoutes#RouteLegTravelMode", "traits": { - "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. \n Used in estimating the speed of travel and road compatibility.

\n

Default Value: Car\n

", + "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. Used in estimating the speed\n of travel and road compatibility.

\n

Default Value: Car\n

", "smithy.api#required": {} } }, @@ -3989,7 +4007,7 @@ } }, "traits": { - "smithy.api#documentation": "

A leg is a section of a route from one waypoint to the next. A leg could be of type Vehicle, Pedestrian or Ferry.\nLegs of different types could occur together within a single route. For example, a car employing the use of a Ferry will contain Vehicle legs corresponding to journey on land, and Ferry legs corresponding to the journey via Ferry.

" + "smithy.api#documentation": "

A leg is a section of a route from one waypoint to the next. A leg could be of type\n Vehicle, Pedestrian or Ferry. Legs of different types could occur together within a single\n route. For example, a car employing the use of a Ferry will contain Vehicle legs\n corresponding to journey on land, and Ferry legs corresponding to the journey via\n Ferry.

" } }, "com.amazonaws.georoutes#RouteLegAdditionalFeature": { @@ -4059,7 +4077,7 @@ "Polyline": { "target": "com.amazonaws.georoutes#Polyline", "traits": { - "smithy.api#documentation": "

An ordered list of positions used to plot a route on a map in a lossy compression format.

\n \n

LineString and Polyline are mutually exclusive properties.

\n
" + "smithy.api#documentation": "

An ordered list of positions used to plot a route on a map in a lossy compression\n format.

\n \n

LineString and Polyline are mutually exclusive properties.

\n
" } } }, @@ -4096,6 +4114,10 @@ { "name": "TRUCK", "value": "Truck" + }, + { + "name": "CAR_SHUTTLE_TRAIN", + "value": "CarShuttleTrain" } ] } @@ -4142,7 +4164,7 @@ } }, "traits": { - "smithy.api#documentation": "

Important labels including names and route numbers that differentiate the current route from the alternatives presented.

" + "smithy.api#documentation": "

Important labels including names and route numbers that differentiate the current route\n from the alternatives presented.

" } }, "com.amazonaws.georoutes#RouteMajorRoadLabelList": { @@ -4167,20 +4189,20 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.

\n

\n Unit: meters\n

" + "smithy.api#documentation": "

If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint\n will be snapped to the highway/bridge/tunnel/sliproad.

\n

\n Unit: meters\n

" } }, "Radius": { "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.

\n

\n Unit: Meters\n

" + "smithy.api#documentation": "

Considers all roads within the provided radius to match the provided destination to. The\n roads that are considered are determined by the provided Strategy.

\n

\n Unit: Meters\n

" } }, "Strategy": { "target": "com.amazonaws.georoutes#MatchingStrategy", "traits": { - "smithy.api#documentation": "

Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.

" + "smithy.api#documentation": "

Strategy that defines matching of the position onto the road network. MatchAny considers\n all roads possible, whereas MatchMostSignificantRoad matches to the most significant\n road.

" } } }, @@ -4200,13 +4222,13 @@ "Hot": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Allow Hot (High Occupancy Toll) lanes while calculating the route.

" + "smithy.api#documentation": "

Allow Hot (High Occupancy Toll) lanes while calculating the route.

\n

Default value: false\n

" } }, "Hov": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Allow Hov (High Occupancy vehicle) lanes while calculating the route.

" + "smithy.api#documentation": "

Allow Hov (High Occupancy vehicle) lanes while calculating the route.

\n

Default value: false\n

" } } }, @@ -4350,7 +4372,7 @@ "TruckRoadTypes": { "target": "com.amazonaws.georoutes#TruckRoadTypeList", "traits": { - "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to Sweden. \n A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
" + "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to\n Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
" } }, "Tunnels": { @@ -4373,7 +4395,7 @@ } }, "traits": { - "smithy.api#documentation": "

Options related to the route matrix.

" + "smithy.api#documentation": "

Specifies options for areas to avoid when calculating the route. This is a best-effort\n avoidance setting, meaning the router will try to honor the avoidance preferences but may\n still include restricted areas if no feasible alternative route exists. If avoidance\n options are not followed, the response will indicate that the avoidance criteria were\n violated.

" } }, "com.amazonaws.georoutes#RouteMatrixAvoidanceZoneCategory": { @@ -4414,12 +4436,12 @@ "Unbounded": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

No restrictions in terms of a routing boundary, and is typically used for longer routes.

" + "smithy.api#documentation": "

No restrictions in terms of a routing boundary, and is typically used for longer\n routes.

" } } }, "traits": { - "smithy.api#documentation": "

Boundary within which the matrix is to be calculated. All data, origins and destinations outside the boundary are considered invalid.

" + "smithy.api#documentation": "

Boundary within which the matrix is to be calculated. All data, origins and destinations\n outside the boundary are considered invalid.

" } }, "com.amazonaws.georoutes#RouteMatrixBoundaryGeometry": { @@ -4434,7 +4456,7 @@ "Circle": { "target": "com.amazonaws.georoutes#Circle", "traits": { - "smithy.api#documentation": "

Geometry defined as a circle. When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.

" + "smithy.api#documentation": "

Geometry defined as a circle. When request routing boundary was set as\n AutoCircle, the response routing boundary will return Circle\n derived from the AutoCircle settings.

" } }, "BoundingBox": { @@ -4490,7 +4512,7 @@ } }, "traits": { - "smithy.api#documentation": "

Options related to the car.

" + "smithy.api#documentation": "

Travel mode options when the provided travel mode is Car.

" } }, "com.amazonaws.georoutes#RouteMatrixDestination": { @@ -4527,7 +4549,7 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination.

", + "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in\n moving vehicles who may not have sufficient time to make an action at an origin or a\n destination.

", "smithy.api#range": { "min": 0 } @@ -4584,7 +4606,7 @@ } }, "traits": { - "smithy.api#documentation": "

The calculated route matrix containing the results for all pairs of Origins to Destination positions. Each row corresponds to one entry in Origins. Each entry in the row corresponds to the route from that entry in Origins to an entry in Destination positions.

" + "smithy.api#documentation": "

The calculated route matrix containing the results for all pairs of Origins to\n Destination positions. Each row corresponds to one entry in Origins. Each entry in the row\n corresponds to the route from that entry in Origins to an entry in Destination\n positions.

" } }, "com.amazonaws.georoutes#RouteMatrixErrorCode": { @@ -4636,13 +4658,13 @@ "Countries": { "target": "com.amazonaws.georoutes#CountryCodeList", "traits": { - "smithy.api#documentation": "

List of countries to be avoided defined by two-letter or three-letter country codes.

", + "smithy.api#documentation": "

List of countries to be avoided defined by two-letter or three-letter country\n codes.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Exclusion options.

" + "smithy.api#documentation": "

Specifies strict exclusion options for the route calculation. This setting mandates that\n the router will avoid any routes that include the specified options, rather than merely\n attempting to minimize them.

" } }, "com.amazonaws.georoutes#RouteMatrixHazardousCargoType": { @@ -4721,7 +4743,7 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.

\n

\n Unit: meters\n

", + "smithy.api#documentation": "

If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint\n will be snapped to the highway/bridge/tunnel/sliproad.

\n

\n Unit: meters\n

", "smithy.api#range": { "min": 0 } @@ -4731,13 +4753,13 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.

\n

\n Unit: Meters\n

" + "smithy.api#documentation": "

Considers all roads within the provided radius to match the provided destination to. The\n roads that are considered are determined by the provided Strategy.

\n

\n Unit: Meters\n

" } }, "Strategy": { "target": "com.amazonaws.georoutes#MatchingStrategy", "traits": { - "smithy.api#documentation": "

Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.

" + "smithy.api#documentation": "

Strategy that defines matching of the position onto the road network. MatchAny considers\n all roads possible, whereas MatchMostSignificantRoad matches to the most significant\n road.

" } } }, @@ -4779,7 +4801,7 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination.

", + "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in\n moving vehicles who may not have sufficient time to make an action at an origin or a\n destination.

", "smithy.api#range": { "min": 0 } @@ -4847,7 +4869,7 @@ } }, "traits": { - "smithy.api#documentation": "

Travel mode options when the provided travel mode is \"Scooter\"

" + "smithy.api#documentation": "

Travel mode options when the provided travel mode is Scooter\n

" } }, "com.amazonaws.georoutes#RouteMatrixSideOfStreetOptions": { @@ -4863,7 +4885,7 @@ "UseWith": { "target": "com.amazonaws.georoutes#SideOfStreetMatchingStrategy", "traits": { - "smithy.api#documentation": "

Strategy that defines when the side of street position should be used. AnyStreet will always use the provided position.

\n

Default Value: DividedStreetOnly\n

" + "smithy.api#documentation": "

Strategy that defines when the side of street position should be used. AnyStreet will\n always use the provided position.

\n

Default Value: DividedStreetOnly\n

" } } }, @@ -4878,7 +4900,7 @@ "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Duration for which flow traffic is considered valid. \n For this period, the flow traffic is used over historical traffic data. \n Flow traffic refers to congestion, which changes very quickly. \n Duration in seconds for which flow traffic event would be considered valid. \n While flow traffic event is valid it will be used over the historical traffic data.

" + "smithy.api#documentation": "

Duration for which flow traffic is considered valid. For this period, the flow traffic\n is used over historical traffic data. Flow traffic refers to congestion, which changes very\n quickly. Duration in seconds for which flow traffic event would be considered valid. While\n flow traffic event is valid it will be used over the historical traffic data.

" } }, "Usage": { @@ -4945,7 +4967,7 @@ "Scooter": { "target": "com.amazonaws.georoutes#RouteMatrixScooterOptions", "traits": { - "smithy.api#documentation": "

Travel mode options when the provided travel mode is \"Scooter\"

" + "smithy.api#documentation": "

Travel mode options when the provided travel mode is Scooter\n

\n \n

When travel mode is set to Scooter, then the avoidance option\n ControlledAccessHighways defaults to true.

\n
" } }, "Truck": { @@ -5064,20 +5086,20 @@ "TunnelRestrictionCode": { "target": "com.amazonaws.georoutes#TunnelRestrictionCode", "traits": { - "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. \n They relate to the types of dangerous goods that can be transported through them.

\n " + "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels\n in Great Britain. They relate to the types of dangerous goods that can be transported\n through them.

\n " } }, "WeightPerAxle": { "target": "com.amazonaws.georoutes#WeightKilograms", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Heaviest weight per axle irrespective of the axle type or the axle group. Meant for usage in countries where the differences in axle types or axle groups are not distinguished.

\n

\n Unit: Kilograms\n

" + "smithy.api#documentation": "

Heaviest weight per axle irrespective of the axle type or the axle group. Meant for\n usage in countries where the differences in axle types or axle groups are not\n distinguished.

\n

\n Unit: Kilograms\n

" } }, "WeightPerAxleGroup": { "target": "com.amazonaws.georoutes#WeightPerAxleGroup", "traits": { - "smithy.api#documentation": "

Specifies the total weight for the specified axle group. Meant for usage in countries that have different regulations based on the axle group type.

" + "smithy.api#documentation": "

Specifies the total weight for the specified axle group. Meant for usage in countries\n that have different regulations based on the axle group type.

" } }, "Width": { @@ -5233,7 +5255,7 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination.

", + "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in\n moving vehicles who may not have sufficient time to make an action at an origin or a\n destination.

", "smithy.api#range": { "max": 2000 } @@ -5320,7 +5342,7 @@ } }, "traits": { - "smithy.api#documentation": "

If the waypoint should be treated as a stop. If yes, the route is split up into different legs around the stop.

" + "smithy.api#documentation": "

If the waypoint should be treated as a stop. If yes, the route is split up into\n different legs around the stop.

" } }, "com.amazonaws.georoutes#RoutePassThroughWaypointList": { @@ -5391,14 +5413,14 @@ "Notices": { "target": "com.amazonaws.georoutes#RoutePedestrianNoticeList", "traits": { - "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during route calculation.

", + "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during\n route calculation.

", "smithy.api#required": {} } }, "PassThroughWaypoints": { "target": "com.amazonaws.georoutes#RoutePassThroughWaypointList", "traits": { - "smithy.api#documentation": "

Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option.

", + "smithy.api#documentation": "

Waypoints that were passed through during the leg. This includes the waypoints that were\n configured with the PassThrough option.

", "smithy.api#required": {} } }, @@ -5440,12 +5462,12 @@ "Impact": { "target": "com.amazonaws.georoutes#RouteNoticeImpact", "traits": { - "smithy.api#documentation": "

Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact.

" + "smithy.api#documentation": "

Impact corresponding to the issue. While Low impact notices can be safely ignored, High\n impact notices must be evaluated further to determine the impact.

" } } }, "traits": { - "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during route calculation.

" + "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during\n route calculation.

" } }, "com.amazonaws.georoutes#RoutePedestrianNoticeCode": { @@ -5586,14 +5608,14 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

" + "smithy.api#documentation": "

Distance of the computed span. This feature doesn't split a span, but is always computed\n on a span split by other properties.

" } }, "Duration": { "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

\n

\n Unit: seconds\n

" + "smithy.api#documentation": "

Duration of the computed span. This feature doesn't split a span, but is always computed\n on a span split by other properties.

\n

\n Unit: seconds\n

" } }, "DynamicSpeed": { @@ -5624,7 +5646,7 @@ "Incidents": { "target": "com.amazonaws.georoutes#IndexList", "traits": { - "smithy.api#documentation": "

Incidents corresponding to the span. These index into the Incidents in the parent Leg.

" + "smithy.api#documentation": "

Incidents corresponding to the span. These index into the Incidents in the parent\n Leg.

" } }, "Names": { @@ -5642,7 +5664,7 @@ "Region": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

2-3 letter Region code corresponding to the Span. This is either a province or a state.

", + "smithy.api#documentation": "

2-3 letter Region code corresponding to the Span. This is either a province or a\n state.

", "smithy.api#length": { "min": 0, "max": 3 @@ -5691,18 +5713,18 @@ "Overview": { "target": "com.amazonaws.georoutes#RoutePedestrianOverviewSummary", "traits": { - "smithy.api#documentation": "

Summarized details for the leg including before travel, travel and after travel steps.

" + "smithy.api#documentation": "

Summarized details for the leg including before travel, travel and after travel\n steps.

" } }, "TravelOnly": { "target": "com.amazonaws.georoutes#RoutePedestrianTravelOnlySummary", "traits": { - "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel only portion of the journey is in meters

" + "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel\n only portion of the journey is in meters

" } } }, "traits": { - "smithy.api#documentation": "

Summarized details for the leg including before travel, travel and after travel steps.

" + "smithy.api#documentation": "

Summarized details for the leg including before travel, travel and after travel\n steps.

" } }, "com.amazonaws.georoutes#RoutePedestrianTravelOnlySummary": { @@ -5805,7 +5827,7 @@ "Signpost": { "target": "com.amazonaws.georoutes#RouteSignpost", "traits": { - "smithy.api#documentation": "

Sign post information of the action, applicable only for TurnByTurn steps. See RouteSignpost for details of sub-attributes.

" + "smithy.api#documentation": "

Sign post information of the action, applicable only for TurnByTurn steps. See\n RouteSignpost for details of sub-attributes.

" } }, "TurnStepDetails": { @@ -5930,12 +5952,12 @@ "Impact": { "target": "com.amazonaws.georoutes#RouteNoticeImpact", "traits": { - "smithy.api#documentation": "

Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact.

" + "smithy.api#documentation": "

Impact corresponding to the issue. While Low impact notices can be safely ignored, High\n impact notices must be evaluated further to determine the impact.

" } } }, "traits": { - "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during route calculation.

" + "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during\n route calculation.

" } }, "com.amazonaws.georoutes#RouteResponseNoticeCode": { @@ -6162,7 +6184,7 @@ } }, "traits": { - "smithy.api#documentation": "

Travel mode options when the provided travel mode is \"Scooter\"

" + "smithy.api#documentation": "

Travel mode options when the provided travel mode is Scooter\n

" } }, "com.amazonaws.georoutes#RouteSideOfStreet": { @@ -6213,7 +6235,7 @@ } }, "traits": { - "smithy.api#documentation": "

Sign post information of the action, applicable only for TurnByTurn steps. See RouteSignpost for details of sub-attributes.

" + "smithy.api#documentation": "

Sign post information of the action, applicable only for TurnByTurn steps. See\n RouteSignpost for details of sub-attributes.

" } }, "com.amazonaws.georoutes#RouteSignpostLabel": { @@ -6688,7 +6710,7 @@ } }, "traits": { - "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel only portion of the journey is the same as the Distance within the Overview summary.

" + "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel\n only portion of the journey is the same as the Distance within the Overview summary.

" } }, "com.amazonaws.georoutes#RouteToll": { @@ -6723,7 +6745,7 @@ } }, "traits": { - "smithy.api#documentation": "

Provides details about toll information along a route, including the payment sites, applicable toll rates, toll systems, and the country associated with the toll collection.

" + "smithy.api#documentation": "

Provides details about toll information along a route, including the payment sites,\n applicable toll rates, toll systems, and the country associated with the toll\n collection.

" } }, "com.amazonaws.georoutes#RouteTollList": { @@ -6744,19 +6766,19 @@ "AllVignettes": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Specifies if the user has valid vignettes with access for all toll roads. If a user has a vignette for a toll road, then toll cost for that road is omitted since no further payment is necessary.

" + "smithy.api#documentation": "

Specifies if the user has valid vignettes with access for all toll roads. If a user has\n a vignette for a toll road, then toll cost for that road is omitted since no further\n payment is necessary.

" } }, "Currency": { "target": "com.amazonaws.georoutes#CurrencyCode", "traits": { - "smithy.api#documentation": "

Currency code corresponding to the price. This is the same as Currency specified in the request.

" + "smithy.api#documentation": "

Currency code corresponding to the price. This is the same as Currency specified in the\n request.

" } }, "EmissionType": { "target": "com.amazonaws.georoutes#RouteEmissionType", "traits": { - "smithy.api#documentation": "

Emission type of the vehicle for toll cost calculation.

\n

\n Valid values: Euro1, Euro2, Euro3, Euro4, Euro5, Euro6, EuroEev\n

" + "smithy.api#documentation": "

Emission type of the vehicle for toll cost calculation.

\n

\n Valid values: Euro1, Euro2, Euro3, Euro4, Euro5,\n Euro6, EuroEev\n

" } }, "VehicleCategory": { @@ -6949,7 +6971,7 @@ "Currency": { "target": "com.amazonaws.georoutes#CurrencyCode", "traits": { - "smithy.api#documentation": "

Currency code corresponding to the price. This is the same as Currency specified in the request.

", + "smithy.api#documentation": "

Currency code corresponding to the price. This is the same as Currency specified in the\n request.

", "smithy.api#required": {} } }, @@ -6970,7 +6992,7 @@ "Range": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

If the price is a range or an exact value. If any of the toll fares making up the route is a range, the overall price is also a range.

", + "smithy.api#documentation": "

If the price is a range or an exact value. If any of the toll fares making up the route\n is a range, the overall price is also a range.

", "smithy.api#required": {} } }, @@ -7001,7 +7023,7 @@ "Currency": { "target": "com.amazonaws.georoutes#CurrencyCode", "traits": { - "smithy.api#documentation": "

Currency code corresponding to the price. This is the same as Currency specified in the request.

", + "smithy.api#documentation": "

Currency code corresponding to the price. This is the same as Currency specified in the\n request.

", "smithy.api#required": {} } }, @@ -7015,7 +7037,7 @@ "Range": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

If the price is a range or an exact value. If any of the toll fares making up the route is a range, the overall price is also a range.

", + "smithy.api#documentation": "

If the price is a range or an exact value. If any of the toll fares making up the route\n is a range, the overall price is also a range.

", "smithy.api#required": {} } }, @@ -7187,7 +7209,7 @@ "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Duration for which flow \n traffic is considered valid. \n For this period, the flow traffic is used over historical traffic data. \n Flow traffic refers to congestion, which changes very quickly. \n Duration in seconds for which flow traffic event would be considered valid. \n While flow traffic event is valid it will be used over the historical traffic data.

" + "smithy.api#documentation": "

Duration for which flow traffic is considered valid. For this period, the flow traffic\n is used over historical traffic data. Flow traffic refers to congestion, which changes very\n quickly. Duration in seconds for which flow traffic event would be considered valid. While\n flow traffic event is valid it will be used over the historical traffic data.

" } }, "Usage": { @@ -7291,7 +7313,7 @@ "Scooter": { "target": "com.amazonaws.georoutes#RouteScooterOptions", "traits": { - "smithy.api#documentation": "

Travel mode options when the provided travel mode is \"Scooter\"

" + "smithy.api#documentation": "

Travel mode options when the provided travel mode is Scooter\n

\n \n

When travel mode is set to Scooter, then the avoidance option\n ControlledAccessHighways defaults to true.

\n
" } }, "Truck": { @@ -7453,7 +7475,7 @@ "TunnelRestrictionCode": { "target": "com.amazonaws.georoutes#TunnelRestrictionCode", "traits": { - "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. \n They relate to the types of dangerous goods that can be transported through them.

\n ", + "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels\n in Great Britain. They relate to the types of dangerous goods that can be transported\n through them.

\n ", "smithy.api#length": { "max": 20 } @@ -7463,13 +7485,13 @@ "target": "com.amazonaws.georoutes#WeightKilograms", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Heaviest weight per axle irrespective of the axle type or the axle group. Meant for usage in countries where the differences in axle types or axle groups are not distinguished.

\n

\n Unit: Kilograms\n

" + "smithy.api#documentation": "

Heaviest weight per axle irrespective of the axle type or the axle group. Meant for\n usage in countries where the differences in axle types or axle groups are not\n distinguished.

\n

\n Unit: Kilograms\n

" } }, "WeightPerAxleGroup": { "target": "com.amazonaws.georoutes#WeightPerAxleGroup", "traits": { - "smithy.api#documentation": "

Specifies the total weight for the specified axle group. Meant for usage in countries that have different regulations based on the axle group type.

\n

\n Unit: Kilograms\n

" + "smithy.api#documentation": "

Specifies the total weight for the specified axle group. Meant for usage in countries\n that have different regulations based on the axle group type.

\n

\n Unit: Kilograms\n

" } }, "Width": { @@ -7654,7 +7676,7 @@ "Severity": { "target": "com.amazonaws.georoutes#RouteVehicleIncidentSeverity", "traits": { - "smithy.api#documentation": "

Severity of the incident\nCritical - The part of the route the incident affects is unusable.\nMajor- Major impact on the leg duration, for example stop and go\nMinor- Minor impact on the leg duration, for example traffic jam\nLow - Low on duration, for example slightly increased traffic

" + "smithy.api#documentation": "

Severity of the incident Critical - The part of the route the incident affects is\n unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor\n impact on the leg duration, for example traffic jam Low - Low on duration, for example\n slightly increased traffic

" } }, "StartTime": { @@ -7781,14 +7803,14 @@ "Notices": { "target": "com.amazonaws.georoutes#RouteVehicleNoticeList", "traits": { - "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during route calculation.

", + "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during\n route calculation.

", "smithy.api#required": {} } }, "PassThroughWaypoints": { "target": "com.amazonaws.georoutes#RoutePassThroughWaypointList", "traits": { - "smithy.api#documentation": "

Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option.

", + "smithy.api#documentation": "

Waypoints that were passed through during the leg. This includes the waypoints that were\n configured with the PassThrough option.

", "smithy.api#required": {} } }, @@ -7829,7 +7851,7 @@ "TruckRoadTypes": { "target": "com.amazonaws.georoutes#TruckRoadTypeList", "traits": { - "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to Sweden. \n A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
", + "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to\n Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
", "smithy.api#required": {} } }, @@ -7883,12 +7905,12 @@ "Impact": { "target": "com.amazonaws.georoutes#RouteNoticeImpact", "traits": { - "smithy.api#documentation": "

Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact.

" + "smithy.api#documentation": "

Impact corresponding to the issue. While Low impact notices can be safely ignored, High\n impact notices must be evaluated further to determine the impact.

" } } }, "traits": { - "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during route calculation.

" + "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during\n route calculation.

" } }, "com.amazonaws.georoutes#RouteVehicleNoticeCode": { @@ -8045,7 +8067,7 @@ "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Total duration in free flowing traffic, which is the best case or shortest duration possible to cover the leg.

\n

\n Unit: seconds\n

" + "smithy.api#documentation": "

Total duration in free flowing traffic, which is the best case or shortest duration\n possible to cover the leg.

\n

\n Unit: seconds\n

" } }, "Distance": { @@ -8144,14 +8166,14 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

" + "smithy.api#documentation": "

Distance of the computed span. This feature doesn't split a span, but is always computed\n on a span split by other properties.

" } }, "Duration": { "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

\n

\n Unit: seconds\n

" + "smithy.api#documentation": "

Duration of the computed span. This feature doesn't split a span, but is always computed\n on a span split by other properties.

\n

\n Unit: seconds\n

" } }, "DynamicSpeed": { @@ -8173,7 +8195,7 @@ "Gate": { "target": "com.amazonaws.georoutes#RouteSpanGateAttribute", "traits": { - "smithy.api#documentation": "

Attributes corresponding to a gate. The gate is present at the end of the returned span.

" + "smithy.api#documentation": "

Attributes corresponding to a gate. The gate is present at the end of the returned\n span.

" } }, "GeometryOffset": { @@ -8188,7 +8210,7 @@ "Incidents": { "target": "com.amazonaws.georoutes#IndexList", "traits": { - "smithy.api#documentation": "

Incidents corresponding to the span. These index into the Incidents in the parent Leg.

" + "smithy.api#documentation": "

Incidents corresponding to the span. These index into the Incidents in the parent\n Leg.

" } }, "Names": { @@ -8200,19 +8222,19 @@ "Notices": { "target": "com.amazonaws.georoutes#IndexList", "traits": { - "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during route calculation.

" + "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during\n route calculation.

" } }, "RailwayCrossing": { "target": "com.amazonaws.georoutes#RouteSpanRailwayCrossingAttribute", "traits": { - "smithy.api#documentation": "

Attributes corresponding to a railway crossing. The gate is present at the end of the returned span.

" + "smithy.api#documentation": "

Attributes corresponding to a railway crossing. The gate is present at the end of the\n returned span.

" } }, "Region": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

2-3 letter Region code corresponding to the Span. This is either a province or a state.

", + "smithy.api#documentation": "

2-3 letter Region code corresponding to the Span. This is either a province or a\n state.

", "smithy.api#length": { "min": 0, "max": 3 @@ -8258,7 +8280,7 @@ "TruckRoadTypes": { "target": "com.amazonaws.georoutes#IndexList", "traits": { - "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to Sweden. \n A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
" + "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to\n Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
" } }, "TypicalDuration": { @@ -8291,13 +8313,13 @@ "Overview": { "target": "com.amazonaws.georoutes#RouteVehicleOverviewSummary", "traits": { - "smithy.api#documentation": "

Summarized details for the leg including before travel, travel and after travel steps.

" + "smithy.api#documentation": "

Summarized details for the leg including before travel, travel and after travel\n steps.

" } }, "TravelOnly": { "target": "com.amazonaws.georoutes#RouteVehicleTravelOnlySummary", "traits": { - "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel only portion of the journey is in meters

" + "smithy.api#documentation": "

Summarized details for the leg including travel steps only. The Distance for the travel\n only portion of the journey is in meters

" } } }, @@ -8312,7 +8334,7 @@ "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Total duration in free flowing traffic, which is the best case or shortest duration possible to cover the leg.

\n

\n Unit: seconds\n

" + "smithy.api#documentation": "

Total duration in free flowing traffic, which is the best case or shortest duration\n possible to cover the leg.

\n

\n Unit: seconds\n

" } }, "Duration": { @@ -8443,7 +8465,7 @@ "Signpost": { "target": "com.amazonaws.georoutes#RouteSignpost", "traits": { - "smithy.api#documentation": "

Sign post information of the action, applicable only for TurnByTurn steps. See RouteSignpost for details of sub-attributes.

" + "smithy.api#documentation": "

Sign post information of the action, applicable only for TurnByTurn steps. See\n RouteSignpost for details of sub-attributes.

" } }, "TurnStepDetails": { @@ -8541,7 +8563,7 @@ "AllHazardsRestricted": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

This restriction applies to truck cargo, where the resulting route excludes roads on which hazardous materials are prohibited from being transported.

" + "smithy.api#documentation": "

This restriction applies to truck cargo, where the resulting route excludes roads on\n which hazardous materials are prohibited from being transported.

" } }, "AxleCount": { @@ -8644,7 +8666,7 @@ "TruckRoadType": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to Sweden. \n A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
" + "smithy.api#documentation": "

Truck road type identifiers. BK1 through BK4 apply only to\n Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

\n \n

There are currently no other supported values as of 26th April 2024.

\n
" } }, "TruckType": { @@ -8656,12 +8678,12 @@ "TunnelRestrictionCode": { "target": "com.amazonaws.georoutes#TunnelRestrictionCode", "traits": { - "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. \n They relate to the types of dangerous goods that can be transported through them.

\n " + "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels\n in Great Britain. They relate to the types of dangerous goods that can be transported\n through them.

\n " } } }, "traits": { - "smithy.api#documentation": "

This property contains a \n summary of violated constraints.

" + "smithy.api#documentation": "

This property contains a summary of violated constraints.

" } }, "com.amazonaws.georoutes#RouteWaypoint": { @@ -8671,7 +8693,7 @@ "target": "com.amazonaws.georoutes#DistanceMeters", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination.

", + "smithy.api#documentation": "

Avoids actions for the provided distance. This is typically to consider for users in\n moving vehicles who may not have sufficient time to make an action at an origin or a\n destination.

", "smithy.api#range": { "max": 2000 } @@ -8699,7 +8721,7 @@ "PassThrough": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

If the waypoint should not be treated as a stop. If yes, the waypoint is passed through and doesn't split the route into different legs.

" + "smithy.api#documentation": "

If the waypoint should not be treated as a stop. If yes, the waypoint is passed through\n and doesn't split the route into different legs.

" } }, "Position": { @@ -8889,7 +8911,7 @@ "content-type" ] }, - "smithy.api#documentation": "

With the Amazon Location Routes API you can calculate\n routes and estimate travel time based on up-to-date road network and live \n traffic information.

\n

Calculate optimal travel routes and estimate travel times using up-to-date road network and traffic data. Key features include:

\n ", + "smithy.api#documentation": "

With the Amazon Location Routes API you can calculate routes and estimate travel time\n based on up-to-date road network and live traffic information.

\n

Calculate optimal travel routes and estimate travel times using up-to-date road network\n and traffic data. Key features include:

\n ", "smithy.api#title": "Amazon Location Service Routes V2", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -10033,7 +10055,7 @@ ], "traits": { "aws.api#dataPlane": {}, - "smithy.api#documentation": "

The SnapToRoads action matches GPS trace to roads most likely traveled on.

", + "smithy.api#documentation": "

\n SnapToRoads matches GPS trace to roads most likely traveled on.

", "smithy.api#http": { "uri": "/snap-to-roads", "method": "POST" @@ -10110,7 +10132,7 @@ "TravelMode": { "target": "com.amazonaws.georoutes#RoadSnapTravelMode", "traits": { - "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. \n Used in estimating the speed of travel and road compatibility.

\n

Default Value: Car\n

" + "smithy.api#documentation": "

Specifies the mode of transport when calculating a route. Used in estimating the speed\n of travel and road compatibility.

\n

Default Value: Car\n

" } }, "TravelModeOptions": { @@ -10130,7 +10152,7 @@ "Notices": { "target": "com.amazonaws.georoutes#RoadSnapNoticeList", "traits": { - "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during route calculation.

", + "smithy.api#documentation": "

Notices are additional information returned that indicate issues that occurred during\n route calculation.

", "smithy.api#required": {} } }, @@ -10334,7 +10356,7 @@ } }, "traits": { - "smithy.api#documentation": "

The input fails to satisfy the constraints specified by the Amazon Location service.

" + "smithy.api#documentation": "

The input fails to satisfy the constraints specified by the Amazon Location\n service.

" } }, "com.amazonaws.georoutes#ValidationExceptionFieldList": { @@ -10530,7 +10552,43 @@ } }, "traits": { - "smithy.api#documentation": "

Options for WaypointOptimizationAvoidance.

" + "smithy.api#documentation": "

Specifies options for areas to avoid. This is a best-effort avoidance setting, meaning\n the router will try to honor the avoidance preferences but may still include restricted\n areas if no feasible alternative route exists. If avoidance options are not followed, the\n response will indicate that the avoidance criteria were violated.

" + } + }, + "com.amazonaws.georoutes#WaypointOptimizationClusteringAlgorithm": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "DRIVING_DISTANCE", + "value": "DrivingDistance" + }, + { + "name": "TOPOLOGY_SEGMENT", + "value": "TopologySegment" + } + ] + } + }, + "com.amazonaws.georoutes#WaypointOptimizationClusteringOptions": { + "type": "structure", + "members": { + "Algorithm": { + "target": "com.amazonaws.georoutes#WaypointOptimizationClusteringAlgorithm", + "traits": { + "smithy.api#documentation": "

The algorithm to be used. DrivingDistance assigns all the waypoints that\n are within driving distance of each other into a single cluster.\n TopologySegment assigns all the waypoints that are within the same topology\n segment into a single cluster. A Topology segment is a linear stretch of road between two\n junctions.

", + "smithy.api#required": {} + } + }, + "DrivingDistanceOptions": { + "target": "com.amazonaws.georoutes#WaypointOptimizationDrivingDistanceOptions", + "traits": { + "smithy.api#documentation": "

Driving distance options to be used when the clustering algorithm is\n DrivingDistance.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Options for WaypointOptimizationClustering.

" } }, "com.amazonaws.georoutes#WaypointOptimizationConnection": { @@ -10584,7 +10642,7 @@ } }, "traits": { - "smithy.api#documentation": "

This contains information such as distance and duration from one waypoint to the next waypoint in the sequence.

" + "smithy.api#documentation": "

This contains information such as distance and duration from one waypoint to the next\n waypoint in the sequence.

" } }, "com.amazonaws.georoutes#WaypointOptimizationConnectionList": { @@ -10656,7 +10714,7 @@ "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Service time spent at the destination. At an appointment, the service time should be the appointment duration.

\n

\n Unit: seconds\n

" + "smithy.api#documentation": "

Service time spent at the destination. At an appointment, the service time should be the\n appointment duration.

\n

\n Unit: seconds\n

" } }, "SideOfStreet": { @@ -10676,7 +10734,7 @@ "RestCycles": { "target": "com.amazonaws.georoutes#WaypointOptimizationRestCycles", "traits": { - "smithy.api#documentation": "

Driver work-rest schedules defined by a short and long cycle. A rest needs to be taken after the short work duration. The short cycle can be repeated until you hit the long work duration, at which point the long rest duration should be taken before restarting.

" + "smithy.api#documentation": "

Driver work-rest schedules defined by a short and long cycle. A rest needs to be taken\n after the short work duration. The short cycle can be repeated until you hit the long work\n duration, at which point the long rest duration should be taken before restarting.

" } }, "RestProfile": { @@ -10688,7 +10746,7 @@ "TreatServiceTimeAs": { "target": "com.amazonaws.georoutes#WaypointOptimizationServiceTimeTreatment", "traits": { - "smithy.api#documentation": "

If the service time provided at a waypoint/destination should be considered as rest or work. This contributes to the total time breakdown returned within the response.

" + "smithy.api#documentation": "

If the service time provided at a waypoint/destination should be considered as rest or\n work. This contributes to the total time breakdown returned within the response.

" } } }, @@ -10696,19 +10754,35 @@ "smithy.api#documentation": "

Driver related options.

" } }, + "com.amazonaws.georoutes#WaypointOptimizationDrivingDistanceOptions": { + "type": "structure", + "members": { + "DrivingDistance": { + "target": "com.amazonaws.georoutes#DistanceMeters", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

DrivingDistance assigns all the waypoints that are within driving distance of each other\n into a single cluster.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Driving distance related options.

" + } + }, "com.amazonaws.georoutes#WaypointOptimizationExclusionOptions": { "type": "structure", "members": { "Countries": { "target": "com.amazonaws.georoutes#CountryCodeList", "traits": { - "smithy.api#documentation": "

List of countries to be avoided defined by two-letter or three-letter country codes.

", + "smithy.api#documentation": "

List of countries to be avoided defined by two-letter or three-letter country\n codes.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Exclusion options.

" + "smithy.api#documentation": "

Specifies strict exclusion options for the route calculation. This setting mandates that\n the router will avoid any routes that include the specified options, rather than merely\n attempting to minimize them.

" } }, "com.amazonaws.georoutes#WaypointOptimizationFailedConstraint": { @@ -10841,6 +10915,12 @@ "smithy.api#documentation": "

Estimated time of arrival at the destination.

\n

Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm\n

\n

Examples:

\n

\n 2020-04-22T17:57:24Z\n

\n

\n 2020-04-22T17:57:24+02:00\n

" } }, + "ClusterIndex": { + "target": "com.amazonaws.georoutes#ClusterIndex", + "traits": { + "smithy.api#documentation": "

Index of the cluster the waypoint is associated with. The index is included in the response only if clustering was performed while processing the request.

" + } + }, "DepartureTime": { "target": "com.amazonaws.georoutes#TimestampWithTimezoneOffset", "traits": { @@ -10884,7 +10964,7 @@ } }, "traits": { - "smithy.api#documentation": "

Options related to the origin.

" + "smithy.api#documentation": "

Origin related options.

" } }, "com.amazonaws.georoutes#WaypointOptimizationPedestrianOptions": { @@ -10927,7 +11007,7 @@ } }, "traits": { - "smithy.api#documentation": "

Driver work-rest schedules defined by a short and long cycle. A rest needs to be taken after the short work duration. The short cycle can be repeated until you hit the long work duration, at which point the long rest duration should be taken before restarting.

\n

\n Unit: seconds\n

" + "smithy.api#documentation": "

Driver work-rest schedules defined by a short and long cycle. A rest needs to be taken\n after the short work duration. The short cycle can be repeated until you hit the long work\n duration, at which point the long rest duration should be taken before restarting.

\n

\n Unit: seconds\n

" } }, "com.amazonaws.georoutes#WaypointOptimizationRestCycles": { @@ -11014,7 +11094,7 @@ "UseWith": { "target": "com.amazonaws.georoutes#SideOfStreetMatchingStrategy", "traits": { - "smithy.api#documentation": "

Strategy that defines when the side of street position should be used. AnyStreet will always use the provided position.

\n

Default Value: DividedStreetOnly\n

" + "smithy.api#documentation": "

Strategy that defines when the side of street position should be used. AnyStreet will\n always use the provided position.

\n

Default Value: DividedStreetOnly\n

" } } }, @@ -11037,7 +11117,7 @@ "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Service time spent at the destination. At an appointment, the service time should be the appointment duration.

\n

\n Unit: seconds\n

", + "smithy.api#documentation": "

Service time spent at the destination. At an appointment, the service time should be the\n appointment duration.

\n

\n Unit: seconds\n

", "smithy.api#required": {} } }, @@ -11190,14 +11270,14 @@ "TunnelRestrictionCode": { "target": "com.amazonaws.georoutes#TunnelRestrictionCode", "traits": { - "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. \n They relate to the types of dangerous goods that can be transported through them.

\n " + "smithy.api#documentation": "

The tunnel restriction code.

\n

Tunnel categories in this list indicate the restrictions which apply to certain tunnels\n in Great Britain. They relate to the types of dangerous goods that can be transported\n through them.

\n " } }, "WeightPerAxle": { "target": "com.amazonaws.georoutes#WeightKilograms", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Heaviest weight per axle irrespective of the axle type or the axle group. Meant for usage in countries where the differences in axle types or axle groups are not distinguished.

\n

\n Unit: Kilograms\n

" + "smithy.api#documentation": "

Heaviest weight per axle irrespective of the axle type or the axle group. Meant for\n usage in countries where the differences in axle types or axle groups are not\n distinguished.

\n

\n Unit: Kilograms\n

" } }, "Width": { @@ -11276,7 +11356,7 @@ "target": "com.amazonaws.georoutes#DurationSeconds", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

Service time spent at the waypoint. At an appointment, the service time should be the appointment duration.

\n

\n Unit: seconds\n

" + "smithy.api#documentation": "

Service time spent at the waypoint. At an appointment, the service time should be the\n appointment duration.

\n

\n Unit: seconds\n

" } }, "SideOfStreet": { @@ -11346,7 +11426,7 @@ } }, "traits": { - "smithy.api#documentation": "

Specifies the total weight for the specified axle group. Meant for usage in countries that have different regulations based on the axle group type.

\n

\n Unit: Kilograms\n

" + "smithy.api#documentation": "

Specifies the total weight for the specified axle group. Meant for usage in countries\n that have different regulations based on the axle group type.

\n

\n Unit: Kilograms\n

" } } } diff --git a/aws-models/rds.json b/aws-models/rds.json index 0924f5cd5bdd..e147a7292aac 100644 --- a/aws-models/rds.json +++ b/aws-models/rds.json @@ -4366,7 +4366,7 @@ "EnableCloudwatchLogsExports": { "target": "com.amazonaws.rds#LogTypeList", "traits": { - "smithy.api#documentation": "

The list of log types that need to be enabled for exporting to CloudWatch Logs.

\n

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

\n

The following values are valid for each DB engine:

\n \n

For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

\n

For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

" + "smithy.api#documentation": "

The list of log types that need to be enabled for exporting to CloudWatch Logs.

\n

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

\n

The following values are valid for each DB engine:

\n \n

For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

\n

For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

" } }, "EngineMode": { @@ -5304,7 +5304,7 @@ "StorageThroughput": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#documentation": "

The storage throughput value for the DB instance.

\n

This setting applies only to the gp3 storage type.

\n

This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.

" + "smithy.api#documentation": "

The storage throughput value, in mebibyte per second (MiBps), for the DB instance.

\n

This setting applies only to the gp3 storage type.

\n

This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.

" } }, "ManageMasterUserPassword": { @@ -7372,7 +7372,7 @@ "CloneGroupId": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

The ID of the clone group with which the DB cluster is associated.

" + "smithy.api#documentation": "

The ID of the clone group with which the DB cluster is associated. For newly created\n clusters, the ID is typically null.

\n

If you clone a DB cluster when the ID is null, the operation populates the ID value\n for the source cluster and the clone because both clusters become part of the same clone\n group. Even if you delete the clone cluster, the clone group ID remains for the lifetime\n of the source cluster to show that it was used in a cloning operation.

\n

For PITR, the clone group ID is inherited from the source cluster. For snapshot\n restore operations, the clone group ID isn't inherited from the source cluster.

" } }, "ClusterCreateTime": { @@ -21781,7 +21781,7 @@ "CloudwatchLogsExportConfiguration": { "target": "com.amazonaws.rds#CloudwatchLogsExportConfiguration", "traits": { - "smithy.api#documentation": "

The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB cluster.

\n

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

\n

The following values are valid for each DB engine:

\n \n

For more information about exporting CloudWatch Logs for Amazon RDS, see \n Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

\n

For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

" + "smithy.api#documentation": "

The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB cluster.

\n

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

\n

The following values are valid for each DB engine:

\n \n

For more information about exporting CloudWatch Logs for Amazon RDS, see \n Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

\n

For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

" } }, "EngineVersion": { @@ -27138,7 +27138,7 @@ "EnableCloudwatchLogsExports": { "target": "com.amazonaws.rds#LogTypeList", "traits": { - "smithy.api#documentation": "

The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values\n in the list depend on the DB engine being used.

\n

\n Aurora MySQL\n

\n

Possible values are audit, error, general, and slowquery.

\n

For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

" + "smithy.api#documentation": "

The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values\n in the list depend on the DB engine being used.

\n

\n Aurora MySQL\n

\n

Possible values are audit, error, general, instance, and slowquery.

\n

\n Aurora PostgreSQL\n

\n

Possible value are instance and postgresql.

\n

For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

\n

For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

" } }, "DeletionProtection": { @@ -27443,7 +27443,7 @@ "EnableCloudwatchLogsExports": { "target": "com.amazonaws.rds#LogTypeList", "traits": { - "smithy.api#documentation": "

The list of logs that the restored DB cluster is to export to Amazon CloudWatch Logs.\n The values in the list depend on the DB engine being used.

\n

\n RDS for MySQL\n

\n

Possible values are error, general, and slowquery.

\n

\n RDS for PostgreSQL\n

\n

Possible values are postgresql and upgrade.

\n

\n Aurora MySQL\n

\n

Possible values are audit, error, general, and slowquery.

\n

\n Aurora PostgreSQL\n

\n

Possible value is postgresql.

\n

For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

\n

For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

" + "smithy.api#documentation": "

The list of logs that the restored DB cluster is to export to Amazon CloudWatch Logs.\n The values in the list depend on the DB engine being used.

\n

\n RDS for MySQL\n

\n

Possible values are error, general, and slowquery.

\n

\n RDS for PostgreSQL\n

\n

Possible values are postgresql and upgrade.

\n

\n Aurora MySQL\n

\n

Possible values are audit, error, general, instance, and slowquery.

\n

\n Aurora PostgreSQL\n

\n

Possible value are instance and postgresql.

\n

For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

\n

For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

" } }, "EngineMode": { @@ -27796,7 +27796,7 @@ "EnableCloudwatchLogsExports": { "target": "com.amazonaws.rds#LogTypeList", "traits": { - "smithy.api#documentation": "

The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values\n in the list depend on the DB engine being used.

\n

\n RDS for MySQL\n

\n

Possible values are error, general, and slowquery.

\n

\n RDS for PostgreSQL\n

\n

Possible values are postgresql and upgrade.

\n

\n Aurora MySQL\n

\n

Possible values are audit, error, general, and slowquery.

\n

\n Aurora PostgreSQL\n

\n

Possible value is postgresql.

\n

For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

\n

For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

" + "smithy.api#documentation": "

The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values\n in the list depend on the DB engine being used.

\n

\n RDS for MySQL\n

\n

Possible values are error, general, and slowquery.

\n

\n RDS for PostgreSQL\n

\n

Possible values are postgresql and upgrade.

\n

\n Aurora MySQL\n

\n

Possible values are audit, error, general, instance, and slowquery.

\n

\n Aurora PostgreSQL\n

\n

Possible value are instance and postgresql.

\n

For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

\n

For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

" } }, "DBClusterParameterGroupName": { @@ -30505,7 +30505,7 @@ } ], "traits": { - "smithy.api#documentation": "

Stops an Amazon RDS DB instance. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, \n DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if \n necessary.

\n

For more information, see \n \n Stopping an Amazon RDS DB Instance Temporarily in the \n Amazon RDS User Guide.\n

\n \n

This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL.\n For Aurora clusters, use StopDBCluster instead.

\n
", + "smithy.api#documentation": "

Stops an Amazon RDS DB instance temporarily. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, \n including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains\n the transaction logs so you can do a point-in-time restore if necessary. The instance restarts automatically \n after 7 days.

\n

For more information, see \n \n Stopping an Amazon RDS DB Instance Temporarily in the \n Amazon RDS User Guide.\n

\n \n

This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL.\n For Aurora clusters, use StopDBCluster instead.

\n
", "smithy.api#examples": [ { "title": "To stop a DB instance", diff --git a/aws-models/sagemaker.json b/aws-models/sagemaker.json index e2beec9f869e..33f4f466c355 100644 --- a/aws-models/sagemaker.json +++ b/aws-models/sagemaker.json @@ -56915,6 +56915,12 @@ "smithy.api#enumValue": "ml.p5e.48xlarge" } }, + "ML_P5EN_48XLARGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ml.p5en.48xlarge" + } + }, "ML_M7I_LARGE": { "target": "smithy.api#Unit", "traits": { @@ -60202,7 +60208,7 @@ "SageMakerImageVersionArn": { "target": "com.amazonaws.sagemaker#ImageVersionArn", "traits": { - "smithy.api#documentation": "

The ARN of the image version created on the instance.

" + "smithy.api#documentation": "

The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.

" } }, "SageMakerImageVersionAlias": { @@ -60225,7 +60231,7 @@ } }, "traits": { - "smithy.api#documentation": "

Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that\n the version runs on.

" + "smithy.api#documentation": "

Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that\n the version runs on.

\n \n

When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

\n
" } }, "com.amazonaws.sagemaker#ResourceType": { diff --git a/examples/examples/aurora/Cargo.toml b/examples/examples/aurora/Cargo.toml index d1800b8838a4..7129fb689964 100644 --- a/examples/examples/aurora/Cargo.toml +++ b/examples/examples/aurora/Cargo.toml @@ -16,7 +16,7 @@ tracing = "0.1.37" aws-config= { version = "1.5.15", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types" } aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" } -aws-sdk-rds= { version = "1.76.0", path = "../../../sdk/rds" } +aws-sdk-rds= { version = "1.76.1", path = "../../../sdk/rds" } [dependencies.phf] version = "0.11.2" diff --git a/examples/examples/rds/Cargo.toml b/examples/examples/rds/Cargo.toml index 4fe23b0230fe..591b916191ed 100644 --- a/examples/examples/rds/Cargo.toml +++ b/examples/examples/rds/Cargo.toml @@ -16,7 +16,7 @@ secrecy = "0.8.0" tracing = "0.1.37" aws-config= { version = "1.5.15", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" } -aws-sdk-rds= { version = "1.76.0", path = "../../../sdk/rds" } +aws-sdk-rds= { version = "1.76.1", path = "../../../sdk/rds" } [dependencies.clap] version = "4.4" diff --git a/examples/examples/sagemaker/Cargo.toml b/examples/examples/sagemaker/Cargo.toml index 2589590c41d8..5c6ec06d922e 100644 --- a/examples/examples/sagemaker/Cargo.toml +++ b/examples/examples/sagemaker/Cargo.toml @@ -9,7 +9,7 @@ publish = false [dependencies] thiserror = "1.0" aws-config= { version = "1.5.15", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } -aws-sdk-sagemaker= { version = "1.100.0", path = "../../../sdk/sagemaker" } +aws-sdk-sagemaker= { version = "1.101.0", path = "../../../sdk/sagemaker" } aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] } [dependencies.clap] diff --git a/sdk/amp/Cargo.toml b/sdk/amp/Cargo.toml index 72d384bd0a0a..485aa68559dc 100644 --- a/sdk/amp/Cargo.toml +++ b/sdk/amp/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-amp" -version = "1.57.0" +version = "1.58.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for Amazon Prometheus Service" edition = "2021" diff --git a/sdk/amp/README.md b/sdk/amp/README.md index 0cab0e1f8123..02ab2fa5428d 100644 --- a/sdk/amp/README.md +++ b/sdk/amp/README.md @@ -20,7 +20,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-amp = "1.57.0" +aws-sdk-amp = "1.58.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/amp/src/client/create_scraper.rs b/sdk/amp/src/client/create_scraper.rs index 4d3bdba2cef9..acc57a7f2073 100644 --- a/sdk/amp/src/client/create_scraper.rs +++ b/sdk/amp/src/client/create_scraper.rs @@ -7,6 +7,7 @@ impl super::Client { /// - [`scrape_configuration(ScrapeConfiguration)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::scrape_configuration) / [`set_scrape_configuration(Option)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_scrape_configuration):
required: **true**

The configuration file to use in the new scraper. For more information, see Scraper configuration in the Amazon Managed Service for Prometheus User Guide.


/// - [`source(Source)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::source) / [`set_source(Option)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_source):
required: **true**

The Amazon EKS cluster from which the scraper will collect metrics.


/// - [`destination(Destination)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::destination) / [`set_destination(Option)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_destination):
required: **true**

The Amazon Managed Service for Prometheus workspace to send metrics to.


+ /// - [`role_configuration(RoleConfiguration)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::role_configuration) / [`set_role_configuration(Option)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_role_configuration):
required: **false**

The scraper role configuration for the workspace.


/// - [`client_token(impl Into)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::client_token) / [`set_client_token(Option)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_client_token):
required: **false**

(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.


/// - [`tags(impl Into, impl Into)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::tags) / [`set_tags(Option>)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_tags):
required: **false**

(Optional) The list of tag keys and values to associate with the scraper.


/// - On success, responds with [`CreateScraperOutput`](crate::operation::create_scraper::CreateScraperOutput) with field(s): diff --git a/sdk/amp/src/client/update_scraper.rs b/sdk/amp/src/client/update_scraper.rs index 5d115b65cab0..15cbc9d6163f 100644 --- a/sdk/amp/src/client/update_scraper.rs +++ b/sdk/amp/src/client/update_scraper.rs @@ -7,6 +7,7 @@ impl super::Client { /// - [`alias(impl Into)`](crate::operation::update_scraper::builders::UpdateScraperFluentBuilder::alias) / [`set_alias(Option)`](crate::operation::update_scraper::builders::UpdateScraperFluentBuilder::set_alias):
required: **false**

The new alias of the scraper.


/// - [`scrape_configuration(ScrapeConfiguration)`](crate::operation::update_scraper::builders::UpdateScraperFluentBuilder::scrape_configuration) / [`set_scrape_configuration(Option)`](crate::operation::update_scraper::builders::UpdateScraperFluentBuilder::set_scrape_configuration):
required: **false**

Contains the base-64 encoded YAML configuration for the scraper.

For more information about configuring a scraper, see Using an Amazon Web Services managed collector in the Amazon Managed Service for Prometheus User Guide.


/// - [`destination(Destination)`](crate::operation::update_scraper::builders::UpdateScraperFluentBuilder::destination) / [`set_destination(Option)`](crate::operation::update_scraper::builders::UpdateScraperFluentBuilder::set_destination):
required: **false**

The new Amazon Managed Service for Prometheus workspace to send metrics to.


+ /// - [`role_configuration(RoleConfiguration)`](crate::operation::update_scraper::builders::UpdateScraperFluentBuilder::role_configuration) / [`set_role_configuration(Option)`](crate::operation::update_scraper::builders::UpdateScraperFluentBuilder::set_role_configuration):
required: **false**

The scraper role configuration for the workspace.


/// - [`client_token(impl Into)`](crate::operation::update_scraper::builders::UpdateScraperFluentBuilder::client_token) / [`set_client_token(Option)`](crate::operation::update_scraper::builders::UpdateScraperFluentBuilder::set_client_token):
required: **false**

A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.


/// - On success, responds with [`UpdateScraperOutput`](crate::operation::update_scraper::UpdateScraperOutput) with field(s): /// - [`scraper_id(String)`](crate::operation::update_scraper::UpdateScraperOutput::scraper_id):

The ID of the updated scraper.

diff --git a/sdk/amp/src/lib.rs b/sdk/amp/src/lib.rs index db08b3708fd3..8f034311f763 100644 --- a/sdk/amp/src/lib.rs +++ b/sdk/amp/src/lib.rs @@ -37,7 +37,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-amp = "1.57.0" +//! aws-sdk-amp = "1.58.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/amp/src/operation/create_scraper/_create_scraper_input.rs b/sdk/amp/src/operation/create_scraper/_create_scraper_input.rs index 6c07040c6295..2c61247bff55 100644 --- a/sdk/amp/src/operation/create_scraper/_create_scraper_input.rs +++ b/sdk/amp/src/operation/create_scraper/_create_scraper_input.rs @@ -12,6 +12,8 @@ pub struct CreateScraperInput { pub source: ::std::option::Option, ///

The Amazon Managed Service for Prometheus workspace to send metrics to.

pub destination: ::std::option::Option, + ///

The scraper role configuration for the workspace.

+ pub role_configuration: ::std::option::Option, ///

(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.

pub client_token: ::std::option::Option<::std::string::String>, ///

(Optional) The list of tag keys and values to associate with the scraper.

@@ -34,6 +36,10 @@ impl CreateScraperInput { pub fn destination(&self) -> ::std::option::Option<&crate::types::Destination> { self.destination.as_ref() } + ///

The scraper role configuration for the workspace.

+ pub fn role_configuration(&self) -> ::std::option::Option<&crate::types::RoleConfiguration> { + self.role_configuration.as_ref() + } ///

(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.

pub fn client_token(&self) -> ::std::option::Option<&str> { self.client_token.as_deref() @@ -58,6 +64,7 @@ pub struct CreateScraperInputBuilder { pub(crate) scrape_configuration: ::std::option::Option, pub(crate) source: ::std::option::Option, pub(crate) destination: ::std::option::Option, + pub(crate) role_configuration: ::std::option::Option, pub(crate) client_token: ::std::option::Option<::std::string::String>, pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>, } @@ -121,6 +128,20 @@ impl CreateScraperInputBuilder { pub fn get_destination(&self) -> &::std::option::Option { &self.destination } + ///

The scraper role configuration for the workspace.

+ pub fn role_configuration(mut self, input: crate::types::RoleConfiguration) -> Self { + self.role_configuration = ::std::option::Option::Some(input); + self + } + ///

The scraper role configuration for the workspace.

+ pub fn set_role_configuration(mut self, input: ::std::option::Option) -> Self { + self.role_configuration = input; + self + } + ///

The scraper role configuration for the workspace.

+ pub fn get_role_configuration(&self) -> &::std::option::Option { + &self.role_configuration + } ///

(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.

pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.client_token = ::std::option::Option::Some(input.into()); @@ -164,6 +185,7 @@ impl CreateScraperInputBuilder { scrape_configuration: self.scrape_configuration, source: self.source, destination: self.destination, + role_configuration: self.role_configuration, client_token: self.client_token, tags: self.tags, }) diff --git a/sdk/amp/src/operation/create_scraper/builders.rs b/sdk/amp/src/operation/create_scraper/builders.rs index 9716a63a68ae..82ad7cbc356b 100644 --- a/sdk/amp/src/operation/create_scraper/builders.rs +++ b/sdk/amp/src/operation/create_scraper/builders.rs @@ -168,6 +168,20 @@ impl CreateScraperFluentBuilder { pub fn get_destination(&self) -> &::std::option::Option { self.inner.get_destination() } + ///

The scraper role configuration for the workspace.

+ pub fn role_configuration(mut self, input: crate::types::RoleConfiguration) -> Self { + self.inner = self.inner.role_configuration(input); + self + } + ///

The scraper role configuration for the workspace.

+ pub fn set_role_configuration(mut self, input: ::std::option::Option) -> Self { + self.inner = self.inner.set_role_configuration(input); + self + } + ///

The scraper role configuration for the workspace.

+ pub fn get_role_configuration(&self) -> &::std::option::Option { + self.inner.get_role_configuration() + } ///

(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.

pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/amp/src/operation/update_scraper/_update_scraper_input.rs b/sdk/amp/src/operation/update_scraper/_update_scraper_input.rs index f53f9fdb5fc4..af70265e5cf7 100644 --- a/sdk/amp/src/operation/update_scraper/_update_scraper_input.rs +++ b/sdk/amp/src/operation/update_scraper/_update_scraper_input.rs @@ -13,6 +13,8 @@ pub struct UpdateScraperInput { pub scrape_configuration: ::std::option::Option, ///

The new Amazon Managed Service for Prometheus workspace to send metrics to.

pub destination: ::std::option::Option, + ///

The scraper role configuration for the workspace.

+ pub role_configuration: ::std::option::Option, ///

A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

pub client_token: ::std::option::Option<::std::string::String>, } @@ -35,6 +37,10 @@ impl UpdateScraperInput { pub fn destination(&self) -> ::std::option::Option<&crate::types::Destination> { self.destination.as_ref() } + ///

The scraper role configuration for the workspace.

+ pub fn role_configuration(&self) -> ::std::option::Option<&crate::types::RoleConfiguration> { + self.role_configuration.as_ref() + } ///

A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

pub fn client_token(&self) -> ::std::option::Option<&str> { self.client_token.as_deref() @@ -55,6 +61,7 @@ pub struct UpdateScraperInputBuilder { pub(crate) alias: ::std::option::Option<::std::string::String>, pub(crate) scrape_configuration: ::std::option::Option, pub(crate) destination: ::std::option::Option, + pub(crate) role_configuration: ::std::option::Option, pub(crate) client_token: ::std::option::Option<::std::string::String>, } impl UpdateScraperInputBuilder { @@ -121,6 +128,20 @@ impl UpdateScraperInputBuilder { pub fn get_destination(&self) -> &::std::option::Option { &self.destination } + ///

The scraper role configuration for the workspace.

+ pub fn role_configuration(mut self, input: crate::types::RoleConfiguration) -> Self { + self.role_configuration = ::std::option::Option::Some(input); + self + } + ///

The scraper role configuration for the workspace.

+ pub fn set_role_configuration(mut self, input: ::std::option::Option) -> Self { + self.role_configuration = input; + self + } + ///

The scraper role configuration for the workspace.

+ pub fn get_role_configuration(&self) -> &::std::option::Option { + &self.role_configuration + } ///

A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.client_token = ::std::option::Option::Some(input.into()); @@ -144,6 +165,7 @@ impl UpdateScraperInputBuilder { alias: self.alias, scrape_configuration: self.scrape_configuration, destination: self.destination, + role_configuration: self.role_configuration, client_token: self.client_token, }) } diff --git a/sdk/amp/src/operation/update_scraper/builders.rs b/sdk/amp/src/operation/update_scraper/builders.rs index ff22d70f2de8..a18812382d63 100644 --- a/sdk/amp/src/operation/update_scraper/builders.rs +++ b/sdk/amp/src/operation/update_scraper/builders.rs @@ -171,6 +171,20 @@ impl UpdateScraperFluentBuilder { pub fn get_destination(&self) -> &::std::option::Option { self.inner.get_destination() } + ///

The scraper role configuration for the workspace.

+ pub fn role_configuration(mut self, input: crate::types::RoleConfiguration) -> Self { + self.inner = self.inner.role_configuration(input); + self + } + ///

The scraper role configuration for the workspace.

+ pub fn set_role_configuration(mut self, input: ::std::option::Option) -> Self { + self.inner = self.inner.set_role_configuration(input); + self + } + ///

The scraper role configuration for the workspace.

+ pub fn get_role_configuration(&self) -> &::std::option::Option { + self.inner.get_role_configuration() + } ///

A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.client_token(input.into()); diff --git a/sdk/amp/src/protocol_serde.rs b/sdk/amp/src/protocol_serde.rs index 42abcf7cfb31..e404cd87ecc9 100644 --- a/sdk/amp/src/protocol_serde.rs +++ b/sdk/amp/src/protocol_serde.rs @@ -131,6 +131,8 @@ pub(crate) mod shape_logging_configuration_metadata; pub(crate) mod shape_logging_configuration_status; +pub(crate) mod shape_role_configuration; + pub(crate) mod shape_rule_groups_namespace_description; pub(crate) mod shape_rule_groups_namespace_status; diff --git a/sdk/amp/src/protocol_serde/shape_create_scraper_input.rs b/sdk/amp/src/protocol_serde/shape_create_scraper_input.rs index 87d85a4ce4e4..e0f25f5617a5 100644 --- a/sdk/amp/src/protocol_serde/shape_create_scraper_input.rs +++ b/sdk/amp/src/protocol_serde/shape_create_scraper_input.rs @@ -15,27 +15,33 @@ pub fn ser_create_scraper_input_input( crate::protocol_serde::shape_destination::ser_destination(&mut object_4, var_3)?; object_4.finish(); } - if let Some(var_5) = &input.scrape_configuration { + if let Some(var_5) = &input.role_configuration { #[allow(unused_mut)] - let mut object_6 = object.key("scrapeConfiguration").start_object(); - crate::protocol_serde::shape_scrape_configuration::ser_scrape_configuration(&mut object_6, var_5)?; + let mut object_6 = object.key("roleConfiguration").start_object(); + crate::protocol_serde::shape_role_configuration::ser_role_configuration(&mut object_6, var_5)?; object_6.finish(); } - if let Some(var_7) = &input.source { + if let Some(var_7) = &input.scrape_configuration { #[allow(unused_mut)] - let mut object_8 = object.key("source").start_object(); - crate::protocol_serde::shape_source::ser_source(&mut object_8, var_7)?; + let mut object_8 = object.key("scrapeConfiguration").start_object(); + crate::protocol_serde::shape_scrape_configuration::ser_scrape_configuration(&mut object_8, var_7)?; object_8.finish(); } - if let Some(var_9) = &input.tags { + if let Some(var_9) = &input.source { #[allow(unused_mut)] - let mut object_10 = object.key("tags").start_object(); - for (key_11, value_12) in var_9 { + let mut object_10 = object.key("source").start_object(); + crate::protocol_serde::shape_source::ser_source(&mut object_10, var_9)?; + object_10.finish(); + } + if let Some(var_11) = &input.tags { + #[allow(unused_mut)] + let mut object_12 = object.key("tags").start_object(); + for (key_13, value_14) in var_11 { { - object_10.key(key_11.as_str()).string(value_12.as_str()); + object_12.key(key_13.as_str()).string(value_14.as_str()); } } - object_10.finish(); + object_12.finish(); } Ok(()) } diff --git a/sdk/amp/src/protocol_serde/shape_role_configuration.rs b/sdk/amp/src/protocol_serde/shape_role_configuration.rs new file mode 100644 index 000000000000..9297bcfa43cd --- /dev/null +++ b/sdk/amp/src/protocol_serde/shape_role_configuration.rs @@ -0,0 +1,60 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub fn ser_role_configuration( + object: &mut ::aws_smithy_json::serialize::JsonObjectWriter, + input: &crate::types::RoleConfiguration, +) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> { + if let Some(var_1) = &input.source_role_arn { + object.key("sourceRoleArn").string(var_1.as_str()); + } + if let Some(var_2) = &input.target_role_arn { + object.key("targetRoleArn").string(var_2.as_str()); + } + Ok(()) +} + +pub(crate) fn de_role_configuration<'a, I>( + tokens: &mut ::std::iter::Peekable, +) -> Result, ::aws_smithy_json::deserialize::error::DeserializeError> +where + I: Iterator, ::aws_smithy_json::deserialize::error::DeserializeError>>, +{ + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None), + Some(::aws_smithy_json::deserialize::Token::StartObject { .. }) => { + #[allow(unused_mut)] + let mut builder = crate::types::builders::RoleConfigurationBuilder::default(); + loop { + match tokens.next().transpose()? { + Some(::aws_smithy_json::deserialize::Token::EndObject { .. }) => break, + Some(::aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => match key.to_unescaped()?.as_ref() { + "sourceRoleArn" => { + builder = builder.set_source_role_arn( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| u.into_owned())) + .transpose()?, + ); + } + "targetRoleArn" => { + builder = builder.set_target_role_arn( + ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? + .map(|s| s.to_unescaped().map(|u| u.into_owned())) + .transpose()?, + ); + } + _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, + }, + other => { + return Err(::aws_smithy_json::deserialize::error::DeserializeError::custom(format!( + "expected object key or end object, found: {:?}", + other + ))) + } + } + } + Ok(Some(builder.build())) + } + _ => Err(::aws_smithy_json::deserialize::error::DeserializeError::custom( + "expected start object or null", + )), + } +} diff --git a/sdk/amp/src/protocol_serde/shape_scrape_configuration.rs b/sdk/amp/src/protocol_serde/shape_scrape_configuration.rs index 9648539ec03d..c57ed5352c6b 100644 --- a/sdk/amp/src/protocol_serde/shape_scrape_configuration.rs +++ b/sdk/amp/src/protocol_serde/shape_scrape_configuration.rs @@ -1,11 +1,11 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. pub fn ser_scrape_configuration( - object_6: &mut ::aws_smithy_json::serialize::JsonObjectWriter, + object_8: &mut ::aws_smithy_json::serialize::JsonObjectWriter, input: &crate::types::ScrapeConfiguration, ) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> { match input { crate::types::ScrapeConfiguration::ConfigurationBlob(inner) => { - object_6 + object_8 .key("configurationBlob") .string_unchecked(&::aws_smithy_types::base64::encode(inner)); } diff --git a/sdk/amp/src/protocol_serde/shape_scraper_description.rs b/sdk/amp/src/protocol_serde/shape_scraper_description.rs index 5f16167ddfee..931b7f26b77c 100644 --- a/sdk/amp/src/protocol_serde/shape_scraper_description.rs +++ b/sdk/amp/src/protocol_serde/shape_scraper_description.rs @@ -77,6 +77,9 @@ where "destination" => { builder = builder.set_destination(crate::protocol_serde::shape_destination::de_destination(tokens)?); } + "roleConfiguration" => { + builder = builder.set_role_configuration(crate::protocol_serde::shape_role_configuration::de_role_configuration(tokens)?); + } _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, }, other => { diff --git a/sdk/amp/src/protocol_serde/shape_scraper_summary.rs b/sdk/amp/src/protocol_serde/shape_scraper_summary.rs index ad2ffbbcfb0e..455f1e2d29db 100644 --- a/sdk/amp/src/protocol_serde/shape_scraper_summary.rs +++ b/sdk/amp/src/protocol_serde/shape_scraper_summary.rs @@ -73,6 +73,9 @@ where "destination" => { builder = builder.set_destination(crate::protocol_serde::shape_destination::de_destination(tokens)?); } + "roleConfiguration" => { + builder = builder.set_role_configuration(crate::protocol_serde::shape_role_configuration::de_role_configuration(tokens)?); + } _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, }, other => { diff --git a/sdk/amp/src/protocol_serde/shape_source.rs b/sdk/amp/src/protocol_serde/shape_source.rs index 5239b63aed76..eba46f9f2c06 100644 --- a/sdk/amp/src/protocol_serde/shape_source.rs +++ b/sdk/amp/src/protocol_serde/shape_source.rs @@ -1,12 +1,12 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. pub fn ser_source( - object_8: &mut ::aws_smithy_json::serialize::JsonObjectWriter, + object_10: &mut ::aws_smithy_json::serialize::JsonObjectWriter, input: &crate::types::Source, ) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> { match input { crate::types::Source::EksConfiguration(inner) => { #[allow(unused_mut)] - let mut object_1 = object_8.key("eksConfiguration").start_object(); + let mut object_1 = object_10.key("eksConfiguration").start_object(); crate::protocol_serde::shape_eks_configuration::ser_eks_configuration(&mut object_1, inner)?; object_1.finish(); } diff --git a/sdk/amp/src/protocol_serde/shape_update_scraper_input.rs b/sdk/amp/src/protocol_serde/shape_update_scraper_input.rs index 3cbb222bcf32..1e7355a52f58 100644 --- a/sdk/amp/src/protocol_serde/shape_update_scraper_input.rs +++ b/sdk/amp/src/protocol_serde/shape_update_scraper_input.rs @@ -15,11 +15,17 @@ pub fn ser_update_scraper_input_input( crate::protocol_serde::shape_destination::ser_destination(&mut object_4, var_3)?; object_4.finish(); } - if let Some(var_5) = &input.scrape_configuration { + if let Some(var_5) = &input.role_configuration { #[allow(unused_mut)] - let mut object_6 = object.key("scrapeConfiguration").start_object(); - crate::protocol_serde::shape_scrape_configuration::ser_scrape_configuration(&mut object_6, var_5)?; + let mut object_6 = object.key("roleConfiguration").start_object(); + crate::protocol_serde::shape_role_configuration::ser_role_configuration(&mut object_6, var_5)?; object_6.finish(); } + if let Some(var_7) = &input.scrape_configuration { + #[allow(unused_mut)] + let mut object_8 = object.key("scrapeConfiguration").start_object(); + crate::protocol_serde::shape_scrape_configuration::ser_scrape_configuration(&mut object_8, var_7)?; + object_8.finish(); + } Ok(()) } diff --git a/sdk/amp/src/types.rs b/sdk/amp/src/types.rs index a4c623d399cd..062b2e248c04 100644 --- a/sdk/amp/src/types.rs +++ b/sdk/amp/src/types.rs @@ -35,6 +35,8 @@ pub use crate::types::_scraper_status::ScraperStatus; pub use crate::types::_scraper_status_code::ScraperStatusCode; +pub use crate::types::_role_configuration::RoleConfiguration; + pub use crate::types::_destination::Destination; pub use crate::types::_amp_configuration::AmpConfiguration; @@ -67,6 +69,8 @@ mod _logging_configuration_status; mod _logging_configuration_status_code; +mod _role_configuration; + mod _rule_groups_namespace_description; mod _rule_groups_namespace_status; diff --git a/sdk/amp/src/types/_role_configuration.rs b/sdk/amp/src/types/_role_configuration.rs new file mode 100644 index 000000000000..a51a81e2a68b --- /dev/null +++ b/sdk/amp/src/types/_role_configuration.rs @@ -0,0 +1,72 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

+#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct RoleConfiguration { + ///

A ARN identifying the source role configuration.

+ pub source_role_arn: ::std::option::Option<::std::string::String>, + ///

A ARN identifying the target role configuration.

+ pub target_role_arn: ::std::option::Option<::std::string::String>, +} +impl RoleConfiguration { + ///

A ARN identifying the source role configuration.

+ pub fn source_role_arn(&self) -> ::std::option::Option<&str> { + self.source_role_arn.as_deref() + } + ///

A ARN identifying the target role configuration.

+ pub fn target_role_arn(&self) -> ::std::option::Option<&str> { + self.target_role_arn.as_deref() + } +} +impl RoleConfiguration { + /// Creates a new builder-style object to manufacture [`RoleConfiguration`](crate::types::RoleConfiguration). + pub fn builder() -> crate::types::builders::RoleConfigurationBuilder { + crate::types::builders::RoleConfigurationBuilder::default() + } +} + +/// A builder for [`RoleConfiguration`](crate::types::RoleConfiguration). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct RoleConfigurationBuilder { + pub(crate) source_role_arn: ::std::option::Option<::std::string::String>, + pub(crate) target_role_arn: ::std::option::Option<::std::string::String>, +} +impl RoleConfigurationBuilder { + ///

A ARN identifying the source role configuration.

+ pub fn source_role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.source_role_arn = ::std::option::Option::Some(input.into()); + self + } + ///

A ARN identifying the source role configuration.

+ pub fn set_source_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.source_role_arn = input; + self + } + ///

A ARN identifying the source role configuration.

+ pub fn get_source_role_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.source_role_arn + } + ///

A ARN identifying the target role configuration.

+ pub fn target_role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { + self.target_role_arn = ::std::option::Option::Some(input.into()); + self + } + ///

A ARN identifying the target role configuration.

+ pub fn set_target_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { + self.target_role_arn = input; + self + } + ///

A ARN identifying the target role configuration.

+ pub fn get_target_role_arn(&self) -> &::std::option::Option<::std::string::String> { + &self.target_role_arn + } + /// Consumes the builder and constructs a [`RoleConfiguration`](crate::types::RoleConfiguration). + pub fn build(self) -> crate::types::RoleConfiguration { + crate::types::RoleConfiguration { + source_role_arn: self.source_role_arn, + target_role_arn: self.target_role_arn, + } + } +} diff --git a/sdk/amp/src/types/_scraper_description.rs b/sdk/amp/src/types/_scraper_description.rs index 9d5e803dfa80..391cc120edc2 100644 --- a/sdk/amp/src/types/_scraper_description.rs +++ b/sdk/amp/src/types/_scraper_description.rs @@ -29,6 +29,8 @@ pub struct ScraperDescription { pub source: ::std::option::Option, ///

The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.

pub destination: ::std::option::Option, + ///

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

+ pub role_configuration: ::std::option::Option, } impl ScraperDescription { ///

(Optional) A name associated with the scraper.

@@ -83,6 +85,10 @@ impl ScraperDescription { pub fn destination(&self) -> ::std::option::Option<&crate::types::Destination> { self.destination.as_ref() } + ///

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

+ pub fn role_configuration(&self) -> ::std::option::Option<&crate::types::RoleConfiguration> { + self.role_configuration.as_ref() + } } impl ScraperDescription { /// Creates a new builder-style object to manufacture [`ScraperDescription`](crate::types::ScraperDescription). @@ -107,6 +113,7 @@ pub struct ScraperDescriptionBuilder { pub(crate) scrape_configuration: ::std::option::Option, pub(crate) source: ::std::option::Option, pub(crate) destination: ::std::option::Option, + pub(crate) role_configuration: ::std::option::Option, } impl ScraperDescriptionBuilder { ///

(Optional) A name associated with the scraper.

@@ -295,6 +302,20 @@ impl ScraperDescriptionBuilder { pub fn get_destination(&self) -> &::std::option::Option { &self.destination } + ///

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

+ pub fn role_configuration(mut self, input: crate::types::RoleConfiguration) -> Self { + self.role_configuration = ::std::option::Option::Some(input); + self + } + ///

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

+ pub fn set_role_configuration(mut self, input: ::std::option::Option) -> Self { + self.role_configuration = input; + self + } + ///

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

+ pub fn get_role_configuration(&self) -> &::std::option::Option { + &self.role_configuration + } /// Consumes the builder and constructs a [`ScraperDescription`](crate::types::ScraperDescription). /// This method will fail if any of the following fields are not set: /// - [`scraper_id`](crate::types::builders::ScraperDescriptionBuilder::scraper_id) @@ -341,6 +362,7 @@ impl ScraperDescriptionBuilder { scrape_configuration: self.scrape_configuration, source: self.source, destination: self.destination, + role_configuration: self.role_configuration, }) } } diff --git a/sdk/amp/src/types/_scraper_summary.rs b/sdk/amp/src/types/_scraper_summary.rs index 4a45f35e27ed..71366b79048d 100644 --- a/sdk/amp/src/types/_scraper_summary.rs +++ b/sdk/amp/src/types/_scraper_summary.rs @@ -26,6 +26,8 @@ pub struct ScraperSummary { pub source: ::std::option::Option, ///

The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.

pub destination: ::std::option::Option, + ///

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

+ pub role_configuration: ::std::option::Option, } impl ScraperSummary { ///

(Optional) A name associated with the scraper.

@@ -75,6 +77,10 @@ impl ScraperSummary { pub fn destination(&self) -> ::std::option::Option<&crate::types::Destination> { self.destination.as_ref() } + ///

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

+ pub fn role_configuration(&self) -> ::std::option::Option<&crate::types::RoleConfiguration> { + self.role_configuration.as_ref() + } } impl ScraperSummary { /// Creates a new builder-style object to manufacture [`ScraperSummary`](crate::types::ScraperSummary). @@ -98,6 +104,7 @@ pub struct ScraperSummaryBuilder { pub(crate) status_reason: ::std::option::Option<::std::string::String>, pub(crate) source: ::std::option::Option, pub(crate) destination: ::std::option::Option, + pub(crate) role_configuration: ::std::option::Option, } impl ScraperSummaryBuilder { ///

(Optional) A name associated with the scraper.

@@ -268,6 +275,20 @@ impl ScraperSummaryBuilder { pub fn get_destination(&self) -> &::std::option::Option { &self.destination } + ///

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

+ pub fn role_configuration(mut self, input: crate::types::RoleConfiguration) -> Self { + self.role_configuration = ::std::option::Option::Some(input); + self + } + ///

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

+ pub fn set_role_configuration(mut self, input: ::std::option::Option) -> Self { + self.role_configuration = input; + self + } + ///

To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.

+ pub fn get_role_configuration(&self) -> &::std::option::Option { + &self.role_configuration + } /// Consumes the builder and constructs a [`ScraperSummary`](crate::types::ScraperSummary). /// This method will fail if any of the following fields are not set: /// - [`scraper_id`](crate::types::builders::ScraperSummaryBuilder::scraper_id) @@ -313,6 +334,7 @@ impl ScraperSummaryBuilder { status_reason: self.status_reason, source: self.source, destination: self.destination, + role_configuration: self.role_configuration, }) } } diff --git a/sdk/amp/src/types/builders.rs b/sdk/amp/src/types/builders.rs index 1107a0a59da0..04cc0d0de454 100644 --- a/sdk/amp/src/types/builders.rs +++ b/sdk/amp/src/types/builders.rs @@ -23,6 +23,8 @@ pub use crate::types::_alert_manager_definition_description::AlertManagerDefinit pub use crate::types::_scraper_status::ScraperStatusBuilder; +pub use crate::types::_role_configuration::RoleConfigurationBuilder; + pub use crate::types::_amp_configuration::AmpConfigurationBuilder; pub use crate::types::_scraper_description::ScraperDescriptionBuilder; diff --git a/sdk/bedrockagentruntime/Cargo.toml b/sdk/bedrockagentruntime/Cargo.toml index 17cd762e17ef..f27fd08df567 100644 --- a/sdk/bedrockagentruntime/Cargo.toml +++ b/sdk/bedrockagentruntime/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-bedrockagentruntime" -version = "1.75.0" +version = "1.76.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for Agents for Amazon Bedrock Runtime" edition = "2021" diff --git a/sdk/bedrockagentruntime/README.md b/sdk/bedrockagentruntime/README.md index a117c64a9a50..53f362c95bd2 100644 --- a/sdk/bedrockagentruntime/README.md +++ b/sdk/bedrockagentruntime/README.md @@ -14,7 +14,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-bedrockagentruntime = "1.75.0" +aws-sdk-bedrockagentruntime = "1.76.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/bedrockagentruntime/src/lib.rs b/sdk/bedrockagentruntime/src/lib.rs index 5e8cd5fdf4a9..9cd2431f253b 100644 --- a/sdk/bedrockagentruntime/src/lib.rs +++ b/sdk/bedrockagentruntime/src/lib.rs @@ -31,7 +31,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-bedrockagentruntime = "1.75.0" +//! aws-sdk-bedrockagentruntime = "1.76.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/bedrockagentruntime/src/protocol_serde/shape_citation_event.rs b/sdk/bedrockagentruntime/src/protocol_serde/shape_citation_event.rs index ac79569b67e8..a5558cf7751c 100644 --- a/sdk/bedrockagentruntime/src/protocol_serde/shape_citation_event.rs +++ b/sdk/bedrockagentruntime/src/protocol_serde/shape_citation_event.rs @@ -32,6 +32,15 @@ where "citation" => { builder = builder.set_citation(crate::protocol_serde::shape_citation::de_citation(tokens)?); } + "generatedResponsePart" => { + builder = builder.set_generated_response_part( + crate::protocol_serde::shape_generated_response_part::de_generated_response_part(tokens)?, + ); + } + "retrievedReferences" => { + builder = + builder.set_retrieved_references(crate::protocol_serde::shape_retrieved_references::de_retrieved_references(tokens)?); + } _ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?, }, other => { diff --git a/sdk/bedrockagentruntime/src/types.rs b/sdk/bedrockagentruntime/src/types.rs index cd6a16100710..00a95744a2fa 100644 --- a/sdk/bedrockagentruntime/src/types.rs +++ b/sdk/bedrockagentruntime/src/types.rs @@ -73,8 +73,6 @@ pub use crate::types::_guardrail_event::GuardrailEvent; pub use crate::types::_citation_event::CitationEvent; -pub use crate::types::_citation::Citation; - pub use crate::types::_retrieved_reference::RetrievedReference; pub use crate::types::_generated_response_part::GeneratedResponsePart; @@ -83,6 +81,8 @@ pub use crate::types::_text_response_part::TextResponsePart; pub use crate::types::_span::Span; +pub use crate::types::_citation::Citation; + pub use crate::types::_retrieve_and_generate_output_event::RetrieveAndGenerateOutputEvent; pub use crate::types::_retrieve_and_generate_session_configuration::RetrieveAndGenerateSessionConfiguration; diff --git a/sdk/bedrockagentruntime/src/types/_citation_event.rs b/sdk/bedrockagentruntime/src/types/_citation_event.rs index 80e15bca4c9e..dc334a5c103b 100644 --- a/sdk/bedrockagentruntime/src/types/_citation_event.rs +++ b/sdk/bedrockagentruntime/src/types/_citation_event.rs @@ -5,13 +5,35 @@ #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct CitationEvent { ///

The citation.

+ #[deprecated( + note = "Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event.", + since = "2024-12-17" + )] pub citation: ::std::option::Option, + ///

The generated response to the citation event.

+ pub generated_response_part: ::std::option::Option, + ///

The retrieved references of the citation event.

+ pub retrieved_references: ::std::option::Option<::std::vec::Vec>, } impl CitationEvent { ///

The citation.

+ #[deprecated( + note = "Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event.", + since = "2024-12-17" + )] pub fn citation(&self) -> ::std::option::Option<&crate::types::Citation> { self.citation.as_ref() } + ///

The generated response to the citation event.

+ pub fn generated_response_part(&self) -> ::std::option::Option<&crate::types::GeneratedResponsePart> { + self.generated_response_part.as_ref() + } + ///

The retrieved references of the citation event.

+ /// + /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.retrieved_references.is_none()`. + pub fn retrieved_references(&self) -> &[crate::types::RetrievedReference] { + self.retrieved_references.as_deref().unwrap_or_default() + } } impl CitationEvent { /// Creates a new builder-style object to manufacture [`CitationEvent`](crate::types::CitationEvent). @@ -25,24 +47,76 @@ impl CitationEvent { #[non_exhaustive] pub struct CitationEventBuilder { pub(crate) citation: ::std::option::Option, + pub(crate) generated_response_part: ::std::option::Option, + pub(crate) retrieved_references: ::std::option::Option<::std::vec::Vec>, } impl CitationEventBuilder { ///

The citation.

+ #[deprecated( + note = "Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event.", + since = "2024-12-17" + )] pub fn citation(mut self, input: crate::types::Citation) -> Self { self.citation = ::std::option::Option::Some(input); self } ///

The citation.

+ #[deprecated( + note = "Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event.", + since = "2024-12-17" + )] pub fn set_citation(mut self, input: ::std::option::Option) -> Self { self.citation = input; self } ///

The citation.

+ #[deprecated( + note = "Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event.", + since = "2024-12-17" + )] pub fn get_citation(&self) -> &::std::option::Option { &self.citation } + ///

The generated response to the citation event.

+ pub fn generated_response_part(mut self, input: crate::types::GeneratedResponsePart) -> Self { + self.generated_response_part = ::std::option::Option::Some(input); + self + } + ///

The generated response to the citation event.

+ pub fn set_generated_response_part(mut self, input: ::std::option::Option) -> Self { + self.generated_response_part = input; + self + } + ///

The generated response to the citation event.

+ pub fn get_generated_response_part(&self) -> &::std::option::Option { + &self.generated_response_part + } + /// Appends an item to `retrieved_references`. + /// + /// To override the contents of this collection use [`set_retrieved_references`](Self::set_retrieved_references). + /// + ///

The retrieved references of the citation event.

+ pub fn retrieved_references(mut self, input: crate::types::RetrievedReference) -> Self { + let mut v = self.retrieved_references.unwrap_or_default(); + v.push(input); + self.retrieved_references = ::std::option::Option::Some(v); + self + } + ///

The retrieved references of the citation event.

+ pub fn set_retrieved_references(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { + self.retrieved_references = input; + self + } + ///

The retrieved references of the citation event.

+ pub fn get_retrieved_references(&self) -> &::std::option::Option<::std::vec::Vec> { + &self.retrieved_references + } /// Consumes the builder and constructs a [`CitationEvent`](crate::types::CitationEvent). pub fn build(self) -> crate::types::CitationEvent { - crate::types::CitationEvent { citation: self.citation } + crate::types::CitationEvent { + citation: self.citation, + generated_response_part: self.generated_response_part, + retrieved_references: self.retrieved_references, + } } } diff --git a/sdk/bedrockagentruntime/src/types/builders.rs b/sdk/bedrockagentruntime/src/types/builders.rs index 44b53197d3ac..a420a1037da9 100644 --- a/sdk/bedrockagentruntime/src/types/builders.rs +++ b/sdk/bedrockagentruntime/src/types/builders.rs @@ -51,8 +51,6 @@ pub use crate::types::_guardrail_event::GuardrailEventBuilder; pub use crate::types::_citation_event::CitationEventBuilder; -pub use crate::types::_citation::CitationBuilder; - pub use crate::types::_retrieved_reference::RetrievedReferenceBuilder; pub use crate::types::_generated_response_part::GeneratedResponsePartBuilder; @@ -61,6 +59,8 @@ pub use crate::types::_text_response_part::TextResponsePartBuilder; pub use crate::types::_span::SpanBuilder; +pub use crate::types::_citation::CitationBuilder; + pub use crate::types::_retrieve_and_generate_output_event::RetrieveAndGenerateOutputEventBuilder; pub use crate::types::_retrieve_and_generate_session_configuration::RetrieveAndGenerateSessionConfigurationBuilder; diff --git a/sdk/codebuild/Cargo.toml b/sdk/codebuild/Cargo.toml index 2301609ea6bd..278b642f7e11 100644 --- a/sdk/codebuild/Cargo.toml +++ b/sdk/codebuild/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-codebuild" -version = "1.71.0" +version = "1.72.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for AWS CodeBuild" edition = "2021" diff --git a/sdk/codebuild/README.md b/sdk/codebuild/README.md index aa4b0a3db070..155aa21ee7b1 100644 --- a/sdk/codebuild/README.md +++ b/sdk/codebuild/README.md @@ -14,7 +14,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-codebuild = "1.71.0" +aws-sdk-codebuild = "1.72.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/codebuild/src/lib.rs b/sdk/codebuild/src/lib.rs index 7c1eb8123ac1..3dae8036668e 100644 --- a/sdk/codebuild/src/lib.rs +++ b/sdk/codebuild/src/lib.rs @@ -31,7 +31,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-codebuild = "1.71.0" +//! aws-sdk-codebuild = "1.72.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/codebuild/src/types/_webhook_build_type.rs b/sdk/codebuild/src/types/_webhook_build_type.rs index 3e0c0c47de4d..fc6d4303aedc 100644 --- a/sdk/codebuild/src/types/_webhook_build_type.rs +++ b/sdk/codebuild/src/types/_webhook_build_type.rs @@ -14,6 +14,7 @@ /// match webhookbuildtype { /// WebhookBuildType::Build => { /* ... */ }, /// WebhookBuildType::BuildBatch => { /* ... */ }, +/// WebhookBuildType::RunnerBuildkiteBuild => { /* ... */ }, /// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ }, /// _ => { /* ... */ }, /// } @@ -46,6 +47,8 @@ pub enum WebhookBuildType { Build, #[allow(missing_docs)] // documentation missing in model BuildBatch, + #[allow(missing_docs)] // documentation missing in model + RunnerBuildkiteBuild, /// `Unknown` contains new variants that have been added since this code was generated. #[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")] Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue), @@ -55,6 +58,7 @@ impl ::std::convert::From<&str> for WebhookBuildType { match s { "BUILD" => WebhookBuildType::Build, "BUILD_BATCH" => WebhookBuildType::BuildBatch, + "RUNNER_BUILDKITE_BUILD" => WebhookBuildType::RunnerBuildkiteBuild, other => WebhookBuildType::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())), } } @@ -72,12 +76,13 @@ impl WebhookBuildType { match self { WebhookBuildType::Build => "BUILD", WebhookBuildType::BuildBatch => "BUILD_BATCH", + WebhookBuildType::RunnerBuildkiteBuild => "RUNNER_BUILDKITE_BUILD", WebhookBuildType::Unknown(value) => value.as_str(), } } /// Returns all the `&str` representations of the enum members. pub const fn values() -> &'static [&'static str] { - &["BUILD", "BUILD_BATCH"] + &["BUILD", "BUILD_BATCH", "RUNNER_BUILDKITE_BUILD"] } } impl ::std::convert::AsRef for WebhookBuildType { @@ -102,6 +107,7 @@ impl ::std::fmt::Display for WebhookBuildType { match self { WebhookBuildType::Build => write!(f, "BUILD"), WebhookBuildType::BuildBatch => write!(f, "BUILD_BATCH"), + WebhookBuildType::RunnerBuildkiteBuild => write!(f, "RUNNER_BUILDKITE_BUILD"), WebhookBuildType::Unknown(value) => write!(f, "{}", value), } } diff --git a/sdk/codebuild/src/types/_webhook_filter.rs b/sdk/codebuild/src/types/_webhook_filter.rs index 5c640b3ad87f..89aae56580d8 100644 --- a/sdk/codebuild/src/types/_webhook_filter.rs +++ b/sdk/codebuild/src/types/_webhook_filter.rs @@ -82,6 +82,8 @@ pub struct WebhookFilter { ///
  • ///

    A webhook triggers a build when the workflow name matches the regular expression pattern.

    ///

    Works with WORKFLOW_JOB_QUEUED events only.

    + ///
    + ///

    For CodeBuild-hosted Buildkite runner builds, WORKFLOW_NAME filters will filter by pipeline name.

    ///
  • /// /// @@ -171,6 +173,8 @@ impl WebhookFilter { ///
  • ///

    A webhook triggers a build when the workflow name matches the regular expression pattern.

    ///

    Works with WORKFLOW_JOB_QUEUED events only.

    + ///
    + ///

    For CodeBuild-hosted Buildkite runner builds, WORKFLOW_NAME filters will filter by pipeline name.

    ///
  • /// /// @@ -282,6 +286,8 @@ impl WebhookFilterBuilder { ///
  • ///

    A webhook triggers a build when the workflow name matches the regular expression pattern.

    ///

    Works with WORKFLOW_JOB_QUEUED events only.

    + ///
    + ///

    For CodeBuild-hosted Buildkite runner builds, WORKFLOW_NAME filters will filter by pipeline name.

    ///
  • /// /// @@ -368,6 +374,8 @@ impl WebhookFilterBuilder { ///
  • ///

    A webhook triggers a build when the workflow name matches the regular expression pattern.

    ///

    Works with WORKFLOW_JOB_QUEUED events only.

    + ///
    + ///

    For CodeBuild-hosted Buildkite runner builds, WORKFLOW_NAME filters will filter by pipeline name.

    ///
  • /// /// @@ -453,6 +461,8 @@ impl WebhookFilterBuilder { ///
  • ///

    A webhook triggers a build when the workflow name matches the regular expression pattern.

    ///

    Works with WORKFLOW_JOB_QUEUED events only.

    + ///
    + ///

    For CodeBuild-hosted Buildkite runner builds, WORKFLOW_NAME filters will filter by pipeline name.

    ///
  • /// /// diff --git a/sdk/georoutes/Cargo.toml b/sdk/georoutes/Cargo.toml index 566799fd497f..dd588195c3d5 100644 --- a/sdk/georoutes/Cargo.toml +++ b/sdk/georoutes/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-georoutes" -version = "1.10.0" +version = "1.11.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for Amazon Location Service Routes V2" edition = "2021" diff --git a/sdk/georoutes/README.md b/sdk/georoutes/README.md index 6a5fb36aea09..2c6ddb897091 100644 --- a/sdk/georoutes/README.md +++ b/sdk/georoutes/README.md @@ -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-georoutes = "1.10.0" +aws-sdk-georoutes = "1.11.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/georoutes/src/client/calculate_isolines.rs b/sdk/georoutes/src/client/calculate_isolines.rs index 82051b7d3a90..c53361994eb3 100644 --- a/sdk/georoutes/src/client/calculate_isolines.rs +++ b/sdk/georoutes/src/client/calculate_isolines.rs @@ -3,7 +3,7 @@ impl super::Client { /// Constructs a fluent builder for the [`CalculateIsolines`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder) operation. /// /// - The fluent builder is configurable: - /// - [`allow(IsolineAllowOptions)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::allow) / [`set_allow(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_allow):
    required: **false**

    Features that are allowed while calculating. a route


    + /// - [`allow(IsolineAllowOptions)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::allow) / [`set_allow(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_allow):
    required: **false**

    Features that are allowed while calculating an isoline.


    /// - [`arrival_time(impl Into)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::arrival_time) / [`set_arrival_time(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_arrival_time):
    required: **false**

    Time of arrival at the destination.

    Time format: YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    Examples:

    2020-04-22T17:57:24Z

    2020-04-22T17:57:24+02:00


    /// - [`avoid(IsolineAvoidanceOptions)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::avoid) / [`set_avoid(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_avoid):
    required: **false**

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, it violates the avoidance and the returned response produces a notice for the violation.


    /// - [`depart_now(bool)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::depart_now) / [`set_depart_now(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_depart_now):
    required: **false**

    Uses the current time as the time of departure.


    @@ -11,13 +11,13 @@ impl super::Client { /// - [`destination(f64)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::destination) / [`set_destination(Option>)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_destination):
    required: **false**

    The final position for the route. In the World Geodetic System (WGS 84) format: \[longitude, latitude\].


    /// - [`destination_options(IsolineDestinationOptions)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::destination_options) / [`set_destination_options(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_destination_options):
    required: **false**

    Destination related options.


    /// - [`isoline_geometry_format(GeometryFormat)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::isoline_geometry_format) / [`set_isoline_geometry_format(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_isoline_geometry_format):
    required: **false**

    The format of the returned IsolineGeometry.

    Default Value:FlexiblePolyline


    - /// - [`isoline_granularity(IsolineGranularityOptions)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::isoline_granularity) / [`set_isoline_granularity(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_isoline_granularity):
    required: **false**

    Defines the granularity of the returned Isoline


    + /// - [`isoline_granularity(IsolineGranularityOptions)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::isoline_granularity) / [`set_isoline_granularity(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_isoline_granularity):
    required: **false**

    Defines the granularity of the returned Isoline.


    /// - [`key(impl Into)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::key) / [`set_key(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_key):
    required: **false**

    Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.


    /// - [`optimize_isoline_for(IsolineOptimizationObjective)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::optimize_isoline_for) / [`set_optimize_isoline_for(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_optimize_isoline_for):
    required: **false**

    Specifies the optimization criteria for when calculating an isoline. AccurateCalculation generates an isoline of higher granularity that is more precise. FastCalculation generates an isoline faster by reducing the granularity, and in turn the quality of the isoline. BalancedCalculation generates an isoline by balancing between quality and performance.

    Default Value: BalancedCalculation


    /// - [`optimize_routing_for(RoutingObjective)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::optimize_routing_for) / [`set_optimize_routing_for(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_optimize_routing_for):
    required: **false**

    Specifies the optimization criteria for calculating a route.

    Default Value: FastestRoute


    /// - [`origin(f64)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::origin) / [`set_origin(Option>)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_origin):
    required: **false**

    The start position for the route.


    /// - [`origin_options(IsolineOriginOptions)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::origin_options) / [`set_origin_options(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_origin_options):
    required: **false**

    Origin related options.


    - /// - [`thresholds(IsolineThresholds)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::thresholds) / [`set_thresholds(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_thresholds):
    required: **true**

    Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type can be requested.


    + /// - [`thresholds(IsolineThresholds)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::thresholds) / [`set_thresholds(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_thresholds):
    required: **true**

    Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type can be requested.

    You incur a calculation charge for each threshold. Using a large amount of thresholds in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.


    /// - [`traffic(IsolineTrafficOptions)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::traffic) / [`set_traffic(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_traffic):
    required: **false**

    Traffic related options.


    /// - [`travel_mode(IsolineTravelMode)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::travel_mode) / [`set_travel_mode(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_travel_mode):
    required: **false**

    Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.

    The mode Scooter also applies to motorcycles, set to Scooter when wanted to calculate options for motorcycles.

    Default Value: Car


    /// - [`travel_mode_options(IsolineTravelModeOptions)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::travel_mode_options) / [`set_travel_mode_options(Option)`](crate::operation::calculate_isolines::builders::CalculateIsolinesFluentBuilder::set_travel_mode_options):
    required: **false**

    Travel mode related options for the provided travel mode.


    diff --git a/sdk/georoutes/src/client/calculate_route_matrix.rs b/sdk/georoutes/src/client/calculate_route_matrix.rs index 82a909aa345f..c02164886795 100644 --- a/sdk/georoutes/src/client/calculate_route_matrix.rs +++ b/sdk/georoutes/src/client/calculate_route_matrix.rs @@ -3,15 +3,15 @@ impl super::Client { /// Constructs a fluent builder for the [`CalculateRouteMatrix`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder) operation. /// /// - The fluent builder is configurable: - /// - [`allow(RouteMatrixAllowOptions)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::allow) / [`set_allow(Option)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_allow):
    required: **false**

    Features that are allowed while calculating. a route


    + /// - [`allow(RouteMatrixAllowOptions)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::allow) / [`set_allow(Option)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_allow):
    required: **false**

    Features that are allowed while calculating a route.


    /// - [`avoid(RouteMatrixAvoidanceOptions)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::avoid) / [`set_avoid(Option)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_avoid):
    required: **false**

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, it violates the avoidance and the returned response produces a notice for the violation.


    /// - [`depart_now(bool)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::depart_now) / [`set_depart_now(Option)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_depart_now):
    required: **false**

    Uses the current time as the time of departure.


    /// - [`departure_time(impl Into)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::departure_time) / [`set_departure_time(Option)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_departure_time):
    required: **false**

    Time of departure from thr origin.

    Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    Examples:

    2020-04-22T17:57:24Z

    2020-04-22T17:57:24+02:00


    - /// - [`destinations(RouteMatrixDestination)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::destinations) / [`set_destinations(Option>)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_destinations):
    required: **true**

    List of destinations for the route.


    + /// - [`destinations(RouteMatrixDestination)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::destinations) / [`set_destinations(Option>)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_destinations):
    required: **true**

    List of destinations for the route.

    Route calculations are billed for each origin and destination pair. If you use a large matrix of origins and destinations, your costs will increase accordingly. See Amazon Location's pricing page for more information.


    /// - [`exclude(RouteMatrixExclusionOptions)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::exclude) / [`set_exclude(Option)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_exclude):
    required: **false**

    Features to be strictly excluded while calculating the route.


    /// - [`key(impl Into)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::key) / [`set_key(Option)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_key):
    required: **false**

    Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.


    /// - [`optimize_routing_for(RoutingObjective)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::optimize_routing_for) / [`set_optimize_routing_for(Option)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_optimize_routing_for):
    required: **false**

    Specifies the optimization criteria for calculating a route.

    Default Value: FastestRoute


    - /// - [`origins(RouteMatrixOrigin)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::origins) / [`set_origins(Option>)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_origins):
    required: **true**

    The position in longitude and latitude for the origin.


    + /// - [`origins(RouteMatrixOrigin)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::origins) / [`set_origins(Option>)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_origins):
    required: **true**

    The position in longitude and latitude for the origin.

    Route calculations are billed for each origin and destination pair. Using a large amount of Origins in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.


    /// - [`routing_boundary(RouteMatrixBoundary)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::routing_boundary) / [`set_routing_boundary(Option)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_routing_boundary):
    required: **true**

    Boundary within which the matrix is to be calculated. All data, origins and destinations outside the boundary are considered invalid.

    When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.


    /// - [`traffic(RouteMatrixTrafficOptions)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::traffic) / [`set_traffic(Option)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_traffic):
    required: **false**

    Traffic related options.


    /// - [`travel_mode(RouteMatrixTravelMode)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::travel_mode) / [`set_travel_mode(Option)`](crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixFluentBuilder::set_travel_mode):
    required: **false**

    Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.

    Default Value: Car


    diff --git a/sdk/georoutes/src/client/calculate_routes.rs b/sdk/georoutes/src/client/calculate_routes.rs index 4effcc5954e5..1b68868df4f9 100644 --- a/sdk/georoutes/src/client/calculate_routes.rs +++ b/sdk/georoutes/src/client/calculate_routes.rs @@ -3,7 +3,7 @@ impl super::Client { /// Constructs a fluent builder for the [`CalculateRoutes`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder) operation. /// /// - The fluent builder is configurable: - /// - [`allow(RouteAllowOptions)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::allow) / [`set_allow(Option)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::set_allow):
    required: **false**

    Features that are allowed while calculating. a route


    + /// - [`allow(RouteAllowOptions)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::allow) / [`set_allow(Option)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::set_allow):
    required: **false**

    Features that are allowed while calculating a route.


    /// - [`arrival_time(impl Into)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::arrival_time) / [`set_arrival_time(Option)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::set_arrival_time):
    required: **false**

    Time of arrival at the destination.

    Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    Examples:

    2020-04-22T17:57:24Z

    2020-04-22T17:57:24+02:00


    /// - [`avoid(RouteAvoidanceOptions)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::avoid) / [`set_avoid(Option)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::set_avoid):
    required: **false**

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, it violates the avoidance and the returned response produces a notice for the violation.


    /// - [`depart_now(bool)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::depart_now) / [`set_depart_now(Option)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::set_depart_now):
    required: **false**

    Uses the current time as the time of departure.


    @@ -26,7 +26,7 @@ impl super::Client { /// - [`traffic(RouteTrafficOptions)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::traffic) / [`set_traffic(Option)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::set_traffic):
    required: **false**

    Traffic related options.


    /// - [`travel_mode(RouteTravelMode)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::travel_mode) / [`set_travel_mode(Option)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::set_travel_mode):
    required: **false**

    Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.

    Default Value: Car


    /// - [`travel_mode_options(RouteTravelModeOptions)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::travel_mode_options) / [`set_travel_mode_options(Option)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::set_travel_mode_options):
    required: **false**

    Travel mode related options for the provided travel mode.


    - /// - [`travel_step_type(RouteTravelStepType)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::travel_step_type) / [`set_travel_step_type(Option)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::set_travel_step_type):
    required: **false**

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based naviagtion system.


    + /// - [`travel_step_type(RouteTravelStepType)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::travel_step_type) / [`set_travel_step_type(Option)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::set_travel_step_type):
    required: **false**

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based navigation system.


    /// - [`waypoints(RouteWaypoint)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::waypoints) / [`set_waypoints(Option>)`](crate::operation::calculate_routes::builders::CalculateRoutesFluentBuilder::set_waypoints):
    required: **false**

    List of waypoints between the Origin and Destination.


    /// - On success, responds with [`CalculateRoutesOutput`](crate::operation::calculate_routes::CalculateRoutesOutput) with field(s): /// - [`leg_geometry_format(GeometryFormat)`](crate::operation::calculate_routes::CalculateRoutesOutput::leg_geometry_format):

    Specifies the format of the geometry returned for each leg of the route.

    diff --git a/sdk/georoutes/src/client/optimize_waypoints.rs b/sdk/georoutes/src/client/optimize_waypoints.rs index a378e681c223..ab0aefd24602 100644 --- a/sdk/georoutes/src/client/optimize_waypoints.rs +++ b/sdk/georoutes/src/client/optimize_waypoints.rs @@ -3,7 +3,8 @@ impl super::Client { /// Constructs a fluent builder for the [`OptimizeWaypoints`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder) operation. /// /// - The fluent builder is configurable: - /// - [`avoid(WaypointOptimizationAvoidanceOptions)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::avoid) / [`set_avoid(Option)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::set_avoid):
    required: **false**

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.


    + /// - [`avoid(WaypointOptimizationAvoidanceOptions)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::avoid) / [`set_avoid(Option)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::set_avoid):
    required: **false**

    Features that are avoided. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.


    + /// - [`clustering(WaypointOptimizationClusteringOptions)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::clustering) / [`set_clustering(Option)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::set_clustering):
    required: **false**

    Clustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.


    /// - [`departure_time(impl Into)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::departure_time) / [`set_departure_time(Option)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::set_departure_time):
    required: **false**

    Departure time from the waypoint.

    Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    Examples:

    2020-04-22T17:57:24Z

    2020-04-22T17:57:24+02:00


    /// - [`destination(f64)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::destination) / [`set_destination(Option>)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::set_destination):
    required: **false**

    The final position for the route in the World Geodetic System (WGS 84) format: \[longitude, latitude\].


    /// - [`destination_options(WaypointOptimizationDestinationOptions)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::destination_options) / [`set_destination_options(Option)`](crate::operation::optimize_waypoints::builders::OptimizeWaypointsFluentBuilder::set_destination_options):
    required: **false**

    Destination related options.


    diff --git a/sdk/georoutes/src/lib.rs b/sdk/georoutes/src/lib.rs index 20e7c819e9cc..557951445068 100644 --- a/sdk/georoutes/src/lib.rs +++ b/sdk/georoutes/src/lib.rs @@ -38,7 +38,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-georoutes = "1.10.0" +//! aws-sdk-georoutes = "1.11.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/georoutes/src/operation/calculate_isolines/_calculate_isolines_input.rs b/sdk/georoutes/src/operation/calculate_isolines/_calculate_isolines_input.rs index 71d227c48f2c..054667347b97 100644 --- a/sdk/georoutes/src/operation/calculate_isolines/_calculate_isolines_input.rs +++ b/sdk/georoutes/src/operation/calculate_isolines/_calculate_isolines_input.rs @@ -3,7 +3,7 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq)] pub struct CalculateIsolinesInput { - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating an isoline.

    pub allow: ::std::option::Option, ///

    Time of arrival at the destination.

    ///

    Time format: YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    @@ -28,7 +28,7 @@ pub struct CalculateIsolinesInput { ///

    The format of the returned IsolineGeometry.

    ///

    Default Value:FlexiblePolyline

    pub isoline_geometry_format: ::std::option::Option, - ///

    Defines the granularity of the returned Isoline

    + ///

    Defines the granularity of the returned Isoline.

    pub isoline_granularity: ::std::option::Option, ///

    Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.

    pub key: ::std::option::Option<::std::string::String>, @@ -43,6 +43,7 @@ pub struct CalculateIsolinesInput { ///

    Origin related options.

    pub origin_options: ::std::option::Option, ///

    Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type can be requested.

    + ///

    You incur a calculation charge for each threshold. Using a large amount of thresholds in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    pub thresholds: ::std::option::Option, ///

    Traffic related options.

    pub traffic: ::std::option::Option, @@ -55,7 +56,7 @@ pub struct CalculateIsolinesInput { pub travel_mode_options: ::std::option::Option, } impl CalculateIsolinesInput { - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating an isoline.

    pub fn allow(&self) -> ::std::option::Option<&crate::types::IsolineAllowOptions> { self.allow.as_ref() } @@ -98,7 +99,7 @@ impl CalculateIsolinesInput { pub fn isoline_geometry_format(&self) -> ::std::option::Option<&crate::types::GeometryFormat> { self.isoline_geometry_format.as_ref() } - ///

    Defines the granularity of the returned Isoline

    + ///

    Defines the granularity of the returned Isoline.

    pub fn isoline_granularity(&self) -> ::std::option::Option<&crate::types::IsolineGranularityOptions> { self.isoline_granularity.as_ref() } @@ -127,6 +128,7 @@ impl CalculateIsolinesInput { self.origin_options.as_ref() } ///

    Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type can be requested.

    + ///

    You incur a calculation charge for each threshold. Using a large amount of thresholds in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    pub fn thresholds(&self) -> ::std::option::Option<&crate::types::IsolineThresholds> { self.thresholds.as_ref() } @@ -201,17 +203,17 @@ pub struct CalculateIsolinesInputBuilder { pub(crate) travel_mode_options: ::std::option::Option, } impl CalculateIsolinesInputBuilder { - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating an isoline.

    pub fn allow(mut self, input: crate::types::IsolineAllowOptions) -> Self { self.allow = ::std::option::Option::Some(input); self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating an isoline.

    pub fn set_allow(mut self, input: ::std::option::Option) -> Self { self.allow = input; self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating an isoline.

    pub fn get_allow(&self) -> &::std::option::Option { &self.allow } @@ -346,17 +348,17 @@ impl CalculateIsolinesInputBuilder { pub fn get_isoline_geometry_format(&self) -> &::std::option::Option { &self.isoline_geometry_format } - ///

    Defines the granularity of the returned Isoline

    + ///

    Defines the granularity of the returned Isoline.

    pub fn isoline_granularity(mut self, input: crate::types::IsolineGranularityOptions) -> Self { self.isoline_granularity = ::std::option::Option::Some(input); self } - ///

    Defines the granularity of the returned Isoline

    + ///

    Defines the granularity of the returned Isoline.

    pub fn set_isoline_granularity(mut self, input: ::std::option::Option) -> Self { self.isoline_granularity = input; self } - ///

    Defines the granularity of the returned Isoline

    + ///

    Defines the granularity of the returned Isoline.

    pub fn get_isoline_granularity(&self) -> &::std::option::Option { &self.isoline_granularity } @@ -443,17 +445,20 @@ impl CalculateIsolinesInputBuilder { &self.origin_options } ///

    Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type can be requested.

    + ///

    You incur a calculation charge for each threshold. Using a large amount of thresholds in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    /// This field is required. pub fn thresholds(mut self, input: crate::types::IsolineThresholds) -> Self { self.thresholds = ::std::option::Option::Some(input); self } ///

    Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type can be requested.

    + ///

    You incur a calculation charge for each threshold. Using a large amount of thresholds in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    pub fn set_thresholds(mut self, input: ::std::option::Option) -> Self { self.thresholds = input; self } ///

    Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type can be requested.

    + ///

    You incur a calculation charge for each threshold. Using a large amount of thresholds in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    pub fn get_thresholds(&self) -> &::std::option::Option { &self.thresholds } diff --git a/sdk/georoutes/src/operation/calculate_isolines/builders.rs b/sdk/georoutes/src/operation/calculate_isolines/builders.rs index 02268ebba5d1..96d83cceeaa6 100644 --- a/sdk/georoutes/src/operation/calculate_isolines/builders.rs +++ b/sdk/georoutes/src/operation/calculate_isolines/builders.rs @@ -108,17 +108,17 @@ impl CalculateIsolinesFluentBuilder { self.config_override = config_override; self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating an isoline.

    pub fn allow(mut self, input: crate::types::IsolineAllowOptions) -> Self { self.inner = self.inner.allow(input); self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating an isoline.

    pub fn set_allow(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_allow(input); self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating an isoline.

    pub fn get_allow(&self) -> &::std::option::Option { self.inner.get_allow() } @@ -252,17 +252,17 @@ impl CalculateIsolinesFluentBuilder { pub fn get_isoline_geometry_format(&self) -> &::std::option::Option { self.inner.get_isoline_geometry_format() } - ///

    Defines the granularity of the returned Isoline

    + ///

    Defines the granularity of the returned Isoline.

    pub fn isoline_granularity(mut self, input: crate::types::IsolineGranularityOptions) -> Self { self.inner = self.inner.isoline_granularity(input); self } - ///

    Defines the granularity of the returned Isoline

    + ///

    Defines the granularity of the returned Isoline.

    pub fn set_isoline_granularity(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_isoline_granularity(input); self } - ///

    Defines the granularity of the returned Isoline

    + ///

    Defines the granularity of the returned Isoline.

    pub fn get_isoline_granularity(&self) -> &::std::option::Option { self.inner.get_isoline_granularity() } @@ -348,16 +348,19 @@ impl CalculateIsolinesFluentBuilder { self.inner.get_origin_options() } ///

    Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type can be requested.

    + ///

    You incur a calculation charge for each threshold. Using a large amount of thresholds in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    pub fn thresholds(mut self, input: crate::types::IsolineThresholds) -> Self { self.inner = self.inner.thresholds(input); self } ///

    Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type can be requested.

    + ///

    You incur a calculation charge for each threshold. Using a large amount of thresholds in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    pub fn set_thresholds(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_thresholds(input); self } ///

    Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type can be requested.

    + ///

    You incur a calculation charge for each threshold. Using a large amount of thresholds in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    pub fn get_thresholds(&self) -> &::std::option::Option { self.inner.get_thresholds() } diff --git a/sdk/georoutes/src/operation/calculate_route_matrix/_calculate_route_matrix_input.rs b/sdk/georoutes/src/operation/calculate_route_matrix/_calculate_route_matrix_input.rs index 6fb60ebf80c8..85393593e380 100644 --- a/sdk/georoutes/src/operation/calculate_route_matrix/_calculate_route_matrix_input.rs +++ b/sdk/georoutes/src/operation/calculate_route_matrix/_calculate_route_matrix_input.rs @@ -3,7 +3,7 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq)] pub struct CalculateRouteMatrixInput { - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub allow: ::std::option::Option, ///

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, it violates the avoidance and the returned response produces a notice for the violation.

    pub avoid: ::std::option::Option, @@ -15,7 +15,9 @@ pub struct CalculateRouteMatrixInput { ///

    2020-04-22T17:57:24Z

    ///

    2020-04-22T17:57:24+02:00

    pub departure_time: ::std::option::Option<::std::string::String>, - ///

    List of destinations for the route.

    + ///

    List of destinations for the route.

    + ///

    Route calculations are billed for each origin and destination pair. If you use a large matrix of origins and destinations, your costs will increase accordingly. See Amazon Location's pricing page for more information.

    + ///
    pub destinations: ::std::option::Option<::std::vec::Vec>, ///

    Features to be strictly excluded while calculating the route.

    pub exclude: ::std::option::Option, @@ -24,7 +26,9 @@ pub struct CalculateRouteMatrixInput { ///

    Specifies the optimization criteria for calculating a route.

    ///

    Default Value: FastestRoute

    pub optimize_routing_for: ::std::option::Option, - ///

    The position in longitude and latitude for the origin.

    + ///

    The position in longitude and latitude for the origin.

    + ///

    Route calculations are billed for each origin and destination pair. Using a large amount of Origins in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    + ///
    pub origins: ::std::option::Option<::std::vec::Vec>, ///

    Boundary within which the matrix is to be calculated. All data, origins and destinations outside the boundary are considered invalid.

    ///

    When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.

    @@ -39,7 +43,7 @@ pub struct CalculateRouteMatrixInput { pub travel_mode_options: ::std::option::Option, } impl CalculateRouteMatrixInput { - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn allow(&self) -> ::std::option::Option<&crate::types::RouteMatrixAllowOptions> { self.allow.as_ref() } @@ -59,7 +63,9 @@ impl CalculateRouteMatrixInput { pub fn departure_time(&self) -> ::std::option::Option<&str> { self.departure_time.as_deref() } - ///

    List of destinations for the route.

    + ///

    List of destinations for the route.

    + ///

    Route calculations are billed for each origin and destination pair. If you use a large matrix of origins and destinations, your costs will increase accordingly. See Amazon Location's pricing page for more information.

    + ///
    /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.destinations.is_none()`. pub fn destinations(&self) -> &[crate::types::RouteMatrixDestination] { @@ -78,7 +84,9 @@ impl CalculateRouteMatrixInput { pub fn optimize_routing_for(&self) -> ::std::option::Option<&crate::types::RoutingObjective> { self.optimize_routing_for.as_ref() } - ///

    The position in longitude and latitude for the origin.

    + ///

    The position in longitude and latitude for the origin.

    + ///

    Route calculations are billed for each origin and destination pair. Using a large amount of Origins in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    + ///
    /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.origins.is_none()`. pub fn origins(&self) -> &[crate::types::RouteMatrixOrigin] { @@ -149,17 +157,17 @@ pub struct CalculateRouteMatrixInputBuilder { pub(crate) travel_mode_options: ::std::option::Option, } impl CalculateRouteMatrixInputBuilder { - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn allow(mut self, input: crate::types::RouteMatrixAllowOptions) -> Self { self.allow = ::std::option::Option::Some(input); self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn set_allow(mut self, input: ::std::option::Option) -> Self { self.allow = input; self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn get_allow(&self) -> &::std::option::Option { &self.allow } @@ -221,19 +229,25 @@ impl CalculateRouteMatrixInputBuilder { /// /// To override the contents of this collection use [`set_destinations`](Self::set_destinations). /// - ///

    List of destinations for the route.

    + ///

    List of destinations for the route.

    + ///

    Route calculations are billed for each origin and destination pair. If you use a large matrix of origins and destinations, your costs will increase accordingly. See Amazon Location's pricing page for more information.

    + ///
    pub fn destinations(mut self, input: crate::types::RouteMatrixDestination) -> Self { let mut v = self.destinations.unwrap_or_default(); v.push(input); self.destinations = ::std::option::Option::Some(v); self } - ///

    List of destinations for the route.

    + ///

    List of destinations for the route.

    + ///

    Route calculations are billed for each origin and destination pair. If you use a large matrix of origins and destinations, your costs will increase accordingly. See Amazon Location's pricing page for more information.

    + ///
    pub fn set_destinations(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { self.destinations = input; self } - ///

    List of destinations for the route.

    + ///

    List of destinations for the route.

    + ///

    Route calculations are billed for each origin and destination pair. If you use a large matrix of origins and destinations, your costs will increase accordingly. See Amazon Location's pricing page for more information.

    + ///
    pub fn get_destinations(&self) -> &::std::option::Option<::std::vec::Vec> { &self.destinations } @@ -286,19 +300,25 @@ impl CalculateRouteMatrixInputBuilder { /// /// To override the contents of this collection use [`set_origins`](Self::set_origins). /// - ///

    The position in longitude and latitude for the origin.

    + ///

    The position in longitude and latitude for the origin.

    + ///

    Route calculations are billed for each origin and destination pair. Using a large amount of Origins in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    + ///
    pub fn origins(mut self, input: crate::types::RouteMatrixOrigin) -> Self { let mut v = self.origins.unwrap_or_default(); v.push(input); self.origins = ::std::option::Option::Some(v); self } - ///

    The position in longitude and latitude for the origin.

    + ///

    The position in longitude and latitude for the origin.

    + ///

    Route calculations are billed for each origin and destination pair. Using a large amount of Origins in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    + ///
    pub fn set_origins(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { self.origins = input; self } - ///

    The position in longitude and latitude for the origin.

    + ///

    The position in longitude and latitude for the origin.

    + ///

    Route calculations are billed for each origin and destination pair. Using a large amount of Origins in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    + ///
    pub fn get_origins(&self) -> &::std::option::Option<::std::vec::Vec> { &self.origins } diff --git a/sdk/georoutes/src/operation/calculate_route_matrix/builders.rs b/sdk/georoutes/src/operation/calculate_route_matrix/builders.rs index b7cbd9981c90..dd744940b012 100644 --- a/sdk/georoutes/src/operation/calculate_route_matrix/builders.rs +++ b/sdk/georoutes/src/operation/calculate_route_matrix/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::calculate_route_matrix::builders::CalculateRouteMatrixInp } /// Fluent builder constructing a request to `CalculateRouteMatrix`. /// -///

    Calculates route matrix containing the results for all pairs of Origins to Destinations. Each row corresponds to one entry in Origins. Each entry in the row corresponds to the route from that entry in Origins to an entry in Destinations positions.

    +///

    Use CalculateRouteMatrix to compute results for all pairs of Origins to Destinations. Each row corresponds to one entry in Origins. Each entry in the row corresponds to the route from that entry in Origins to an entry in Destinations positions.

    #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct CalculateRouteMatrixFluentBuilder { handle: ::std::sync::Arc, @@ -108,17 +108,17 @@ impl CalculateRouteMatrixFluentBuilder { self.config_override = config_override; self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn allow(mut self, input: crate::types::RouteMatrixAllowOptions) -> Self { self.inner = self.inner.allow(input); self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn set_allow(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_allow(input); self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn get_allow(&self) -> &::std::option::Option { self.inner.get_allow() } @@ -181,17 +181,23 @@ impl CalculateRouteMatrixFluentBuilder { /// /// To override the contents of this collection use [`set_destinations`](Self::set_destinations). /// - ///

    List of destinations for the route.

    + ///

    List of destinations for the route.

    + ///

    Route calculations are billed for each origin and destination pair. If you use a large matrix of origins and destinations, your costs will increase accordingly. See Amazon Location's pricing page for more information.

    + ///
    pub fn destinations(mut self, input: crate::types::RouteMatrixDestination) -> Self { self.inner = self.inner.destinations(input); self } - ///

    List of destinations for the route.

    + ///

    List of destinations for the route.

    + ///

    Route calculations are billed for each origin and destination pair. If you use a large matrix of origins and destinations, your costs will increase accordingly. See Amazon Location's pricing page for more information.

    + ///
    pub fn set_destinations(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { self.inner = self.inner.set_destinations(input); self } - ///

    List of destinations for the route.

    + ///

    List of destinations for the route.

    + ///

    Route calculations are billed for each origin and destination pair. If you use a large matrix of origins and destinations, your costs will increase accordingly. See Amazon Location's pricing page for more information.

    + ///
    pub fn get_destinations(&self) -> &::std::option::Option<::std::vec::Vec> { self.inner.get_destinations() } @@ -245,17 +251,23 @@ impl CalculateRouteMatrixFluentBuilder { /// /// To override the contents of this collection use [`set_origins`](Self::set_origins). /// - ///

    The position in longitude and latitude for the origin.

    + ///

    The position in longitude and latitude for the origin.

    + ///

    Route calculations are billed for each origin and destination pair. Using a large amount of Origins in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    + ///
    pub fn origins(mut self, input: crate::types::RouteMatrixOrigin) -> Self { self.inner = self.inner.origins(input); self } - ///

    The position in longitude and latitude for the origin.

    + ///

    The position in longitude and latitude for the origin.

    + ///

    Route calculations are billed for each origin and destination pair. Using a large amount of Origins in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    + ///
    pub fn set_origins(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { self.inner = self.inner.set_origins(input); self } - ///

    The position in longitude and latitude for the origin.

    + ///

    The position in longitude and latitude for the origin.

    + ///

    Route calculations are billed for each origin and destination pair. Using a large amount of Origins in a request can lead you to incur unexpected charges. See Amazon Location's pricing page for more information.

    + ///
    pub fn get_origins(&self) -> &::std::option::Option<::std::vec::Vec> { self.inner.get_origins() } diff --git a/sdk/georoutes/src/operation/calculate_routes/_calculate_routes_input.rs b/sdk/georoutes/src/operation/calculate_routes/_calculate_routes_input.rs index 8dacbb256a07..ee9a9c38554d 100644 --- a/sdk/georoutes/src/operation/calculate_routes/_calculate_routes_input.rs +++ b/sdk/georoutes/src/operation/calculate_routes/_calculate_routes_input.rs @@ -3,7 +3,7 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq)] pub struct CalculateRoutesInput { - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub allow: ::std::option::Option, ///

    Time of arrival at the destination.

    ///

    Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    @@ -83,13 +83,13 @@ pub struct CalculateRoutesInput { pub travel_mode: ::std::option::Option, ///

    Travel mode related options for the provided travel mode.

    pub travel_mode_options: ::std::option::Option, - ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based naviagtion system.

    + ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based navigation system.

    pub travel_step_type: ::std::option::Option, ///

    List of waypoints between the Origin and Destination.

    pub waypoints: ::std::option::Option<::std::vec::Vec>, } impl CalculateRoutesInput { - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn allow(&self) -> ::std::option::Option<&crate::types::RouteAllowOptions> { self.allow.as_ref() } @@ -225,7 +225,7 @@ impl CalculateRoutesInput { pub fn travel_mode_options(&self) -> ::std::option::Option<&crate::types::RouteTravelModeOptions> { self.travel_mode_options.as_ref() } - ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based naviagtion system.

    + ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based navigation system.

    pub fn travel_step_type(&self) -> ::std::option::Option<&crate::types::RouteTravelStepType> { self.travel_step_type.as_ref() } @@ -305,17 +305,17 @@ pub struct CalculateRoutesInputBuilder { pub(crate) waypoints: ::std::option::Option<::std::vec::Vec>, } impl CalculateRoutesInputBuilder { - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn allow(mut self, input: crate::types::RouteAllowOptions) -> Self { self.allow = ::std::option::Option::Some(input); self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn set_allow(mut self, input: ::std::option::Option) -> Self { self.allow = input; self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn get_allow(&self) -> &::std::option::Option { &self.allow } @@ -759,17 +759,17 @@ impl CalculateRoutesInputBuilder { pub fn get_travel_mode_options(&self) -> &::std::option::Option { &self.travel_mode_options } - ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based naviagtion system.

    + ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based navigation system.

    pub fn travel_step_type(mut self, input: crate::types::RouteTravelStepType) -> Self { self.travel_step_type = ::std::option::Option::Some(input); self } - ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based naviagtion system.

    + ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based navigation system.

    pub fn set_travel_step_type(mut self, input: ::std::option::Option) -> Self { self.travel_step_type = input; self } - ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based naviagtion system.

    + ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based navigation system.

    pub fn get_travel_step_type(&self) -> &::std::option::Option { &self.travel_step_type } diff --git a/sdk/georoutes/src/operation/calculate_routes/builders.rs b/sdk/georoutes/src/operation/calculate_routes/builders.rs index 9b84b28251cc..912e2dbfdefd 100644 --- a/sdk/georoutes/src/operation/calculate_routes/builders.rs +++ b/sdk/georoutes/src/operation/calculate_routes/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::calculate_routes::builders::CalculateRoutesInputBuilder { } /// Fluent builder constructing a request to `CalculateRoutes`. /// -///

    Calculates a route given the following required parameters: Origin and Destination.

    +///

    CalculateRoutes computes routes given the following required parameters: Origin and Destination.

    #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct CalculateRoutesFluentBuilder { handle: ::std::sync::Arc, @@ -108,17 +108,17 @@ impl CalculateRoutesFluentBuilder { self.config_override = config_override; self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn allow(mut self, input: crate::types::RouteAllowOptions) -> Self { self.inner = self.inner.allow(input); self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn set_allow(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_allow(input); self } - ///

    Features that are allowed while calculating. a route

    + ///

    Features that are allowed while calculating a route.

    pub fn get_allow(&self) -> &::std::option::Option { self.inner.get_allow() } @@ -557,17 +557,17 @@ impl CalculateRoutesFluentBuilder { pub fn get_travel_mode_options(&self) -> &::std::option::Option { self.inner.get_travel_mode_options() } - ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based naviagtion system.

    + ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based navigation system.

    pub fn travel_step_type(mut self, input: crate::types::RouteTravelStepType) -> Self { self.inner = self.inner.travel_step_type(input); self } - ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based naviagtion system.

    + ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based navigation system.

    pub fn set_travel_step_type(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_travel_step_type(input); self } - ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based naviagtion system.

    + ///

    Type of step returned by the response. Default provides basic steps intended for web based applications. TurnByTurn provides detailed instructions with more granularity intended for a turn based navigation system.

    pub fn get_travel_step_type(&self) -> &::std::option::Option { self.inner.get_travel_step_type() } diff --git a/sdk/georoutes/src/operation/optimize_waypoints/_optimize_waypoints_input.rs b/sdk/georoutes/src/operation/optimize_waypoints/_optimize_waypoints_input.rs index 63ce16766ce4..edc366a24de8 100644 --- a/sdk/georoutes/src/operation/optimize_waypoints/_optimize_waypoints_input.rs +++ b/sdk/georoutes/src/operation/optimize_waypoints/_optimize_waypoints_input.rs @@ -3,8 +3,10 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq)] pub struct OptimizeWaypointsInput { - ///

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    + ///

    Features that are avoided. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    pub avoid: ::std::option::Option, + ///

    Clustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.

    + pub clustering: ::std::option::Option, ///

    Departure time from the waypoint.

    ///

    Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    ///

    Examples:

    @@ -39,10 +41,14 @@ pub struct OptimizeWaypointsInput { pub waypoints: ::std::option::Option<::std::vec::Vec>, } impl OptimizeWaypointsInput { - ///

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    + ///

    Features that are avoided. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    pub fn avoid(&self) -> ::std::option::Option<&crate::types::WaypointOptimizationAvoidanceOptions> { self.avoid.as_ref() } + ///

    Clustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.

    + pub fn clustering(&self) -> ::std::option::Option<&crate::types::WaypointOptimizationClusteringOptions> { + self.clustering.as_ref() + } ///

    Departure time from the waypoint.

    ///

    Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    ///

    Examples:

    @@ -112,6 +118,7 @@ impl ::std::fmt::Debug for OptimizeWaypointsInput { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { let mut formatter = f.debug_struct("OptimizeWaypointsInput"); formatter.field("avoid", &self.avoid); + formatter.field("clustering", &self.clustering); formatter.field("departure_time", &self.departure_time); formatter.field("destination", &"*** Sensitive Data Redacted ***"); formatter.field("destination_options", &self.destination_options); @@ -140,6 +147,7 @@ impl OptimizeWaypointsInput { #[non_exhaustive] pub struct OptimizeWaypointsInputBuilder { pub(crate) avoid: ::std::option::Option, + pub(crate) clustering: ::std::option::Option, pub(crate) departure_time: ::std::option::Option<::std::string::String>, pub(crate) destination: ::std::option::Option<::std::vec::Vec>, pub(crate) destination_options: ::std::option::Option, @@ -155,20 +163,34 @@ pub struct OptimizeWaypointsInputBuilder { pub(crate) waypoints: ::std::option::Option<::std::vec::Vec>, } impl OptimizeWaypointsInputBuilder { - ///

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    + ///

    Features that are avoided. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    pub fn avoid(mut self, input: crate::types::WaypointOptimizationAvoidanceOptions) -> Self { self.avoid = ::std::option::Option::Some(input); self } - ///

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    + ///

    Features that are avoided. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    pub fn set_avoid(mut self, input: ::std::option::Option) -> Self { self.avoid = input; self } - ///

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    + ///

    Features that are avoided. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    pub fn get_avoid(&self) -> &::std::option::Option { &self.avoid } + ///

    Clustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.

    + pub fn clustering(mut self, input: crate::types::WaypointOptimizationClusteringOptions) -> Self { + self.clustering = ::std::option::Option::Some(input); + self + } + ///

    Clustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.

    + pub fn set_clustering(mut self, input: ::std::option::Option) -> Self { + self.clustering = input; + self + } + ///

    Clustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.

    + pub fn get_clustering(&self) -> &::std::option::Option { + &self.clustering + } ///

    Departure time from the waypoint.

    ///

    Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    ///

    Examples:

    @@ -393,6 +415,7 @@ impl OptimizeWaypointsInputBuilder { ) -> ::std::result::Result { ::std::result::Result::Ok(crate::operation::optimize_waypoints::OptimizeWaypointsInput { avoid: self.avoid, + clustering: self.clustering, departure_time: self.departure_time, destination: self.destination, destination_options: self.destination_options, @@ -413,6 +436,7 @@ impl ::std::fmt::Debug for OptimizeWaypointsInputBuilder { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { let mut formatter = f.debug_struct("OptimizeWaypointsInputBuilder"); formatter.field("avoid", &self.avoid); + formatter.field("clustering", &self.clustering); formatter.field("departure_time", &self.departure_time); formatter.field("destination", &"*** Sensitive Data Redacted ***"); formatter.field("destination_options", &self.destination_options); diff --git a/sdk/georoutes/src/operation/optimize_waypoints/builders.rs b/sdk/georoutes/src/operation/optimize_waypoints/builders.rs index 622cb73d39ab..c373ee29b654 100644 --- a/sdk/georoutes/src/operation/optimize_waypoints/builders.rs +++ b/sdk/georoutes/src/operation/optimize_waypoints/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::optimize_waypoints::builders::OptimizeWaypointsInputBuild } /// Fluent builder constructing a request to `OptimizeWaypoints`. /// -///

    Calculates the optimal order to travel between a set of waypoints to minimize either the travel time or the distance travelled during the journey, based on road network restrictions and the traffic pattern data.

    +///

    OptimizeWaypoints calculates the optimal order to travel between a set of waypoints to minimize either the travel time or the distance travelled during the journey, based on road network restrictions and the traffic pattern data.

    #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct OptimizeWaypointsFluentBuilder { handle: ::std::sync::Arc, @@ -108,20 +108,34 @@ impl OptimizeWaypointsFluentBuilder { self.config_override = config_override; self } - ///

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    + ///

    Features that are avoided. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    pub fn avoid(mut self, input: crate::types::WaypointOptimizationAvoidanceOptions) -> Self { self.inner = self.inner.avoid(input); self } - ///

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    + ///

    Features that are avoided. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    pub fn set_avoid(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_avoid(input); self } - ///

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    + ///

    Features that are avoided. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, this setting is ignored.

    pub fn get_avoid(&self) -> &::std::option::Option { self.inner.get_avoid() } + ///

    Clustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.

    + pub fn clustering(mut self, input: crate::types::WaypointOptimizationClusteringOptions) -> Self { + self.inner = self.inner.clustering(input); + self + } + ///

    Clustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.

    + pub fn set_clustering(mut self, input: ::std::option::Option) -> Self { + self.inner = self.inner.set_clustering(input); + self + } + ///

    Clustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.

    + pub fn get_clustering(&self) -> &::std::option::Option { + self.inner.get_clustering() + } ///

    Departure time from the waypoint.

    ///

    Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    ///

    Examples:

    diff --git a/sdk/georoutes/src/operation/snap_to_roads/builders.rs b/sdk/georoutes/src/operation/snap_to_roads/builders.rs index 15a5c2c6780f..d991dc6c16ef 100644 --- a/sdk/georoutes/src/operation/snap_to_roads/builders.rs +++ b/sdk/georoutes/src/operation/snap_to_roads/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::snap_to_roads::builders::SnapToRoadsInputBuilder { } /// Fluent builder constructing a request to `SnapToRoads`. /// -///

    The SnapToRoads action matches GPS trace to roads most likely traveled on.

    +///

    SnapToRoads matches GPS trace to roads most likely traveled on.

    #[derive(::std::clone::Clone, ::std::fmt::Debug)] pub struct SnapToRoadsFluentBuilder { handle: ::std::sync::Arc, diff --git a/sdk/georoutes/src/protocol_serde.rs b/sdk/georoutes/src/protocol_serde.rs index b2a4dbf5f03d..8153ac336a28 100644 --- a/sdk/georoutes/src/protocol_serde.rs +++ b/sdk/georoutes/src/protocol_serde.rs @@ -145,6 +145,8 @@ pub(crate) mod shape_validation_exception_field_list; pub(crate) mod shape_waypoint_optimization_avoidance_options; +pub(crate) mod shape_waypoint_optimization_clustering_options; + pub(crate) mod shape_waypoint_optimization_connection_list; pub(crate) mod shape_waypoint_optimization_destination_options; @@ -241,6 +243,8 @@ pub(crate) mod shape_waypoint_optimization_avoidance_area; pub(crate) mod shape_waypoint_optimization_connection; +pub(crate) mod shape_waypoint_optimization_driving_distance_options; + pub(crate) mod shape_waypoint_optimization_impeding_waypoint; pub(crate) mod shape_waypoint_optimization_optimized_waypoint; diff --git a/sdk/georoutes/src/protocol_serde/shape_optimize_waypoints_input.rs b/sdk/georoutes/src/protocol_serde/shape_optimize_waypoints_input.rs index 48ae1f48da52..7f3a85a5f476 100644 --- a/sdk/georoutes/src/protocol_serde/shape_optimize_waypoints_input.rs +++ b/sdk/georoutes/src/protocol_serde/shape_optimize_waypoints_input.rs @@ -9,89 +9,95 @@ pub fn ser_optimize_waypoints_input_input( crate::protocol_serde::shape_waypoint_optimization_avoidance_options::ser_waypoint_optimization_avoidance_options(&mut object_2, var_1)?; object_2.finish(); } - if let Some(var_3) = &input.departure_time { - object.key("DepartureTime").string(var_3.as_str()); + if let Some(var_3) = &input.clustering { + #[allow(unused_mut)] + let mut object_4 = object.key("Clustering").start_object(); + crate::protocol_serde::shape_waypoint_optimization_clustering_options::ser_waypoint_optimization_clustering_options(&mut object_4, var_3)?; + object_4.finish(); + } + if let Some(var_5) = &input.departure_time { + object.key("DepartureTime").string(var_5.as_str()); } - if let Some(var_4) = &input.destination { - let mut array_5 = object.key("Destination").start_array(); - for item_6 in var_4 { + if let Some(var_6) = &input.destination { + let mut array_7 = object.key("Destination").start_array(); + for item_8 in var_6 { { - array_5.value().number( + array_7.value().number( #[allow(clippy::useless_conversion)] - ::aws_smithy_types::Number::Float((*item_6).into()), + ::aws_smithy_types::Number::Float((*item_8).into()), ); } } - array_5.finish(); - } - if let Some(var_7) = &input.destination_options { - #[allow(unused_mut)] - let mut object_8 = object.key("DestinationOptions").start_object(); - crate::protocol_serde::shape_waypoint_optimization_destination_options::ser_waypoint_optimization_destination_options(&mut object_8, var_7)?; - object_8.finish(); + array_7.finish(); } - if let Some(var_9) = &input.driver { + if let Some(var_9) = &input.destination_options { #[allow(unused_mut)] - let mut object_10 = object.key("Driver").start_object(); - crate::protocol_serde::shape_waypoint_optimization_driver_options::ser_waypoint_optimization_driver_options(&mut object_10, var_9)?; + let mut object_10 = object.key("DestinationOptions").start_object(); + crate::protocol_serde::shape_waypoint_optimization_destination_options::ser_waypoint_optimization_destination_options(&mut object_10, var_9)?; object_10.finish(); } - if let Some(var_11) = &input.exclude { + if let Some(var_11) = &input.driver { #[allow(unused_mut)] - let mut object_12 = object.key("Exclude").start_object(); - crate::protocol_serde::shape_waypoint_optimization_exclusion_options::ser_waypoint_optimization_exclusion_options(&mut object_12, var_11)?; + let mut object_12 = object.key("Driver").start_object(); + crate::protocol_serde::shape_waypoint_optimization_driver_options::ser_waypoint_optimization_driver_options(&mut object_12, var_11)?; object_12.finish(); } - if let Some(var_13) = &input.optimize_sequencing_for { - object.key("OptimizeSequencingFor").string(var_13.as_str()); + if let Some(var_13) = &input.exclude { + #[allow(unused_mut)] + let mut object_14 = object.key("Exclude").start_object(); + crate::protocol_serde::shape_waypoint_optimization_exclusion_options::ser_waypoint_optimization_exclusion_options(&mut object_14, var_13)?; + object_14.finish(); + } + if let Some(var_15) = &input.optimize_sequencing_for { + object.key("OptimizeSequencingFor").string(var_15.as_str()); } - if let Some(var_14) = &input.origin { - let mut array_15 = object.key("Origin").start_array(); - for item_16 in var_14 { + if let Some(var_16) = &input.origin { + let mut array_17 = object.key("Origin").start_array(); + for item_18 in var_16 { { - array_15.value().number( + array_17.value().number( #[allow(clippy::useless_conversion)] - ::aws_smithy_types::Number::Float((*item_16).into()), + ::aws_smithy_types::Number::Float((*item_18).into()), ); } } - array_15.finish(); + array_17.finish(); } - if let Some(var_17) = &input.origin_options { + if let Some(var_19) = &input.origin_options { #[allow(unused_mut)] - let mut object_18 = object.key("OriginOptions").start_object(); - crate::protocol_serde::shape_waypoint_optimization_origin_options::ser_waypoint_optimization_origin_options(&mut object_18, var_17)?; - object_18.finish(); + let mut object_20 = object.key("OriginOptions").start_object(); + crate::protocol_serde::shape_waypoint_optimization_origin_options::ser_waypoint_optimization_origin_options(&mut object_20, var_19)?; + object_20.finish(); } - if let Some(var_19) = &input.traffic { + if let Some(var_21) = &input.traffic { #[allow(unused_mut)] - let mut object_20 = object.key("Traffic").start_object(); - crate::protocol_serde::shape_waypoint_optimization_traffic_options::ser_waypoint_optimization_traffic_options(&mut object_20, var_19)?; - object_20.finish(); + let mut object_22 = object.key("Traffic").start_object(); + crate::protocol_serde::shape_waypoint_optimization_traffic_options::ser_waypoint_optimization_traffic_options(&mut object_22, var_21)?; + object_22.finish(); } - if let Some(var_21) = &input.travel_mode { - object.key("TravelMode").string(var_21.as_str()); + if let Some(var_23) = &input.travel_mode { + object.key("TravelMode").string(var_23.as_str()); } - if let Some(var_22) = &input.travel_mode_options { + if let Some(var_24) = &input.travel_mode_options { #[allow(unused_mut)] - let mut object_23 = object.key("TravelModeOptions").start_object(); + let mut object_25 = object.key("TravelModeOptions").start_object(); crate::protocol_serde::shape_waypoint_optimization_travel_mode_options::ser_waypoint_optimization_travel_mode_options( - &mut object_23, - var_22, + &mut object_25, + var_24, )?; - object_23.finish(); + object_25.finish(); } - if let Some(var_24) = &input.waypoints { - let mut array_25 = object.key("Waypoints").start_array(); - for item_26 in var_24 { + if let Some(var_26) = &input.waypoints { + let mut array_27 = object.key("Waypoints").start_array(); + for item_28 in var_26 { { #[allow(unused_mut)] - let mut object_27 = array_25.value().start_object(); - crate::protocol_serde::shape_waypoint_optimization_waypoint::ser_waypoint_optimization_waypoint(&mut object_27, item_26)?; - object_27.finish(); + let mut object_29 = array_27.value().start_object(); + crate::protocol_serde::shape_waypoint_optimization_waypoint::ser_waypoint_optimization_waypoint(&mut object_29, item_28)?; + object_29.finish(); } } - array_25.finish(); + array_27.finish(); } Ok(()) } diff --git a/sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_clustering_options.rs b/sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_clustering_options.rs new file mode 100644 index 000000000000..65cb6f6c0ca0 --- /dev/null +++ b/sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_clustering_options.rs @@ -0,0 +1,19 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub fn ser_waypoint_optimization_clustering_options( + object: &mut ::aws_smithy_json::serialize::JsonObjectWriter, + input: &crate::types::WaypointOptimizationClusteringOptions, +) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> { + { + object.key("Algorithm").string(input.algorithm.as_str()); + } + if let Some(var_1) = &input.driving_distance_options { + #[allow(unused_mut)] + let mut object_2 = object.key("DrivingDistanceOptions").start_object(); + crate::protocol_serde::shape_waypoint_optimization_driving_distance_options::ser_waypoint_optimization_driving_distance_options( + &mut object_2, + var_1, + )?; + object_2.finish(); + } + Ok(()) +} diff --git a/sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_driving_distance_options.rs b/sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_driving_distance_options.rs new file mode 100644 index 000000000000..c92eec663a64 --- /dev/null +++ b/sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_driving_distance_options.rs @@ -0,0 +1,13 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. +pub fn ser_waypoint_optimization_driving_distance_options( + object: &mut ::aws_smithy_json::serialize::JsonObjectWriter, + input: &crate::types::WaypointOptimizationDrivingDistanceOptions, +) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> { + { + object.key("DrivingDistance").number( + #[allow(clippy::useless_conversion)] + ::aws_smithy_types::Number::NegInt((input.driving_distance).into()), + ); + } + Ok(()) +} diff --git a/sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_optimized_waypoint.rs b/sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_optimized_waypoint.rs index 5bbf377112b6..f403689a57fc 100644 --- a/sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_optimized_waypoint.rs +++ b/sdk/georoutes/src/protocol_serde/shape_waypoint_optimization_optimized_waypoint.rs @@ -21,6 +21,13 @@ where .transpose()?, ); } + "ClusterIndex" => { + builder = builder.set_cluster_index( + ::aws_smithy_json::deserialize::token::expect_number_or_null(tokens.next())? + .map(i32::try_from) + .transpose()?, + ); + } "DepartureTime" => { builder = builder.set_departure_time( ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())? diff --git a/sdk/georoutes/src/types.rs b/sdk/georoutes/src/types.rs index b7ee197a761a..a61bd71b06b7 100644 --- a/sdk/georoutes/src/types.rs +++ b/sdk/georoutes/src/types.rs @@ -85,6 +85,12 @@ pub use crate::types::_waypoint_optimization_rest_cycle_durations::WaypointOptim pub use crate::types::_waypoint_optimization_destination_options::WaypointOptimizationDestinationOptions; +pub use crate::types::_waypoint_optimization_clustering_options::WaypointOptimizationClusteringOptions; + +pub use crate::types::_waypoint_optimization_driving_distance_options::WaypointOptimizationDrivingDistanceOptions; + +pub use crate::types::_waypoint_optimization_clustering_algorithm::WaypointOptimizationClusteringAlgorithm; + pub use crate::types::_waypoint_optimization_avoidance_options::WaypointOptimizationAvoidanceOptions; pub use crate::types::_waypoint_optimization_avoidance_area::WaypointOptimizationAvoidanceArea; @@ -927,6 +933,10 @@ mod _waypoint_optimization_avoidance_area_geometry; mod _waypoint_optimization_avoidance_options; +mod _waypoint_optimization_clustering_algorithm; + +mod _waypoint_optimization_clustering_options; + mod _waypoint_optimization_connection; mod _waypoint_optimization_constraint; @@ -935,6 +945,8 @@ mod _waypoint_optimization_destination_options; mod _waypoint_optimization_driver_options; +mod _waypoint_optimization_driving_distance_options; + mod _waypoint_optimization_exclusion_options; mod _waypoint_optimization_failed_constraint; diff --git a/sdk/georoutes/src/types/_isoline_allow_options.rs b/sdk/georoutes/src/types/_isoline_allow_options.rs index 538997bab152..f732d4943014 100644 --- a/sdk/georoutes/src/types/_isoline_allow_options.rs +++ b/sdk/georoutes/src/types/_isoline_allow_options.rs @@ -1,20 +1,24 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Features that are allowed while calculating. a route

    +///

    Features that are allowed while calculating an isoline.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct IsolineAllowOptions { - ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Allow Hot (High Occupancy Toll) lanes while calculating an isoline.

    + ///

    Default value: false

    pub hot: ::std::option::Option, - ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Allow Hov (High Occupancy vehicle) lanes while calculating an isoline.

    + ///

    Default value: false

    pub hov: ::std::option::Option, } impl IsolineAllowOptions { - ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Allow Hot (High Occupancy Toll) lanes while calculating an isoline.

    + ///

    Default value: false

    pub fn hot(&self) -> ::std::option::Option { self.hot } - ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Allow Hov (High Occupancy vehicle) lanes while calculating an isoline.

    + ///

    Default value: false

    pub fn hov(&self) -> ::std::option::Option { self.hov } @@ -34,31 +38,37 @@ pub struct IsolineAllowOptionsBuilder { pub(crate) hov: ::std::option::Option, } impl IsolineAllowOptionsBuilder { - ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Allow Hot (High Occupancy Toll) lanes while calculating an isoline.

    + ///

    Default value: false

    pub fn hot(mut self, input: bool) -> Self { self.hot = ::std::option::Option::Some(input); self } - ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Allow Hot (High Occupancy Toll) lanes while calculating an isoline.

    + ///

    Default value: false

    pub fn set_hot(mut self, input: ::std::option::Option) -> Self { self.hot = input; self } - ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Allow Hot (High Occupancy Toll) lanes while calculating an isoline.

    + ///

    Default value: false

    pub fn get_hot(&self) -> &::std::option::Option { &self.hot } - ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Allow Hov (High Occupancy vehicle) lanes while calculating an isoline.

    + ///

    Default value: false

    pub fn hov(mut self, input: bool) -> Self { self.hov = ::std::option::Option::Some(input); self } - ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Allow Hov (High Occupancy vehicle) lanes while calculating an isoline.

    + ///

    Default value: false

    pub fn set_hov(mut self, input: ::std::option::Option) -> Self { self.hov = input; self } - ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Allow Hov (High Occupancy vehicle) lanes while calculating an isoline.

    + ///

    Default value: false

    pub fn get_hov(&self) -> &::std::option::Option { &self.hov } diff --git a/sdk/georoutes/src/types/_isoline_avoidance_area.rs b/sdk/georoutes/src/types/_isoline_avoidance_area.rs index 2333e715a10b..82b5832bb6fa 100644 --- a/sdk/georoutes/src/types/_isoline_avoidance_area.rs +++ b/sdk/georoutes/src/types/_isoline_avoidance_area.rs @@ -4,13 +4,13 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct IsolineAvoidanceArea { - ///

    Exceptions to the provided avoidance geometry, to be included while calculating the route.

    + ///

    Exceptions to the provided avoidance geometry, to be included while calculating an isoline.

    pub except: ::std::option::Option<::std::vec::Vec>, ///

    Geometry of the area to be avoided.

    pub geometry: ::std::option::Option, } impl IsolineAvoidanceArea { - ///

    Exceptions to the provided avoidance geometry, to be included while calculating the route.

    + ///

    Exceptions to the provided avoidance geometry, to be included while calculating an isoline.

    /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.except.is_none()`. pub fn except(&self) -> &[crate::types::IsolineAvoidanceAreaGeometry] { @@ -40,19 +40,19 @@ impl IsolineAvoidanceAreaBuilder { /// /// To override the contents of this collection use [`set_except`](Self::set_except). /// - ///

    Exceptions to the provided avoidance geometry, to be included while calculating the route.

    + ///

    Exceptions to the provided avoidance geometry, to be included while calculating an isoline.

    pub fn except(mut self, input: crate::types::IsolineAvoidanceAreaGeometry) -> Self { let mut v = self.except.unwrap_or_default(); v.push(input); self.except = ::std::option::Option::Some(v); self } - ///

    Exceptions to the provided avoidance geometry, to be included while calculating the route.

    + ///

    Exceptions to the provided avoidance geometry, to be included while calculating an isoline.

    pub fn set_except(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self { self.except = input; self } - ///

    Exceptions to the provided avoidance geometry, to be included while calculating the route.

    + ///

    Exceptions to the provided avoidance geometry, to be included while calculating an isoline.

    pub fn get_except(&self) -> &::std::option::Option<::std::vec::Vec> { &self.except } diff --git a/sdk/georoutes/src/types/_isoline_avoidance_area_geometry.rs b/sdk/georoutes/src/types/_isoline_avoidance_area_geometry.rs index 0fb228a4cae8..8fa666e4cfe6 100644 --- a/sdk/georoutes/src/types/_isoline_avoidance_area_geometry.rs +++ b/sdk/georoutes/src/types/_isoline_avoidance_area_geometry.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    The avoidance geometry, to be included while calculating the route.

    +///

    The avoidance geometry, to be included while calculating an isoline.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq)] pub struct IsolineAvoidanceAreaGeometry { diff --git a/sdk/georoutes/src/types/_isoline_avoidance_options.rs b/sdk/georoutes/src/types/_isoline_avoidance_options.rs index 4917453c5bed..808f72e9e359 100644 --- a/sdk/georoutes/src/types/_isoline_avoidance_options.rs +++ b/sdk/georoutes/src/types/_isoline_avoidance_options.rs @@ -1,20 +1,20 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, it violates the avoidance and the returned response produces a notice for the violation.

    +///

    Features that are avoided while calculating isolines. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, it violates the avoidance and the returned response produces a notice for the violation.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct IsolineAvoidanceOptions { ///

    Areas to be avoided.

    pub areas: ::std::option::Option<::std::vec::Vec>, - ///

    Avoid car-shuttle-trains while calculating the route.

    + ///

    Avoid car-shuttle-trains while calculating an isoline.

    pub car_shuttle_trains: ::std::option::Option, - ///

    Avoid controlled access highways while calculating the route.

    + ///

    Avoid controlled access highways while calculating an isoline.

    pub controlled_access_highways: ::std::option::Option, - ///

    Avoid dirt roads while calculating the route.

    + ///

    Avoid dirt roads while calculating an isoline.

    pub dirt_roads: ::std::option::Option, - ///

    Avoid ferries while calculating the route.

    + ///

    Avoid ferries while calculating an isoline.

    pub ferries: ::std::option::Option, - ///

    Avoid roads that have seasonal closure while calculating the route.

    + ///

    Avoid roads that have seasonal closure while calculating an isoline.

    pub seasonal_closure: ::std::option::Option, ///

    Avoids roads where the specified toll transponders are the only mode of payment.

    pub toll_roads: ::std::option::Option, @@ -24,7 +24,7 @@ pub struct IsolineAvoidanceOptions { ///

    There are currently no other supported values as of 26th April 2024.

    ///
    pub truck_road_types: ::std::option::Option<::std::vec::Vec<::std::string::String>>, - ///

    Avoid tunnels while calculating the route.

    + ///

    Avoid tunnels while calculating an isoline.

    pub tunnels: ::std::option::Option, ///

    Avoid U-turns for calculation on highways and motorways.

    pub u_turns: ::std::option::Option, @@ -38,23 +38,23 @@ impl IsolineAvoidanceOptions { pub fn areas(&self) -> &[crate::types::IsolineAvoidanceArea] { self.areas.as_deref().unwrap_or_default() } - ///

    Avoid car-shuttle-trains while calculating the route.

    + ///

    Avoid car-shuttle-trains while calculating an isoline.

    pub fn car_shuttle_trains(&self) -> ::std::option::Option { self.car_shuttle_trains } - ///

    Avoid controlled access highways while calculating the route.

    + ///

    Avoid controlled access highways while calculating an isoline.

    pub fn controlled_access_highways(&self) -> ::std::option::Option { self.controlled_access_highways } - ///

    Avoid dirt roads while calculating the route.

    + ///

    Avoid dirt roads while calculating an isoline.

    pub fn dirt_roads(&self) -> ::std::option::Option { self.dirt_roads } - ///

    Avoid ferries while calculating the route.

    + ///

    Avoid ferries while calculating an isoline.

    pub fn ferries(&self) -> ::std::option::Option { self.ferries } - ///

    Avoid roads that have seasonal closure while calculating the route.

    + ///

    Avoid roads that have seasonal closure while calculating an isoline.

    pub fn seasonal_closure(&self) -> ::std::option::Option { self.seasonal_closure } @@ -74,7 +74,7 @@ impl IsolineAvoidanceOptions { pub fn truck_road_types(&self) -> &[::std::string::String] { self.truck_road_types.as_deref().unwrap_or_default() } - ///

    Avoid tunnels while calculating the route.

    + ///

    Avoid tunnels while calculating an isoline.

    pub fn tunnels(&self) -> ::std::option::Option { self.tunnels } @@ -134,73 +134,73 @@ impl IsolineAvoidanceOptionsBuilder { pub fn get_areas(&self) -> &::std::option::Option<::std::vec::Vec> { &self.areas } - ///

    Avoid car-shuttle-trains while calculating the route.

    + ///

    Avoid car-shuttle-trains while calculating an isoline.

    pub fn car_shuttle_trains(mut self, input: bool) -> Self { self.car_shuttle_trains = ::std::option::Option::Some(input); self } - ///

    Avoid car-shuttle-trains while calculating the route.

    + ///

    Avoid car-shuttle-trains while calculating an isoline.

    pub fn set_car_shuttle_trains(mut self, input: ::std::option::Option) -> Self { self.car_shuttle_trains = input; self } - ///

    Avoid car-shuttle-trains while calculating the route.

    + ///

    Avoid car-shuttle-trains while calculating an isoline.

    pub fn get_car_shuttle_trains(&self) -> &::std::option::Option { &self.car_shuttle_trains } - ///

    Avoid controlled access highways while calculating the route.

    + ///

    Avoid controlled access highways while calculating an isoline.

    pub fn controlled_access_highways(mut self, input: bool) -> Self { self.controlled_access_highways = ::std::option::Option::Some(input); self } - ///

    Avoid controlled access highways while calculating the route.

    + ///

    Avoid controlled access highways while calculating an isoline.

    pub fn set_controlled_access_highways(mut self, input: ::std::option::Option) -> Self { self.controlled_access_highways = input; self } - ///

    Avoid controlled access highways while calculating the route.

    + ///

    Avoid controlled access highways while calculating an isoline.

    pub fn get_controlled_access_highways(&self) -> &::std::option::Option { &self.controlled_access_highways } - ///

    Avoid dirt roads while calculating the route.

    + ///

    Avoid dirt roads while calculating an isoline.

    pub fn dirt_roads(mut self, input: bool) -> Self { self.dirt_roads = ::std::option::Option::Some(input); self } - ///

    Avoid dirt roads while calculating the route.

    + ///

    Avoid dirt roads while calculating an isoline.

    pub fn set_dirt_roads(mut self, input: ::std::option::Option) -> Self { self.dirt_roads = input; self } - ///

    Avoid dirt roads while calculating the route.

    + ///

    Avoid dirt roads while calculating an isoline.

    pub fn get_dirt_roads(&self) -> &::std::option::Option { &self.dirt_roads } - ///

    Avoid ferries while calculating the route.

    + ///

    Avoid ferries while calculating an isoline.

    pub fn ferries(mut self, input: bool) -> Self { self.ferries = ::std::option::Option::Some(input); self } - ///

    Avoid ferries while calculating the route.

    + ///

    Avoid ferries while calculating an isoline.

    pub fn set_ferries(mut self, input: ::std::option::Option) -> Self { self.ferries = input; self } - ///

    Avoid ferries while calculating the route.

    + ///

    Avoid ferries while calculating an isoline.

    pub fn get_ferries(&self) -> &::std::option::Option { &self.ferries } - ///

    Avoid roads that have seasonal closure while calculating the route.

    + ///

    Avoid roads that have seasonal closure while calculating an isoline.

    pub fn seasonal_closure(mut self, input: bool) -> Self { self.seasonal_closure = ::std::option::Option::Some(input); self } - ///

    Avoid roads that have seasonal closure while calculating the route.

    + ///

    Avoid roads that have seasonal closure while calculating an isoline.

    pub fn set_seasonal_closure(mut self, input: ::std::option::Option) -> Self { self.seasonal_closure = input; self } - ///

    Avoid roads that have seasonal closure while calculating the route.

    + ///

    Avoid roads that have seasonal closure while calculating an isoline.

    pub fn get_seasonal_closure(&self) -> &::std::option::Option { &self.seasonal_closure } @@ -258,17 +258,17 @@ impl IsolineAvoidanceOptionsBuilder { pub fn get_truck_road_types(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.truck_road_types } - ///

    Avoid tunnels while calculating the route.

    + ///

    Avoid tunnels while calculating an isoline.

    pub fn tunnels(mut self, input: bool) -> Self { self.tunnels = ::std::option::Option::Some(input); self } - ///

    Avoid tunnels while calculating the route.

    + ///

    Avoid tunnels while calculating an isoline.

    pub fn set_tunnels(mut self, input: ::std::option::Option) -> Self { self.tunnels = input; self } - ///

    Avoid tunnels while calculating the route.

    + ///

    Avoid tunnels while calculating an isoline.

    pub fn get_tunnels(&self) -> &::std::option::Option { &self.tunnels } diff --git a/sdk/georoutes/src/types/_isoline_car_options.rs b/sdk/georoutes/src/types/_isoline_car_options.rs index a1dac5c87f54..fde8c18d43da 100644 --- a/sdk/georoutes/src/types/_isoline_car_options.rs +++ b/sdk/georoutes/src/types/_isoline_car_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Options for vehicles.

    +///

    Travel mode options when the provided travel mode is Car.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct IsolineCarOptions { diff --git a/sdk/georoutes/src/types/_isoline_connection_geometry.rs b/sdk/georoutes/src/types/_isoline_connection_geometry.rs index 569e3177b2dc..d0fb046e5b1b 100644 --- a/sdk/georoutes/src/types/_isoline_connection_geometry.rs +++ b/sdk/georoutes/src/types/_isoline_connection_geometry.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Geometry of the connection between different Isoline components.

    +///

    Geometry of the connection between different isoline components.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq)] pub struct IsolineConnectionGeometry { diff --git a/sdk/georoutes/src/types/_isoline_granularity_options.rs b/sdk/georoutes/src/types/_isoline_granularity_options.rs index cad80b484147..deecbfad7fb9 100644 --- a/sdk/georoutes/src/types/_isoline_granularity_options.rs +++ b/sdk/georoutes/src/types/_isoline_granularity_options.rs @@ -7,7 +7,7 @@ pub struct IsolineGranularityOptions { ///

    Maximum number of points of returned Isoline.

    pub max_points: ::std::option::Option, ///

    Maximum resolution of the returned isoline.

    - ///

    Unit: centimeters

    + ///

    Unit: meters

    pub max_resolution: i64, } impl IsolineGranularityOptions { @@ -16,7 +16,7 @@ impl IsolineGranularityOptions { self.max_points } ///

    Maximum resolution of the returned isoline.

    - ///

    Unit: centimeters

    + ///

    Unit: meters

    pub fn max_resolution(&self) -> i64 { self.max_resolution } @@ -51,19 +51,19 @@ impl IsolineGranularityOptionsBuilder { &self.max_points } ///

    Maximum resolution of the returned isoline.

    - ///

    Unit: centimeters

    + ///

    Unit: meters

    pub fn max_resolution(mut self, input: i64) -> Self { self.max_resolution = ::std::option::Option::Some(input); self } ///

    Maximum resolution of the returned isoline.

    - ///

    Unit: centimeters

    + ///

    Unit: meters

    pub fn set_max_resolution(mut self, input: ::std::option::Option) -> Self { self.max_resolution = input; self } ///

    Maximum resolution of the returned isoline.

    - ///

    Unit: centimeters

    + ///

    Unit: meters

    pub fn get_max_resolution(&self) -> &::std::option::Option { &self.max_resolution } diff --git a/sdk/georoutes/src/types/_isoline_origin_options.rs b/sdk/georoutes/src/types/_isoline_origin_options.rs index 88431db87875..0cb55705b754 100644 --- a/sdk/georoutes/src/types/_isoline_origin_options.rs +++ b/sdk/georoutes/src/types/_isoline_origin_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Options for the property.

    +///

    Origin related options.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct IsolineOriginOptions { diff --git a/sdk/georoutes/src/types/_isoline_scooter_options.rs b/sdk/georoutes/src/types/_isoline_scooter_options.rs index 35272810f44f..e9abae97dadc 100644 --- a/sdk/georoutes/src/types/_isoline_scooter_options.rs +++ b/sdk/georoutes/src/types/_isoline_scooter_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Options for the property.

    +///

    Travel mode options when the provided travel mode is Scooter

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct IsolineScooterOptions { diff --git a/sdk/georoutes/src/types/_isoline_thresholds.rs b/sdk/georoutes/src/types/_isoline_thresholds.rs index 5c4c8161a7df..f7d352319604 100644 --- a/sdk/georoutes/src/types/_isoline_thresholds.rs +++ b/sdk/georoutes/src/types/_isoline_thresholds.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Threshold to be used for the isoline calculation. Up to 3 thresholds per provided type can be requested.

    +///

    Threshold to be used for the isoline calculation. Up to 5 thresholds per provided type can be requested.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct IsolineThresholds { diff --git a/sdk/georoutes/src/types/_isoline_travel_mode_options.rs b/sdk/georoutes/src/types/_isoline_travel_mode_options.rs index 00a68789ebeb..55ed9d898819 100644 --- a/sdk/georoutes/src/types/_isoline_travel_mode_options.rs +++ b/sdk/georoutes/src/types/_isoline_travel_mode_options.rs @@ -6,7 +6,9 @@ pub struct IsolineTravelModeOptions { ///

    Travel mode options when the provided travel mode is "Car"

    pub car: ::std::option::Option, - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub scooter: ::std::option::Option, ///

    Travel mode options when the provided travel mode is "Truck"

    pub truck: ::std::option::Option, @@ -16,7 +18,9 @@ impl IsolineTravelModeOptions { pub fn car(&self) -> ::std::option::Option<&crate::types::IsolineCarOptions> { self.car.as_ref() } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn scooter(&self) -> ::std::option::Option<&crate::types::IsolineScooterOptions> { self.scooter.as_ref() } @@ -55,17 +59,23 @@ impl IsolineTravelModeOptionsBuilder { pub fn get_car(&self) -> &::std::option::Option { &self.car } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn scooter(mut self, input: crate::types::IsolineScooterOptions) -> Self { self.scooter = ::std::option::Option::Some(input); self } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn set_scooter(mut self, input: ::std::option::Option) -> Self { self.scooter = input; self } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn get_scooter(&self) -> &::std::option::Option { &self.scooter } diff --git a/sdk/georoutes/src/types/_route_allow_options.rs b/sdk/georoutes/src/types/_route_allow_options.rs index 8f71e46f7bb5..886d38eebb1d 100644 --- a/sdk/georoutes/src/types/_route_allow_options.rs +++ b/sdk/georoutes/src/types/_route_allow_options.rs @@ -1,20 +1,24 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Features that are allowed while calculating. a route

    +///

    Features that are allowed while calculating a route.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RouteAllowOptions { ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Default value: false

    pub hot: ::std::option::Option, ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Default value: false

    pub hov: ::std::option::Option, } impl RouteAllowOptions { ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Default value: false

    pub fn hot(&self) -> ::std::option::Option { self.hot } ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Default value: false

    pub fn hov(&self) -> ::std::option::Option { self.hov } @@ -35,30 +39,36 @@ pub struct RouteAllowOptionsBuilder { } impl RouteAllowOptionsBuilder { ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Default value: false

    pub fn hot(mut self, input: bool) -> Self { self.hot = ::std::option::Option::Some(input); self } ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Default value: false

    pub fn set_hot(mut self, input: ::std::option::Option) -> Self { self.hot = input; self } ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Default value: false

    pub fn get_hot(&self) -> &::std::option::Option { &self.hot } ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Default value: false

    pub fn hov(mut self, input: bool) -> Self { self.hov = ::std::option::Option::Some(input); self } ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Default value: false

    pub fn set_hov(mut self, input: ::std::option::Option) -> Self { self.hov = input; self } ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Default value: false

    pub fn get_hov(&self) -> &::std::option::Option { &self.hov } diff --git a/sdk/georoutes/src/types/_route_avoidance_options.rs b/sdk/georoutes/src/types/_route_avoidance_options.rs index 7f9e85eb6745..03d7da305f5e 100644 --- a/sdk/georoutes/src/types/_route_avoidance_options.rs +++ b/sdk/georoutes/src/types/_route_avoidance_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Options related to areas to be avoided.

    +///

    Specifies options for areas to avoid when calculating the route. This is a best-effort avoidance setting, meaning the router will try to honor the avoidance preferences but may still include restricted areas if no feasible alternative route exists. If avoidance options are not followed, the response will indicate that the avoidance criteria were violated.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RouteAvoidanceOptions { diff --git a/sdk/georoutes/src/types/_route_car_options.rs b/sdk/georoutes/src/types/_route_car_options.rs index 7bf9ac987435..f04bdc318ebf 100644 --- a/sdk/georoutes/src/types/_route_car_options.rs +++ b/sdk/georoutes/src/types/_route_car_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Travel mode options when the provided travel mode is "Car"

    +///

    Travel mode options when the provided travel mode is Car.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RouteCarOptions { diff --git a/sdk/georoutes/src/types/_route_exclusion_options.rs b/sdk/georoutes/src/types/_route_exclusion_options.rs index 2787160f2275..e4c549053523 100644 --- a/sdk/georoutes/src/types/_route_exclusion_options.rs +++ b/sdk/georoutes/src/types/_route_exclusion_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Exclusion options for the route.

    +///

    Specifies strict exclusion options for the route calculation. This setting mandates that the router will avoid any routes that include the specified options, rather than merely attempting to minimize them.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RouteExclusionOptions { diff --git a/sdk/georoutes/src/types/_route_ferry_notice_code.rs b/sdk/georoutes/src/types/_route_ferry_notice_code.rs index 0c41a8b2d46a..7a60a6f08d13 100644 --- a/sdk/georoutes/src/types/_route_ferry_notice_code.rs +++ b/sdk/georoutes/src/types/_route_ferry_notice_code.rs @@ -15,6 +15,7 @@ /// RouteFerryNoticeCode::AccuratePolylineUnavailable => { /* ... */ }, /// RouteFerryNoticeCode::NoSchedule => { /* ... */ }, /// RouteFerryNoticeCode::Other => { /* ... */ }, +/// RouteFerryNoticeCode::SeasonalClosure => { /* ... */ }, /// RouteFerryNoticeCode::ViolatedAvoidFerry => { /* ... */ }, /// RouteFerryNoticeCode::ViolatedAvoidRailFerry => { /* ... */ }, /// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ }, @@ -52,6 +53,8 @@ pub enum RouteFerryNoticeCode { #[allow(missing_docs)] // documentation missing in model Other, #[allow(missing_docs)] // documentation missing in model + SeasonalClosure, + #[allow(missing_docs)] // documentation missing in model ViolatedAvoidFerry, #[allow(missing_docs)] // documentation missing in model ViolatedAvoidRailFerry, @@ -65,6 +68,7 @@ impl ::std::convert::From<&str> for RouteFerryNoticeCode { "AccuratePolylineUnavailable" => RouteFerryNoticeCode::AccuratePolylineUnavailable, "NoSchedule" => RouteFerryNoticeCode::NoSchedule, "Other" => RouteFerryNoticeCode::Other, + "SeasonalClosure" => RouteFerryNoticeCode::SeasonalClosure, "ViolatedAvoidFerry" => RouteFerryNoticeCode::ViolatedAvoidFerry, "ViolatedAvoidRailFerry" => RouteFerryNoticeCode::ViolatedAvoidRailFerry, other => RouteFerryNoticeCode::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())), @@ -85,6 +89,7 @@ impl RouteFerryNoticeCode { RouteFerryNoticeCode::AccuratePolylineUnavailable => "AccuratePolylineUnavailable", RouteFerryNoticeCode::NoSchedule => "NoSchedule", RouteFerryNoticeCode::Other => "Other", + RouteFerryNoticeCode::SeasonalClosure => "SeasonalClosure", RouteFerryNoticeCode::ViolatedAvoidFerry => "ViolatedAvoidFerry", RouteFerryNoticeCode::ViolatedAvoidRailFerry => "ViolatedAvoidRailFerry", RouteFerryNoticeCode::Unknown(value) => value.as_str(), @@ -96,6 +101,7 @@ impl RouteFerryNoticeCode { "AccuratePolylineUnavailable", "NoSchedule", "Other", + "SeasonalClosure", "ViolatedAvoidFerry", "ViolatedAvoidRailFerry", ] @@ -124,6 +130,7 @@ impl ::std::fmt::Display for RouteFerryNoticeCode { RouteFerryNoticeCode::AccuratePolylineUnavailable => write!(f, "AccuratePolylineUnavailable"), RouteFerryNoticeCode::NoSchedule => write!(f, "NoSchedule"), RouteFerryNoticeCode::Other => write!(f, "Other"), + RouteFerryNoticeCode::SeasonalClosure => write!(f, "SeasonalClosure"), RouteFerryNoticeCode::ViolatedAvoidFerry => write!(f, "ViolatedAvoidFerry"), RouteFerryNoticeCode::ViolatedAvoidRailFerry => write!(f, "ViolatedAvoidRailFerry"), RouteFerryNoticeCode::Unknown(value) => write!(f, "{}", value), diff --git a/sdk/georoutes/src/types/_route_ferry_span.rs b/sdk/georoutes/src/types/_route_ferry_span.rs index 7ca8850cc08e..403155d74a37 100644 --- a/sdk/georoutes/src/types/_route_ferry_span.rs +++ b/sdk/georoutes/src/types/_route_ferry_span.rs @@ -7,6 +7,7 @@ pub struct RouteFerrySpan { ///

    3 letter Country code corresponding to the Span.

    pub country: ::std::option::Option<::std::string::String>, ///

    Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

    + ///

    Unit: meters

    pub distance: i64, ///

    Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

    ///

    Unit: seconds

    @@ -24,6 +25,7 @@ impl RouteFerrySpan { self.country.as_deref() } ///

    Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

    + ///

    Unit: meters

    pub fn distance(&self) -> i64 { self.distance } @@ -81,16 +83,19 @@ impl RouteFerrySpanBuilder { &self.country } ///

    Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

    + ///

    Unit: meters

    pub fn distance(mut self, input: i64) -> Self { self.distance = ::std::option::Option::Some(input); self } ///

    Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

    + ///

    Unit: meters

    pub fn set_distance(mut self, input: ::std::option::Option) -> Self { self.distance = input; self } ///

    Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.

    + ///

    Unit: meters

    pub fn get_distance(&self) -> &::std::option::Option { &self.distance } diff --git a/sdk/georoutes/src/types/_route_leg_travel_mode.rs b/sdk/georoutes/src/types/_route_leg_travel_mode.rs index c7bcc70644f7..ac36928d8a0f 100644 --- a/sdk/georoutes/src/types/_route_leg_travel_mode.rs +++ b/sdk/georoutes/src/types/_route_leg_travel_mode.rs @@ -13,6 +13,7 @@ /// # let routelegtravelmode = unimplemented!(); /// match routelegtravelmode { /// RouteLegTravelMode::Car => { /* ... */ }, +/// RouteLegTravelMode::CarShuttleTrain => { /* ... */ }, /// RouteLegTravelMode::Ferry => { /* ... */ }, /// RouteLegTravelMode::Pedestrian => { /* ... */ }, /// RouteLegTravelMode::Scooter => { /* ... */ }, @@ -48,6 +49,8 @@ pub enum RouteLegTravelMode { #[allow(missing_docs)] // documentation missing in model Car, #[allow(missing_docs)] // documentation missing in model + CarShuttleTrain, + #[allow(missing_docs)] // documentation missing in model Ferry, #[allow(missing_docs)] // documentation missing in model Pedestrian, @@ -63,6 +66,7 @@ impl ::std::convert::From<&str> for RouteLegTravelMode { fn from(s: &str) -> Self { match s { "Car" => RouteLegTravelMode::Car, + "CarShuttleTrain" => RouteLegTravelMode::CarShuttleTrain, "Ferry" => RouteLegTravelMode::Ferry, "Pedestrian" => RouteLegTravelMode::Pedestrian, "Scooter" => RouteLegTravelMode::Scooter, @@ -83,6 +87,7 @@ impl RouteLegTravelMode { pub fn as_str(&self) -> &str { match self { RouteLegTravelMode::Car => "Car", + RouteLegTravelMode::CarShuttleTrain => "CarShuttleTrain", RouteLegTravelMode::Ferry => "Ferry", RouteLegTravelMode::Pedestrian => "Pedestrian", RouteLegTravelMode::Scooter => "Scooter", @@ -92,7 +97,7 @@ impl RouteLegTravelMode { } /// Returns all the `&str` representations of the enum members. pub const fn values() -> &'static [&'static str] { - &["Car", "Ferry", "Pedestrian", "Scooter", "Truck"] + &["Car", "CarShuttleTrain", "Ferry", "Pedestrian", "Scooter", "Truck"] } } impl ::std::convert::AsRef for RouteLegTravelMode { @@ -116,6 +121,7 @@ impl ::std::fmt::Display for RouteLegTravelMode { fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { match self { RouteLegTravelMode::Car => write!(f, "Car"), + RouteLegTravelMode::CarShuttleTrain => write!(f, "CarShuttleTrain"), RouteLegTravelMode::Ferry => write!(f, "Ferry"), RouteLegTravelMode::Pedestrian => write!(f, "Pedestrian"), RouteLegTravelMode::Scooter => write!(f, "Scooter"), diff --git a/sdk/georoutes/src/types/_route_matrix_allow_options.rs b/sdk/georoutes/src/types/_route_matrix_allow_options.rs index d96f6eee7362..e55c8215ec94 100644 --- a/sdk/georoutes/src/types/_route_matrix_allow_options.rs +++ b/sdk/georoutes/src/types/_route_matrix_allow_options.rs @@ -5,16 +5,20 @@ #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RouteMatrixAllowOptions { ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Default value: false

    pub hot: ::std::option::Option, ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Default value: false

    pub hov: ::std::option::Option, } impl RouteMatrixAllowOptions { ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Default value: false

    pub fn hot(&self) -> ::std::option::Option { self.hot } ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Default value: false

    pub fn hov(&self) -> ::std::option::Option { self.hov } @@ -35,30 +39,36 @@ pub struct RouteMatrixAllowOptionsBuilder { } impl RouteMatrixAllowOptionsBuilder { ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Default value: false

    pub fn hot(mut self, input: bool) -> Self { self.hot = ::std::option::Option::Some(input); self } ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Default value: false

    pub fn set_hot(mut self, input: ::std::option::Option) -> Self { self.hot = input; self } ///

    Allow Hot (High Occupancy Toll) lanes while calculating the route.

    + ///

    Default value: false

    pub fn get_hot(&self) -> &::std::option::Option { &self.hot } ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Default value: false

    pub fn hov(mut self, input: bool) -> Self { self.hov = ::std::option::Option::Some(input); self } ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Default value: false

    pub fn set_hov(mut self, input: ::std::option::Option) -> Self { self.hov = input; self } ///

    Allow Hov (High Occupancy vehicle) lanes while calculating the route.

    + ///

    Default value: false

    pub fn get_hov(&self) -> &::std::option::Option { &self.hov } diff --git a/sdk/georoutes/src/types/_route_matrix_avoidance_options.rs b/sdk/georoutes/src/types/_route_matrix_avoidance_options.rs index 17c7a794e6d6..ef5c56fd307b 100644 --- a/sdk/georoutes/src/types/_route_matrix_avoidance_options.rs +++ b/sdk/georoutes/src/types/_route_matrix_avoidance_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Options related to the route matrix.

    +///

    Specifies options for areas to avoid when calculating the route. This is a best-effort avoidance setting, meaning the router will try to honor the avoidance preferences but may still include restricted areas if no feasible alternative route exists. If avoidance options are not followed, the response will indicate that the avoidance criteria were violated.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RouteMatrixAvoidanceOptions { diff --git a/sdk/georoutes/src/types/_route_matrix_car_options.rs b/sdk/georoutes/src/types/_route_matrix_car_options.rs index 82f2462b12ff..ad2aca6d80ae 100644 --- a/sdk/georoutes/src/types/_route_matrix_car_options.rs +++ b/sdk/georoutes/src/types/_route_matrix_car_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Options related to the car.

    +///

    Travel mode options when the provided travel mode is Car.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RouteMatrixCarOptions { diff --git a/sdk/georoutes/src/types/_route_matrix_exclusion_options.rs b/sdk/georoutes/src/types/_route_matrix_exclusion_options.rs index 91d0425540cb..3b0c964ac872 100644 --- a/sdk/georoutes/src/types/_route_matrix_exclusion_options.rs +++ b/sdk/georoutes/src/types/_route_matrix_exclusion_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Exclusion options.

    +///

    Specifies strict exclusion options for the route calculation. This setting mandates that the router will avoid any routes that include the specified options, rather than merely attempting to minimize them.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RouteMatrixExclusionOptions { diff --git a/sdk/georoutes/src/types/_route_matrix_scooter_options.rs b/sdk/georoutes/src/types/_route_matrix_scooter_options.rs index 737d57b154ab..d050e445aaf1 100644 --- a/sdk/georoutes/src/types/_route_matrix_scooter_options.rs +++ b/sdk/georoutes/src/types/_route_matrix_scooter_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Travel mode options when the provided travel mode is "Scooter"

    +///

    Travel mode options when the provided travel mode is Scooter

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RouteMatrixScooterOptions { diff --git a/sdk/georoutes/src/types/_route_matrix_travel_mode_options.rs b/sdk/georoutes/src/types/_route_matrix_travel_mode_options.rs index 083096eedae2..af6eb4f833ca 100644 --- a/sdk/georoutes/src/types/_route_matrix_travel_mode_options.rs +++ b/sdk/georoutes/src/types/_route_matrix_travel_mode_options.rs @@ -6,7 +6,9 @@ pub struct RouteMatrixTravelModeOptions { ///

    Travel mode options when the provided travel mode is "Car"

    pub car: ::std::option::Option, - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub scooter: ::std::option::Option, ///

    Travel mode options when the provided travel mode is "Truck"

    pub truck: ::std::option::Option, @@ -16,7 +18,9 @@ impl RouteMatrixTravelModeOptions { pub fn car(&self) -> ::std::option::Option<&crate::types::RouteMatrixCarOptions> { self.car.as_ref() } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn scooter(&self) -> ::std::option::Option<&crate::types::RouteMatrixScooterOptions> { self.scooter.as_ref() } @@ -55,17 +59,23 @@ impl RouteMatrixTravelModeOptionsBuilder { pub fn get_car(&self) -> &::std::option::Option { &self.car } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn scooter(mut self, input: crate::types::RouteMatrixScooterOptions) -> Self { self.scooter = ::std::option::Option::Some(input); self } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn set_scooter(mut self, input: ::std::option::Option) -> Self { self.scooter = input; self } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn get_scooter(&self) -> &::std::option::Option { &self.scooter } diff --git a/sdk/georoutes/src/types/_route_scooter_options.rs b/sdk/georoutes/src/types/_route_scooter_options.rs index 293fe8a45bc7..d3e7843739f2 100644 --- a/sdk/georoutes/src/types/_route_scooter_options.rs +++ b/sdk/georoutes/src/types/_route_scooter_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Travel mode options when the provided travel mode is "Scooter"

    +///

    Travel mode options when the provided travel mode is Scooter

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RouteScooterOptions { diff --git a/sdk/georoutes/src/types/_route_travel_mode_options.rs b/sdk/georoutes/src/types/_route_travel_mode_options.rs index 4d22cc3c2aac..e148d1fbde2d 100644 --- a/sdk/georoutes/src/types/_route_travel_mode_options.rs +++ b/sdk/georoutes/src/types/_route_travel_mode_options.rs @@ -8,7 +8,9 @@ pub struct RouteTravelModeOptions { pub car: ::std::option::Option, ///

    Travel mode options when the provided travel mode is "Pedestrian"

    pub pedestrian: ::std::option::Option, - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub scooter: ::std::option::Option, ///

    Travel mode options when the provided travel mode is "Truck"

    pub truck: ::std::option::Option, @@ -22,7 +24,9 @@ impl RouteTravelModeOptions { pub fn pedestrian(&self) -> ::std::option::Option<&crate::types::RoutePedestrianOptions> { self.pedestrian.as_ref() } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn scooter(&self) -> ::std::option::Option<&crate::types::RouteScooterOptions> { self.scooter.as_ref() } @@ -76,17 +80,23 @@ impl RouteTravelModeOptionsBuilder { pub fn get_pedestrian(&self) -> &::std::option::Option { &self.pedestrian } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn scooter(mut self, input: crate::types::RouteScooterOptions) -> Self { self.scooter = ::std::option::Option::Some(input); self } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn set_scooter(mut self, input: ::std::option::Option) -> Self { self.scooter = input; self } - ///

    Travel mode options when the provided travel mode is "Scooter"

    + ///

    Travel mode options when the provided travel mode is Scooter

    + ///

    When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    + ///
    pub fn get_scooter(&self) -> &::std::option::Option { &self.scooter } diff --git a/sdk/georoutes/src/types/_waypoint_optimization_avoidance_options.rs b/sdk/georoutes/src/types/_waypoint_optimization_avoidance_options.rs index ee37cbcacab0..4ed2cb959a64 100644 --- a/sdk/georoutes/src/types/_waypoint_optimization_avoidance_options.rs +++ b/sdk/georoutes/src/types/_waypoint_optimization_avoidance_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Options for WaypointOptimizationAvoidance.

    +///

    Specifies options for areas to avoid. This is a best-effort avoidance setting, meaning the router will try to honor the avoidance preferences but may still include restricted areas if no feasible alternative route exists. If avoidance options are not followed, the response will indicate that the avoidance criteria were violated.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct WaypointOptimizationAvoidanceOptions { diff --git a/sdk/georoutes/src/types/_waypoint_optimization_clustering_algorithm.rs b/sdk/georoutes/src/types/_waypoint_optimization_clustering_algorithm.rs new file mode 100644 index 000000000000..715965f34269 --- /dev/null +++ b/sdk/georoutes/src/types/_waypoint_optimization_clustering_algorithm.rs @@ -0,0 +1,108 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +/// When writing a match expression against `WaypointOptimizationClusteringAlgorithm`, it is important to ensure +/// your code is forward-compatible. That is, if a match arm handles a case for a +/// feature that is supported by the service but has not been represented as an enum +/// variant in a current version of SDK, your code should continue to work when you +/// upgrade SDK to a future version in which the enum does include a variant for that +/// feature. +/// +/// Here is an example of how you can make a match expression forward-compatible: +/// +/// ```text +/// # let waypointoptimizationclusteringalgorithm = unimplemented!(); +/// match waypointoptimizationclusteringalgorithm { +/// WaypointOptimizationClusteringAlgorithm::DrivingDistance => { /* ... */ }, +/// WaypointOptimizationClusteringAlgorithm::TopologySegment => { /* ... */ }, +/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ }, +/// _ => { /* ... */ }, +/// } +/// ``` +/// The above code demonstrates that when `waypointoptimizationclusteringalgorithm` represents +/// `NewFeature`, the execution path will lead to the second last match arm, +/// even though the enum does not contain a variant `WaypointOptimizationClusteringAlgorithm::NewFeature` +/// in the current version of SDK. The reason is that the variable `other`, +/// created by the `@` operator, is bound to +/// `WaypointOptimizationClusteringAlgorithm::Unknown(UnknownVariantValue("NewFeature".to_owned()))` +/// and calling `as_str` on it yields `"NewFeature"`. +/// This match expression is forward-compatible when executed with a newer +/// version of SDK where the variant `WaypointOptimizationClusteringAlgorithm::NewFeature` is defined. +/// Specifically, when `waypointoptimizationclusteringalgorithm` represents `NewFeature`, +/// the execution path will hit the second last match arm as before by virtue of +/// calling `as_str` on `WaypointOptimizationClusteringAlgorithm::NewFeature` also yielding `"NewFeature"`. +/// +/// Explicitly matching on the `Unknown` variant should +/// be avoided for two reasons: +/// - The inner data `UnknownVariantValue` is opaque, and no further information can be extracted. +/// - It might inadvertently shadow other intended match arms. +/// +#[allow(missing_docs)] // documentation missing in model +#[non_exhaustive] +#[derive( + ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash, +)] +pub enum WaypointOptimizationClusteringAlgorithm { + #[allow(missing_docs)] // documentation missing in model + DrivingDistance, + #[allow(missing_docs)] // documentation missing in model + TopologySegment, + /// `Unknown` contains new variants that have been added since this code was generated. + #[deprecated(note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants.")] + Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue), +} +impl ::std::convert::From<&str> for WaypointOptimizationClusteringAlgorithm { + fn from(s: &str) -> Self { + match s { + "DrivingDistance" => WaypointOptimizationClusteringAlgorithm::DrivingDistance, + "TopologySegment" => WaypointOptimizationClusteringAlgorithm::TopologySegment, + other => WaypointOptimizationClusteringAlgorithm::Unknown(crate::primitives::sealed_enum_unknown::UnknownVariantValue(other.to_owned())), + } + } +} +impl ::std::str::FromStr for WaypointOptimizationClusteringAlgorithm { + type Err = ::std::convert::Infallible; + + fn from_str(s: &str) -> ::std::result::Result::Err> { + ::std::result::Result::Ok(WaypointOptimizationClusteringAlgorithm::from(s)) + } +} +impl WaypointOptimizationClusteringAlgorithm { + /// Returns the `&str` value of the enum member. + pub fn as_str(&self) -> &str { + match self { + WaypointOptimizationClusteringAlgorithm::DrivingDistance => "DrivingDistance", + WaypointOptimizationClusteringAlgorithm::TopologySegment => "TopologySegment", + WaypointOptimizationClusteringAlgorithm::Unknown(value) => value.as_str(), + } + } + /// Returns all the `&str` representations of the enum members. + pub const fn values() -> &'static [&'static str] { + &["DrivingDistance", "TopologySegment"] + } +} +impl ::std::convert::AsRef for WaypointOptimizationClusteringAlgorithm { + fn as_ref(&self) -> &str { + self.as_str() + } +} +impl WaypointOptimizationClusteringAlgorithm { + /// Parses the enum value while disallowing unknown variants. + /// + /// Unknown variants will result in an error. + pub fn try_parse(value: &str) -> ::std::result::Result { + match Self::from(value) { + #[allow(deprecated)] + Self::Unknown(_) => ::std::result::Result::Err(crate::error::UnknownVariantError::new(value)), + known => Ok(known), + } + } +} +impl ::std::fmt::Display for WaypointOptimizationClusteringAlgorithm { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + match self { + WaypointOptimizationClusteringAlgorithm::DrivingDistance => write!(f, "DrivingDistance"), + WaypointOptimizationClusteringAlgorithm::TopologySegment => write!(f, "TopologySegment"), + WaypointOptimizationClusteringAlgorithm::Unknown(value) => write!(f, "{}", value), + } + } +} diff --git a/sdk/georoutes/src/types/_waypoint_optimization_clustering_options.rs b/sdk/georoutes/src/types/_waypoint_optimization_clustering_options.rs new file mode 100644 index 000000000000..bce7e04312fd --- /dev/null +++ b/sdk/georoutes/src/types/_waypoint_optimization_clustering_options.rs @@ -0,0 +1,82 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

    Options for WaypointOptimizationClustering.

    +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct WaypointOptimizationClusteringOptions { + ///

    The algorithm to be used. DrivingDistance assigns all the waypoints that are within driving distance of each other into a single cluster. TopologySegment assigns all the waypoints that are within the same topology segment into a single cluster. A Topology segment is a linear stretch of road between two junctions.

    + pub algorithm: crate::types::WaypointOptimizationClusteringAlgorithm, + ///

    Driving distance options to be used when the clustering algorithm is DrivingDistance.

    + pub driving_distance_options: ::std::option::Option, +} +impl WaypointOptimizationClusteringOptions { + ///

    The algorithm to be used. DrivingDistance assigns all the waypoints that are within driving distance of each other into a single cluster. TopologySegment assigns all the waypoints that are within the same topology segment into a single cluster. A Topology segment is a linear stretch of road between two junctions.

    + pub fn algorithm(&self) -> &crate::types::WaypointOptimizationClusteringAlgorithm { + &self.algorithm + } + ///

    Driving distance options to be used when the clustering algorithm is DrivingDistance.

    + pub fn driving_distance_options(&self) -> ::std::option::Option<&crate::types::WaypointOptimizationDrivingDistanceOptions> { + self.driving_distance_options.as_ref() + } +} +impl WaypointOptimizationClusteringOptions { + /// Creates a new builder-style object to manufacture [`WaypointOptimizationClusteringOptions`](crate::types::WaypointOptimizationClusteringOptions). + pub fn builder() -> crate::types::builders::WaypointOptimizationClusteringOptionsBuilder { + crate::types::builders::WaypointOptimizationClusteringOptionsBuilder::default() + } +} + +/// A builder for [`WaypointOptimizationClusteringOptions`](crate::types::WaypointOptimizationClusteringOptions). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct WaypointOptimizationClusteringOptionsBuilder { + pub(crate) algorithm: ::std::option::Option, + pub(crate) driving_distance_options: ::std::option::Option, +} +impl WaypointOptimizationClusteringOptionsBuilder { + ///

    The algorithm to be used. DrivingDistance assigns all the waypoints that are within driving distance of each other into a single cluster. TopologySegment assigns all the waypoints that are within the same topology segment into a single cluster. A Topology segment is a linear stretch of road between two junctions.

    + /// This field is required. + pub fn algorithm(mut self, input: crate::types::WaypointOptimizationClusteringAlgorithm) -> Self { + self.algorithm = ::std::option::Option::Some(input); + self + } + ///

    The algorithm to be used. DrivingDistance assigns all the waypoints that are within driving distance of each other into a single cluster. TopologySegment assigns all the waypoints that are within the same topology segment into a single cluster. A Topology segment is a linear stretch of road between two junctions.

    + pub fn set_algorithm(mut self, input: ::std::option::Option) -> Self { + self.algorithm = input; + self + } + ///

    The algorithm to be used. DrivingDistance assigns all the waypoints that are within driving distance of each other into a single cluster. TopologySegment assigns all the waypoints that are within the same topology segment into a single cluster. A Topology segment is a linear stretch of road between two junctions.

    + pub fn get_algorithm(&self) -> &::std::option::Option { + &self.algorithm + } + ///

    Driving distance options to be used when the clustering algorithm is DrivingDistance.

    + pub fn driving_distance_options(mut self, input: crate::types::WaypointOptimizationDrivingDistanceOptions) -> Self { + self.driving_distance_options = ::std::option::Option::Some(input); + self + } + ///

    Driving distance options to be used when the clustering algorithm is DrivingDistance.

    + pub fn set_driving_distance_options(mut self, input: ::std::option::Option) -> Self { + self.driving_distance_options = input; + self + } + ///

    Driving distance options to be used when the clustering algorithm is DrivingDistance.

    + pub fn get_driving_distance_options(&self) -> &::std::option::Option { + &self.driving_distance_options + } + /// Consumes the builder and constructs a [`WaypointOptimizationClusteringOptions`](crate::types::WaypointOptimizationClusteringOptions). + /// This method will fail if any of the following fields are not set: + /// - [`algorithm`](crate::types::builders::WaypointOptimizationClusteringOptionsBuilder::algorithm) + pub fn build( + self, + ) -> ::std::result::Result { + ::std::result::Result::Ok(crate::types::WaypointOptimizationClusteringOptions { + algorithm: self.algorithm.ok_or_else(|| { + ::aws_smithy_types::error::operation::BuildError::missing_field( + "algorithm", + "algorithm was not specified but it is required when building WaypointOptimizationClusteringOptions", + ) + })?, + driving_distance_options: self.driving_distance_options, + }) + } +} diff --git a/sdk/georoutes/src/types/_waypoint_optimization_driving_distance_options.rs b/sdk/georoutes/src/types/_waypoint_optimization_driving_distance_options.rs new file mode 100644 index 000000000000..8a7b7c2a697b --- /dev/null +++ b/sdk/georoutes/src/types/_waypoint_optimization_driving_distance_options.rs @@ -0,0 +1,51 @@ +// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. + +///

    Driving distance related options.

    +#[non_exhaustive] +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] +pub struct WaypointOptimizationDrivingDistanceOptions { + ///

    DrivingDistance assigns all the waypoints that are within driving distance of each other into a single cluster.

    + pub driving_distance: i64, +} +impl WaypointOptimizationDrivingDistanceOptions { + ///

    DrivingDistance assigns all the waypoints that are within driving distance of each other into a single cluster.

    + pub fn driving_distance(&self) -> i64 { + self.driving_distance + } +} +impl WaypointOptimizationDrivingDistanceOptions { + /// Creates a new builder-style object to manufacture [`WaypointOptimizationDrivingDistanceOptions`](crate::types::WaypointOptimizationDrivingDistanceOptions). + pub fn builder() -> crate::types::builders::WaypointOptimizationDrivingDistanceOptionsBuilder { + crate::types::builders::WaypointOptimizationDrivingDistanceOptionsBuilder::default() + } +} + +/// A builder for [`WaypointOptimizationDrivingDistanceOptions`](crate::types::WaypointOptimizationDrivingDistanceOptions). +#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)] +#[non_exhaustive] +pub struct WaypointOptimizationDrivingDistanceOptionsBuilder { + pub(crate) driving_distance: ::std::option::Option, +} +impl WaypointOptimizationDrivingDistanceOptionsBuilder { + ///

    DrivingDistance assigns all the waypoints that are within driving distance of each other into a single cluster.

    + /// This field is required. + pub fn driving_distance(mut self, input: i64) -> Self { + self.driving_distance = ::std::option::Option::Some(input); + self + } + ///

    DrivingDistance assigns all the waypoints that are within driving distance of each other into a single cluster.

    + pub fn set_driving_distance(mut self, input: ::std::option::Option) -> Self { + self.driving_distance = input; + self + } + ///

    DrivingDistance assigns all the waypoints that are within driving distance of each other into a single cluster.

    + pub fn get_driving_distance(&self) -> &::std::option::Option { + &self.driving_distance + } + /// Consumes the builder and constructs a [`WaypointOptimizationDrivingDistanceOptions`](crate::types::WaypointOptimizationDrivingDistanceOptions). + pub fn build(self) -> crate::types::WaypointOptimizationDrivingDistanceOptions { + crate::types::WaypointOptimizationDrivingDistanceOptions { + driving_distance: self.driving_distance.unwrap_or_default(), + } + } +} diff --git a/sdk/georoutes/src/types/_waypoint_optimization_exclusion_options.rs b/sdk/georoutes/src/types/_waypoint_optimization_exclusion_options.rs index 8b87e804d5c9..06a4e6a9d41f 100644 --- a/sdk/georoutes/src/types/_waypoint_optimization_exclusion_options.rs +++ b/sdk/georoutes/src/types/_waypoint_optimization_exclusion_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Exclusion options.

    +///

    Specifies strict exclusion options for the route calculation. This setting mandates that the router will avoid any routes that include the specified options, rather than merely attempting to minimize them.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct WaypointOptimizationExclusionOptions { diff --git a/sdk/georoutes/src/types/_waypoint_optimization_optimized_waypoint.rs b/sdk/georoutes/src/types/_waypoint_optimization_optimized_waypoint.rs index 2c7198bf9a76..675991018db4 100644 --- a/sdk/georoutes/src/types/_waypoint_optimization_optimized_waypoint.rs +++ b/sdk/georoutes/src/types/_waypoint_optimization_optimized_waypoint.rs @@ -10,6 +10,8 @@ pub struct WaypointOptimizationOptimizedWaypoint { ///

    2020-04-22T17:57:24Z

    ///

    2020-04-22T17:57:24+02:00

    pub arrival_time: ::std::option::Option<::std::string::String>, + ///

    Index of the cluster the waypoint is associated with. The index is included in the response only if clustering was performed while processing the request.

    + pub cluster_index: ::std::option::Option, ///

    Estimated time of departure from thr origin.

    ///

    Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    ///

    Examples:

    @@ -30,6 +32,10 @@ impl WaypointOptimizationOptimizedWaypoint { pub fn arrival_time(&self) -> ::std::option::Option<&str> { self.arrival_time.as_deref() } + ///

    Index of the cluster the waypoint is associated with. The index is included in the response only if clustering was performed while processing the request.

    + pub fn cluster_index(&self) -> ::std::option::Option { + self.cluster_index + } ///

    Estimated time of departure from thr origin.

    ///

    Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    ///

    Examples:

    @@ -54,6 +60,7 @@ impl ::std::fmt::Debug for WaypointOptimizationOptimizedWaypoint { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { let mut formatter = f.debug_struct("WaypointOptimizationOptimizedWaypoint"); formatter.field("arrival_time", &self.arrival_time); + formatter.field("cluster_index", &self.cluster_index); formatter.field("departure_time", &self.departure_time); formatter.field("id", &self.id); formatter.field("position", &"*** Sensitive Data Redacted ***"); @@ -72,6 +79,7 @@ impl WaypointOptimizationOptimizedWaypoint { #[non_exhaustive] pub struct WaypointOptimizationOptimizedWaypointBuilder { pub(crate) arrival_time: ::std::option::Option<::std::string::String>, + pub(crate) cluster_index: ::std::option::Option, pub(crate) departure_time: ::std::option::Option<::std::string::String>, pub(crate) id: ::std::option::Option<::std::string::String>, pub(crate) position: ::std::option::Option<::std::vec::Vec>, @@ -103,6 +111,20 @@ impl WaypointOptimizationOptimizedWaypointBuilder { pub fn get_arrival_time(&self) -> &::std::option::Option<::std::string::String> { &self.arrival_time } + ///

    Index of the cluster the waypoint is associated with. The index is included in the response only if clustering was performed while processing the request.

    + pub fn cluster_index(mut self, input: i32) -> Self { + self.cluster_index = ::std::option::Option::Some(input); + self + } + ///

    Index of the cluster the waypoint is associated with. The index is included in the response only if clustering was performed while processing the request.

    + pub fn set_cluster_index(mut self, input: ::std::option::Option) -> Self { + self.cluster_index = input; + self + } + ///

    Index of the cluster the waypoint is associated with. The index is included in the response only if clustering was performed while processing the request.

    + pub fn get_cluster_index(&self) -> &::std::option::Option { + &self.cluster_index + } ///

    Estimated time of departure from thr origin.

    ///

    Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

    ///

    Examples:

    @@ -175,6 +197,7 @@ impl WaypointOptimizationOptimizedWaypointBuilder { ) -> ::std::result::Result { ::std::result::Result::Ok(crate::types::WaypointOptimizationOptimizedWaypoint { arrival_time: self.arrival_time, + cluster_index: self.cluster_index, departure_time: self.departure_time.ok_or_else(|| { ::aws_smithy_types::error::operation::BuildError::missing_field( "departure_time", @@ -200,6 +223,7 @@ impl ::std::fmt::Debug for WaypointOptimizationOptimizedWaypointBuilder { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { let mut formatter = f.debug_struct("WaypointOptimizationOptimizedWaypointBuilder"); formatter.field("arrival_time", &self.arrival_time); + formatter.field("cluster_index", &self.cluster_index); formatter.field("departure_time", &self.departure_time); formatter.field("id", &self.id); formatter.field("position", &"*** Sensitive Data Redacted ***"); diff --git a/sdk/georoutes/src/types/_waypoint_optimization_origin_options.rs b/sdk/georoutes/src/types/_waypoint_optimization_origin_options.rs index 67c1ab14e20f..f7e32a1b41f4 100644 --- a/sdk/georoutes/src/types/_waypoint_optimization_origin_options.rs +++ b/sdk/georoutes/src/types/_waypoint_optimization_origin_options.rs @@ -1,6 +1,6 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

    Options related to the origin.

    +///

    Origin related options.

    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct WaypointOptimizationOriginOptions { diff --git a/sdk/georoutes/src/types/builders.rs b/sdk/georoutes/src/types/builders.rs index 2d3ac08a25cf..4ccbe6d8c24d 100644 --- a/sdk/georoutes/src/types/builders.rs +++ b/sdk/georoutes/src/types/builders.rs @@ -57,6 +57,10 @@ pub use crate::types::_waypoint_optimization_rest_cycle_durations::WaypointOptim pub use crate::types::_waypoint_optimization_destination_options::WaypointOptimizationDestinationOptionsBuilder; +pub use crate::types::_waypoint_optimization_clustering_options::WaypointOptimizationClusteringOptionsBuilder; + +pub use crate::types::_waypoint_optimization_driving_distance_options::WaypointOptimizationDrivingDistanceOptionsBuilder; + pub use crate::types::_waypoint_optimization_avoidance_options::WaypointOptimizationAvoidanceOptionsBuilder; pub use crate::types::_waypoint_optimization_avoidance_area::WaypointOptimizationAvoidanceAreaBuilder; diff --git a/sdk/rds/Cargo.toml b/sdk/rds/Cargo.toml index 347c450863dc..d5bb24388549 100644 --- a/sdk/rds/Cargo.toml +++ b/sdk/rds/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-rds" -version = "1.76.0" +version = "1.76.1" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for Amazon Relational Database Service" edition = "2021" diff --git a/sdk/rds/README.md b/sdk/rds/README.md index 877a3e7fcb25..81361ba5fa5c 100644 --- a/sdk/rds/README.md +++ b/sdk/rds/README.md @@ -28,7 +28,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-rds = "1.76.0" +aws-sdk-rds = "1.76.1" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/rds/src/client/create_db_cluster.rs b/sdk/rds/src/client/create_db_cluster.rs index 45c688653656..fd8eac96bee7 100644 --- a/sdk/rds/src/client/create_db_cluster.rs +++ b/sdk/rds/src/client/create_db_cluster.rs @@ -26,7 +26,7 @@ impl super::Client { /// - [`pre_signed_url(impl Into)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::pre_signed_url) / [`set_pre_signed_url(Option)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::set_pre_signed_url):
    required: **false**

    When you are replicating a DB cluster from one Amazon Web Services GovCloud (US) Region to another, an URL that contains a Signature Version 4 signed request for the CreateDBCluster operation to be called in the source Amazon Web Services Region where the DB cluster is replicated from. Specify PreSignedUrl only when you are performing cross-Region replication from an encrypted DB cluster.

    The presigned URL must be a valid request for the CreateDBCluster API operation that can run in the source Amazon Web Services Region that contains the encrypted DB cluster to copy.

    The presigned URL request must contain the following parameter values:

    • KmsKeyId - The KMS key identifier for the KMS key to use to encrypt the copy of the DB cluster in the destination Amazon Web Services Region. This should refer to the same KMS key for both the CreateDBCluster operation that is called in the destination Amazon Web Services Region, and the operation contained in the presigned URL.

    • DestinationRegion - The name of the Amazon Web Services Region that Aurora read replica will be created in.

    • ReplicationSourceIdentifier - The DB cluster identifier for the encrypted DB cluster to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source Amazon Web Services Region. For example, if you are copying an encrypted DB cluster from the us-west-2 Amazon Web Services Region, then your ReplicationSourceIdentifier would look like Example: arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1.

    To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process.

    If you are using an Amazon Web Services SDK tool or the CLI, you can specify SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.

    Valid for Cluster Type: Aurora DB clusters only


    /// - [`enable_iam_database_authentication(bool)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::enable_iam_database_authentication) / [`set_enable_iam_database_authentication(Option)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::set_enable_iam_database_authentication):
    required: **false**

    Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.

    For more information, see IAM Database Authentication in the Amazon Aurora User Guide or IAM database authentication for MariaDB, MySQL, and PostgreSQL in the Amazon RDS User Guide.

    Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters


    /// - [`backtrack_window(i64)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::backtrack_window) / [`set_backtrack_window(Option)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::set_backtrack_window):
    required: **false**

    The target backtrack window, in seconds. To disable backtracking, set this value to 0.

    Valid for Cluster Type: Aurora MySQL DB clusters only

    Default: 0

    Constraints:

    • If specified, this value must be set to a number from 0 to 259,200 (72 hours).


    - /// - [`enable_cloudwatch_logs_exports(impl Into)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::enable_cloudwatch_logs_exports) / [`set_enable_cloudwatch_logs_exports(Option>)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::set_enable_cloudwatch_logs_exports):
    required: **false**

    The list of log types that need to be enabled for exporting to CloudWatch Logs.

    Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

    The following values are valid for each DB engine:

    • Aurora MySQL - audit | error | general | slowquery

    • Aurora PostgreSQL - postgresql

    • RDS for MySQL - error | general | slowquery

    • RDS for PostgreSQL - postgresql | upgrade

    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.


    + /// - [`enable_cloudwatch_logs_exports(impl Into)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::enable_cloudwatch_logs_exports) / [`set_enable_cloudwatch_logs_exports(Option>)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::set_enable_cloudwatch_logs_exports):
    required: **false**

    The list of log types that need to be enabled for exporting to CloudWatch Logs.

    Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

    The following values are valid for each DB engine:

    • Aurora MySQL - audit | error | general | instance | slowquery

    • Aurora PostgreSQL - instance | postgresql

    • RDS for MySQL - error | general | slowquery

    • RDS for PostgreSQL - postgresql | upgrade

    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.


    /// - [`engine_mode(impl Into)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::engine_mode) / [`set_engine_mode(Option)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::set_engine_mode):
    required: **false**

    The DB engine mode of the DB cluster, either provisioned or serverless.

    The serverless engine mode only applies for Aurora Serverless v1 DB clusters. Aurora Serverless v2 DB clusters use the provisioned engine mode.

    For information about limitations and requirements for Serverless DB clusters, see the following sections in the Amazon Aurora User Guide:

    Valid for Cluster Type: Aurora DB clusters only


    /// - [`scaling_configuration(ScalingConfiguration)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::scaling_configuration) / [`set_scaling_configuration(Option)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::set_scaling_configuration):
    required: **false**

    For DB clusters in serverless DB engine mode, the scaling properties of the DB cluster.

    Valid for Cluster Type: Aurora DB clusters only


    /// - [`rds_custom_cluster_configuration(RdsCustomClusterConfiguration)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::rds_custom_cluster_configuration) / [`set_rds_custom_cluster_configuration(Option)`](crate::operation::create_db_cluster::builders::CreateDBClusterFluentBuilder::set_rds_custom_cluster_configuration):
    required: **false**

    Reserved for future use.


    diff --git a/sdk/rds/src/client/create_db_instance.rs b/sdk/rds/src/client/create_db_instance.rs index 58e703401743..4493c3dfe3f6 100644 --- a/sdk/rds/src/client/create_db_instance.rs +++ b/sdk/rds/src/client/create_db_instance.rs @@ -59,7 +59,7 @@ impl super::Client { /// - [`custom_iam_instance_profile(impl Into)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::custom_iam_instance_profile) / [`set_custom_iam_instance_profile(Option)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::set_custom_iam_instance_profile):
    required: **false**

    The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.

    This setting is required for RDS Custom.

    Constraints:

    • The profile must exist in your account.

    • The profile must have an IAM role that Amazon EC2 has permissions to assume.

    • The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom.

    For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.


    /// - [`backup_target(impl Into)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::backup_target) / [`set_backup_target(Option)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::set_backup_target):
    required: **false**

    The location for storing automated backups and manual snapshots.

    Valid Values:

    • outposts (Amazon Web Services Outposts)

    • region (Amazon Web Services Region)

    Default: region

    For more information, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.


    /// - [`network_type(impl Into)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::network_type) / [`set_network_type(Option)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::set_network_type):
    required: **false**

    The network type of the DB instance.

    The network type is determined by the DBSubnetGroup specified for the DB instance. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).

    For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.

    Valid Values: IPV4 | DUAL


    - /// - [`storage_throughput(i32)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::storage_throughput) / [`set_storage_throughput(Option)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::set_storage_throughput):
    required: **false**

    The storage throughput value for the DB instance.

    This setting applies only to the gp3 storage type.

    This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.


    + /// - [`storage_throughput(i32)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::storage_throughput) / [`set_storage_throughput(Option)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::set_storage_throughput):
    required: **false**

    The storage throughput value, in mebibyte per second (MiBps), for the DB instance.

    This setting applies only to the gp3 storage type.

    This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.


    /// - [`manage_master_user_password(bool)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::manage_master_user_password) / [`set_manage_master_user_password(Option)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::set_manage_master_user_password):
    required: **false**

    Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.

    For more information, see Password management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide.

    Constraints:

    • Can't manage the master user password with Amazon Web Services Secrets Manager if MasterUserPassword is specified.


    /// - [`master_user_secret_kms_key_id(impl Into)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::master_user_secret_kms_key_id) / [`set_master_user_secret_kms_key_id(Option)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::set_master_user_secret_kms_key_id):
    required: **false**

    The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in Amazon Web Services Secrets Manager.

    This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager for the DB instance.

    The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.

    If you don't specify MasterUserSecretKmsKeyId, then the aws/secretsmanager KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the aws/secretsmanager KMS key to encrypt the secret, and you must use a customer managed KMS key.

    There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.


    /// - [`ca_certificate_identifier(impl Into)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::ca_certificate_identifier) / [`set_ca_certificate_identifier(Option)`](crate::operation::create_db_instance::builders::CreateDBInstanceFluentBuilder::set_ca_certificate_identifier):
    required: **false**

    The CA certificate identifier to use for the DB instance's server certificate.

    This setting doesn't apply to RDS Custom DB instances.

    For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.


    diff --git a/sdk/rds/src/client/modify_db_cluster.rs b/sdk/rds/src/client/modify_db_cluster.rs index 1e553f7e0ca5..9505bd0280de 100644 --- a/sdk/rds/src/client/modify_db_cluster.rs +++ b/sdk/rds/src/client/modify_db_cluster.rs @@ -16,7 +16,7 @@ impl super::Client { /// - [`preferred_maintenance_window(impl Into)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::preferred_maintenance_window) / [`set_preferred_maintenance_window(Option)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::set_preferred_maintenance_window):
    required: **false**

    The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

    Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

    The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.

    Constraints:

    • Must be in the format ddd:hh24:mi-ddd:hh24:mi.

    • Days must be one of Mon | Tue | Wed | Thu | Fri | Sat | Sun.

    • Must be in Universal Coordinated Time (UTC).

    • Must be at least 30 minutes.


    /// - [`enable_iam_database_authentication(bool)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::enable_iam_database_authentication) / [`set_enable_iam_database_authentication(Option)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::set_enable_iam_database_authentication):
    required: **false**

    Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.

    For more information, see IAM Database Authentication in the Amazon Aurora User Guide or IAM database authentication for MariaDB, MySQL, and PostgreSQL in the Amazon RDS User Guide.

    Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters


    /// - [`backtrack_window(i64)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::backtrack_window) / [`set_backtrack_window(Option)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::set_backtrack_window):
    required: **false**

    The target backtrack window, in seconds. To disable backtracking, set this value to 0.

    Valid for Cluster Type: Aurora MySQL DB clusters only

    Default: 0

    Constraints:

    • If specified, this value must be set to a number from 0 to 259,200 (72 hours).


    - /// - [`cloudwatch_logs_export_configuration(CloudwatchLogsExportConfiguration)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::cloudwatch_logs_export_configuration) / [`set_cloudwatch_logs_export_configuration(Option)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::set_cloudwatch_logs_export_configuration):
    required: **false**

    The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB cluster.

    Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

    The following values are valid for each DB engine:

    • Aurora MySQL - audit | error | general | slowquery

    • Aurora PostgreSQL - postgresql

    • RDS for MySQL - error | general | slowquery

    • RDS for PostgreSQL - postgresql | upgrade

    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.


    + /// - [`cloudwatch_logs_export_configuration(CloudwatchLogsExportConfiguration)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::cloudwatch_logs_export_configuration) / [`set_cloudwatch_logs_export_configuration(Option)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::set_cloudwatch_logs_export_configuration):
    required: **false**

    The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB cluster.

    Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

    The following values are valid for each DB engine:

    • Aurora MySQL - audit | error | general | instance | slowquery

    • Aurora PostgreSQL - instance | postgresql

    • RDS for MySQL - error | general | slowquery

    • RDS for PostgreSQL - postgresql | upgrade

    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.


    /// - [`engine_version(impl Into)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::engine_version) / [`set_engine_version(Option)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::set_engine_version):
    required: **false**

    The version number of the database engine to which you want to upgrade. Changing this parameter results in an outage. The change is applied during the next maintenance window unless ApplyImmediately is enabled.

    If the cluster that you're modifying has one or more read replicas, all replicas must be running an engine version that's the same or later than the version you specify.

    To list all of the available engine versions for Aurora MySQL, use the following command:

    aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions\[\].EngineVersion"

    To list all of the available engine versions for Aurora PostgreSQL, use the following command:

    aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions\[\].EngineVersion"

    To list all of the available engine versions for RDS for MySQL, use the following command:

    aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions\[\].EngineVersion"

    To list all of the available engine versions for RDS for PostgreSQL, use the following command:

    aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions\[\].EngineVersion"

    Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters


    /// - [`allow_major_version_upgrade(bool)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::allow_major_version_upgrade) / [`set_allow_major_version_upgrade(Option)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::set_allow_major_version_upgrade):
    required: **false**

    Specifies whether major version upgrades are allowed.

    Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

    Constraints:

    • You must allow major version upgrades when specifying a value for the EngineVersion parameter that is a different major version than the DB cluster's current version.


    /// - [`db_instance_parameter_group_name(impl Into)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::db_instance_parameter_group_name) / [`set_db_instance_parameter_group_name(Option)`](crate::operation::modify_db_cluster::builders::ModifyDBClusterFluentBuilder::set_db_instance_parameter_group_name):
    required: **false**

    The name of the DB parameter group to apply to all instances of the DB cluster.

    When you apply a parameter group using the DBInstanceParameterGroupName parameter, the DB cluster isn't rebooted automatically. Also, parameter changes are applied immediately rather than during the next maintenance window.

    Valid for Cluster Type: Aurora DB clusters only

    Default: The existing name setting

    Constraints:

    • The DB parameter group must be in the same DB parameter group family as this DB cluster.

    • The DBInstanceParameterGroupName parameter is valid in combination with the AllowMajorVersionUpgrade parameter for a major version upgrade only.


    diff --git a/sdk/rds/src/client/restore_db_cluster_from_s3.rs b/sdk/rds/src/client/restore_db_cluster_from_s3.rs index 7af73d3a8f00..b4b97c5b9f03 100644 --- a/sdk/rds/src/client/restore_db_cluster_from_s3.rs +++ b/sdk/rds/src/client/restore_db_cluster_from_s3.rs @@ -29,7 +29,7 @@ impl super::Client { /// - [`s3_prefix(impl Into)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::s3_prefix) / [`set_s3_prefix(Option)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_s3_prefix):
    required: **false**

    The prefix for all of the file names that contain the data used to create the Amazon Aurora DB cluster. If you do not specify a SourceS3Prefix value, then the Amazon Aurora DB cluster is created by using all of the files in the Amazon S3 bucket.


    /// - [`s3_ingestion_role_arn(impl Into)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::s3_ingestion_role_arn) / [`set_s3_ingestion_role_arn(Option)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_s3_ingestion_role_arn):
    required: **true**

    The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that authorizes Amazon RDS to access the Amazon S3 bucket on your behalf.


    /// - [`backtrack_window(i64)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::backtrack_window) / [`set_backtrack_window(Option)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_backtrack_window):
    required: **false**

    The target backtrack window, in seconds. To disable backtracking, set this value to 0.

    Currently, Backtrack is only supported for Aurora MySQL DB clusters.

    Default: 0

    Constraints:

    • If specified, this value must be set to a number from 0 to 259,200 (72 hours).


    - /// - [`enable_cloudwatch_logs_exports(impl Into)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::enable_cloudwatch_logs_exports) / [`set_enable_cloudwatch_logs_exports(Option>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_enable_cloudwatch_logs_exports):
    required: **false**

    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

    Aurora MySQL

    Possible values are audit, error, general, and slowquery.

    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.


    + /// - [`enable_cloudwatch_logs_exports(impl Into)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::enable_cloudwatch_logs_exports) / [`set_enable_cloudwatch_logs_exports(Option>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_enable_cloudwatch_logs_exports):
    required: **false**

    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

    Aurora MySQL

    Possible values are audit, error, general, instance, and slowquery.

    Aurora PostgreSQL

    Possible value are instance and postgresql.

    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.


    /// - [`deletion_protection(bool)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::deletion_protection) / [`set_deletion_protection(Option)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_deletion_protection):
    required: **false**

    Specifies whether to enable deletion protection for the DB cluster. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled.


    /// - [`copy_tags_to_snapshot(bool)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::copy_tags_to_snapshot) / [`set_copy_tags_to_snapshot(Option)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_copy_tags_to_snapshot):
    required: **false**

    Specifies whether to copy all tags from the restored DB cluster to snapshots of the restored DB cluster. The default is not to copy them.


    /// - [`domain(impl Into)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::domain) / [`set_domain(Option)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_domain):
    required: **false**

    Specify the Active Directory directory ID to restore the DB cluster in. The domain must be created prior to this operation.

    For Amazon Aurora DB clusters, Amazon RDS can use Kerberos Authentication to authenticate users that connect to the DB cluster. For more information, see Kerberos Authentication in the Amazon Aurora User Guide.


    diff --git a/sdk/rds/src/client/restore_db_cluster_from_snapshot.rs b/sdk/rds/src/client/restore_db_cluster_from_snapshot.rs index dbbbe605c172..49f8cad4f3e4 100644 --- a/sdk/rds/src/client/restore_db_cluster_from_snapshot.rs +++ b/sdk/rds/src/client/restore_db_cluster_from_snapshot.rs @@ -17,7 +17,7 @@ impl super::Client { /// - [`kms_key_id(impl Into)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::kms_key_id) / [`set_kms_key_id(Option)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::set_kms_key_id):
    required: **false**

    The Amazon Web Services KMS key identifier to use when restoring an encrypted DB cluster from a DB snapshot or DB cluster snapshot.

    The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.

    When you don't specify a value for the KmsKeyId parameter, then the following occurs:

    • If the DB snapshot or DB cluster snapshot in SnapshotIdentifier is encrypted, then the restored DB cluster is encrypted using the KMS key that was used to encrypt the DB snapshot or DB cluster snapshot.

    • If the DB snapshot or DB cluster snapshot in SnapshotIdentifier isn't encrypted, then the restored DB cluster isn't encrypted.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    /// - [`enable_iam_database_authentication(bool)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::enable_iam_database_authentication) / [`set_enable_iam_database_authentication(Option)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::set_enable_iam_database_authentication):
    required: **false**

    Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.

    For more information, see IAM Database Authentication in the Amazon Aurora User Guide or IAM database authentication for MariaDB, MySQL, and PostgreSQL in the Amazon RDS User Guide.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    /// - [`backtrack_window(i64)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::backtrack_window) / [`set_backtrack_window(Option)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::set_backtrack_window):
    required: **false**

    The target backtrack window, in seconds. To disable backtracking, set this value to 0.

    Currently, Backtrack is only supported for Aurora MySQL DB clusters.

    Default: 0

    Constraints:

    • If specified, this value must be set to a number from 0 to 259,200 (72 hours).

    Valid for: Aurora DB clusters only


    - /// - [`enable_cloudwatch_logs_exports(impl Into)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::enable_cloudwatch_logs_exports) / [`set_enable_cloudwatch_logs_exports(Option>)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::set_enable_cloudwatch_logs_exports):
    required: **false**

    The list of logs that the restored DB cluster is to export to Amazon CloudWatch Logs. The values in the list depend on the DB engine being used.

    RDS for MySQL

    Possible values are error, general, and slowquery.

    RDS for PostgreSQL

    Possible values are postgresql and upgrade.

    Aurora MySQL

    Possible values are audit, error, general, and slowquery.

    Aurora PostgreSQL

    Possible value is postgresql.

    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    + /// - [`enable_cloudwatch_logs_exports(impl Into)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::enable_cloudwatch_logs_exports) / [`set_enable_cloudwatch_logs_exports(Option>)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::set_enable_cloudwatch_logs_exports):
    required: **false**

    The list of logs that the restored DB cluster is to export to Amazon CloudWatch Logs. The values in the list depend on the DB engine being used.

    RDS for MySQL

    Possible values are error, general, and slowquery.

    RDS for PostgreSQL

    Possible values are postgresql and upgrade.

    Aurora MySQL

    Possible values are audit, error, general, instance, and slowquery.

    Aurora PostgreSQL

    Possible value are instance and postgresql.

    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    /// - [`engine_mode(impl Into)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::engine_mode) / [`set_engine_mode(Option)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::set_engine_mode):
    required: **false**

    The DB engine mode of the DB cluster, either provisioned or serverless.

    For more information, see CreateDBCluster.

    Valid for: Aurora DB clusters only


    /// - [`scaling_configuration(ScalingConfiguration)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::scaling_configuration) / [`set_scaling_configuration(Option)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::set_scaling_configuration):
    required: **false**

    For DB clusters in serverless DB engine mode, the scaling properties of the DB cluster.

    Valid for: Aurora DB clusters only


    /// - [`db_cluster_parameter_group_name(impl Into)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::db_cluster_parameter_group_name) / [`set_db_cluster_parameter_group_name(Option)`](crate::operation::restore_db_cluster_from_snapshot::builders::RestoreDBClusterFromSnapshotFluentBuilder::set_db_cluster_parameter_group_name):
    required: **false**

    The name of the DB cluster parameter group to associate with this DB cluster. If this argument is omitted, the default DB cluster parameter group for the specified engine is used.

    Constraints:

    • If supplied, must match the name of an existing default DB cluster parameter group.

    • Must be 1 to 255 letters, numbers, or hyphens.

    • First character must be a letter.

    • Can't end with a hyphen or contain two consecutive hyphens.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    diff --git a/sdk/rds/src/client/restore_db_cluster_to_point_in_time.rs b/sdk/rds/src/client/restore_db_cluster_to_point_in_time.rs index 5b8becd3ee7c..5b59c74a03cf 100644 --- a/sdk/rds/src/client/restore_db_cluster_to_point_in_time.rs +++ b/sdk/rds/src/client/restore_db_cluster_to_point_in_time.rs @@ -16,7 +16,7 @@ impl super::Client { /// - [`kms_key_id(impl Into)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::kms_key_id) / [`set_kms_key_id(Option)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::set_kms_key_id):
    required: **false**

    The Amazon Web Services KMS key identifier to use when restoring an encrypted DB cluster from an encrypted DB cluster.

    The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.

    You can restore to a new DB cluster and encrypt the new DB cluster with a KMS key that is different from the KMS key used to encrypt the source DB cluster. The new DB cluster is encrypted with the KMS key identified by the KmsKeyId parameter.

    If you don't specify a value for the KmsKeyId parameter, then the following occurs:

    • If the DB cluster is encrypted, then the restored DB cluster is encrypted using the KMS key that was used to encrypt the source DB cluster.

    • If the DB cluster isn't encrypted, then the restored DB cluster isn't encrypted.

    If DBClusterIdentifier refers to a DB cluster that isn't encrypted, then the restore request is rejected.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    /// - [`enable_iam_database_authentication(bool)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::enable_iam_database_authentication) / [`set_enable_iam_database_authentication(Option)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::set_enable_iam_database_authentication):
    required: **false**

    Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.

    For more information, see IAM Database Authentication in the Amazon Aurora User Guide or IAM database authentication for MariaDB, MySQL, and PostgreSQL in the Amazon RDS User Guide.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    /// - [`backtrack_window(i64)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::backtrack_window) / [`set_backtrack_window(Option)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::set_backtrack_window):
    required: **false**

    The target backtrack window, in seconds. To disable backtracking, set this value to 0.

    Default: 0

    Constraints:

    • If specified, this value must be set to a number from 0 to 259,200 (72 hours).

    Valid for: Aurora MySQL DB clusters only


    - /// - [`enable_cloudwatch_logs_exports(impl Into)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::enable_cloudwatch_logs_exports) / [`set_enable_cloudwatch_logs_exports(Option>)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::set_enable_cloudwatch_logs_exports):
    required: **false**

    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

    RDS for MySQL

    Possible values are error, general, and slowquery.

    RDS for PostgreSQL

    Possible values are postgresql and upgrade.

    Aurora MySQL

    Possible values are audit, error, general, and slowquery.

    Aurora PostgreSQL

    Possible value is postgresql.

    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    + /// - [`enable_cloudwatch_logs_exports(impl Into)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::enable_cloudwatch_logs_exports) / [`set_enable_cloudwatch_logs_exports(Option>)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::set_enable_cloudwatch_logs_exports):
    required: **false**

    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

    RDS for MySQL

    Possible values are error, general, and slowquery.

    RDS for PostgreSQL

    Possible values are postgresql and upgrade.

    Aurora MySQL

    Possible values are audit, error, general, instance, and slowquery.

    Aurora PostgreSQL

    Possible value are instance and postgresql.

    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    /// - [`db_cluster_parameter_group_name(impl Into)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::db_cluster_parameter_group_name) / [`set_db_cluster_parameter_group_name(Option)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::set_db_cluster_parameter_group_name):
    required: **false**

    The name of the custom DB cluster parameter group to associate with this DB cluster.

    If the DBClusterParameterGroupName parameter is omitted, the default DB cluster parameter group for the specified engine is used.

    Constraints:

    • If supplied, must match the name of an existing DB cluster parameter group.

    • Must be 1 to 255 letters, numbers, or hyphens.

    • First character must be a letter.

    • Can't end with a hyphen or contain two consecutive hyphens.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    /// - [`deletion_protection(bool)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::deletion_protection) / [`set_deletion_protection(Option)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::set_deletion_protection):
    required: **false**

    Specifies whether to enable deletion protection for the DB cluster. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    /// - [`copy_tags_to_snapshot(bool)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::copy_tags_to_snapshot) / [`set_copy_tags_to_snapshot(Option)`](crate::operation::restore_db_cluster_to_point_in_time::builders::RestoreDBClusterToPointInTimeFluentBuilder::set_copy_tags_to_snapshot):
    required: **false**

    Specifies whether to copy all tags from the restored DB cluster to snapshots of the restored DB cluster. The default is not to copy them.

    Valid for: Aurora DB clusters and Multi-AZ DB clusters


    diff --git a/sdk/rds/src/lib.rs b/sdk/rds/src/lib.rs index 3b0f23b48a3f..c59c37b2309f 100644 --- a/sdk/rds/src/lib.rs +++ b/sdk/rds/src/lib.rs @@ -45,7 +45,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-rds = "1.76.0" +//! aws-sdk-rds = "1.76.1" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/rds/src/operation/create_db_cluster/_create_db_cluster_input.rs b/sdk/rds/src/operation/create_db_cluster/_create_db_cluster_input.rs index 826e76ac09cd..4e856d8827da 100644 --- a/sdk/rds/src/operation/create_db_cluster/_create_db_cluster_input.rs +++ b/sdk/rds/src/operation/create_db_cluster/_create_db_cluster_input.rs @@ -225,9 +225,9 @@ pub struct CreateDbClusterInput { ///

    The following values are valid for each DB engine:

    ///
      ///
    • - ///

      Aurora MySQL - audit | error | general | slowquery

    • + ///

      Aurora MySQL - audit | error | general | instance | slowquery

      ///
    • - ///

      Aurora PostgreSQL - postgresql

    • + ///

      Aurora PostgreSQL - instance | postgresql

      ///
    • ///

      RDS for MySQL - error | general | slowquery

    • ///
    • @@ -712,9 +712,9 @@ impl CreateDbClusterInput { ///

      The following values are valid for each DB engine:

      ///
        ///
      • - ///

        Aurora MySQL - audit | error | general | slowquery

      • + ///

        Aurora MySQL - audit | error | general | instance | slowquery

        ///
      • - ///

        Aurora PostgreSQL - postgresql

      • + ///

        Aurora PostgreSQL - instance | postgresql

        ///
      • ///

        RDS for MySQL - error | general | slowquery

      • ///
      • @@ -1923,9 +1923,9 @@ impl CreateDbClusterInputBuilder { ///

        The following values are valid for each DB engine:

        ///
          ///
        • - ///

          Aurora MySQL - audit | error | general | slowquery

        • + ///

          Aurora MySQL - audit | error | general | instance | slowquery

          ///
        • - ///

          Aurora PostgreSQL - postgresql

        • + ///

          Aurora PostgreSQL - instance | postgresql

          ///
        • ///

          RDS for MySQL - error | general | slowquery

        • ///
        • @@ -1944,9 +1944,9 @@ impl CreateDbClusterInputBuilder { ///

          The following values are valid for each DB engine:

          ///
            ///
          • - ///

            Aurora MySQL - audit | error | general | slowquery

          • + ///

            Aurora MySQL - audit | error | general | instance | slowquery

            ///
          • - ///

            Aurora PostgreSQL - postgresql

          • + ///

            Aurora PostgreSQL - instance | postgresql

            ///
          • ///

            RDS for MySQL - error | general | slowquery

          • ///
          • @@ -1963,9 +1963,9 @@ impl CreateDbClusterInputBuilder { ///

            The following values are valid for each DB engine:

            ///
              ///
            • - ///

              Aurora MySQL - audit | error | general | slowquery

            • + ///

              Aurora MySQL - audit | error | general | instance | slowquery

              ///
            • - ///

              Aurora PostgreSQL - postgresql

            • + ///

              Aurora PostgreSQL - instance | postgresql

              ///
            • ///

              RDS for MySQL - error | general | slowquery

            • ///
            • diff --git a/sdk/rds/src/operation/create_db_cluster/builders.rs b/sdk/rds/src/operation/create_db_cluster/builders.rs index 20dab4c97104..2f93cc9b9d7f 100644 --- a/sdk/rds/src/operation/create_db_cluster/builders.rs +++ b/sdk/rds/src/operation/create_db_cluster/builders.rs @@ -968,9 +968,9 @@ impl CreateDBClusterFluentBuilder { ///

              The following values are valid for each DB engine:

              ///
                ///
              • - ///

                Aurora MySQL - audit | error | general | slowquery

              • + ///

                Aurora MySQL - audit | error | general | instance | slowquery

                ///
              • - ///

                Aurora PostgreSQL - postgresql

              • + ///

                Aurora PostgreSQL - instance | postgresql

                ///
              • ///

                RDS for MySQL - error | general | slowquery

              • ///
              • @@ -987,9 +987,9 @@ impl CreateDBClusterFluentBuilder { ///

                The following values are valid for each DB engine:

                ///
                  ///
                • - ///

                  Aurora MySQL - audit | error | general | slowquery

                • + ///

                  Aurora MySQL - audit | error | general | instance | slowquery

                  ///
                • - ///

                  Aurora PostgreSQL - postgresql

                • + ///

                  Aurora PostgreSQL - instance | postgresql

                  ///
                • ///

                  RDS for MySQL - error | general | slowquery

                • ///
                • @@ -1006,9 +1006,9 @@ impl CreateDBClusterFluentBuilder { ///

                  The following values are valid for each DB engine:

                  ///
                    ///
                  • - ///

                    Aurora MySQL - audit | error | general | slowquery

                  • + ///

                    Aurora MySQL - audit | error | general | instance | slowquery

                    ///
                  • - ///

                    Aurora PostgreSQL - postgresql

                  • + ///

                    Aurora PostgreSQL - instance | postgresql

                    ///
                  • ///

                    RDS for MySQL - error | general | slowquery

                  • ///
                  • diff --git a/sdk/rds/src/operation/create_db_instance/_create_db_instance_input.rs b/sdk/rds/src/operation/create_db_instance/_create_db_instance_input.rs index afd216911f14..d59ceb4a2c4b 100644 --- a/sdk/rds/src/operation/create_db_instance/_create_db_instance_input.rs +++ b/sdk/rds/src/operation/create_db_instance/_create_db_instance_input.rs @@ -804,7 +804,7 @@ pub struct CreateDbInstanceInput { ///

                    For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.

                    ///

                    Valid Values: IPV4 | DUAL

                    pub network_type: ::std::option::Option<::std::string::String>, - ///

                    The storage throughput value for the DB instance.

                    + ///

                    The storage throughput value, in mebibyte per second (MiBps), for the DB instance.

                    ///

                    This setting applies only to the gp3 storage type.

                    ///

                    This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.

                    pub storage_throughput: ::std::option::Option, @@ -1773,7 +1773,7 @@ impl CreateDbInstanceInput { pub fn network_type(&self) -> ::std::option::Option<&str> { self.network_type.as_deref() } - ///

                    The storage throughput value for the DB instance.

                    + ///

                    The storage throughput value, in mebibyte per second (MiBps), for the DB instance.

                    ///

                    This setting applies only to the gp3 storage type.

                    ///

                    This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.

                    pub fn storage_throughput(&self) -> ::std::option::Option { @@ -4797,21 +4797,21 @@ impl CreateDbInstanceInputBuilder { pub fn get_network_type(&self) -> &::std::option::Option<::std::string::String> { &self.network_type } - ///

                    The storage throughput value for the DB instance.

                    + ///

                    The storage throughput value, in mebibyte per second (MiBps), for the DB instance.

                    ///

                    This setting applies only to the gp3 storage type.

                    ///

                    This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.

                    pub fn storage_throughput(mut self, input: i32) -> Self { self.storage_throughput = ::std::option::Option::Some(input); self } - ///

                    The storage throughput value for the DB instance.

                    + ///

                    The storage throughput value, in mebibyte per second (MiBps), for the DB instance.

                    ///

                    This setting applies only to the gp3 storage type.

                    ///

                    This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.

                    pub fn set_storage_throughput(mut self, input: ::std::option::Option) -> Self { self.storage_throughput = input; self } - ///

                    The storage throughput value for the DB instance.

                    + ///

                    The storage throughput value, in mebibyte per second (MiBps), for the DB instance.

                    ///

                    This setting applies only to the gp3 storage type.

                    ///

                    This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.

                    pub fn get_storage_throughput(&self) -> &::std::option::Option { diff --git a/sdk/rds/src/operation/create_db_instance/builders.rs b/sdk/rds/src/operation/create_db_instance/builders.rs index ce0840c1f356..bd40aeb941fc 100644 --- a/sdk/rds/src/operation/create_db_instance/builders.rs +++ b/sdk/rds/src/operation/create_db_instance/builders.rs @@ -2989,21 +2989,21 @@ impl CreateDBInstanceFluentBuilder { pub fn get_network_type(&self) -> &::std::option::Option<::std::string::String> { self.inner.get_network_type() } - ///

                    The storage throughput value for the DB instance.

                    + ///

                    The storage throughput value, in mebibyte per second (MiBps), for the DB instance.

                    ///

                    This setting applies only to the gp3 storage type.

                    ///

                    This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.

                    pub fn storage_throughput(mut self, input: i32) -> Self { self.inner = self.inner.storage_throughput(input); self } - ///

                    The storage throughput value for the DB instance.

                    + ///

                    The storage throughput value, in mebibyte per second (MiBps), for the DB instance.

                    ///

                    This setting applies only to the gp3 storage type.

                    ///

                    This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.

                    pub fn set_storage_throughput(mut self, input: ::std::option::Option) -> Self { self.inner = self.inner.set_storage_throughput(input); self } - ///

                    The storage throughput value for the DB instance.

                    + ///

                    The storage throughput value, in mebibyte per second (MiBps), for the DB instance.

                    ///

                    This setting applies only to the gp3 storage type.

                    ///

                    This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.

                    pub fn get_storage_throughput(&self) -> &::std::option::Option { diff --git a/sdk/rds/src/operation/modify_db_cluster/_modify_db_cluster_input.rs b/sdk/rds/src/operation/modify_db_cluster/_modify_db_cluster_input.rs index 52b09460c797..15c2fd560e8a 100644 --- a/sdk/rds/src/operation/modify_db_cluster/_modify_db_cluster_input.rs +++ b/sdk/rds/src/operation/modify_db_cluster/_modify_db_cluster_input.rs @@ -113,9 +113,9 @@ pub struct ModifyDbClusterInput { ///

                    The following values are valid for each DB engine:

                    ///
                      ///
                    • - ///

                      Aurora MySQL - audit | error | general | slowquery

                    • + ///

                      Aurora MySQL - audit | error | general | instance | slowquery

                      ///
                    • - ///

                      Aurora PostgreSQL - postgresql

                    • + ///

                      Aurora PostgreSQL - instance | postgresql

                      ///
                    • ///

                      RDS for MySQL - error | general | slowquery

                    • ///
                    • @@ -466,9 +466,9 @@ impl ModifyDbClusterInput { ///

                      The following values are valid for each DB engine:

                      ///
                        ///
                      • - ///

                        Aurora MySQL - audit | error | general | slowquery

                      • + ///

                        Aurora MySQL - audit | error | general | instance | slowquery

                        ///
                      • - ///

                        Aurora PostgreSQL - postgresql

                      • + ///

                        Aurora PostgreSQL - instance | postgresql

                        ///
                      • ///

                        RDS for MySQL - error | general | slowquery

                      • ///
                      • @@ -1234,9 +1234,9 @@ impl ModifyDbClusterInputBuilder { ///

                        The following values are valid for each DB engine:

                        ///
                          ///
                        • - ///

                          Aurora MySQL - audit | error | general | slowquery

                        • + ///

                          Aurora MySQL - audit | error | general | instance | slowquery

                          ///
                        • - ///

                          Aurora PostgreSQL - postgresql

                        • + ///

                          Aurora PostgreSQL - instance | postgresql

                          ///
                        • ///

                          RDS for MySQL - error | general | slowquery

                        • ///
                        • @@ -1253,9 +1253,9 @@ impl ModifyDbClusterInputBuilder { ///

                          The following values are valid for each DB engine:

                          ///
                            ///
                          • - ///

                            Aurora MySQL - audit | error | general | slowquery

                          • + ///

                            Aurora MySQL - audit | error | general | instance | slowquery

                            ///
                          • - ///

                            Aurora PostgreSQL - postgresql

                          • + ///

                            Aurora PostgreSQL - instance | postgresql

                            ///
                          • ///

                            RDS for MySQL - error | general | slowquery

                          • ///
                          • @@ -1272,9 +1272,9 @@ impl ModifyDbClusterInputBuilder { ///

                            The following values are valid for each DB engine:

                            ///
                              ///
                            • - ///

                              Aurora MySQL - audit | error | general | slowquery

                            • + ///

                              Aurora MySQL - audit | error | general | instance | slowquery

                              ///
                            • - ///

                              Aurora PostgreSQL - postgresql

                            • + ///

                              Aurora PostgreSQL - instance | postgresql

                              ///
                            • ///

                              RDS for MySQL - error | general | slowquery

                            • ///
                            • diff --git a/sdk/rds/src/operation/modify_db_cluster/builders.rs b/sdk/rds/src/operation/modify_db_cluster/builders.rs index e7736b938cf8..e4415d5789b6 100644 --- a/sdk/rds/src/operation/modify_db_cluster/builders.rs +++ b/sdk/rds/src/operation/modify_db_cluster/builders.rs @@ -536,9 +536,9 @@ impl ModifyDBClusterFluentBuilder { ///

                              The following values are valid for each DB engine:

                              ///
                                ///
                              • - ///

                                Aurora MySQL - audit | error | general | slowquery

                              • + ///

                                Aurora MySQL - audit | error | general | instance | slowquery

                                ///
                              • - ///

                                Aurora PostgreSQL - postgresql

                              • + ///

                                Aurora PostgreSQL - instance | postgresql

                                ///
                              • ///

                                RDS for MySQL - error | general | slowquery

                              • ///
                              • @@ -555,9 +555,9 @@ impl ModifyDBClusterFluentBuilder { ///

                                The following values are valid for each DB engine:

                                ///
                                  ///
                                • - ///

                                  Aurora MySQL - audit | error | general | slowquery

                                • + ///

                                  Aurora MySQL - audit | error | general | instance | slowquery

                                  ///
                                • - ///

                                  Aurora PostgreSQL - postgresql

                                • + ///

                                  Aurora PostgreSQL - instance | postgresql

                                  ///
                                • ///

                                  RDS for MySQL - error | general | slowquery

                                • ///
                                • @@ -574,9 +574,9 @@ impl ModifyDBClusterFluentBuilder { ///

                                  The following values are valid for each DB engine:

                                  ///
                                    ///
                                  • - ///

                                    Aurora MySQL - audit | error | general | slowquery

                                  • + ///

                                    Aurora MySQL - audit | error | general | instance | slowquery

                                    ///
                                  • - ///

                                    Aurora PostgreSQL - postgresql

                                  • + ///

                                    Aurora PostgreSQL - instance | postgresql

                                    ///
                                  • ///

                                    RDS for MySQL - error | general | slowquery

                                  • ///
                                  • diff --git a/sdk/rds/src/operation/restore_db_cluster_from_s3/_restore_db_cluster_from_s3_input.rs b/sdk/rds/src/operation/restore_db_cluster_from_s3/_restore_db_cluster_from_s3_input.rs index 459566aef58e..b9a12c7c9ed6 100644 --- a/sdk/rds/src/operation/restore_db_cluster_from_s3/_restore_db_cluster_from_s3_input.rs +++ b/sdk/rds/src/operation/restore_db_cluster_from_s3/_restore_db_cluster_from_s3_input.rs @@ -134,7 +134,10 @@ pub struct RestoreDbClusterFromS3Input { pub backtrack_window: ::std::option::Option, ///

                                    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    + ///

                                    Aurora PostgreSQL

                                    + ///

                                    Possible value are instance and postgresql.

                                    + ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    pub enable_cloudwatch_logs_exports: ::std::option::Option<::std::vec::Vec<::std::string::String>>, ///

                                    Specifies whether to enable deletion protection for the DB cluster. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled.

                                    @@ -384,7 +387,10 @@ impl RestoreDbClusterFromS3Input { } ///

                                    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    + ///

                                    Aurora PostgreSQL

                                    + ///

                                    Possible value are instance and postgresql.

                                    + ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    /// /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.enable_cloudwatch_logs_exports.is_none()`. @@ -1144,7 +1150,10 @@ impl RestoreDbClusterFromS3InputBuilder { /// ///

                                    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    + ///

                                    Aurora PostgreSQL

                                    + ///

                                    Possible value are instance and postgresql.

                                    + ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    pub fn enable_cloudwatch_logs_exports(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { let mut v = self.enable_cloudwatch_logs_exports.unwrap_or_default(); @@ -1154,7 +1163,10 @@ impl RestoreDbClusterFromS3InputBuilder { } ///

                                    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    + ///

                                    Aurora PostgreSQL

                                    + ///

                                    Possible value are instance and postgresql.

                                    + ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    pub fn set_enable_cloudwatch_logs_exports(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.enable_cloudwatch_logs_exports = input; @@ -1162,7 +1174,10 @@ impl RestoreDbClusterFromS3InputBuilder { } ///

                                    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    + ///

                                    Aurora PostgreSQL

                                    + ///

                                    Possible value are instance and postgresql.

                                    + ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    pub fn get_enable_cloudwatch_logs_exports(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { &self.enable_cloudwatch_logs_exports diff --git a/sdk/rds/src/operation/restore_db_cluster_from_s3/builders.rs b/sdk/rds/src/operation/restore_db_cluster_from_s3/builders.rs index 5c113d117994..45171558ae6a 100644 --- a/sdk/rds/src/operation/restore_db_cluster_from_s3/builders.rs +++ b/sdk/rds/src/operation/restore_db_cluster_from_s3/builders.rs @@ -730,7 +730,10 @@ impl RestoreDBClusterFromS3FluentBuilder { /// ///

                                    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    + ///

                                    Aurora PostgreSQL

                                    + ///

                                    Possible value are instance and postgresql.

                                    + ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    pub fn enable_cloudwatch_logs_exports(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.inner = self.inner.enable_cloudwatch_logs_exports(input.into()); @@ -738,7 +741,10 @@ impl RestoreDBClusterFromS3FluentBuilder { } ///

                                    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    + ///

                                    Aurora PostgreSQL

                                    + ///

                                    Possible value are instance and postgresql.

                                    + ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    pub fn set_enable_cloudwatch_logs_exports(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self { self.inner = self.inner.set_enable_cloudwatch_logs_exports(input); @@ -746,7 +752,10 @@ impl RestoreDBClusterFromS3FluentBuilder { } ///

                                    The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    + ///

                                    Aurora PostgreSQL

                                    + ///

                                    Possible value are instance and postgresql.

                                    + ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    pub fn get_enable_cloudwatch_logs_exports(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> { self.inner.get_enable_cloudwatch_logs_exports() diff --git a/sdk/rds/src/operation/restore_db_cluster_from_snapshot/_restore_db_cluster_from_snapshot_input.rs b/sdk/rds/src/operation/restore_db_cluster_from_snapshot/_restore_db_cluster_from_snapshot_input.rs index 06408d29875c..2a576882d01f 100644 --- a/sdk/rds/src/operation/restore_db_cluster_from_snapshot/_restore_db_cluster_from_snapshot_input.rs +++ b/sdk/rds/src/operation/restore_db_cluster_from_snapshot/_restore_db_cluster_from_snapshot_input.rs @@ -107,9 +107,9 @@ pub struct RestoreDbClusterFromSnapshotInput { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -380,9 +380,9 @@ impl RestoreDbClusterFromSnapshotInput { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -1041,9 +1041,9 @@ impl RestoreDbClusterFromSnapshotInputBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -1059,9 +1059,9 @@ impl RestoreDbClusterFromSnapshotInputBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -1075,9 +1075,9 @@ impl RestoreDbClusterFromSnapshotInputBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    diff --git a/sdk/rds/src/operation/restore_db_cluster_from_snapshot/builders.rs b/sdk/rds/src/operation/restore_db_cluster_from_snapshot/builders.rs index b04853a8fb45..fc5802bcc4e8 100644 --- a/sdk/rds/src/operation/restore_db_cluster_from_snapshot/builders.rs +++ b/sdk/rds/src/operation/restore_db_cluster_from_snapshot/builders.rs @@ -542,9 +542,9 @@ impl RestoreDBClusterFromSnapshotFluentBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -558,9 +558,9 @@ impl RestoreDBClusterFromSnapshotFluentBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -574,9 +574,9 @@ impl RestoreDBClusterFromSnapshotFluentBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    diff --git a/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/_restore_db_cluster_to_point_in_time_input.rs b/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/_restore_db_cluster_to_point_in_time_input.rs index 1328359526b7..4319034fa8b4 100644 --- a/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/_restore_db_cluster_to_point_in_time_input.rs +++ b/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/_restore_db_cluster_to_point_in_time_input.rs @@ -105,9 +105,9 @@ pub struct RestoreDbClusterToPointInTimeInput { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -374,9 +374,9 @@ impl RestoreDbClusterToPointInTimeInput { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -1017,9 +1017,9 @@ impl RestoreDbClusterToPointInTimeInputBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -1035,9 +1035,9 @@ impl RestoreDbClusterToPointInTimeInputBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -1051,9 +1051,9 @@ impl RestoreDbClusterToPointInTimeInputBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    diff --git a/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/builders.rs b/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/builders.rs index b3c60c636066..a34bf0217cef 100644 --- a/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/builders.rs +++ b/sdk/rds/src/operation/restore_db_cluster_to_point_in_time/builders.rs @@ -522,9 +522,9 @@ impl RestoreDBClusterToPointInTimeFluentBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -538,9 +538,9 @@ impl RestoreDBClusterToPointInTimeFluentBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    @@ -554,9 +554,9 @@ impl RestoreDBClusterToPointInTimeFluentBuilder { ///

                                    RDS for PostgreSQL

                                    ///

                                    Possible values are postgresql and upgrade.

                                    ///

                                    Aurora MySQL

                                    - ///

                                    Possible values are audit, error, general, and slowquery.

                                    + ///

                                    Possible values are audit, error, general, instance, and slowquery.

                                    ///

                                    Aurora PostgreSQL

                                    - ///

                                    Possible value is postgresql.

                                    + ///

                                    Possible value are instance and postgresql.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon RDS, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

                                    ///

                                    For more information about exporting CloudWatch Logs for Amazon Aurora, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

                                    ///

                                    Valid for: Aurora DB clusters and Multi-AZ DB clusters

                                    diff --git a/sdk/rds/src/operation/stop_db_instance/builders.rs b/sdk/rds/src/operation/stop_db_instance/builders.rs index d79d27347ef5..9bbed6015ea3 100644 --- a/sdk/rds/src/operation/stop_db_instance/builders.rs +++ b/sdk/rds/src/operation/stop_db_instance/builders.rs @@ -22,7 +22,7 @@ impl crate::operation::stop_db_instance::builders::StopDbInstanceInputBuilder { } /// Fluent builder constructing a request to `StopDBInstance`. /// -///

                                    Stops an Amazon RDS DB instance. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if necessary.

                                    +///

                                    Stops an Amazon RDS DB instance temporarily. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if necessary. The instance restarts automatically after 7 days.

                                    ///

                                    For more information, see Stopping an Amazon RDS DB Instance Temporarily in the Amazon RDS User Guide.

                                    ///

                                    This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For Aurora clusters, use StopDBCluster instead.

                                    ///
                                    diff --git a/sdk/rds/src/types/_db_cluster.rs b/sdk/rds/src/types/_db_cluster.rs index 077cf83a2127..f97783c5336d 100644 --- a/sdk/rds/src/types/_db_cluster.rs +++ b/sdk/rds/src/types/_db_cluster.rs @@ -82,7 +82,9 @@ pub struct DbCluster { pub associated_roles: ::std::option::Option<::std::vec::Vec>, ///

                                    Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.

                                    pub iam_database_authentication_enabled: ::std::option::Option, - ///

                                    The ID of the clone group with which the DB cluster is associated.

                                    + ///

                                    The ID of the clone group with which the DB cluster is associated. For newly created clusters, the ID is typically null.

                                    + ///

                                    If you clone a DB cluster when the ID is null, the operation populates the ID value for the source cluster and the clone because both clusters become part of the same clone group. Even if you delete the clone cluster, the clone group ID remains for the lifetime of the source cluster to show that it was used in a cloning operation.

                                    + ///

                                    For PITR, the clone group ID is inherited from the source cluster. For snapshot restore operations, the clone group ID isn't inherited from the source cluster.

                                    pub clone_group_id: ::std::option::Option<::std::string::String>, ///

                                    The time when the DB cluster was created, in Universal Coordinated Time (UTC).

                                    pub cluster_create_time: ::std::option::Option<::aws_smithy_types::DateTime>, @@ -379,7 +381,9 @@ impl DbCluster { pub fn iam_database_authentication_enabled(&self) -> ::std::option::Option { self.iam_database_authentication_enabled } - ///

                                    The ID of the clone group with which the DB cluster is associated.

                                    + ///

                                    The ID of the clone group with which the DB cluster is associated. For newly created clusters, the ID is typically null.

                                    + ///

                                    If you clone a DB cluster when the ID is null, the operation populates the ID value for the source cluster and the clone because both clusters become part of the same clone group. Even if you delete the clone cluster, the clone group ID remains for the lifetime of the source cluster to show that it was used in a cloning operation.

                                    + ///

                                    For PITR, the clone group ID is inherited from the source cluster. For snapshot restore operations, the clone group ID isn't inherited from the source cluster.

                                    pub fn clone_group_id(&self) -> ::std::option::Option<&str> { self.clone_group_id.as_deref() } @@ -1267,17 +1271,23 @@ impl DbClusterBuilder { pub fn get_iam_database_authentication_enabled(&self) -> &::std::option::Option { &self.iam_database_authentication_enabled } - ///

                                    The ID of the clone group with which the DB cluster is associated.

                                    + ///

                                    The ID of the clone group with which the DB cluster is associated. For newly created clusters, the ID is typically null.

                                    + ///

                                    If you clone a DB cluster when the ID is null, the operation populates the ID value for the source cluster and the clone because both clusters become part of the same clone group. Even if you delete the clone cluster, the clone group ID remains for the lifetime of the source cluster to show that it was used in a cloning operation.

                                    + ///

                                    For PITR, the clone group ID is inherited from the source cluster. For snapshot restore operations, the clone group ID isn't inherited from the source cluster.

                                    pub fn clone_group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.clone_group_id = ::std::option::Option::Some(input.into()); self } - ///

                                    The ID of the clone group with which the DB cluster is associated.

                                    + ///

                                    The ID of the clone group with which the DB cluster is associated. For newly created clusters, the ID is typically null.

                                    + ///

                                    If you clone a DB cluster when the ID is null, the operation populates the ID value for the source cluster and the clone because both clusters become part of the same clone group. Even if you delete the clone cluster, the clone group ID remains for the lifetime of the source cluster to show that it was used in a cloning operation.

                                    + ///

                                    For PITR, the clone group ID is inherited from the source cluster. For snapshot restore operations, the clone group ID isn't inherited from the source cluster.

                                    pub fn set_clone_group_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.clone_group_id = input; self } - ///

                                    The ID of the clone group with which the DB cluster is associated.

                                    + ///

                                    The ID of the clone group with which the DB cluster is associated. For newly created clusters, the ID is typically null.

                                    + ///

                                    If you clone a DB cluster when the ID is null, the operation populates the ID value for the source cluster and the clone because both clusters become part of the same clone group. Even if you delete the clone cluster, the clone group ID remains for the lifetime of the source cluster to show that it was used in a cloning operation.

                                    + ///

                                    For PITR, the clone group ID is inherited from the source cluster. For snapshot restore operations, the clone group ID isn't inherited from the source cluster.

                                    pub fn get_clone_group_id(&self) -> &::std::option::Option<::std::string::String> { &self.clone_group_id } diff --git a/sdk/sagemaker/Cargo.toml b/sdk/sagemaker/Cargo.toml index b3897ec4493a..169a2de13008 100644 --- a/sdk/sagemaker/Cargo.toml +++ b/sdk/sagemaker/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-sdk-sagemaker" -version = "1.100.0" +version = "1.101.0" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK for Amazon SageMaker Service" edition = "2021" diff --git a/sdk/sagemaker/README.md b/sdk/sagemaker/README.md index 7fe6fec6f1f1..5172a10e5296 100644 --- a/sdk/sagemaker/README.md +++ b/sdk/sagemaker/README.md @@ -18,7 +18,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-sagemaker = "1.100.0" +aws-sdk-sagemaker = "1.101.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/sdk/sagemaker/src/lib.rs b/sdk/sagemaker/src/lib.rs index e2401f4bd6aa..aff898ac9321 100644 --- a/sdk/sagemaker/src/lib.rs +++ b/sdk/sagemaker/src/lib.rs @@ -35,7 +35,7 @@ //! ```toml //! [dependencies] //! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] } -//! aws-sdk-sagemaker = "1.100.0" +//! aws-sdk-sagemaker = "1.101.0" //! tokio = { version = "1", features = ["full"] } //! ``` //! diff --git a/sdk/sagemaker/src/types/_app_details.rs b/sdk/sagemaker/src/types/_app_details.rs index 03e73c6c0492..d63a2b67b265 100644 --- a/sdk/sagemaker/src/types/_app_details.rs +++ b/sdk/sagemaker/src/types/_app_details.rs @@ -18,7 +18,9 @@ pub struct AppDetails { pub status: ::std::option::Option, ///

                                    The creation time.

                                    pub creation_time: ::std::option::Option<::aws_smithy_types::DateTime>, - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub resource_spec: ::std::option::Option, } impl AppDetails { @@ -50,7 +52,9 @@ impl AppDetails { pub fn creation_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> { self.creation_time.as_ref() } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn resource_spec(&self) -> ::std::option::Option<&crate::types::ResourceSpec> { self.resource_spec.as_ref() } @@ -174,17 +178,23 @@ impl AppDetailsBuilder { pub fn get_creation_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> { &self.creation_time } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn resource_spec(mut self, input: crate::types::ResourceSpec) -> Self { self.resource_spec = ::std::option::Option::Some(input); self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn set_resource_spec(mut self, input: ::std::option::Option) -> Self { self.resource_spec = input; self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn get_resource_spec(&self) -> &::std::option::Option { &self.resource_spec } diff --git a/sdk/sagemaker/src/types/_code_editor_app_settings.rs b/sdk/sagemaker/src/types/_code_editor_app_settings.rs index 29c6305003b7..2acd136b7bd7 100644 --- a/sdk/sagemaker/src/types/_code_editor_app_settings.rs +++ b/sdk/sagemaker/src/types/_code_editor_app_settings.rs @@ -5,7 +5,9 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct CodeEditorAppSettings { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub default_resource_spec: ::std::option::Option, ///

                                    A list of custom SageMaker images that are configured to run as a Code Editor app.

                                    pub custom_images: ::std::option::Option<::std::vec::Vec>, @@ -17,7 +19,9 @@ pub struct CodeEditorAppSettings { pub built_in_lifecycle_config_arn: ::std::option::Option<::std::string::String>, } impl CodeEditorAppSettings { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(&self) -> ::std::option::Option<&crate::types::ResourceSpec> { self.default_resource_spec.as_ref() } @@ -60,17 +64,23 @@ pub struct CodeEditorAppSettingsBuilder { pub(crate) built_in_lifecycle_config_arn: ::std::option::Option<::std::string::String>, } impl CodeEditorAppSettingsBuilder { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(mut self, input: crate::types::ResourceSpec) -> Self { self.default_resource_spec = ::std::option::Option::Some(input); self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn set_default_resource_spec(mut self, input: ::std::option::Option) -> Self { self.default_resource_spec = input; self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn get_default_resource_spec(&self) -> &::std::option::Option { &self.default_resource_spec } diff --git a/sdk/sagemaker/src/types/_jupyter_lab_app_settings.rs b/sdk/sagemaker/src/types/_jupyter_lab_app_settings.rs index c41494c5c078..3cc6f6f245a8 100644 --- a/sdk/sagemaker/src/types/_jupyter_lab_app_settings.rs +++ b/sdk/sagemaker/src/types/_jupyter_lab_app_settings.rs @@ -4,7 +4,9 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct JupyterLabAppSettings { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub default_resource_spec: ::std::option::Option, ///

                                    A list of custom SageMaker images that are configured to run as a JupyterLab app.

                                    pub custom_images: ::std::option::Option<::std::vec::Vec>, @@ -20,7 +22,9 @@ pub struct JupyterLabAppSettings { pub built_in_lifecycle_config_arn: ::std::option::Option<::std::string::String>, } impl JupyterLabAppSettings { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(&self) -> ::std::option::Option<&crate::types::ResourceSpec> { self.default_resource_spec.as_ref() } @@ -75,17 +79,23 @@ pub struct JupyterLabAppSettingsBuilder { pub(crate) built_in_lifecycle_config_arn: ::std::option::Option<::std::string::String>, } impl JupyterLabAppSettingsBuilder { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(mut self, input: crate::types::ResourceSpec) -> Self { self.default_resource_spec = ::std::option::Option::Some(input); self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn set_default_resource_spec(mut self, input: ::std::option::Option) -> Self { self.default_resource_spec = input; self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn get_default_resource_spec(&self) -> &::std::option::Option { &self.default_resource_spec } diff --git a/sdk/sagemaker/src/types/_production_variant_instance_type.rs b/sdk/sagemaker/src/types/_production_variant_instance_type.rs index 761c086ec915..6268fd8b8039 100644 --- a/sdk/sagemaker/src/types/_production_variant_instance_type.rs +++ b/sdk/sagemaker/src/types/_production_variant_instance_type.rs @@ -173,6 +173,7 @@ /// ProductionVariantInstanceType::MlP4De24Xlarge => { /* ... */ }, /// ProductionVariantInstanceType::MlP548Xlarge => { /* ... */ }, /// ProductionVariantInstanceType::MlP5E48Xlarge => { /* ... */ }, +/// ProductionVariantInstanceType::MlP5En48Xlarge => { /* ... */ }, /// ProductionVariantInstanceType::MlR512Xlarge => { /* ... */ }, /// ProductionVariantInstanceType::MlR524Xlarge => { /* ... */ }, /// ProductionVariantInstanceType::MlR52Xlarge => { /* ... */ }, @@ -576,6 +577,8 @@ pub enum ProductionVariantInstanceType { #[allow(missing_docs)] // documentation missing in model MlP5E48Xlarge, #[allow(missing_docs)] // documentation missing in model + MlP5En48Xlarge, + #[allow(missing_docs)] // documentation missing in model MlR512Xlarge, #[allow(missing_docs)] // documentation missing in model MlR524Xlarge, @@ -847,6 +850,7 @@ impl ::std::convert::From<&str> for ProductionVariantInstanceType { "ml.p4de.24xlarge" => ProductionVariantInstanceType::MlP4De24Xlarge, "ml.p5.48xlarge" => ProductionVariantInstanceType::MlP548Xlarge, "ml.p5e.48xlarge" => ProductionVariantInstanceType::MlP5E48Xlarge, + "ml.p5en.48xlarge" => ProductionVariantInstanceType::MlP5En48Xlarge, "ml.r5.12xlarge" => ProductionVariantInstanceType::MlR512Xlarge, "ml.r5.24xlarge" => ProductionVariantInstanceType::MlR524Xlarge, "ml.r5.2xlarge" => ProductionVariantInstanceType::MlR52Xlarge, @@ -1075,6 +1079,7 @@ impl ProductionVariantInstanceType { ProductionVariantInstanceType::MlP4De24Xlarge => "ml.p4de.24xlarge", ProductionVariantInstanceType::MlP548Xlarge => "ml.p5.48xlarge", ProductionVariantInstanceType::MlP5E48Xlarge => "ml.p5e.48xlarge", + ProductionVariantInstanceType::MlP5En48Xlarge => "ml.p5en.48xlarge", ProductionVariantInstanceType::MlR512Xlarge => "ml.r5.12xlarge", ProductionVariantInstanceType::MlR524Xlarge => "ml.r5.24xlarge", ProductionVariantInstanceType::MlR52Xlarge => "ml.r5.2xlarge", @@ -1294,6 +1299,7 @@ impl ProductionVariantInstanceType { "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.p5e.48xlarge", + "ml.p5en.48xlarge", "ml.r5.12xlarge", "ml.r5.24xlarge", "ml.r5.2xlarge", @@ -1530,6 +1536,7 @@ impl ::std::fmt::Display for ProductionVariantInstanceType { ProductionVariantInstanceType::MlP4De24Xlarge => write!(f, "ml.p4de.24xlarge"), ProductionVariantInstanceType::MlP548Xlarge => write!(f, "ml.p5.48xlarge"), ProductionVariantInstanceType::MlP5E48Xlarge => write!(f, "ml.p5e.48xlarge"), + ProductionVariantInstanceType::MlP5En48Xlarge => write!(f, "ml.p5en.48xlarge"), ProductionVariantInstanceType::MlR512Xlarge => write!(f, "ml.r5.12xlarge"), ProductionVariantInstanceType::MlR524Xlarge => write!(f, "ml.r5.24xlarge"), ProductionVariantInstanceType::MlR52Xlarge => write!(f, "ml.r5.2xlarge"), diff --git a/sdk/sagemaker/src/types/_r_session_app_settings.rs b/sdk/sagemaker/src/types/_r_session_app_settings.rs index 6b21d87bdaf4..4b3c25c88ed4 100644 --- a/sdk/sagemaker/src/types/_r_session_app_settings.rs +++ b/sdk/sagemaker/src/types/_r_session_app_settings.rs @@ -4,13 +4,17 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct RSessionAppSettings { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub default_resource_spec: ::std::option::Option, ///

                                    A list of custom SageMaker AI images that are configured to run as a RSession app.

                                    pub custom_images: ::std::option::Option<::std::vec::Vec>, } impl RSessionAppSettings { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(&self) -> ::std::option::Option<&crate::types::ResourceSpec> { self.default_resource_spec.as_ref() } @@ -36,17 +40,23 @@ pub struct RSessionAppSettingsBuilder { pub(crate) custom_images: ::std::option::Option<::std::vec::Vec>, } impl RSessionAppSettingsBuilder { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(mut self, input: crate::types::ResourceSpec) -> Self { self.default_resource_spec = ::std::option::Option::Some(input); self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn set_default_resource_spec(mut self, input: ::std::option::Option) -> Self { self.default_resource_spec = input; self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn get_default_resource_spec(&self) -> &::std::option::Option { &self.default_resource_spec } diff --git a/sdk/sagemaker/src/types/_r_studio_server_pro_domain_settings.rs b/sdk/sagemaker/src/types/_r_studio_server_pro_domain_settings.rs index a9f702103608..9ca8ebbdf574 100644 --- a/sdk/sagemaker/src/types/_r_studio_server_pro_domain_settings.rs +++ b/sdk/sagemaker/src/types/_r_studio_server_pro_domain_settings.rs @@ -10,7 +10,9 @@ pub struct RStudioServerProDomainSettings { pub r_studio_connect_url: ::std::option::Option<::std::string::String>, ///

                                    A URL pointing to an RStudio Package Manager server.

                                    pub r_studio_package_manager_url: ::std::option::Option<::std::string::String>, - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub default_resource_spec: ::std::option::Option, } impl RStudioServerProDomainSettings { @@ -26,7 +28,9 @@ impl RStudioServerProDomainSettings { pub fn r_studio_package_manager_url(&self) -> ::std::option::Option<&str> { self.r_studio_package_manager_url.as_deref() } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(&self) -> ::std::option::Option<&crate::types::ResourceSpec> { self.default_resource_spec.as_ref() } @@ -91,17 +95,23 @@ impl RStudioServerProDomainSettingsBuilder { pub fn get_r_studio_package_manager_url(&self) -> &::std::option::Option<::std::string::String> { &self.r_studio_package_manager_url } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(mut self, input: crate::types::ResourceSpec) -> Self { self.default_resource_spec = ::std::option::Option::Some(input); self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn set_default_resource_spec(mut self, input: ::std::option::Option) -> Self { self.default_resource_spec = input; self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn get_default_resource_spec(&self) -> &::std::option::Option { &self.default_resource_spec } diff --git a/sdk/sagemaker/src/types/_r_studio_server_pro_domain_settings_for_update.rs b/sdk/sagemaker/src/types/_r_studio_server_pro_domain_settings_for_update.rs index 89cc21537df5..2a6eb408813d 100644 --- a/sdk/sagemaker/src/types/_r_studio_server_pro_domain_settings_for_update.rs +++ b/sdk/sagemaker/src/types/_r_studio_server_pro_domain_settings_for_update.rs @@ -6,7 +6,9 @@ pub struct RStudioServerProDomainSettingsForUpdate { ///

                                    The execution role for the RStudioServerPro Domain-level app.

                                    pub domain_execution_role_arn: ::std::option::Option<::std::string::String>, - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub default_resource_spec: ::std::option::Option, ///

                                    A URL pointing to an RStudio Connect server.

                                    pub r_studio_connect_url: ::std::option::Option<::std::string::String>, @@ -18,7 +20,9 @@ impl RStudioServerProDomainSettingsForUpdate { pub fn domain_execution_role_arn(&self) -> ::std::option::Option<&str> { self.domain_execution_role_arn.as_deref() } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(&self) -> ::std::option::Option<&crate::types::ResourceSpec> { self.default_resource_spec.as_ref() } @@ -63,17 +67,23 @@ impl RStudioServerProDomainSettingsForUpdateBuilder { pub fn get_domain_execution_role_arn(&self) -> &::std::option::Option<::std::string::String> { &self.domain_execution_role_arn } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(mut self, input: crate::types::ResourceSpec) -> Self { self.default_resource_spec = ::std::option::Option::Some(input); self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn set_default_resource_spec(mut self, input: ::std::option::Option) -> Self { self.default_resource_spec = input; self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn get_default_resource_spec(&self) -> &::std::option::Option { &self.default_resource_spec } diff --git a/sdk/sagemaker/src/types/_resource_spec.rs b/sdk/sagemaker/src/types/_resource_spec.rs index 793c182777f5..9bf667755036 100644 --- a/sdk/sagemaker/src/types/_resource_spec.rs +++ b/sdk/sagemaker/src/types/_resource_spec.rs @@ -1,12 +1,14 @@ // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. -///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    +///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    +///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    +///
                                    #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct ResourceSpec { ///

                                    The ARN of the SageMaker AI image that the image version belongs to.

                                    pub sage_maker_image_arn: ::std::option::Option<::std::string::String>, - ///

                                    The ARN of the image version created on the instance.

                                    + ///

                                    The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    pub sage_maker_image_version_arn: ::std::option::Option<::std::string::String>, ///

                                    The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

                                    pub sage_maker_image_version_alias: ::std::option::Option<::std::string::String>, @@ -23,7 +25,7 @@ impl ResourceSpec { pub fn sage_maker_image_arn(&self) -> ::std::option::Option<&str> { self.sage_maker_image_arn.as_deref() } - ///

                                    The ARN of the image version created on the instance.

                                    + ///

                                    The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    pub fn sage_maker_image_version_arn(&self) -> ::std::option::Option<&str> { self.sage_maker_image_version_arn.as_deref() } @@ -75,17 +77,17 @@ impl ResourceSpecBuilder { pub fn get_sage_maker_image_arn(&self) -> &::std::option::Option<::std::string::String> { &self.sage_maker_image_arn } - ///

                                    The ARN of the image version created on the instance.

                                    + ///

                                    The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    pub fn sage_maker_image_version_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self { self.sage_maker_image_version_arn = ::std::option::Option::Some(input.into()); self } - ///

                                    The ARN of the image version created on the instance.

                                    + ///

                                    The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    pub fn set_sage_maker_image_version_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self { self.sage_maker_image_version_arn = input; self } - ///

                                    The ARN of the image version created on the instance.

                                    + ///

                                    The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    pub fn get_sage_maker_image_version_arn(&self) -> &::std::option::Option<::std::string::String> { &self.sage_maker_image_version_arn } diff --git a/sdk/sagemaker/src/types/_space_code_editor_app_settings.rs b/sdk/sagemaker/src/types/_space_code_editor_app_settings.rs index 419788842385..a6e866ef69f7 100644 --- a/sdk/sagemaker/src/types/_space_code_editor_app_settings.rs +++ b/sdk/sagemaker/src/types/_space_code_editor_app_settings.rs @@ -4,13 +4,17 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct SpaceCodeEditorAppSettings { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub default_resource_spec: ::std::option::Option, ///

                                    Settings that are used to configure and manage the lifecycle of CodeEditor applications in a space.

                                    pub app_lifecycle_management: ::std::option::Option, } impl SpaceCodeEditorAppSettings { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(&self) -> ::std::option::Option<&crate::types::ResourceSpec> { self.default_resource_spec.as_ref() } @@ -34,17 +38,23 @@ pub struct SpaceCodeEditorAppSettingsBuilder { pub(crate) app_lifecycle_management: ::std::option::Option, } impl SpaceCodeEditorAppSettingsBuilder { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(mut self, input: crate::types::ResourceSpec) -> Self { self.default_resource_spec = ::std::option::Option::Some(input); self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn set_default_resource_spec(mut self, input: ::std::option::Option) -> Self { self.default_resource_spec = input; self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn get_default_resource_spec(&self) -> &::std::option::Option { &self.default_resource_spec } diff --git a/sdk/sagemaker/src/types/_space_jupyter_lab_app_settings.rs b/sdk/sagemaker/src/types/_space_jupyter_lab_app_settings.rs index a9da4675c66d..cab3004a22f3 100644 --- a/sdk/sagemaker/src/types/_space_jupyter_lab_app_settings.rs +++ b/sdk/sagemaker/src/types/_space_jupyter_lab_app_settings.rs @@ -4,7 +4,9 @@ #[non_exhaustive] #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)] pub struct SpaceJupyterLabAppSettings { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub default_resource_spec: ::std::option::Option, ///

                                    A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.

                                    pub code_repositories: ::std::option::Option<::std::vec::Vec>, @@ -12,7 +14,9 @@ pub struct SpaceJupyterLabAppSettings { pub app_lifecycle_management: ::std::option::Option, } impl SpaceJupyterLabAppSettings { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(&self) -> ::std::option::Option<&crate::types::ResourceSpec> { self.default_resource_spec.as_ref() } @@ -43,17 +47,23 @@ pub struct SpaceJupyterLabAppSettingsBuilder { pub(crate) app_lifecycle_management: ::std::option::Option, } impl SpaceJupyterLabAppSettingsBuilder { - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn default_resource_spec(mut self, input: crate::types::ResourceSpec) -> Self { self.default_resource_spec = ::std::option::Option::Some(input); self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn set_default_resource_spec(mut self, input: ::std::option::Option) -> Self { self.default_resource_spec = input; self } - ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

                                    + ///

                                    When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

                                    + ///
                                    pub fn get_default_resource_spec(&self) -> &::std::option::Option { &self.default_resource_spec } diff --git a/versions.toml b/versions.toml index 123962fcf56a..c20088c0c88f 100644 --- a/versions.toml +++ b/versions.toml @@ -64,9 +64,9 @@ model_hash = 'ae1e89c98ecb9c95b4f64fa65e2b0a1347611cd3de2db192630f9b53419fc821' [crates.aws-sdk-amp] category = 'AwsSdk' -version = '1.57.0' -source_hash = '38aa59f36a1d79bf04a02c60c4f2ebf49437c0d3ffd2b207f9ffa1b2403721a7' -model_hash = '1a65e46926c2017d3e39b6960adb4b7a38ff994d0291eac999e4a4f5f56a7283' +version = '1.58.0' +source_hash = '061e09f7f1146c592745bfc90a82bd0066a48fc770c7e2d5858c3207929f479b' +model_hash = '5b3e2cbab73ac98666a4cef83553e39bd2a2a6af19f81be2db5bfcb045b166bf' [crates.aws-sdk-amplify] category = 'AwsSdk' @@ -286,9 +286,9 @@ model_hash = 'e01b8616df403b708692cc6a13f7c6d110ef7b0556d13a83c86daab4d92e73a9' [crates.aws-sdk-bedrockagentruntime] category = 'AwsSdk' -version = '1.75.0' -source_hash = 'd54a3f9747629afff9fed725f7544c2c5c8ecbafbad9348d081aa5b945e77b31' -model_hash = '99e80f174466122fbb4ed36f61e3b80636e2e3afb0a47b9c0647a8553a870197' +version = '1.76.0' +source_hash = 'aea78ea12f4edee5815d15260931f6ee6395c5f984199a3bcd6ad4c24abd7dd3' +model_hash = '2881f58024ba418498aac147cf5f63e62807c3300abbaa252af713e4d1fd63e4' [crates.aws-sdk-bedrockdataautomation] category = 'AwsSdk' @@ -484,9 +484,9 @@ model_hash = 'b4b741370ba8961708abf7da89928b5db646fa8d605805dbd8d0138d0ff1955f' [crates.aws-sdk-codebuild] category = 'AwsSdk' -version = '1.71.0' -source_hash = '60a90776e5db0f06d54ca9cc7878b59c8b22b1a091ee6d5fa0c508cfb6d35212' -model_hash = '4bcaf892e16796bc7e348e51ed03b55866a82bb91b4c1a0687f7c09ed2de12f2' +version = '1.72.0' +source_hash = '9e3449d5ea0d9b03b7e44d9cd8210c49ac5659c222bea0770663d6d79f5194d4' +model_hash = 'e7d02edfce73212999a07d4005216d897dc20b67866176584563744ab744370d' [crates.aws-sdk-codecatalyst] category = 'AwsSdk' @@ -1000,9 +1000,9 @@ model_hash = '135e5bf5462aa28b33e659761736504cd15040474c415bc24885042e7a857f7c' [crates.aws-sdk-georoutes] category = 'AwsSdk' -version = '1.10.0' -source_hash = 'bf5c4e2dde2a8be0d1224e9a8ef587ed531fad2bba10d1d390347efef121f210' -model_hash = 'be64beee3e9e6da40ce2ceb1afdae90b912b5234b2da6aca09e55535dca4758e' +version = '1.11.0' +source_hash = '1f3514e342b12d901cbc78083ba78c5d7d2c3b2c65a7045ebc1e9b297aa19668' +model_hash = 'bd34e47e5d87b266330e3288d0cf532dcca6992be68364529c54f0ea1de774d0' [crates.aws-sdk-glacier] category = 'AwsSdk' @@ -1870,9 +1870,9 @@ model_hash = '89b66df6ed8dd9dd5b9b7ce463ebf12ea437a2fc24a36a001c23fd2db6877a6d' [crates.aws-sdk-rds] category = 'AwsSdk' -version = '1.76.0' -source_hash = '11282c084fbc4d2fe935894a033fc19a4f7faeee4a98e8022bc7b016d0d3dd90' -model_hash = '1cb8150a7e1362541c9840d1229dd4169887f5718707062910947434ba947708' +version = '1.76.1' +source_hash = '5e20d6d9c9932c40c13399b086061d3be2e0a1a8cd9841b93e2d66571b65873d' +model_hash = '4224b063641089769604d19741ddd07a1cf6123ec0320ef4c9edf3f3bb615f6f' [crates.aws-sdk-rdsdata] category = 'AwsSdk' @@ -2020,9 +2020,9 @@ model_hash = '172361c4c7238894cc08fad9fc6840cf9edea43668b91b066350da9e3c2d96a4' [crates.aws-sdk-sagemaker] category = 'AwsSdk' -version = '1.100.0' -source_hash = '4429ba0dd1bed8ebed2a5408b257ed95d01a1df155fb8216e67b39240e8633a3' -model_hash = 'a9eba56b1058e13f779bd35a281bfb6351bd1432774e2cc3feb497d251523889' +version = '1.101.0' +source_hash = '15ec5104806a3e7eb83d1813af2ee8dfe702874f18df1eda35aef9afcef8449e' +model_hash = 'f5e676c6d5246f06e0bb0308268d8102cbdc7a321b78721cb6a1b8d8ab2f6579' [crates.aws-sdk-sagemakera2iruntime] category = 'AwsSdk' @@ -2589,16 +2589,10 @@ source_hash = 'dd55a22705d07da35ff355ff7ac6234548be0ed77473eebfa19458217b71856e' category = 'AwsRuntime' version = '0.0.0' source_hash = 'd999125f6bfc789e54adab9a18a8b602da78b1902ce1c4e86e5857ea7e9aee72' - -[release] -tag = 'release-2025-01-30' - [release.crates] -aws-sdk-appstream = '1.62.0' -aws-sdk-bedrockagentruntime = '1.75.0' -aws-sdk-ecr = '1.62.0' -aws-sdk-ecrpublic = '1.59.0' -aws-sdk-mediatailor = '1.60.0' -aws-sdk-qbusiness = '1.65.0' -aws-sdk-s3tables = '1.8.0' -aws-sdk-verifiedpermissions = '1.64.0' +aws-sdk-amp = '1.58.0' +aws-sdk-bedrockagentruntime = '1.76.0' +aws-sdk-codebuild = '1.72.0' +aws-sdk-georoutes = '1.11.0' +aws-sdk-rds = '1.76.1' +aws-sdk-sagemaker = '1.101.0'