CloudSearch constructor
CloudSearch({
- required String region,
- AwsClientCredentials? credentials,
- AwsClientCredentialsProvider? credentialsProvider,
- Client? client,
- 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)));