CloudSearch constructor

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

Implementation

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