disassociateAttributeGroup method
Disassociates an attribute group from an application to remove the extra
attributes contained in the attribute group from the application's
metadata. This operation reverts AssociateAttributeGroup.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter application :
The name, ID, or ARN of the application.
Parameter attributeGroup :
The name, ID, or ARN of the attribute group that holds the attributes to
describe the application.
Implementation
Future<DisassociateAttributeGroupResponse> disassociateAttributeGroup({
required String application,
required String attributeGroup,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/applications/${Uri.encodeComponent(application)}/attribute-groups/${Uri.encodeComponent(attributeGroup)}',
exceptionFnMap: _exceptionFns,
);
return DisassociateAttributeGroupResponse.fromJson(response);
}