From a23ca6eb3cf9c03738a298eb4fa9daa14891bd3b Mon Sep 17 00:00:00 2001 From: aws-sdk-dotnet-automation Date: Tue, 25 Oct 2022 11:21:17 -0700 Subject: [PATCH] Relational Database Service - This release adds support for exporting DB cluster data to Amazon S3. --- .../ServiceModels/rds/rds-2014-10-31.api.json | 14 +- .../rds/rds-2014-10-31.docs.json | 13 +- .../rds/rds-2014-10-31.endpoint-tests.json | 550 +++++++++--------- .../rds/rds-2014-10-31.normal.json | 22 +- .../Model/CancelExportTaskResponse.cs | 19 + .../Model/ConnectionPoolConfiguration.cs | 9 + .../DescribeEngineDefaultParametersRequest.cs | 34 +- .../Model/DescribeExportTasksRequest.cs | 19 + .../RDS/Generated/Model/ExportTask.cs | 19 + .../CancelExportTaskResponseUnmarshaller.cs | 6 + .../DescribeExportTasksRequestMarshaller.cs | 4 + .../ExportTaskUnmarshaller.cs | 6 + .../StartExportTaskResponseUnmarshaller.cs | 10 + .../Model/StartExportTaskResponse.cs | 19 + .../RDS/Generated/ServiceEnumerations.cs | 50 ++ .../RDS/Generated/_bcl35/AmazonRDSClient.cs | 3 + .../RDS/Generated/_bcl35/IAmazonRDS.cs | 3 + .../RDS/Generated/_bcl45/AmazonRDSClient.cs | 6 + .../RDS/Generated/_bcl45/IAmazonRDS.cs | 6 + .../Generated/_netstandard/AmazonRDSClient.cs | 3 + .../RDS/Generated/_netstandard/IAmazonRDS.cs | 3 + .../Endpoints/RDSEndpointProviderTests.cs | 278 ++++----- .../Marshalling/RDSMarshallingTests.cs | 23 + 23 files changed, 696 insertions(+), 423 deletions(-) diff --git a/generator/ServiceModels/rds/rds-2014-10-31.api.json b/generator/ServiceModels/rds/rds-2014-10-31.api.json index 886728cc3c9a..b97264cad5bd 100644 --- a/generator/ServiceModels/rds/rds-2014-10-31.api.json +++ b/generator/ServiceModels/rds/rds-2014-10-31.api.json @@ -2316,6 +2316,7 @@ "errors":[ {"shape":"DBSnapshotNotFoundFault"}, {"shape":"DBClusterSnapshotNotFoundFault"}, + {"shape":"DBClusterNotFoundFault"}, {"shape":"ExportTaskAlreadyExistsFault"}, {"shape":"InvalidS3BucketFault"}, {"shape":"IamRoleNotFoundFault"}, @@ -5311,7 +5312,8 @@ "SourceArn":{"shape":"String"}, "Filters":{"shape":"FilterList"}, "Marker":{"shape":"String"}, - "MaxRecords":{"shape":"MaxRecords"} + "MaxRecords":{"shape":"MaxRecords"}, + "SourceType":{"shape":"ExportSourceType"} } }, "DescribeGlobalClustersMessage":{ @@ -5630,6 +5632,13 @@ "Events":{"shape":"EventList"} } }, + "ExportSourceType":{ + "type":"string", + "enum":[ + "SNAPSHOT", + "CLUSTER" + ] + }, "ExportTask":{ "type":"structure", "members":{ @@ -5647,7 +5656,8 @@ "PercentProgress":{"shape":"Integer"}, "TotalExtractedDataInGB":{"shape":"Integer"}, "FailureCause":{"shape":"String"}, - "WarningMessage":{"shape":"String"} + "WarningMessage":{"shape":"String"}, + "SourceType":{"shape":"ExportSourceType"} } }, "ExportTaskAlreadyExistsFault":{ diff --git a/generator/ServiceModels/rds/rds-2014-10-31.docs.json b/generator/ServiceModels/rds/rds-2014-10-31.docs.json index 54b47a762488..76266195a3f1 100644 --- a/generator/ServiceModels/rds/rds-2014-10-31.docs.json +++ b/generator/ServiceModels/rds/rds-2014-10-31.docs.json @@ -2179,6 +2179,13 @@ "refs": { } }, + "ExportSourceType": { + "base": null, + "refs": { + "DescribeExportTasksMessage$SourceType": "

The type of source for the export.

", + "ExportTask$SourceType": "

The type of source for the export.

" + } + }, "ExportTask": { "base": "

Contains the details of a snapshot export to Amazon S3.

This data type is used as a response element in the DescribeExportTasks action.

", "refs": { @@ -2438,8 +2445,8 @@ "IntegerOptional": { "base": null, "refs": { - "ConnectionPoolConfiguration$MaxConnectionsPercent": "

The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.

Default: 10 for RDS for Microsoft SQL Server, and 100 for all other engines

Constraints: Must be between 1 and 100.

", - "ConnectionPoolConfiguration$MaxIdleConnectionsPercent": "

Controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database.

Default: The default value is half of the value of MaxConnectionsPercent. For example, if MaxConnectionsPercent is 80, then the default value of MaxIdleConnectionsPercent is 40. If the value of MaxConnectionsPercent isn't specified, then for SQL Server, MaxIdleConnectionsPercent is 5, and for all other engines, the default is 50.

Constraints: Must be between 0 and the value of MaxConnectionsPercent.

", + "ConnectionPoolConfiguration$MaxConnectionsPercent": "

The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.

If you specify MaxIdleConnectionsPercent, then you must also include a value for this parameter.

Default: 10 for RDS for Microsoft SQL Server, and 100 for all other engines

Constraints: Must be between 1 and 100.

", + "ConnectionPoolConfiguration$MaxIdleConnectionsPercent": "

Controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database.

If you specify this parameter, then you must also include a value for MaxConnectionsPercent.

Default: The default value is half of the value of MaxConnectionsPercent. For example, if MaxConnectionsPercent is 80, then the default value of MaxIdleConnectionsPercent is 40. If the value of MaxConnectionsPercent isn't specified, then for SQL Server, MaxIdleConnectionsPercent is 5, and for all other engines, the default is 50.

Constraints: Must be between 0 and the value of MaxConnectionsPercent.

", "ConnectionPoolConfiguration$ConnectionBorrowTimeout": "

The number of seconds for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions.

Default: 120

Constraints: between 1 and 3600, or 0 representing unlimited

", "CreateDBClusterMessage$BackupRetentionPeriod": "

The number of days for which automated backups are retained.

Default: 1

Constraints:

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

", "CreateDBClusterMessage$Port": "

The port number on which the instances in the DB cluster accept connections.

RDS for MySQL and Aurora MySQL

Default: 3306

Valid values: 1150-65535

RDS for PostgreSQL and Aurora PostgreSQL

Default: 5432

Valid values: 1150-65535

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

", @@ -4158,7 +4165,7 @@ "DescribeDBSubnetGroupsMessage$Marker": "

An optional pagination token provided by a previous DescribeDBSubnetGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeEngineDefaultClusterParametersMessage$DBParameterGroupFamily": "

The name of the DB cluster parameter group family to return engine parameter information for.

", "DescribeEngineDefaultClusterParametersMessage$Marker": "

An optional pagination token provided by a previous DescribeEngineDefaultClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", - "DescribeEngineDefaultParametersMessage$DBParameterGroupFamily": "

The name of the DB parameter group family.

Valid Values:

", + "DescribeEngineDefaultParametersMessage$DBParameterGroupFamily": "

The name of the DB parameter group family.

Valid Values:

", "DescribeEngineDefaultParametersMessage$Marker": "

An optional pagination token provided by a previous DescribeEngineDefaultParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeEventCategoriesMessage$SourceType": "

The type of source that is generating the events. For RDS Proxy events, specify db-proxy.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy

", "DescribeEventSubscriptionsMessage$SubscriptionName": "

The name of the RDS event notification subscription you want to describe.

", diff --git a/generator/ServiceModels/rds/rds-2014-10-31.endpoint-tests.json b/generator/ServiceModels/rds/rds-2014-10-31.endpoint-tests.json index 208ed055304a..56a8a41a8bc5 100644 --- a/generator/ServiceModels/rds/rds-2014-10-31.endpoint-tests.json +++ b/generator/ServiceModels/rds/rds-2014-10-31.endpoint-tests.json @@ -8,9 +8,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-south-2", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -21,9 +21,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-south-2", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -34,9 +34,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-south-2", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -47,9 +47,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-south-2", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -60,9 +60,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-south-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -73,9 +73,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -86,9 +86,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-south-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -99,9 +99,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -112,9 +112,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-south-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -125,9 +125,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -138,9 +138,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-south-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -151,9 +151,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -164,9 +164,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-south-2", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -177,9 +177,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-south-2", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -190,9 +190,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-south-2", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -203,9 +203,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-south-2", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -216,9 +216,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -229,9 +229,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -242,9 +242,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -255,9 +255,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -268,9 +268,9 @@ } }, "params": { + "UseFIPS": true, "Region": "me-central-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -281,9 +281,9 @@ } }, "params": { + "UseFIPS": true, "Region": "me-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -294,9 +294,9 @@ } }, "params": { + "UseFIPS": false, "Region": "me-central-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -307,9 +307,9 @@ } }, "params": { + "UseFIPS": false, "Region": "me-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -320,9 +320,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ca-central-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -333,9 +333,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -346,9 +346,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ca-central-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -359,9 +359,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -372,9 +372,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-central-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -385,9 +385,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -398,9 +398,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-central-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -411,9 +411,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -422,9 +422,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseFIPS": true, "Region": "us-iso-west-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -435,9 +435,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-iso-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -446,9 +446,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseFIPS": false, "Region": "us-iso-west-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -459,9 +459,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-iso-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -472,9 +472,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-central-2", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -485,9 +485,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-central-2", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -498,9 +498,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-central-2", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -511,9 +511,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-central-2", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -524,9 +524,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-west-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -537,9 +537,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -550,9 +550,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-west-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -563,9 +563,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -576,9 +576,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-west-2", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -589,9 +589,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -602,9 +602,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-west-2", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -615,9 +615,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -628,9 +628,9 @@ } }, "params": { + "UseFIPS": true, "Region": "af-south-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -641,9 +641,9 @@ } }, "params": { + "UseFIPS": true, "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -654,9 +654,9 @@ } }, "params": { + "UseFIPS": false, "Region": "af-south-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -667,9 +667,9 @@ } }, "params": { + "UseFIPS": false, "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -680,9 +680,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -693,9 +693,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -706,9 +706,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -719,9 +719,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -732,9 +732,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-west-3", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -745,9 +745,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -758,9 +758,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-west-3", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -771,9 +771,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -784,9 +784,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-west-2", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -797,9 +797,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -810,9 +810,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-west-2", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -823,9 +823,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -836,9 +836,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-west-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -849,9 +849,9 @@ } }, "params": { + "UseFIPS": true, "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -862,9 +862,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-west-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -875,9 +875,9 @@ } }, "params": { + "UseFIPS": false, "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -888,9 +888,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-northeast-3", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -901,9 +901,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -914,9 +914,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-northeast-3", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -927,9 +927,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -940,9 +940,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-northeast-2", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -953,9 +953,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -966,9 +966,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-northeast-2", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -979,9 +979,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -992,9 +992,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-northeast-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1005,9 +1005,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1018,9 +1018,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-northeast-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1031,9 +1031,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1044,9 +1044,9 @@ } }, "params": { + "UseFIPS": true, "Region": "me-south-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1057,9 +1057,9 @@ } }, "params": { + "UseFIPS": true, "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1070,9 +1070,9 @@ } }, "params": { + "UseFIPS": false, "Region": "me-south-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1083,9 +1083,9 @@ } }, "params": { + "UseFIPS": false, "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1096,9 +1096,9 @@ } }, "params": { + "UseFIPS": true, "Region": "sa-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1109,9 +1109,9 @@ } }, "params": { + "UseFIPS": true, "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1122,9 +1122,9 @@ } }, "params": { + "UseFIPS": false, "Region": "sa-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1135,9 +1135,9 @@ } }, "params": { + "UseFIPS": false, "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1148,9 +1148,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1161,9 +1161,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1174,9 +1174,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1187,9 +1187,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1200,9 +1200,9 @@ } }, "params": { + "UseFIPS": true, "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1213,9 +1213,9 @@ } }, "params": { + "UseFIPS": true, "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1226,9 +1226,9 @@ } }, "params": { + "UseFIPS": false, "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1239,9 +1239,9 @@ } }, "params": { + "UseFIPS": false, "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1252,9 +1252,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-gov-west-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1265,9 +1265,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1278,9 +1278,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-gov-west-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1291,9 +1291,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1304,9 +1304,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-southeast-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1317,9 +1317,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1330,9 +1330,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-southeast-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1343,9 +1343,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1356,9 +1356,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-southeast-2", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1369,9 +1369,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1382,9 +1382,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-southeast-2", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1395,9 +1395,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1406,9 +1406,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseFIPS": true, "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1419,9 +1419,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1430,9 +1430,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseFIPS": false, "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1443,9 +1443,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1456,9 +1456,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-southeast-3", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1469,9 +1469,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1482,9 +1482,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-southeast-3", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1495,9 +1495,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1508,9 +1508,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-southeast-4", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1521,9 +1521,9 @@ } }, "params": { + "UseFIPS": true, "Region": "ap-southeast-4", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1534,9 +1534,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-southeast-4", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1547,9 +1547,9 @@ } }, "params": { + "UseFIPS": false, "Region": "ap-southeast-4", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1560,9 +1560,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1573,9 +1573,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1586,9 +1586,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1599,9 +1599,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1612,9 +1612,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-east-2", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1625,9 +1625,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1638,9 +1638,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-east-2", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1651,9 +1651,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1664,9 +1664,9 @@ } }, "params": { + "UseFIPS": true, "Region": "cn-northwest-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1677,9 +1677,9 @@ } }, "params": { + "UseFIPS": true, "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1690,9 +1690,9 @@ } }, "params": { + "UseFIPS": false, "Region": "cn-northwest-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1703,9 +1703,9 @@ } }, "params": { + "UseFIPS": false, "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1714,9 +1714,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseFIPS": true, "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseDualStack": true } }, { @@ -1727,9 +1727,9 @@ } }, "params": { + "UseFIPS": true, "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseDualStack": false } }, { @@ -1738,9 +1738,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseFIPS": false, "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseDualStack": true } }, { @@ -1751,9 +1751,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseDualStack": false } }, { @@ -1764,9 +1764,9 @@ } }, "params": { + "UseFIPS": false, "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -1776,9 +1776,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseFIPS": true, "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -1788,9 +1788,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseFIPS": false, "Region": "us-east-1", "UseDualStack": true, - "UseFIPS": false, "Endpoint": "https://example.com" } } diff --git a/generator/ServiceModels/rds/rds-2014-10-31.normal.json b/generator/ServiceModels/rds/rds-2014-10-31.normal.json index 1a84087a5f1f..b67657796196 100644 --- a/generator/ServiceModels/rds/rds-2014-10-31.normal.json +++ b/generator/ServiceModels/rds/rds-2014-10-31.normal.json @@ -2447,6 +2447,7 @@ "errors":[ {"shape":"DBSnapshotNotFoundFault"}, {"shape":"DBClusterSnapshotNotFoundFault"}, + {"shape":"DBClusterNotFoundFault"}, {"shape":"ExportTaskAlreadyExistsFault"}, {"shape":"InvalidS3BucketFault"}, {"shape":"IamRoleNotFoundFault"}, @@ -3072,11 +3073,11 @@ "members":{ "MaxConnectionsPercent":{ "shape":"IntegerOptional", - "documentation":"

The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.

Default: 10 for RDS for Microsoft SQL Server, and 100 for all other engines

Constraints: Must be between 1 and 100.

" + "documentation":"

The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.

If you specify MaxIdleConnectionsPercent, then you must also include a value for this parameter.

Default: 10 for RDS for Microsoft SQL Server, and 100 for all other engines

Constraints: Must be between 1 and 100.

" }, "MaxIdleConnectionsPercent":{ "shape":"IntegerOptional", - "documentation":"

Controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database.

Default: The default value is half of the value of MaxConnectionsPercent. For example, if MaxConnectionsPercent is 80, then the default value of MaxIdleConnectionsPercent is 40. If the value of MaxConnectionsPercent isn't specified, then for SQL Server, MaxIdleConnectionsPercent is 5, and for all other engines, the default is 50.

Constraints: Must be between 0 and the value of MaxConnectionsPercent.

" + "documentation":"

Controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database.

If you specify this parameter, then you must also include a value for MaxConnectionsPercent.

Default: The default value is half of the value of MaxConnectionsPercent. For example, if MaxConnectionsPercent is 80, then the default value of MaxIdleConnectionsPercent is 40. If the value of MaxConnectionsPercent isn't specified, then for SQL Server, MaxIdleConnectionsPercent is 5, and for all other engines, the default is 50.

Constraints: Must be between 0 and the value of MaxConnectionsPercent.

" }, "ConnectionBorrowTimeout":{ "shape":"IntegerOptional", @@ -8024,7 +8025,7 @@ "members":{ "DBParameterGroupFamily":{ "shape":"String", - "documentation":"

The name of the DB parameter group family.

Valid Values:

" + "documentation":"

The name of the DB parameter group family.

Valid Values:

" }, "Filters":{ "shape":"FilterList", @@ -8147,6 +8148,10 @@ "MaxRecords":{ "shape":"MaxRecords", "documentation":"

The maximum number of records to include in the response. If more records exist than the specified value, a pagination token called a marker is included in the response. You can use the marker in a later DescribeExportTasks request to retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

" + }, + "SourceType":{ + "shape":"ExportSourceType", + "documentation":"

The type of source for the export.

" } } }, @@ -8786,6 +8791,13 @@ }, "documentation":"

Contains the result of a successful invocation of the DescribeEvents action.

" }, + "ExportSourceType":{ + "type":"string", + "enum":[ + "SNAPSHOT", + "CLUSTER" + ] + }, "ExportTask":{ "type":"structure", "members":{ @@ -8848,6 +8860,10 @@ "WarningMessage":{ "shape":"String", "documentation":"

A warning about the snapshot export task.

" + }, + "SourceType":{ + "shape":"ExportSourceType", + "documentation":"

The type of source for the export.

" } }, "documentation":"

Contains the details of a snapshot export to Amazon S3.

This data type is used as a response element in the DescribeExportTasks action.

" diff --git a/sdk/src/Services/RDS/Generated/Model/CancelExportTaskResponse.cs b/sdk/src/Services/RDS/Generated/Model/CancelExportTaskResponse.cs index 709ae3371c4e..eea10472889d 100644 --- a/sdk/src/Services/RDS/Generated/Model/CancelExportTaskResponse.cs +++ b/sdk/src/Services/RDS/Generated/Model/CancelExportTaskResponse.cs @@ -49,6 +49,7 @@ public partial class CancelExportTaskResponse : AmazonWebServiceResponse private string _s3Prefix; private DateTime? _snapshotTime; private string _sourceArn; + private ExportSourceType _sourceType; private string _status; private DateTime? _taskEndTime; private DateTime? _taskStartTime; @@ -259,6 +260,24 @@ internal bool IsSetSourceArn() return this._sourceArn != null; } + /// + /// Gets and sets the property SourceType. + /// + /// The type of source for the export. + /// + /// + public ExportSourceType SourceType + { + get { return this._sourceType; } + set { this._sourceType = value; } + } + + // Check to see if SourceType property is set + internal bool IsSetSourceType() + { + return this._sourceType != null; + } + /// /// Gets and sets the property Status. /// diff --git a/sdk/src/Services/RDS/Generated/Model/ConnectionPoolConfiguration.cs b/sdk/src/Services/RDS/Generated/Model/ConnectionPoolConfiguration.cs index cf028c718b82..1cc27d2b5e88 100644 --- a/sdk/src/Services/RDS/Generated/Model/ConnectionPoolConfiguration.cs +++ b/sdk/src/Services/RDS/Generated/Model/ConnectionPoolConfiguration.cs @@ -103,6 +103,11 @@ internal bool IsSetInitQuery() /// /// /// + /// If you specify MaxIdleConnectionsPercent, then you must also include + /// a value for this parameter. + /// + /// + /// /// Default: 10 for RDS for Microsoft SQL Server, and 100 for all other engines /// /// @@ -133,6 +138,10 @@ internal bool IsSetMaxConnectionsPercent() /// /// /// + /// If you specify this parameter, then you must also include a value for MaxConnectionsPercent. + /// + /// + /// /// Default: The default value is half of the value of MaxConnectionsPercent. /// For example, if MaxConnectionsPercent is 80, then the default value of /// MaxIdleConnectionsPercent is 40. If the value of MaxConnectionsPercent diff --git a/sdk/src/Services/RDS/Generated/Model/DescribeEngineDefaultParametersRequest.cs b/sdk/src/Services/RDS/Generated/Model/DescribeEngineDefaultParametersRequest.cs index 16512d914cad..35041f73a5fd 100644 --- a/sdk/src/Services/RDS/Generated/Model/DescribeEngineDefaultParametersRequest.cs +++ b/sdk/src/Services/RDS/Generated/Model/DescribeEngineDefaultParametersRequest.cs @@ -48,7 +48,7 @@ public DescribeEngineDefaultParametersRequest() { } /// /// Instantiates DescribeEngineDefaultParametersRequest with the parameterized properties /// - /// The name of the DB parameter group family. Valid Values:
  • aurora5.6
  • aurora-mysql5.7
  • aurora-mysql8.0
  • aurora-postgresql10
  • aurora-postgresql11
  • aurora-postgresql12
  • aurora-postgresql13
  • mariadb10.2
  • mariadb10.3
  • mariadb10.4
  • mariadb10.5
  • mariadb10.6
  • mysql5.7
  • mysql8.0
  • postgres10
  • postgres11
  • postgres12
  • postgres13
  • postgres14
  • sqlserver-ee-11.0
  • sqlserver-ee-12.0
  • sqlserver-ee-13.0
  • sqlserver-ee-14.0
  • sqlserver-ee-15.0
  • sqlserver-ex-11.0
  • sqlserver-ex-12.0
  • sqlserver-ex-13.0
  • sqlserver-ex-14.0
  • sqlserver-ex-15.0
  • sqlserver-se-11.0
  • sqlserver-se-12.0
  • sqlserver-se-13.0
  • sqlserver-se-14.0
  • sqlserver-se-15.0
  • sqlserver-web-11.0
  • sqlserver-web-12.0
  • sqlserver-web-13.0
  • sqlserver-web-14.0
  • sqlserver-web-15.0
+ /// The name of the DB parameter group family. Valid Values:
  • aurora5.6
  • aurora-mysql5.7
  • aurora-mysql8.0
  • aurora-postgresql10
  • aurora-postgresql11
  • aurora-postgresql12
  • aurora-postgresql13
  • aurora-postgresql14
  • custom-oracle-ee-19
  • mariadb10.2
  • mariadb10.3
  • mariadb10.4
  • mariadb10.5
  • mariadb10.6
  • mysql5.7
  • mysql8.0
  • oracle-ee-19
  • oracle-ee-cdb-19
  • oracle-ee-cdb-21
  • oracle-se2-19
  • oracle-se2-cdb-19
  • oracle-se2-cdb-21
  • postgres10
  • postgres11
  • postgres12
  • postgres13
  • postgres14
  • sqlserver-ee-11.0
  • sqlserver-ee-12.0
  • sqlserver-ee-13.0
  • sqlserver-ee-14.0
  • sqlserver-ee-15.0
  • sqlserver-ex-11.0
  • sqlserver-ex-12.0
  • sqlserver-ex-13.0
  • sqlserver-ex-14.0
  • sqlserver-ex-15.0
  • sqlserver-se-11.0
  • sqlserver-se-12.0
  • sqlserver-se-13.0
  • sqlserver-se-14.0
  • sqlserver-se-15.0
  • sqlserver-web-11.0
  • sqlserver-web-12.0
  • sqlserver-web-13.0
  • sqlserver-web-14.0
  • sqlserver-web-15.0
public DescribeEngineDefaultParametersRequest(string dbParameterGroupFamily) { _dbParameterGroupFamily = dbParameterGroupFamily; @@ -93,6 +93,14 @@ public DescribeEngineDefaultParametersRequest(string dbParameterGroupFamily) ///
///
  • /// + /// aurora-postgresql14 + /// + ///
  • + /// + /// custom-oracle-ee-19 + /// + ///
  • + /// /// mariadb10.2 /// ///
  • @@ -121,6 +129,30 @@ public DescribeEngineDefaultParametersRequest(string dbParameterGroupFamily) /// ///
  • /// + /// oracle-ee-19 + /// + ///
  • + /// + /// oracle-ee-cdb-19 + /// + ///
  • + /// + /// oracle-ee-cdb-21 + /// + ///
  • + /// + /// oracle-se2-19 + /// + ///
  • + /// + /// oracle-se2-cdb-19 + /// + ///
  • + /// + /// oracle-se2-cdb-21 + /// + ///
  • + /// /// postgres10 /// ///
  • diff --git a/sdk/src/Services/RDS/Generated/Model/DescribeExportTasksRequest.cs b/sdk/src/Services/RDS/Generated/Model/DescribeExportTasksRequest.cs index 8a034bc514e4..d6cdb73b35a2 100644 --- a/sdk/src/Services/RDS/Generated/Model/DescribeExportTasksRequest.cs +++ b/sdk/src/Services/RDS/Generated/Model/DescribeExportTasksRequest.cs @@ -40,6 +40,7 @@ public partial class DescribeExportTasksRequest : AmazonRDSRequest private string _marker; private int? _maxRecords; private string _sourceArn; + private ExportSourceType _sourceType; /// /// Gets and sets the property ExportTaskIdentifier. @@ -194,5 +195,23 @@ internal bool IsSetSourceArn() return this._sourceArn != null; } + /// + /// Gets and sets the property SourceType. + /// + /// The type of source for the export. + /// + /// + public ExportSourceType SourceType + { + get { return this._sourceType; } + set { this._sourceType = value; } + } + + // Check to see if SourceType property is set + internal bool IsSetSourceType() + { + return this._sourceType != null; + } + } } \ No newline at end of file diff --git a/sdk/src/Services/RDS/Generated/Model/ExportTask.cs b/sdk/src/Services/RDS/Generated/Model/ExportTask.cs index 9fc4ba6c6e1d..ffdced20040b 100644 --- a/sdk/src/Services/RDS/Generated/Model/ExportTask.cs +++ b/sdk/src/Services/RDS/Generated/Model/ExportTask.cs @@ -49,6 +49,7 @@ public partial class ExportTask private string _s3Prefix; private DateTime? _snapshotTime; private string _sourceArn; + private ExportSourceType _sourceType; private string _status; private DateTime? _taskEndTime; private DateTime? _taskStartTime; @@ -259,6 +260,24 @@ internal bool IsSetSourceArn() return this._sourceArn != null; } + /// + /// Gets and sets the property SourceType. + /// + /// The type of source for the export. + /// + /// + public ExportSourceType SourceType + { + get { return this._sourceType; } + set { this._sourceType = value; } + } + + // Check to see if SourceType property is set + internal bool IsSetSourceType() + { + return this._sourceType != null; + } + /// /// Gets and sets the property Status. /// diff --git a/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/CancelExportTaskResponseUnmarshaller.cs b/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/CancelExportTaskResponseUnmarshaller.cs index 50b03d850469..b8832ab4c8ad 100644 --- a/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/CancelExportTaskResponseUnmarshaller.cs +++ b/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/CancelExportTaskResponseUnmarshaller.cs @@ -142,6 +142,12 @@ private static void UnmarshallResult(XmlUnmarshallerContext context, CancelExpor response.SourceArn = unmarshaller.Unmarshall(context); continue; } + if (context.TestExpression("SourceType", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + response.SourceType = unmarshaller.Unmarshall(context); + continue; + } if (context.TestExpression("Status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; diff --git a/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/DescribeExportTasksRequestMarshaller.cs b/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/DescribeExportTasksRequestMarshaller.cs index 77ea74532a0e..1344f75b50e4 100644 --- a/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/DescribeExportTasksRequestMarshaller.cs +++ b/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/DescribeExportTasksRequestMarshaller.cs @@ -95,6 +95,10 @@ public IRequest Marshall(DescribeExportTasksRequest publicRequest) { request.Parameters.Add("SourceArn", StringUtils.FromString(publicRequest.SourceArn)); } + if(publicRequest.IsSetSourceType()) + { + request.Parameters.Add("SourceType", StringUtils.FromString(publicRequest.SourceType)); + } } return request; } diff --git a/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/ExportTaskUnmarshaller.cs b/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/ExportTaskUnmarshaller.cs index 164c9358af42..f7d28e87f7de 100644 --- a/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/ExportTaskUnmarshaller.cs +++ b/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/ExportTaskUnmarshaller.cs @@ -115,6 +115,12 @@ public ExportTask Unmarshall(XmlUnmarshallerContext context) unmarshalledObject.SourceArn = unmarshaller.Unmarshall(context); continue; } + if (context.TestExpression("SourceType", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.SourceType = unmarshaller.Unmarshall(context); + continue; + } if (context.TestExpression("Status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; diff --git a/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/StartExportTaskResponseUnmarshaller.cs b/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/StartExportTaskResponseUnmarshaller.cs index 33f6dbdb946e..4e0f7e08a9f2 100644 --- a/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/StartExportTaskResponseUnmarshaller.cs +++ b/sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/StartExportTaskResponseUnmarshaller.cs @@ -142,6 +142,12 @@ private static void UnmarshallResult(XmlUnmarshallerContext context, StartExport response.SourceArn = unmarshaller.Unmarshall(context); continue; } + if (context.TestExpression("SourceType", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + response.SourceType = unmarshaller.Unmarshall(context); + continue; + } if (context.TestExpression("Status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; @@ -197,6 +203,10 @@ public override AmazonServiceException UnmarshallException(XmlUnmarshallerContex using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new XmlUnmarshallerContext(streamCopy, false, null)) { + if (errorResponse.Code != null && errorResponse.Code.Equals("DBClusterNotFoundFault")) + { + return DBClusterNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); + } if (errorResponse.Code != null && errorResponse.Code.Equals("DBClusterSnapshotNotFoundFault")) { return DBClusterSnapshotNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); diff --git a/sdk/src/Services/RDS/Generated/Model/StartExportTaskResponse.cs b/sdk/src/Services/RDS/Generated/Model/StartExportTaskResponse.cs index d7640f7b1984..0b9887962751 100644 --- a/sdk/src/Services/RDS/Generated/Model/StartExportTaskResponse.cs +++ b/sdk/src/Services/RDS/Generated/Model/StartExportTaskResponse.cs @@ -49,6 +49,7 @@ public partial class StartExportTaskResponse : AmazonWebServiceResponse private string _s3Prefix; private DateTime? _snapshotTime; private string _sourceArn; + private ExportSourceType _sourceType; private string _status; private DateTime? _taskEndTime; private DateTime? _taskStartTime; @@ -259,6 +260,24 @@ internal bool IsSetSourceArn() return this._sourceArn != null; } + /// + /// Gets and sets the property SourceType. + /// + /// The type of source for the export. + /// + /// + public ExportSourceType SourceType + { + get { return this._sourceType; } + set { this._sourceType = value; } + } + + // Check to see if SourceType property is set + internal bool IsSetSourceType() + { + return this._sourceType != null; + } + /// /// Gets and sets the property Status. /// diff --git a/sdk/src/Services/RDS/Generated/ServiceEnumerations.cs b/sdk/src/Services/RDS/Generated/ServiceEnumerations.cs index 17a29e014789..aeeece6116fd 100644 --- a/sdk/src/Services/RDS/Generated/ServiceEnumerations.cs +++ b/sdk/src/Services/RDS/Generated/ServiceEnumerations.cs @@ -688,6 +688,56 @@ public static implicit operator EngineFamily(string value) } + /// + /// Constants used for properties of type ExportSourceType. + /// + public class ExportSourceType : ConstantClass + { + + /// + /// Constant CLUSTER for ExportSourceType + /// + public static readonly ExportSourceType CLUSTER = new ExportSourceType("CLUSTER"); + /// + /// Constant SNAPSHOT for ExportSourceType + /// + public static readonly ExportSourceType SNAPSHOT = new ExportSourceType("SNAPSHOT"); + + /// + /// This constant constructor does not need to be called if the constant + /// you are attempting to use is already defined as a static instance of + /// this class. + /// This constructor should be used to construct constants that are not + /// defined as statics, for instance if attempting to use a feature that is + /// newer than the current version of the SDK. + /// + public ExportSourceType(string value) + : base(value) + { + } + + /// + /// Finds the constant for the unique value. + /// + /// The unique value for the constant + /// The constant for the unique value + public static ExportSourceType FindValue(string value) + { + return FindValue(value); + } + + /// + /// Utility method to convert strings to the constant class. + /// + /// The string value to convert to the constant class. + /// + public static implicit operator ExportSourceType(string value) + { + return FindValue(value); + } + } + + /// /// Constants used for properties of type FailoverStatus. /// diff --git a/sdk/src/Services/RDS/Generated/_bcl35/AmazonRDSClient.cs b/sdk/src/Services/RDS/Generated/_bcl35/AmazonRDSClient.cs index fbb3a54a93d4..9d82d542ebae 100644 --- a/sdk/src/Services/RDS/Generated/_bcl35/AmazonRDSClient.cs +++ b/sdk/src/Services/RDS/Generated/_bcl35/AmazonRDSClient.cs @@ -10820,6 +10820,9 @@ public virtual StartDBInstanceAutomatedBackupsReplicationResponse EndStartDBInst /// Container for the necessary parameters to execute the StartExportTask service method. /// /// The response from the StartExportTask service method, as returned by RDS. + /// + /// DBClusterIdentifier doesn't refer to an existing DB cluster. + /// /// /// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster /// snapshot. diff --git a/sdk/src/Services/RDS/Generated/_bcl35/IAmazonRDS.cs b/sdk/src/Services/RDS/Generated/_bcl35/IAmazonRDS.cs index c7a5565f1f2a..0d1b15eae943 100644 --- a/sdk/src/Services/RDS/Generated/_bcl35/IAmazonRDS.cs +++ b/sdk/src/Services/RDS/Generated/_bcl35/IAmazonRDS.cs @@ -8727,6 +8727,9 @@ public partial interface IAmazonRDS : IAmazonService, IDisposable /// Container for the necessary parameters to execute the StartExportTask service method. /// /// The response from the StartExportTask service method, as returned by RDS. + /// + /// DBClusterIdentifier doesn't refer to an existing DB cluster. + /// /// /// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster /// snapshot. diff --git a/sdk/src/Services/RDS/Generated/_bcl45/AmazonRDSClient.cs b/sdk/src/Services/RDS/Generated/_bcl45/AmazonRDSClient.cs index 38a59ffb06b9..27aaf66de0b0 100644 --- a/sdk/src/Services/RDS/Generated/_bcl45/AmazonRDSClient.cs +++ b/sdk/src/Services/RDS/Generated/_bcl45/AmazonRDSClient.cs @@ -12569,6 +12569,9 @@ public virtual StartDBInstanceAutomatedBackupsReplicationResponse StartDBInstanc /// Container for the necessary parameters to execute the StartExportTask service method. /// /// The response from the StartExportTask service method, as returned by RDS. + /// + /// DBClusterIdentifier doesn't refer to an existing DB cluster. + /// /// /// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster /// snapshot. @@ -12625,6 +12628,9 @@ public virtual StartExportTaskResponse StartExportTask(StartExportTaskRequest re /// /// /// The response from the StartExportTask service method, as returned by RDS. + /// + /// DBClusterIdentifier doesn't refer to an existing DB cluster. + /// /// /// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster /// snapshot. diff --git a/sdk/src/Services/RDS/Generated/_bcl45/IAmazonRDS.cs b/sdk/src/Services/RDS/Generated/_bcl45/IAmazonRDS.cs index 57daa3edc622..4be4eed6d852 100644 --- a/sdk/src/Services/RDS/Generated/_bcl45/IAmazonRDS.cs +++ b/sdk/src/Services/RDS/Generated/_bcl45/IAmazonRDS.cs @@ -10579,6 +10579,9 @@ public partial interface IAmazonRDS : IAmazonService, IDisposable /// Container for the necessary parameters to execute the StartExportTask service method. /// /// The response from the StartExportTask service method, as returned by RDS. + /// + /// DBClusterIdentifier doesn't refer to an existing DB cluster. + /// /// /// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster /// snapshot. @@ -10629,6 +10632,9 @@ public partial interface IAmazonRDS : IAmazonService, IDisposable /// /// /// The response from the StartExportTask service method, as returned by RDS. + /// + /// DBClusterIdentifier doesn't refer to an existing DB cluster. + /// /// /// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster /// snapshot. diff --git a/sdk/src/Services/RDS/Generated/_netstandard/AmazonRDSClient.cs b/sdk/src/Services/RDS/Generated/_netstandard/AmazonRDSClient.cs index 92ab1c004497..6685dc6da2d5 100644 --- a/sdk/src/Services/RDS/Generated/_netstandard/AmazonRDSClient.cs +++ b/sdk/src/Services/RDS/Generated/_netstandard/AmazonRDSClient.cs @@ -8321,6 +8321,9 @@ internal virtual StartExportTaskResponse StartExportTask(StartExportTaskRequest /// /// /// The response from the StartExportTask service method, as returned by RDS. + /// + /// DBClusterIdentifier doesn't refer to an existing DB cluster. + /// /// /// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster /// snapshot. diff --git a/sdk/src/Services/RDS/Generated/_netstandard/IAmazonRDS.cs b/sdk/src/Services/RDS/Generated/_netstandard/IAmazonRDS.cs index 74797e2f3a66..2c9787a969da 100644 --- a/sdk/src/Services/RDS/Generated/_netstandard/IAmazonRDS.cs +++ b/sdk/src/Services/RDS/Generated/_netstandard/IAmazonRDS.cs @@ -5899,6 +5899,9 @@ public partial interface IAmazonRDS : IAmazonService, IDisposable /// /// /// The response from the StartExportTask service method, as returned by RDS. + /// + /// DBClusterIdentifier doesn't refer to an existing DB cluster. + /// /// /// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster /// snapshot. diff --git a/sdk/test/Services/RDS/UnitTests/Generated/Endpoints/RDSEndpointProviderTests.cs b/sdk/test/Services/RDS/UnitTests/Generated/Endpoints/RDSEndpointProviderTests.cs index 173369b10194..e44594052e18 100644 --- a/sdk/test/Services/RDS/UnitTests/Generated/Endpoints/RDSEndpointProviderTests.cs +++ b/sdk/test/Services/RDS/UnitTests/Generated/Endpoints/RDSEndpointProviderTests.cs @@ -35,9 +35,9 @@ public partial class RDSEndpointsTests public void For_region_apsouth2_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-south-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-south-2.api.aws", endpoint.URL); } @@ -50,9 +50,9 @@ public void For_region_apsouth2_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_apsouth2_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-south-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-south-2.amazonaws.com", endpoint.URL); } @@ -65,9 +65,9 @@ public void For_region_apsouth2_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_apsouth2_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-south-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-south-2.api.aws", endpoint.URL); } @@ -80,9 +80,9 @@ public void For_region_apsouth2_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_apsouth2_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-south-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-south-2.amazonaws.com", endpoint.URL); } @@ -95,9 +95,9 @@ public void For_region_apsouth2_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_apsouth1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-south-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-south-1.api.aws", endpoint.URL); } @@ -110,9 +110,9 @@ public void For_region_apsouth1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_apsouth1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-south-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-south-1.amazonaws.com", endpoint.URL); } @@ -125,9 +125,9 @@ public void For_region_apsouth1_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_apsouth1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-south-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-south-1.api.aws", endpoint.URL); } @@ -140,9 +140,9 @@ public void For_region_apsouth1_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_apsouth1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-south-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-south-1.amazonaws.com", endpoint.URL); } @@ -155,9 +155,9 @@ public void For_region_apsouth1_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_eusouth1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-south-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-south-1.api.aws", endpoint.URL); } @@ -170,9 +170,9 @@ public void For_region_eusouth1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_eusouth1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-south-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-south-1.amazonaws.com", endpoint.URL); } @@ -185,9 +185,9 @@ public void For_region_eusouth1_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_eusouth1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-south-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-south-1.api.aws", endpoint.URL); } @@ -200,9 +200,9 @@ public void For_region_eusouth1_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_eusouth1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-south-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-south-1.amazonaws.com", endpoint.URL); } @@ -215,9 +215,9 @@ public void For_region_eusouth1_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_eusouth2_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-south-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-south-2.api.aws", endpoint.URL); } @@ -230,9 +230,9 @@ public void For_region_eusouth2_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_eusouth2_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-south-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-south-2.amazonaws.com", endpoint.URL); } @@ -245,9 +245,9 @@ public void For_region_eusouth2_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_eusouth2_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-south-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-south-2.api.aws", endpoint.URL); } @@ -260,9 +260,9 @@ public void For_region_eusouth2_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_eusouth2_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-south-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-south-2.amazonaws.com", endpoint.URL); } @@ -275,9 +275,9 @@ public void For_region_eusouth2_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_usgoveast1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-gov-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-gov-east-1.api.aws", endpoint.URL); } @@ -290,9 +290,9 @@ public void For_region_usgoveast1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_usgoveast1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-gov-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-gov-east-1.amazonaws.com", endpoint.URL); } @@ -305,9 +305,9 @@ public void For_region_usgoveast1_with_FIPS_enabled_and_DualStack_disabled_Test( public void For_region_usgoveast1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-gov-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-gov-east-1.api.aws", endpoint.URL); } @@ -320,9 +320,9 @@ public void For_region_usgoveast1_with_FIPS_disabled_and_DualStack_enabled_Test( public void For_region_usgoveast1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-gov-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-gov-east-1.amazonaws.com", endpoint.URL); } @@ -335,9 +335,9 @@ public void For_region_usgoveast1_with_FIPS_disabled_and_DualStack_disabled_Test public void For_region_mecentral1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "me-central-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.me-central-1.api.aws", endpoint.URL); } @@ -350,9 +350,9 @@ public void For_region_mecentral1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_mecentral1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "me-central-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.me-central-1.amazonaws.com", endpoint.URL); } @@ -365,9 +365,9 @@ public void For_region_mecentral1_with_FIPS_enabled_and_DualStack_disabled_Test( public void For_region_mecentral1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "me-central-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.me-central-1.api.aws", endpoint.URL); } @@ -380,9 +380,9 @@ public void For_region_mecentral1_with_FIPS_disabled_and_DualStack_enabled_Test( public void For_region_mecentral1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "me-central-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.me-central-1.amazonaws.com", endpoint.URL); } @@ -395,9 +395,9 @@ public void For_region_mecentral1_with_FIPS_disabled_and_DualStack_disabled_Test public void For_region_cacentral1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ca-central-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ca-central-1.api.aws", endpoint.URL); } @@ -410,9 +410,9 @@ public void For_region_cacentral1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_cacentral1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ca-central-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ca-central-1.amazonaws.com", endpoint.URL); } @@ -425,9 +425,9 @@ public void For_region_cacentral1_with_FIPS_enabled_and_DualStack_disabled_Test( public void For_region_cacentral1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ca-central-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ca-central-1.api.aws", endpoint.URL); } @@ -440,9 +440,9 @@ public void For_region_cacentral1_with_FIPS_disabled_and_DualStack_enabled_Test( public void For_region_cacentral1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ca-central-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ca-central-1.amazonaws.com", endpoint.URL); } @@ -455,9 +455,9 @@ public void For_region_cacentral1_with_FIPS_disabled_and_DualStack_disabled_Test public void For_region_eucentral1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-central-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-central-1.api.aws", endpoint.URL); } @@ -470,9 +470,9 @@ public void For_region_eucentral1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_eucentral1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-central-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-central-1.amazonaws.com", endpoint.URL); } @@ -485,9 +485,9 @@ public void For_region_eucentral1_with_FIPS_enabled_and_DualStack_disabled_Test( public void For_region_eucentral1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-central-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-central-1.api.aws", endpoint.URL); } @@ -500,9 +500,9 @@ public void For_region_eucentral1_with_FIPS_disabled_and_DualStack_enabled_Test( public void For_region_eucentral1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-central-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-central-1.amazonaws.com", endpoint.URL); } @@ -516,9 +516,9 @@ public void For_region_eucentral1_with_FIPS_disabled_and_DualStack_disabled_Test public void For_region_usisowest1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-iso-west-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); } @@ -530,9 +530,9 @@ public void For_region_usisowest1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_usisowest1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-iso-west-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-iso-west-1.c2s.ic.gov", endpoint.URL); } @@ -546,9 +546,9 @@ public void For_region_usisowest1_with_FIPS_enabled_and_DualStack_disabled_Test( public void For_region_usisowest1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-iso-west-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); } @@ -560,9 +560,9 @@ public void For_region_usisowest1_with_FIPS_disabled_and_DualStack_enabled_Test( public void For_region_usisowest1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-iso-west-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-iso-west-1.c2s.ic.gov", endpoint.URL); } @@ -575,9 +575,9 @@ public void For_region_usisowest1_with_FIPS_disabled_and_DualStack_disabled_Test public void For_region_eucentral2_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-central-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-central-2.api.aws", endpoint.URL); } @@ -590,9 +590,9 @@ public void For_region_eucentral2_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_eucentral2_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-central-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-central-2.amazonaws.com", endpoint.URL); } @@ -605,9 +605,9 @@ public void For_region_eucentral2_with_FIPS_enabled_and_DualStack_disabled_Test( public void For_region_eucentral2_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-central-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-central-2.api.aws", endpoint.URL); } @@ -620,9 +620,9 @@ public void For_region_eucentral2_with_FIPS_disabled_and_DualStack_enabled_Test( public void For_region_eucentral2_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-central-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-central-2.amazonaws.com", endpoint.URL); } @@ -635,9 +635,9 @@ public void For_region_eucentral2_with_FIPS_disabled_and_DualStack_disabled_Test public void For_region_uswest1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-west-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-west-1.api.aws", endpoint.URL); } @@ -650,9 +650,9 @@ public void For_region_uswest1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_uswest1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-west-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-west-1.amazonaws.com", endpoint.URL); } @@ -665,9 +665,9 @@ public void For_region_uswest1_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_uswest1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-west-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-west-1.api.aws", endpoint.URL); } @@ -680,9 +680,9 @@ public void For_region_uswest1_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_uswest1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-west-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-west-1.amazonaws.com", endpoint.URL); } @@ -695,9 +695,9 @@ public void For_region_uswest1_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_uswest2_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-west-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-west-2.api.aws", endpoint.URL); } @@ -710,9 +710,9 @@ public void For_region_uswest2_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_uswest2_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-west-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-west-2.amazonaws.com", endpoint.URL); } @@ -725,9 +725,9 @@ public void For_region_uswest2_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_uswest2_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-west-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-west-2.api.aws", endpoint.URL); } @@ -740,9 +740,9 @@ public void For_region_uswest2_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_uswest2_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-west-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-west-2.amazonaws.com", endpoint.URL); } @@ -755,9 +755,9 @@ public void For_region_uswest2_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_afsouth1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "af-south-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.af-south-1.api.aws", endpoint.URL); } @@ -770,9 +770,9 @@ public void For_region_afsouth1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_afsouth1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "af-south-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.af-south-1.amazonaws.com", endpoint.URL); } @@ -785,9 +785,9 @@ public void For_region_afsouth1_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_afsouth1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "af-south-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.af-south-1.api.aws", endpoint.URL); } @@ -800,9 +800,9 @@ public void For_region_afsouth1_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_afsouth1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "af-south-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.af-south-1.amazonaws.com", endpoint.URL); } @@ -815,9 +815,9 @@ public void For_region_afsouth1_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_eunorth1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-north-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-north-1.api.aws", endpoint.URL); } @@ -830,9 +830,9 @@ public void For_region_eunorth1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_eunorth1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-north-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-north-1.amazonaws.com", endpoint.URL); } @@ -845,9 +845,9 @@ public void For_region_eunorth1_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_eunorth1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-north-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-north-1.api.aws", endpoint.URL); } @@ -860,9 +860,9 @@ public void For_region_eunorth1_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_eunorth1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-north-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-north-1.amazonaws.com", endpoint.URL); } @@ -875,9 +875,9 @@ public void For_region_eunorth1_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_euwest3_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-west-3"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-west-3.api.aws", endpoint.URL); } @@ -890,9 +890,9 @@ public void For_region_euwest3_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_euwest3_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-west-3"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-west-3.amazonaws.com", endpoint.URL); } @@ -905,9 +905,9 @@ public void For_region_euwest3_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_euwest3_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-west-3"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-west-3.api.aws", endpoint.URL); } @@ -920,9 +920,9 @@ public void For_region_euwest3_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_euwest3_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-west-3"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-west-3.amazonaws.com", endpoint.URL); } @@ -935,9 +935,9 @@ public void For_region_euwest3_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_euwest2_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-west-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-west-2.api.aws", endpoint.URL); } @@ -950,9 +950,9 @@ public void For_region_euwest2_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_euwest2_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-west-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-west-2.amazonaws.com", endpoint.URL); } @@ -965,9 +965,9 @@ public void For_region_euwest2_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_euwest2_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-west-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-west-2.api.aws", endpoint.URL); } @@ -980,9 +980,9 @@ public void For_region_euwest2_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_euwest2_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-west-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-west-2.amazonaws.com", endpoint.URL); } @@ -995,9 +995,9 @@ public void For_region_euwest2_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_euwest1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-west-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-west-1.api.aws", endpoint.URL); } @@ -1010,9 +1010,9 @@ public void For_region_euwest1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_euwest1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "eu-west-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.eu-west-1.amazonaws.com", endpoint.URL); } @@ -1025,9 +1025,9 @@ public void For_region_euwest1_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_euwest1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-west-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-west-1.api.aws", endpoint.URL); } @@ -1040,9 +1040,9 @@ public void For_region_euwest1_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_euwest1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "eu-west-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.eu-west-1.amazonaws.com", endpoint.URL); } @@ -1055,9 +1055,9 @@ public void For_region_euwest1_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_apnortheast3_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-northeast-3"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-northeast-3.api.aws", endpoint.URL); } @@ -1070,9 +1070,9 @@ public void For_region_apnortheast3_with_FIPS_enabled_and_DualStack_enabled_Test public void For_region_apnortheast3_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-northeast-3"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-northeast-3.amazonaws.com", endpoint.URL); } @@ -1085,9 +1085,9 @@ public void For_region_apnortheast3_with_FIPS_enabled_and_DualStack_disabled_Tes public void For_region_apnortheast3_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-northeast-3"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-northeast-3.api.aws", endpoint.URL); } @@ -1100,9 +1100,9 @@ public void For_region_apnortheast3_with_FIPS_disabled_and_DualStack_enabled_Tes public void For_region_apnortheast3_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-northeast-3"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-northeast-3.amazonaws.com", endpoint.URL); } @@ -1115,9 +1115,9 @@ public void For_region_apnortheast3_with_FIPS_disabled_and_DualStack_disabled_Te public void For_region_apnortheast2_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-northeast-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-northeast-2.api.aws", endpoint.URL); } @@ -1130,9 +1130,9 @@ public void For_region_apnortheast2_with_FIPS_enabled_and_DualStack_enabled_Test public void For_region_apnortheast2_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-northeast-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-northeast-2.amazonaws.com", endpoint.URL); } @@ -1145,9 +1145,9 @@ public void For_region_apnortheast2_with_FIPS_enabled_and_DualStack_disabled_Tes public void For_region_apnortheast2_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-northeast-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-northeast-2.api.aws", endpoint.URL); } @@ -1160,9 +1160,9 @@ public void For_region_apnortheast2_with_FIPS_disabled_and_DualStack_enabled_Tes public void For_region_apnortheast2_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-northeast-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-northeast-2.amazonaws.com", endpoint.URL); } @@ -1175,9 +1175,9 @@ public void For_region_apnortheast2_with_FIPS_disabled_and_DualStack_disabled_Te public void For_region_apnortheast1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-northeast-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-northeast-1.api.aws", endpoint.URL); } @@ -1190,9 +1190,9 @@ public void For_region_apnortheast1_with_FIPS_enabled_and_DualStack_enabled_Test public void For_region_apnortheast1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-northeast-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-northeast-1.amazonaws.com", endpoint.URL); } @@ -1205,9 +1205,9 @@ public void For_region_apnortheast1_with_FIPS_enabled_and_DualStack_disabled_Tes public void For_region_apnortheast1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-northeast-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-northeast-1.api.aws", endpoint.URL); } @@ -1220,9 +1220,9 @@ public void For_region_apnortheast1_with_FIPS_disabled_and_DualStack_enabled_Tes public void For_region_apnortheast1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-northeast-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-northeast-1.amazonaws.com", endpoint.URL); } @@ -1235,9 +1235,9 @@ public void For_region_apnortheast1_with_FIPS_disabled_and_DualStack_disabled_Te public void For_region_mesouth1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "me-south-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.me-south-1.api.aws", endpoint.URL); } @@ -1250,9 +1250,9 @@ public void For_region_mesouth1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_mesouth1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "me-south-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.me-south-1.amazonaws.com", endpoint.URL); } @@ -1265,9 +1265,9 @@ public void For_region_mesouth1_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_mesouth1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "me-south-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.me-south-1.api.aws", endpoint.URL); } @@ -1280,9 +1280,9 @@ public void For_region_mesouth1_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_mesouth1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "me-south-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.me-south-1.amazonaws.com", endpoint.URL); } @@ -1295,9 +1295,9 @@ public void For_region_mesouth1_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_saeast1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "sa-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.sa-east-1.api.aws", endpoint.URL); } @@ -1310,9 +1310,9 @@ public void For_region_saeast1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_saeast1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "sa-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.sa-east-1.amazonaws.com", endpoint.URL); } @@ -1325,9 +1325,9 @@ public void For_region_saeast1_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_saeast1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "sa-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.sa-east-1.api.aws", endpoint.URL); } @@ -1340,9 +1340,9 @@ public void For_region_saeast1_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_saeast1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "sa-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.sa-east-1.amazonaws.com", endpoint.URL); } @@ -1355,9 +1355,9 @@ public void For_region_saeast1_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_apeast1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-east-1.api.aws", endpoint.URL); } @@ -1370,9 +1370,9 @@ public void For_region_apeast1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_apeast1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-east-1.amazonaws.com", endpoint.URL); } @@ -1385,9 +1385,9 @@ public void For_region_apeast1_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_apeast1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-east-1.api.aws", endpoint.URL); } @@ -1400,9 +1400,9 @@ public void For_region_apeast1_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_apeast1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-east-1.amazonaws.com", endpoint.URL); } @@ -1415,9 +1415,9 @@ public void For_region_apeast1_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_cnnorth1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "cn-north-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.cn-north-1.api.amazonwebservices.com.cn", endpoint.URL); } @@ -1430,9 +1430,9 @@ public void For_region_cnnorth1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_cnnorth1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "cn-north-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.cn-north-1.amazonaws.com.cn", endpoint.URL); } @@ -1445,9 +1445,9 @@ public void For_region_cnnorth1_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_cnnorth1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "cn-north-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.cn-north-1.api.amazonwebservices.com.cn", endpoint.URL); } @@ -1460,9 +1460,9 @@ public void For_region_cnnorth1_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_cnnorth1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "cn-north-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.cn-north-1.amazonaws.com.cn", endpoint.URL); } @@ -1475,9 +1475,9 @@ public void For_region_cnnorth1_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_usgovwest1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-gov-west-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-gov-west-1.api.aws", endpoint.URL); } @@ -1490,9 +1490,9 @@ public void For_region_usgovwest1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_usgovwest1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-gov-west-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-gov-west-1.amazonaws.com", endpoint.URL); } @@ -1505,9 +1505,9 @@ public void For_region_usgovwest1_with_FIPS_enabled_and_DualStack_disabled_Test( public void For_region_usgovwest1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-gov-west-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-gov-west-1.api.aws", endpoint.URL); } @@ -1520,9 +1520,9 @@ public void For_region_usgovwest1_with_FIPS_disabled_and_DualStack_enabled_Test( public void For_region_usgovwest1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-gov-west-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-gov-west-1.amazonaws.com", endpoint.URL); } @@ -1535,9 +1535,9 @@ public void For_region_usgovwest1_with_FIPS_disabled_and_DualStack_disabled_Test public void For_region_apsoutheast1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-southeast-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-southeast-1.api.aws", endpoint.URL); } @@ -1550,9 +1550,9 @@ public void For_region_apsoutheast1_with_FIPS_enabled_and_DualStack_enabled_Test public void For_region_apsoutheast1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-southeast-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-southeast-1.amazonaws.com", endpoint.URL); } @@ -1565,9 +1565,9 @@ public void For_region_apsoutheast1_with_FIPS_enabled_and_DualStack_disabled_Tes public void For_region_apsoutheast1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-southeast-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-southeast-1.api.aws", endpoint.URL); } @@ -1580,9 +1580,9 @@ public void For_region_apsoutheast1_with_FIPS_disabled_and_DualStack_enabled_Tes public void For_region_apsoutheast1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-southeast-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-southeast-1.amazonaws.com", endpoint.URL); } @@ -1595,9 +1595,9 @@ public void For_region_apsoutheast1_with_FIPS_disabled_and_DualStack_disabled_Te public void For_region_apsoutheast2_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-southeast-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-southeast-2.api.aws", endpoint.URL); } @@ -1610,9 +1610,9 @@ public void For_region_apsoutheast2_with_FIPS_enabled_and_DualStack_enabled_Test public void For_region_apsoutheast2_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-southeast-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-southeast-2.amazonaws.com", endpoint.URL); } @@ -1625,9 +1625,9 @@ public void For_region_apsoutheast2_with_FIPS_enabled_and_DualStack_disabled_Tes public void For_region_apsoutheast2_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-southeast-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-southeast-2.api.aws", endpoint.URL); } @@ -1640,9 +1640,9 @@ public void For_region_apsoutheast2_with_FIPS_disabled_and_DualStack_enabled_Tes public void For_region_apsoutheast2_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-southeast-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-southeast-2.amazonaws.com", endpoint.URL); } @@ -1656,9 +1656,9 @@ public void For_region_apsoutheast2_with_FIPS_disabled_and_DualStack_disabled_Te public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-iso-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); } @@ -1670,9 +1670,9 @@ public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-iso-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-iso-east-1.c2s.ic.gov", endpoint.URL); } @@ -1686,9 +1686,9 @@ public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_disabled_Test( public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-iso-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); } @@ -1700,9 +1700,9 @@ public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_enabled_Test( public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-iso-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-iso-east-1.c2s.ic.gov", endpoint.URL); } @@ -1715,9 +1715,9 @@ public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_disabled_Test public void For_region_apsoutheast3_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-southeast-3"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-southeast-3.api.aws", endpoint.URL); } @@ -1730,9 +1730,9 @@ public void For_region_apsoutheast3_with_FIPS_enabled_and_DualStack_enabled_Test public void For_region_apsoutheast3_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-southeast-3"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-southeast-3.amazonaws.com", endpoint.URL); } @@ -1745,9 +1745,9 @@ public void For_region_apsoutheast3_with_FIPS_enabled_and_DualStack_disabled_Tes public void For_region_apsoutheast3_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-southeast-3"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-southeast-3.api.aws", endpoint.URL); } @@ -1760,9 +1760,9 @@ public void For_region_apsoutheast3_with_FIPS_disabled_and_DualStack_enabled_Tes public void For_region_apsoutheast3_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-southeast-3"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-southeast-3.amazonaws.com", endpoint.URL); } @@ -1775,9 +1775,9 @@ public void For_region_apsoutheast3_with_FIPS_disabled_and_DualStack_disabled_Te public void For_region_apsoutheast4_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-southeast-4"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-southeast-4.api.aws", endpoint.URL); } @@ -1790,9 +1790,9 @@ public void For_region_apsoutheast4_with_FIPS_enabled_and_DualStack_enabled_Test public void For_region_apsoutheast4_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "ap-southeast-4"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.ap-southeast-4.amazonaws.com", endpoint.URL); } @@ -1805,9 +1805,9 @@ public void For_region_apsoutheast4_with_FIPS_enabled_and_DualStack_disabled_Tes public void For_region_apsoutheast4_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-southeast-4"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-southeast-4.api.aws", endpoint.URL); } @@ -1820,9 +1820,9 @@ public void For_region_apsoutheast4_with_FIPS_disabled_and_DualStack_enabled_Tes public void For_region_apsoutheast4_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "ap-southeast-4"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.ap-southeast-4.amazonaws.com", endpoint.URL); } @@ -1835,9 +1835,9 @@ public void For_region_apsoutheast4_with_FIPS_disabled_and_DualStack_disabled_Te public void For_region_useast1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-east-1.api.aws", endpoint.URL); } @@ -1850,9 +1850,9 @@ public void For_region_useast1_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_useast1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-east-1.amazonaws.com", endpoint.URL); } @@ -1865,9 +1865,9 @@ public void For_region_useast1_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_useast1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-east-1.api.aws", endpoint.URL); } @@ -1880,9 +1880,9 @@ public void For_region_useast1_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_useast1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-east-1.amazonaws.com", endpoint.URL); } @@ -1895,9 +1895,9 @@ public void For_region_useast1_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_useast2_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-east-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-east-2.api.aws", endpoint.URL); } @@ -1910,9 +1910,9 @@ public void For_region_useast2_with_FIPS_enabled_and_DualStack_enabled_Test() public void For_region_useast2_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-east-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-east-2.amazonaws.com", endpoint.URL); } @@ -1925,9 +1925,9 @@ public void For_region_useast2_with_FIPS_enabled_and_DualStack_disabled_Test() public void For_region_useast2_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-east-2"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-east-2.api.aws", endpoint.URL); } @@ -1940,9 +1940,9 @@ public void For_region_useast2_with_FIPS_disabled_and_DualStack_enabled_Test() public void For_region_useast2_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-east-2"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-east-2.amazonaws.com", endpoint.URL); } @@ -1955,9 +1955,9 @@ public void For_region_useast2_with_FIPS_disabled_and_DualStack_disabled_Test() public void For_region_cnnorthwest1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "cn-northwest-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.cn-northwest-1.api.amazonwebservices.com.cn", endpoint.URL); } @@ -1970,9 +1970,9 @@ public void For_region_cnnorthwest1_with_FIPS_enabled_and_DualStack_enabled_Test public void For_region_cnnorthwest1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "cn-northwest-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.cn-northwest-1.amazonaws.com.cn", endpoint.URL); } @@ -1985,9 +1985,9 @@ public void For_region_cnnorthwest1_with_FIPS_enabled_and_DualStack_disabled_Tes public void For_region_cnnorthwest1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "cn-northwest-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.cn-northwest-1.api.amazonwebservices.com.cn", endpoint.URL); } @@ -2000,9 +2000,9 @@ public void For_region_cnnorthwest1_with_FIPS_disabled_and_DualStack_enabled_Tes public void For_region_cnnorthwest1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "cn-northwest-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.cn-northwest-1.amazonaws.com.cn", endpoint.URL); } @@ -2016,9 +2016,9 @@ public void For_region_cnnorthwest1_with_FIPS_disabled_and_DualStack_disabled_Te public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-isob-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); } @@ -2030,9 +2030,9 @@ public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_enabled_Test( public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-isob-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds-fips.us-isob-east-1.sc2s.sgov.gov", endpoint.URL); } @@ -2046,9 +2046,9 @@ public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_disabled_Test public void For_region_usisobeast1_with_FIPS_disabled_and_DualStack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-isob-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); } @@ -2060,9 +2060,9 @@ public void For_region_usisobeast1_with_FIPS_disabled_and_DualStack_enabled_Test public void For_region_usisobeast1_with_FIPS_disabled_and_DualStack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-isob-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://rds.us-isob-east-1.sc2s.sgov.gov", endpoint.URL); } @@ -2075,9 +2075,9 @@ public void For_region_usisobeast1_with_FIPS_disabled_and_DualStack_disabled_Tes public void For_custom_endpoint_with_fips_disabled_and_dualstack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = false; parameters["Endpoint"] = "https://example.com"; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); Assert.AreEqual("https://example.com", endpoint.URL); @@ -2092,9 +2092,9 @@ public void For_custom_endpoint_with_fips_disabled_and_dualstack_disabled_Test() public void For_custom_endpoint_with_fips_enabled_and_dualstack_disabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = true; parameters["Region"] = "us-east-1"; parameters["UseDualStack"] = false; - parameters["UseFIPS"] = true; parameters["Endpoint"] = "https://example.com"; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); } @@ -2108,9 +2108,9 @@ public void For_custom_endpoint_with_fips_enabled_and_dualstack_disabled_Test() public void For_custom_endpoint_with_fips_disabled_and_dualstack_enabled_Test() { var parameters = new RDSEndpointParameters(); + parameters["UseFIPS"] = false; parameters["Region"] = "us-east-1"; parameters["UseDualStack"] = true; - parameters["UseFIPS"] = false; parameters["Endpoint"] = "https://example.com"; var endpoint = new AmazonRDSEndpointProvider().ResolveEndpoint(parameters); } diff --git a/sdk/test/Services/RDS/UnitTests/Generated/Marshalling/RDSMarshallingTests.cs b/sdk/test/Services/RDS/UnitTests/Generated/Marshalling/RDSMarshallingTests.cs index 7b96359024ba..396bb1eb865c 100644 --- a/sdk/test/Services/RDS/UnitTests/Generated/Marshalling/RDSMarshallingTests.cs +++ b/sdk/test/Services/RDS/UnitTests/Generated/Marshalling/RDSMarshallingTests.cs @@ -14757,6 +14757,29 @@ public void StartExportTaskMarshallTest() InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); } + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("RDS")] + public void StartExportTask_DBClusterNotFoundExceptionMarshallTest() + { + var operation = service_model.FindOperation("StartExportTask"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new StartExportTaskRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + var exception = operation.Exceptions.First(e => e.Name.Equals("DBClusterNotFoundException")); + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(exception); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), true, null, true); + var response = StartExportTaskResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK); + + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + [TestMethod] [TestCategory("UnitTest")] [TestCategory("Query")]