endpoint-tests-1.json.php 2.0 KB

123
  1. <?php
  2. // This file was auto-generated from sdk-root/src/data/codecatalyst/2022-09-28/endpoint-tests-1.json
  3. return [ 'version' => '1', 'testCases' => [ [ 'documentation' => 'Override endpoint', 'expect' => [ 'endpoint' => [ 'url' => 'https://test.codecatalyst.global.api.aws', ], ], 'params' => [ 'Endpoint' => 'https://test.codecatalyst.global.api.aws', ], ], [ 'documentation' => 'Default endpoint (region not set)', 'expect' => [ 'endpoint' => [ 'url' => 'https://codecatalyst.global.api.aws', ], ], 'params' => [], ], [ 'documentation' => 'Default FIPS endpoint (region not set)', 'expect' => [ 'endpoint' => [ 'url' => 'https://codecatalyst-fips.global.api.aws', ], ], 'params' => [ 'UseFIPS' => true, ], ], [ 'documentation' => 'Default endpoint (region: aws-global)', 'expect' => [ 'endpoint' => [ 'url' => 'https://codecatalyst.global.api.aws', ], ], 'params' => [ 'Region' => 'aws-global', ], ], [ 'documentation' => 'Default FIPS endpoint (region: aws-global)', 'expect' => [ 'endpoint' => [ 'url' => 'https://codecatalyst-fips.global.api.aws', ], ], 'params' => [ 'Region' => 'aws-global', 'UseFIPS' => true, ], ], [ 'documentation' => 'Default endpoint for a valid home region (region: us-west-2)', 'expect' => [ 'endpoint' => [ 'url' => 'https://codecatalyst.global.api.aws', ], ], 'params' => [ 'Region' => 'us-west-2', ], ], [ 'documentation' => 'Default FIPS endpoint for a valid home region (region: us-west-2)', 'expect' => [ 'endpoint' => [ 'url' => 'https://codecatalyst-fips.global.api.aws', ], ], 'params' => [ 'Region' => 'us-west-2', 'UseFIPS' => true, ], ], [ 'documentation' => 'Default endpoint for an unavailable home region (region: us-east-1)', 'expect' => [ 'endpoint' => [ 'url' => 'https://codecatalyst.global.api.aws', ], ], 'params' => [ 'Region' => 'us-east-1', ], ], [ 'documentation' => 'Default FIPS endpoint for an unavailable home region (region: us-east-1)', 'expect' => [ 'endpoint' => [ 'url' => 'https://codecatalyst-fips.global.api.aws', ], ], 'params' => [ 'Region' => 'us-east-1', 'UseFIPS' => true, ], ], ],];