func (r ResourceRequest) UseFIPS() bool {
	return IsFIPS(aws.StringValue(r.Request.Config.Region))
}
UseFIPS returns true if request config region is FIPS
package s3shared
import (
	"strings"
	"github.com/aws/aws-sdk-go/aws"
	awsarn "github.com/aws/aws-sdk-go/aws/arn"
	"github.com/aws/aws-sdk-go/aws/request"
	"github.com/aws/aws-sdk-go/internal/s3shared/arn"
)
type ResourceRequest struct {
	Resource arn.Resource
	Request  *request.Request
}
func (r ResourceRequest) ARN() awsarn.ARN {
	return r.Resource.GetARN()
}
func (r ResourceRequest) AllowCrossRegion() bool {
	return aws.BoolValue(r.Request.Config.S3UseARNRegion)
}