describeChangeSet method
Provides information about a given change set.
May throw InternalServiceException. May throw AccessDeniedException. May throw ValidationException. May throw ResourceNotFoundException. May throw ThrottlingException.
Parameter catalog
:
Required. The catalog related to the request. Fixed value:
AWSMarketplace
Parameter changeSetId
:
Required. The unique identifier for the StartChangeSet
request that you want to describe the details for.
Implementation
Future<DescribeChangeSetResponse> describeChangeSet({
required String catalog,
required String changeSetId,
}) async {
ArgumentError.checkNotNull(catalog, 'catalog');
_s.validateStringLength(
'catalog',
catalog,
1,
64,
isRequired: true,
);
ArgumentError.checkNotNull(changeSetId, 'changeSetId');
_s.validateStringLength(
'changeSetId',
changeSetId,
1,
255,
isRequired: true,
);
final $query = <String, List<String>>{
'catalog': [catalog],
'changeSetId': [changeSetId],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/DescribeChangeSet',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return DescribeChangeSetResponse.fromJson(response);
}