CloudFormation constructor

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

Implementation

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