disassociateConfigurationItemsFromApplication method

Future<void> disassociateConfigurationItemsFromApplication({
  1. required String applicationConfigurationId,
  2. required List<String> configurationIds,
})

Disassociates one or more configuration items from an application.

May throw AuthorizationErrorException. May throw InvalidParameterException. May throw InvalidParameterValueException. May throw ServerInternalErrorException. May throw HomeRegionNotSetException.

Parameter applicationConfigurationId : Configuration ID of an application from which each item is disassociated.

Parameter configurationIds : Configuration ID of each item to be disassociated from an application.

Implementation

Future<void> disassociateConfigurationItemsFromApplication({
  required String applicationConfigurationId,
  required List<String> configurationIds,
}) async {
  ArgumentError.checkNotNull(
      applicationConfigurationId, 'applicationConfigurationId');
  ArgumentError.checkNotNull(configurationIds, 'configurationIds');
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target':
        'AWSPoseidonService_V2015_11_01.DisassociateConfigurationItemsFromApplication'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'applicationConfigurationId': applicationConfigurationId,
      'configurationIds': configurationIds,
    },
  );
}