node_modules/@expo/traveling-fastlane-darwin/dist/lib/vendor/ruby/2.2.0/gems/aws-partitions-1.329.0/lib/aws-partitions/endpoint_provider.rb
# When sts_regional_endpoint is set to `legacy`, the endpoint
# pattern stays global for the following regions:
When sts_regional_endpoint is set to `legacy`, the endpoint
pattern stays global for the following regions.
When sts_regional_endpoint is set to ` legacy ` the endpoint pattern stays global for the following regions .
def partition_matching_region(region)
        @rules['partitions'].find do |p|
          region.match(p['regionRegex']) ||
            p['services'].values.find do |svc|
              svc['endpoints'].key?(region) if svc.key?('endpoints')
            end
        end
      end
def partition_matching_region ( region ) @rules [ 'partitions' ] . find do | p | region . match ( p [ 'regionRegex' ] ) || p [ 'services' ] . values . find do | svc | svc [ 'endpoints' ] . key? ( region ) if svc . key? ( 'endpoints' ) end end end
When sts_regional_endpoint is set to `legacy`, the endpoint
pattern stays global for the following regions:
When sts_regional_endpoint is set to ` legacy ` the endpoint pattern stays global for the following regions :
region