describeProvisioningArtifact method
Gets information about the specified provisioning artifact (also known as a version) for the specified product.
May throw InvalidParametersException.
May throw ResourceNotFoundException.
Parameter acceptLanguage :
The language code.
-
jp- Japanese -
zh- Chinese
Parameter includeProvisioningArtifactParameters :
Indicates if the API call response does or does not include additional
details about the provisioning parameters.
Parameter productId :
The product identifier.
Parameter productName :
The product name.
Parameter provisioningArtifactId :
The identifier of the provisioning artifact.
Parameter provisioningArtifactName :
The provisioning artifact name.
Parameter verbose :
Indicates whether a verbose level of detail is enabled.
Implementation
Future<DescribeProvisioningArtifactOutput> describeProvisioningArtifact({
String? acceptLanguage,
bool? includeProvisioningArtifactParameters,
String? productId,
String? productName,
String? provisioningArtifactId,
String? provisioningArtifactName,
bool? verbose,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWS242ServiceCatalogService.DescribeProvisioningArtifact'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (acceptLanguage != null) 'AcceptLanguage': acceptLanguage,
if (includeProvisioningArtifactParameters != null)
'IncludeProvisioningArtifactParameters':
includeProvisioningArtifactParameters,
if (productId != null) 'ProductId': productId,
if (productName != null) 'ProductName': productName,
if (provisioningArtifactId != null)
'ProvisioningArtifactId': provisioningArtifactId,
if (provisioningArtifactName != null)
'ProvisioningArtifactName': provisioningArtifactName,
if (verbose != null) 'Verbose': verbose,
},
);
return DescribeProvisioningArtifactOutput.fromJson(jsonResponse.body);
}