Redshift constructor

Redshift(
  1. {@required String region,
  2. AwsClientCredentials credentials,
  3. Client client}
)

Implementation

Redshift({
  @_s.required String region,
  _s.AwsClientCredentials credentials,
  _s.Client client,
})  : _protocol = _s.QueryProtocol(
        client: client,
        service: _s.ServiceMetadata(
          endpointPrefix: 'redshift',
        ),
        region: region,
        credentials: credentials,
      ),
      shapes = shapesJson
          .map((key, value) => MapEntry(key, _s.Shape.fromJson(value)));