listDeploymentConfigs method
Lists the deployment configurations with the IAM user or AWS account.
May throw InvalidNextTokenException.
Parameter nextToken
:
An identifier returned from the previous
ListDeploymentConfigs
call. It can be used to return the next
set of deployment configurations in the list.
Implementation
Future<ListDeploymentConfigsOutput> listDeploymentConfigs({
String? nextToken,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'CodeDeploy_20141006.ListDeploymentConfigs'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (nextToken != null) 'nextToken': nextToken,
},
);
return ListDeploymentConfigsOutput.fromJson(jsonResponse.body);
}