STS constructor

STS({
  1. String? region,
  2. AwsClientCredentials? credentials,
  3. AwsClientCredentialsProvider? credentialsProvider,
  4. Client? client,
  5. String? endpointUrl,
})

Implementation

STS({
  String? region,
  _s.AwsClientCredentials? credentials,
  _s.AwsClientCredentialsProvider? credentialsProvider,
  _s.Client? client,
  String? endpointUrl,
})  : _protocol = _s.QueryProtocol(
        client: client,
        service: _s.ServiceMetadata(
          endpointPrefix: 'sts',
        ),
        region: region,
        credentials: credentials,
        credentialsProvider: credentialsProvider,
        endpointUrl: endpointUrl,
      ),
      shapes = shapesJson
          .map((key, value) => MapEntry(key, _s.Shape.fromJson(value)));