Interface PartitionInterface
Represents a section of the AWS cloud.
Direct known implementers
Methods Summary
-
getName ( )
Returns the partition's short name, e.g., 'aws,' 'aws-cn,' or 'aws-us-gov.'
-
isRegionMatch ( string $region, string $service )
Determine if this partition contains the provided region. Include the name of the service to inspect non-regional endpoints
-
getAvailableEndpoints ( string $service, bool $allowNonRegionalEndpoints = false )
Return the endpoints supported by a given service.
-
__invoke ( array $args = [] )
A partition must be invokable as an endpoint provider.
Methods Details
string getName ( )
Returns the partition's short name, e.g., 'aws,' 'aws-cn,' or 'aws-us-gov.'
Returns
string |
boolean isRegionMatch ( string $region, string $service )
Determine if this partition contains the provided region. Include the name of the service to inspect non-regional endpoints
Parameters
string | $region | |
string | $service |
Returns
boolean |
string[] getAvailableEndpoints ( string $service, boolean $allowNonRegionalEndpoints = false )
Return the endpoints supported by a given service.
Parameters
string | $service | Identifier of the service whose endpoints should be listed (e.g., 's3' or 'ses') |
boolean | $allowNonRegionalEndpoints = false | Set to |
Returns
string[] |
array __invoke ( array $args = [] )
A partition must be invokable as an endpoint provider.
Parameters
array | $args = [] |
Returns
array |