AWSSDK_CoreCLR.UnitTests.RegionEndpointV3Tests.CustomServicesTest C# (CSharp) Method

CustomServicesTest() private method

private CustomServicesTest ( ) : void
return void
        public void CustomServicesTest()
        {
            RegionEndpoint.EUCentral1.GetEndpointForService("data.iot");

            string t = RegionEndpoint.EUCentral1.GetEndpointForService("iotdata").Hostname;
            Assert.Equal("data.iot.eu-central-1.amazonaws.com", t);
            Assert.Equal("iot.ap-southeast-2.amazonaws.com", RegionEndpoint.APSoutheast2.GetEndpointForService("execute-api").Hostname);

            RegionEndpoint.USEast1.GetEndpointForService("importexport");

            Assert.Equal("importexport.amazonaws.com", RegionEndpoint.APSoutheast2.GetEndpointForService("IngestionService").Hostname);
        }