startAssociationsOnce method
Runs an association immediately and only one time. This operation can be helpful when troubleshooting associations.
May throw AssociationDoesNotExist.
May throw InvalidAssociation.
Parameter associationIds :
The association IDs that you want to run immediately and only one time.
Implementation
Future<void> startAssociationsOnce({
required List<String> associationIds,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AmazonSSM.StartAssociationsOnce'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AssociationIds': associationIds,
},
);
}