IAM constructor

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

Implementation

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