createEnvironmentBlueprint method

Future<CreateEnvironmentBlueprintOutput> createEnvironmentBlueprint({
  1. required String domainIdentifier,
  2. required String name,
  3. required ProvisioningProperties provisioningProperties,
  4. String? description,
  5. List<CustomParameter>? userParameters,
})

Creates a Amazon DataZone blueprint.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw ThrottlingException. May throw ValidationException.

Parameter domainIdentifier : The identifier of the domain in which this blueprint is created.

Parameter name : The name of this Amazon DataZone blueprint.

Parameter provisioningProperties : The provisioning properties of this Amazon DataZone blueprint.

Parameter description : The description of the Amazon DataZone blueprint.

Parameter userParameters : The user parameters of this Amazon DataZone blueprint.

Implementation

Future<CreateEnvironmentBlueprintOutput> createEnvironmentBlueprint({
  required String domainIdentifier,
  required String name,
  required ProvisioningProperties provisioningProperties,
  String? description,
  List<CustomParameter>? userParameters,
}) async {
  final $payload = <String, dynamic>{
    'name': name,
    'provisioningProperties': provisioningProperties,
    if (description != null) 'description': description,
    if (userParameters != null) 'userParameters': userParameters,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri:
        '/v2/domains/${Uri.encodeComponent(domainIdentifier)}/environment-blueprints',
    exceptionFnMap: _exceptionFns,
  );
  return CreateEnvironmentBlueprintOutput.fromJson(response);
}