describeStackSetOperation method

Future<DescribeStackSetOperationOutput> describeStackSetOperation({
  1. required String operationId,
  2. required String stackSetName,
})

Returns the description of the specified stack set operation.

May throw StackSetNotFoundException. May throw OperationNotFoundException.

Parameter operationId : The unique ID of the stack set operation.

Parameter stackSetName : The name or the unique stack ID of the stack set for the stack operation.

Implementation

Future<DescribeStackSetOperationOutput> describeStackSetOperation({
  required String operationId,
  required String stackSetName,
}) async {
  ArgumentError.checkNotNull(operationId, 'operationId');
  _s.validateStringLength(
    'operationId',
    operationId,
    1,
    128,
    isRequired: true,
  );
  ArgumentError.checkNotNull(stackSetName, 'stackSetName');
  final $request = <String, dynamic>{};
  $request['OperationId'] = operationId;
  $request['StackSetName'] = stackSetName;
  final $result = await _protocol.send(
    $request,
    action: 'DescribeStackSetOperation',
    version: '2010-05-15',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeStackSetOperationInput'],
    shapes: shapes,
    resultWrapper: 'DescribeStackSetOperationResult',
  );
  return DescribeStackSetOperationOutput.fromXml($result);
}